This repository was archived by the owner on Dec 24, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +12
-12
lines changed
Expand file tree Collapse file tree 3 files changed +12
-12
lines changed Original file line number Diff line number Diff line change 66
77namespace ServiceStack
88{
9- public class NetCorePclExport : NetStandardPclExport
9+ public class Net6PclExport : NetStandardPclExport
1010 {
11- public NetCorePclExport ( )
11+ public Net6PclExport ( )
1212 {
13- this . PlatformName = Platforms . NetCore ;
13+ this . PlatformName = Platforms . Net6 ;
1414 ReflectionOptimizer . Instance = EmitReflectionOptimizer . Provider ;
1515 }
1616
Original file line number Diff line number Diff line change 2323
2424namespace ServiceStack
2525{
26- public class Net45PclExport : PclExport
26+ public class NetFxPclExport : PclExport
2727 {
28- public static Net45PclExport Provider = new Net45PclExport ( ) ;
28+ public static NetFxPclExport Provider = new NetFxPclExport ( ) ;
2929
30- public Net45PclExport ( )
30+ public NetFxPclExport ( )
3131 {
3232 this . DirSep = Path . DirectorySeparatorChar ;
3333 this . AltDirSep = Path . DirectorySeparatorChar == '/' ? '\\ ' : '/' ;
@@ -37,7 +37,7 @@ public Net45PclExport()
3737 this . InvariantComparer = StringComparer . InvariantCulture ;
3838 this . InvariantComparerIgnoreCase = StringComparer . InvariantCultureIgnoreCase ;
3939
40- this . PlatformName = Platforms . Net45 ;
40+ this . PlatformName = Platforms . NetFX ;
4141 ReflectionOptimizer . Instance = EmitReflectionOptimizer . Provider ;
4242 }
4343
Original file line number Diff line number Diff line change @@ -21,18 +21,18 @@ public abstract class PclExport
2121 {
2222 public static class Platforms
2323 {
24- public const string NetStandard = "NETStandard " ;
25- public const string NetCore = "NetCore " ;
26- public const string Net45 = "Net45 " ;
24+ public const string NetStandard = "NETStd " ;
25+ public const string Net6 = "NET6 " ;
26+ public const string NetFX = "NETFX " ;
2727 }
2828
2929 public static PclExport Instance =
3030#if NETFX
31- new Net45PclExport ( )
31+ new NetFxPclExport ( )
3232#elif NETSTANDARD2_0
3333 new NetStandardPclExport ( )
3434#elif NETCORE || NET6_0_OR_GREATER
35- new NetCorePclExport ( )
35+ new Net6PclExport ( )
3636#endif
3737 ;
3838
You can’t perform that action at this time.
0 commit comments