mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
Weaver: syntax
This commit is contained in:
parent
16579ea9e8
commit
852ef64034
@ -60,17 +60,8 @@ public static void WeaveExistingAssemblies()
|
||||
#endif
|
||||
}
|
||||
|
||||
static Assembly FindMirrorRuntime()
|
||||
{
|
||||
foreach (Assembly assembly in CompilationPipeline.GetAssemblies())
|
||||
{
|
||||
if (assembly.name == MirrorRuntimeAssemblyName)
|
||||
{
|
||||
return assembly;
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
static Assembly FindMirrorRuntime() =>
|
||||
CompilationPipeline.GetAssemblies().First(assembly => assembly.name == MirrorRuntimeAssemblyName);
|
||||
|
||||
static bool CompilerMessagesContainError(CompilerMessage[] messages)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user