1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -449,7 +449,7 @@ private set
449
449
private static Version versionInfo = null ;
450
450
451
451
private static int registeredChunkLock = 0 ;
452
- private static Dictionary < string , WeakReference > registeredChunks = new Dictionary < string , WeakReference > ( ) ;
452
+ private static readonly Dictionary < string , WeakReference > registeredChunks = new Dictionary < string , WeakReference > ( ) ;
453
453
454
454
#region -- Chunk Register ---------------------------------------------------------
455
455
@@ -548,7 +548,7 @@ public static Version Version
548
548
}
549
549
} // prop Version
550
550
551
- #if ! NETSTANDARD2_1 && ! NETCOREAPP3_1 && ! NET5_0
551
+ #if ! NETSTANDARD2_0 && ! NETCOREAPP2_1 && ! NET5_0
552
552
/// <summary>Stack trace compile options.</summary>
553
553
public static LuaCompileOptions StackTraceCompileOptions { get ; } = new LuaCompileOptions { DebugEngine = LuaStackTraceDebugger . Default } ;
554
554
#endif
0 commit comments