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