2 instantiations of RazorSourceGenerator
Microsoft.AspNetCore.Razor.Microbenchmarks.Generator (1)
ProjectSetup.cs (1)
49GeneratorDriver driver = CSharpGeneratorDriver.Create(generators: new[] { new RazorSourceGenerator().AsSourceGenerator() },
Microsoft.NET.Sdk.Razor.SourceGenerators.UnitTests (1)
RazorSourceGeneratorTestsBase.cs (1)
81var razorSourceGenerator = new RazorSourceGenerator(testUniqueIds: "test").AsSourceGenerator();
11 references to RazorSourceGenerator
Microsoft.AspNetCore.Razor.Microbenchmarks (1)
Formatting\DocumentFormattingBenchmark.cs (1)
47typeof(RazorSourceGenerator).Assembly.Location,
Microsoft.AspNetCore.Razor.Test.Common.Cohosting (1)
RazorProjectBuilder.cs (1)
86var sgAssembly = typeof(RazorSourceGenerator).Assembly;
Microsoft.CodeAnalysis.Razor.Workspaces (3)
Extensions\ProjectExtensions.cs (2)
83var fullPathHintName = RazorSourceGenerator.GetIdentifierFromPath(razorDocument.FilePath); 135return RazorSourceGenerator.GetIdentifierFromPath(relativeDocumentPath);
Extensions\RazorGeneratedDocumentIdentityExtensions.cs (1)
13return identity.GeneratorTypeName == typeof(RazorSourceGenerator).FullName;
Microsoft.CodeAnalysis.Remote.Razor (3)
ProjectSystem\GeneratorRunResult.cs (2)
61var runResult = result.Results.SingleOrDefault(r => r.Generator.GetGeneratorType().Assembly.Location == typeof(RazorSourceGenerator).Assembly.Location); 69throw new InvalidOperationException(SR.FormatRazor_source_generator_reference_incorrect(wrongGenerator.GetGeneratorType().Assembly.Location, typeof(RazorSourceGenerator).Assembly.Location, project.Name));
Rename\RemoteRenameService.cs (1)
177RazorSourceGenerator.BuildIdentifierFromPath(builder, newFileName);
Microsoft.VisualStudio.LanguageServices.Razor (2)
Rename\RazorRefactorNotifyService.cs (1)
44if (syntaxTree.FilePath.IndexOf(typeof(RazorSourceGenerator).FullName) == -1 ||
src\Razor\src\Razor\src\Microsoft.CodeAnalysis.Razor.CohostingShared\RazorSourceGeneratorLocator.cs (1)
16return typeof(RazorSourceGenerator).Assembly.Location;
Microsoft.VisualStudioCode.RazorExtension (1)
src\Razor\src\Razor\src\Microsoft.CodeAnalysis.Razor.CohostingShared\RazorSourceGeneratorLocator.cs (1)
16return typeof(RazorSourceGenerator).Assembly.Location;