File tree Expand file tree Collapse file tree 6 files changed +10
-108
lines changed
Expand file tree Collapse file tree 6 files changed +10
-108
lines changed Original file line number Diff line number Diff line change 11#pragma warning disable MA0048 // File name must match type name
2- #define INTERNAL_RECORD_ATTRIBUTES
3- #if NETSTANDARD2_0 || NETSTANDARD2_1 || NETCOREAPP2_0 || NETCOREAPP2_1 || NETCOREAPP2_2 || NET45 || NET451 || NET452 || NET6 || NET461 || NET462 || NET47 || NET471 || NET472 || NET48
2+ #if NET5_0_OR_GREATER
3+ [ assembly: System . Runtime . CompilerServices . TypeForwardedTo ( typeof ( System . Runtime . CompilerServices . IsExternalInit ) ) ]
4+ #else
5+
46using System . ComponentModel ;
57
68// ReSharper disable once CheckNamespace
@@ -11,12 +13,7 @@ namespace System.Runtime.CompilerServices
1113 /// This class should not be used by developers in source code.
1214 /// </summary>
1315 [ EditorBrowsable ( EditorBrowsableState . Never ) ]
14- #if INTERNAL_RECORD_ATTRIBUTES
15- internal
16- #else
17- public
18- #endif
19- static class IsExternalInit
16+ internal static class IsExternalInit
2017 {
2118 }
2219}
Original file line number Diff line number Diff line change 11#pragma warning disable MA0048 // File name must match type name
2- #define INTERNAL_RECORD_ATTRIBUTES
3- #if NETSTANDARD || NETCOREAPP
2+ #if NET5_0_OR_GREATER
3+ [ assembly: System . Runtime . CompilerServices . TypeForwardedTo ( typeof ( System . Runtime . CompilerServices . IsExternalInit ) ) ]
4+ #else
5+
46using System . ComponentModel ;
57
68// ReSharper disable once CheckNamespace
@@ -11,12 +13,7 @@ namespace System.Runtime.CompilerServices
1113 /// This class should not be used by developers in source code.
1214 /// </summary>
1315 [ EditorBrowsable ( EditorBrowsableState . Never ) ]
14- #if INTERNAL_RECORD_ATTRIBUTES
15- internal
16- #else
17- public
18- #endif
19- static class IsExternalInit
16+ internal static class IsExternalInit
2017 {
2118 }
2219}
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments