File tree 6 files changed +10
-108
lines changed
6 files changed +10
-108
lines changed Original file line number Diff line number Diff line change 1
1
#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
+
4
6
using System . ComponentModel ;
5
7
6
8
// ReSharper disable once CheckNamespace
@@ -11,12 +13,7 @@ namespace System.Runtime.CompilerServices
11
13
/// This class should not be used by developers in source code.
12
14
/// </summary>
13
15
[ 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
20
17
{
21
18
}
22
19
}
Original file line number Diff line number Diff line change 1
1
#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
+
4
6
using System . ComponentModel ;
5
7
6
8
// ReSharper disable once CheckNamespace
@@ -11,12 +13,7 @@ namespace System.Runtime.CompilerServices
11
13
/// This class should not be used by developers in source code.
12
14
/// </summary>
13
15
[ 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
20
17
{
21
18
}
22
19
}
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