Skip to content

Commit effcb7e

Browse files
committed
Remove unused code
Leftover from early work in .NET 9.
1 parent a4d6573 commit effcb7e

18 files changed

Lines changed: 0 additions & 1533 deletions

src/System.Private.Windows.Core/src/GlobalSuppressions.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,7 @@
1111
[assembly: SuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "Trimming not supported", Scope = "member", Target = "~M:System.Private.Windows.Nrbf.SerializationRecordExtensions.TryGetObjectFromJson``1(System.Formats.Nrbf.SerializationRecord,System.Private.Windows.BinaryFormat.ITypeResolver,``0@)~System.ValueTuple{System.Boolean,System.Boolean}")]
1212
[assembly: SuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "Trimming not supported", Scope = "member", Target = "~M:System.Private.Windows.Ole.BinaryFormatUtilities`1.WriteObjectToStream(System.IO.MemoryStream,System.Object,System.String)")]
1313
[assembly: SuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "Trimming not supported", Scope = "member", Target = "~M:System.Private.Windows.Ole.BinaryFormatUtilities`1.TryReadObjectFromStream``1(System.IO.MemoryStream,System.Private.Windows.Ole.DataRequest@,``0@)~System.Boolean")]
14-
[assembly: SuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "Trimming not supported", Scope = "member", Target = "~M:System.Private.Windows.BinaryFormat.DefaultTypeResolver.TryBindToType(System.Reflection.Metadata.TypeName,System.Type@)~System.Boolean")]
15-
[assembly: SuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "Trimming not supported", Scope = "member", Target = "~M:System.Private.Windows.BinaryFormat.DefaultTypeResolver.GetSimplyNamedTypeFromAssembly(System.Reflection.Assembly,System.Reflection.Metadata.TypeName)~System.Type")]
1614
[assembly: SuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "Trimming not supported", Scope = "member", Target = "~M:System.Private.Windows.Ole.Composition`3.GetData(System.String,System.Boolean)~System.Object")]
1715
[assembly: SuppressMessage("Trimming", "IL2046:'RequiresUnreferencedCodeAttribute' annotations must match across all interface implementations or overrides.", Justification = "Trimming not supported", Scope = "member", Target = "~M:System.Private.Windows.Ole.TypeBinder`1.BindToType(System.Reflection.Metadata.TypeName)~System.Type")]
18-
[assembly: SuppressMessage("Trimming", "IL2057:Unrecognized value passed to the parameter of method. It's not possible to guarantee the availability of the target type.", Justification = "Trimming not supported", Scope = "member", Target = "~M:System.Private.Windows.BinaryFormat.DefaultTypeResolver.GetSimplyNamedTypeFromAssembly(System.Reflection.Assembly,System.Reflection.Metadata.TypeName)~System.Type")]
1916
[assembly: SuppressMessage("Trimming", "IL2057:Unrecognized value passed to the parameter of method. It's not possible to guarantee the availability of the target type.", Justification = "Trimming not supported", Scope = "member", Target = "~M:System.Private.Windows.Nrbf.SerializationRecordExtensions.TryGetObjectFromJson``1(System.Formats.Nrbf.SerializationRecord,System.Private.Windows.BinaryFormat.ITypeResolver,``0@)~System.ValueTuple{System.Boolean,System.Boolean}")]
20-
[assembly: SuppressMessage("Trimming", "IL2072:Target parameter argument does not satisfy 'DynamicallyAccessedMembersAttribute' in call to target method. The return value of the source method does not have matching annotations.", Justification = "Trimming not supported", Scope = "member", Target = "~M:System.Private.Windows.BinaryFormat.Deserializer.System#Private#Windows#BinaryFormat#IDeserializer#CompleteObject(System.Formats.Nrbf.SerializationRecordId)")]
2117
[assembly: SuppressMessage("Trimming", "IL2093:'DynamicallyAccessedMemberTypes' on the return value of method don't match overridden return value of method. All overridden members must have the same 'DynamicallyAccessedMembersAttribute' usage.", Justification = "Trimming not supported", Scope = "member", Target = "~M:System.Private.Windows.Ole.TypeBinder`1.BindToType(System.Reflection.Metadata.TypeName)~System.Type")]

src/System.Private.Windows.Core/src/System/Private/Windows/BinaryFormat/Deserializer/ArrayRecordDeserializer.cs

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

src/System.Private.Windows.Core/src/System/Private/Windows/BinaryFormat/Deserializer/ArrayUpdater.cs

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

src/System.Private.Windows.Core/src/System/Private/Windows/BinaryFormat/Deserializer/ClassRecordDeserializer.cs

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

src/System.Private.Windows.Core/src/System/Private/Windows/BinaryFormat/Deserializer/ClassRecordFieldInfoDeserializer.cs

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

0 commit comments

Comments
 (0)