mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
comments
This commit is contained in:
parent
5edcdaf074
commit
8608a59056
@ -17,6 +17,9 @@ internal class ILPostProcessorReflectionImporter : DefaultReflectionImporter
|
||||
|
||||
public ILPostProcessorReflectionImporter(ModuleDefinition module) : base(module)
|
||||
{
|
||||
// find the correct library for System.Private.CoreLib.
|
||||
// either mscorlib or netstandard.
|
||||
// defaults to System.Private.CoreLib if not found.
|
||||
_correctCorlib = module.AssemblyReferences.FirstOrDefault(a => a.Name == "mscorlib" || a.Name == "netstandard" || a.Name == SystemPrivateCoreLib);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user