Skip to content

Commit b98c8f2

Browse files
committed
Move implementations of some types out of facades
These type implementations in facades are problematic, because they don't match the .NET 4.7.1 API, where these type implementations are not in facade assemblies. So move them to the assemblies where they should be to match the .NET 4.7.1 API. This change is part of the change from upstream Mono at: mono@6e246cf That changeset has other change in it, including changes to submodules that we don't need now. So I've taken only the changes we need by hand here.
1 parent 0cd8d62 commit b98c8f2

File tree

9 files changed

+9
-4
lines changed

9 files changed

+9
-4
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
11
TypeForwarders.cs
22
AssemblyInfo.cs
3-
4-
../../../../external/corefx/src/System.Runtime.Serialization.Primitives/src/System/Runtime/Serialization/ISerializationSurrogateProvider.cs

mcs/class/Facades/System.Runtime.Serialization.Primitives/TypeForwarders.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Runtime.Serialization.IExtensibleDataObject))]
3131
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Runtime.Serialization.IgnoreDataMemberAttribute))]
3232
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Runtime.Serialization.InvalidDataContractException))]
33+
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Runtime.Serialization.ISerializationSurrogateProvider))]
3334
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Runtime.Serialization.KnownTypeAttribute))]
3435
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Runtime.Serialization.OnDeserializedAttribute))]
3536
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Runtime.Serialization.OnDeserializingAttribute))]
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
TypeForwarders.cs
22
AssemblyInfo.cs
33
SR.cs
4-
../../../../external/corefx/src/System.Security.Cryptography.Algorithms/src/System/Security/Cryptography/IncrementalHash.net46.cs

mcs/class/Facades/System.Security.Cryptography.Algorithms/TypeForwarders.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.HMACSHA256))]
4444
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.HMACSHA384))]
4545
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.HMACSHA512))]
46+
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.IncrementalHash))]
4647
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.MaskGenerationMethod))]
4748
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.MD5))]
4849
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.PKCS1MaskGenerationMethod))]
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
TypeForwarders.cs
22
AssemblyInfo.cs
3-
../../../../external/corefx/src/System.Runtime.InteropServices/src/System/Security/SecureStringMarshal.cs

mcs/class/Facades/System.Security.SecureString/TypeForwarders.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,4 @@
2121
//
2222

2323
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.SecureString))]
24+
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.SecureStringMarshal))]

mcs/class/System.Core/common_System.Core.dll.sources

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,3 +289,5 @@ System.Security.Cryptography/SHA512CryptoServiceProvider.cs
289289

290290
../../../external/corefx/src/System.Linq.Expressions/src/System/Linq/Expressions/Compiler/DelegateHelpers.cs
291291
../../../external/corefx/src/System.Linq.Expressions/src/System/Linq/Expressions/Compiler/DelegateHelpers.Generated.cs
292+
293+
../../../external/corefx/src/System.Security.Cryptography.Algorithms/src/System/Security/Cryptography/IncrementalHash.net46.cs

mcs/class/System.Runtime.Serialization/System.Runtime.Serialization.dll.sources

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,5 @@ ReferenceSources/XmlDataContract_static.cs
1616
ReferenceSources/XmlFormatReaderGenerator_static.cs
1717
ReferenceSources/XmlFormatWriterGenerator_static.cs
1818

19+
20+
../../../external/corefx/src/System.Runtime.Serialization.Primitives/src/System/Runtime/Serialization/ISerializationSurrogateProvider.cs

mcs/class/System/common.sources

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -931,3 +931,5 @@ corefx/SR.cs
931931
../../../external/corefx/src/System.Private.Uri/src/System/UriBuilder.cs
932932

933933
../../../external/corefx/src/System.Runtime.Extensions/src/System/CodeDom/Compiler/IndentedTextWriter.cs
934+
935+
../../../external/corefx/src/System.Runtime.InteropServices/src/System/Security/SecureStringMarshal.cs

0 commit comments

Comments
 (0)