Skip to content

Commit 826a928

Browse files
committed
Two types should be public to match .NET 4.7.1
This change allows the unityaot profile to match .NET 4.7.1 for these two types.
1 parent dc55175 commit 826a928

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

mcs/class/referencesource/System/net/System/Net/UnicodeDecodingConformance.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ namespace System.Net.Configuration
1616
/// See http://www.w3.org/International/questions/qa-escapes#bytheway for more information
1717
/// on how Unicode characters in the SMP are supposed to be encoded in HTML.
1818
/// </remarks>
19-
#if !MOBILE
19+
#if !MOBILE || UNITY_AOT
2020
public
2121
#endif
2222
enum UnicodeDecodingConformance

mcs/class/referencesource/System/net/System/Net/UnicodeEncodingConformance.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ namespace System.Net.Configuration
1616
/// See http://www.w3.org/International/questions/qa-escapes#bytheway for more information
1717
/// on how Unicode characters in the SMP are supposed to be encoded in HTML.
1818
/// </remarks>
19-
#if !MOBILE
19+
#if !MOBILE || UNITY_AOT
2020
public
2121
#endif
2222
enum UnicodeEncodingConformance

0 commit comments

Comments
 (0)