public void FlushInlineQueue() { bool action = false; lock (recompileSet) { foreach (var method in recompileSet) { lock (scheduleQueue) { AddToQueue(method); } } recompileSet.Clear(); action = recompileSet.Count != 0; } if (action) { Compiler.PostEvent(CompilerEvent.InlineMethodsScheduled); } }
protected void PostCompilerTraceEvent(CompilerEvent compilerEvent, string message) { Compiler.PostEvent(compilerEvent, message, 0); }