16 references to GetGeneratorType
Microsoft.CodeAnalysis (8)
CommandLine\CommonCompiler.cs (1)
869var type = generator.GetGeneratorType();
CommandLine\ReportAnalyzerUtil.cs (2)
128.GroupBy(t => t.Generator.GetGeneratorType().Assembly) 141consoleOutput.WriteLine(GetColumnEntry(executionTime, percentage, " " + timingInfo.Generator.GetGeneratorType().FullName, culture));
SourceGeneration\GeneratorDriver.cs (4)
33Debug.Assert(state.Generators.GroupBy(s => s.GetGeneratorType()).Count() == state.Generators.Length); // ensure we don't have duplicate generator types 385CodeAnalysisEventSource.Log.GeneratorException(generator.GetGeneratorType().Name, e.ToString()); 416return Diagnostic.Create(descriptor, Location.None, generator.GetGeneratorType().Name, e.GetType().Name, e.Message, e.CreateDiagnosticDescription()); 442var type = generator.GetGeneratorType();
SourceGeneration\GeneratorTimerExtensions.cs (1)
35var type = generator.GetGeneratorType();
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (1)
SourceGeneration\GeneratorDriverTests.cs (1)
4284var type = sourceGenerator.GetGeneratorType();
Microsoft.CodeAnalysis.UnitTests (6)
Analyzers\AnalyzerFileReferenceTests.cs (6)
369var typeNames = generators.Select(g => g.GetGeneratorType().FullName); 407var typeNames = generators.Select(g => g.GetGeneratorType().FullName); 429var typeNames = generators.Select(g => g.GetGeneratorType().FullName); 552var csharpGenerators = reference.GetGenerators(LanguageNames.CSharp).Select(g => g.GetGeneratorType().FullName).ToArray(); 565var vbGenerators = reference.GetGenerators(LanguageNames.VisualBasic).Select(g => g.GetGeneratorType().FullName).ToArray(); 574var allGenerators = reference.GetGeneratorsForAllLanguages().Select(g => g.GetGeneratorType().FullName).ToArray();
Microsoft.CodeAnalysis.Workspaces (1)
Workspace\Solution\SourceGeneratorIdentity.cs (1)
32var generatorType = generator.GetGeneratorType();