10 references to Log
Microsoft.CodeAnalysis (10)
DiagnosticAnalyzer\AnalyzerAssemblyLoader.Core.cs (3)
77
CodeAnalysisEventSource.
Log
.CreateAssemblyLoadContext(fullDirectoryPath);
115
CodeAnalysisEventSource.
Log
.DisposeAssemblyLoadContext(context.Directory);
119
CodeAnalysisEventSource.
Log
.DisposeAssemblyLoadContextException(context.Directory, ex.ToString());
SourceGeneration\GeneratorDriver.cs (4)
222
using var timer = CodeAnalysisEventSource.
Log
.CreateGeneratorDriverRunTimer();
320
using var generatorTimer = CodeAnalysisEventSource.
Log
.CreateSingleGeneratorRunTimer(state.Generators[i], (t) => t.Add(syntaxStoreBuilder.GetRuntimeAdjustment(stateBuilder[i].InputNodes)));
383
if (CodeAnalysisEventSource.
Log
.IsEnabled())
385
CodeAnalysisEventSource.
Log
.GeneratorException(generator.GetGeneratorType().Name, e.ToString());
SourceGeneration\Nodes\InputNode.cs (1)
124
if (!CodeAnalysisEventSource.
Log
.IsEnabled())
SourceGeneration\Nodes\NodeExtensions.cs (2)
14
if (CodeAnalysisEventSource.
Log
.IsEnabled())
19
CodeAnalysisEventSource.
Log
.NodeTransform(self.GetHashCode(),