Skip to content

Commit 454b8d1

Browse files
committed
Remove workaround for netcore3.1 and lower
1 parent a78b4b6 commit 454b8d1

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

Orm/Xtensive.Orm/Orm/Linq/TranslatorState.cs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -133,14 +133,14 @@ private static void ModifyFlag(ref TranslatorStateFlags flags, TranslatorStateFl
133133
public TranslatorState(in TranslatorState currentState)
134134
{
135135
this = currentState;
136-
}
136+
}
137137
}
138138
}
139139

140-
#if !NET5_0_OR_GREATER
141-
// Workaround of error CS0518: Predefined type 'System.Runtime.CompilerServices.IsExternalInit' is not defined or imported
142-
namespace System.Runtime.CompilerServices
143-
{
144-
internal static class IsExternalInit { }
145-
}
146-
#endif
140+
//#if !NET5_0_OR_GREATER
141+
//// Workaround of error CS0518: Predefined type 'System.Runtime.CompilerServices.IsExternalInit' is not defined or imported
142+
//namespace System.Runtime.CompilerServices
143+
//{
144+
// internal static class IsExternalInit { }
145+
//}
146+
//#endif

0 commit comments

Comments
 (0)