Skip to content

Commit a864ec7

Browse files
authored
Move full facade assemblies into src/libraries/shims (#89184)
* Move full facade assemblies into src/libraries/shims Fixes #78978 1. Move all full facade assemblies (which only contain type forwards) into src/libraries/shims. 2. Merge assemblies (ref+src) which typeforward to the same destination. 3. They inherently now don't produce a documentation file anymore (as shims only contain type forwards). This minimizes the build graph (makes the libs build faster) and moves the focus away from full facade assemblies that need to be kept for compat reasons. * Trigger CI for all legs * Remove obsolete slns and undo CI change * PR feedback from Eric * Change System.ValueTuple type fowrard dest * Collapse ref and src shims further As discussed with Eric offline, typeforwarding to System.Runtime and System.Xml.ReaderWriter makes it possible to collapse the following ref and src projects into just src: System.AppContext System.Buffers System.Diagnostics.Debug System.Diagnostics.Tools System.Globalization System.Globalization.Calendars System.IO.UnmanagedMemoryStream System.Reflection System.Resources.ResourceManager System.Runtime.CompilerServices.Unsafe System.Runtime.Extensions System.Security.Principal System.Text.Encoding System.Threading.Timer System.Xml.XmlDocument The destination then handles the type fowarding to the private assembly implementation.
1 parent 7531c50 commit a864ec7

234 files changed

Lines changed: 415 additions & 8993 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

src/libraries/Microsoft.Win32.Registry/src/Microsoft.Win32.Registry.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@
6666
<Compile Include="System\Security\AccessControl\RegistrySecurity.cs" />
6767
</ItemGroup>
6868
<ItemGroup>
69-
<Reference Include="System.Buffers" />
7069
<Reference Include="System.Collections" />
7170
<Reference Include="System.Memory" />
7271
<Reference Include="System.Runtime" />

src/libraries/System.AppContext/Directory.Build.props

Lines changed: 0 additions & 6 deletions
This file was deleted.

src/libraries/System.AppContext/System.AppContext.sln

Lines changed: 0 additions & 287 deletions
This file was deleted.

src/libraries/System.AppContext/ref/System.AppContext.Forwards.cs

Lines changed: 0 additions & 7 deletions
This file was deleted.

src/libraries/System.AppContext/ref/System.AppContext.csproj

Lines changed: 0 additions & 11 deletions
This file was deleted.

src/libraries/System.AppContext/src/System.AppContext.csproj

Lines changed: 0 additions & 9 deletions
This file was deleted.

src/libraries/System.Buffers/System.Buffers.sln

Lines changed: 0 additions & 287 deletions
This file was deleted.

src/libraries/System.Buffers/ref/System.Buffers.Forwards.cs

Lines changed: 0 additions & 7 deletions
This file was deleted.

src/libraries/System.Buffers/ref/System.Buffers.csproj

Lines changed: 0 additions & 9 deletions
This file was deleted.

src/libraries/System.Buffers/src/System.Buffers.csproj

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)