This commit is contained in:
vis2k 2021-08-21 13:33:18 +08:00
parent 63af62affd
commit eff4736f71

View File

@ -84,8 +84,8 @@ bool WeaveModule(ModuleDefinition moduleDefinition)
bool modified = false;
Stopwatch watch = Stopwatch.StartNew();
watch.Start();
foreach (TypeDefinition td in moduleDefinition.Types)
{
if (td.IsClass && td.BaseType.CanBeResolved())
@ -94,6 +94,7 @@ bool WeaveModule(ModuleDefinition moduleDefinition)
modified |= ServerClientAttributeProcessor.Process(weaverTypes, Log, td, ref WeavingFailed);
}
}
watch.Stop();
Console.WriteLine("Weave behaviours and messages took " + watch.ElapsedMilliseconds + " milliseconds");