Skip to content

Commit 4bec875

Browse files
authored
Merge pull request #934 from Unity-Technologies/missing-types-unityaot
Two types should be public to match .NET 4.7.1
2 parents ccea995 + 826a928 commit 4bec875

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)