24 references to IsRazorSourceGeneratedDocument
Microsoft.CodeAnalysis.Features (21)
FindUsages\DefinitionItemFactory.cs (2)
248(includeHiddenLocations || document.IsRazorSourceGeneratedDocument() || location.IsVisibleSourceLocation())) 305includeHiddenLocations |= referenceLocation.Document.IsRazorSourceGeneratedDocument();
FullyQualify\AbstractFullyQualifyCodeFixProvider.cs (1)
30if (document.Id.IsSourceGenerated && !document.IsRazorSourceGeneratedDocument())
GenerateType\AbstractGenerateTypeService.cs (1)
124!document.Document.IsRazorSourceGeneratedDocument() &&
GenerateType\AbstractGenerateTypeService.Editor.cs (1)
556allowGenerationIntoHiddenCode: static document => document.IsRazorSourceGeneratedDocument())),
GenerateType\AbstractGenerateTypeService.State.cs (2)
342allowGenerationIntoHiddenCode: static document => document.IsRazorSourceGeneratedDocument()); 352=> document is not SourceGeneratedDocument || document.IsRazorSourceGeneratedDocument();
Rename\SymbolicRenameInfo.cs (1)
222if (sourceDocument is SourceGeneratedDocument && !sourceDocument.IsRazorSourceGeneratedDocument())
src\roslyn\src\Analyzers\Core\CodeFixes\GenerateConstructor\AbstractGenerateConstructorService.State.cs (3)
108allowGenerationIntoHiddenCode: static document => document.IsRazorSourceGeneratedDocument()); 451allowGenerationIntoHiddenCode: static document => document.IsRazorSourceGeneratedDocument())); 499allowGenerationIntoHiddenCode: static document => document.IsRazorSourceGeneratedDocument())),
src\roslyn\src\Analyzers\Core\CodeFixes\GenerateParameterizedMember\AbstractGenerateParameterizedMemberService.CodeAction.cs (1)
93allowGenerationIntoHiddenCode: static document => document.IsRazorSourceGeneratedDocument())),
src\roslyn\src\Analyzers\Core\CodeFixes\GenerateParameterizedMember\AbstractGenerateParameterizedMemberService.State.cs (1)
74allowGenerationIntoHiddenCode: static document => document.IsRazorSourceGeneratedDocument());
src\roslyn\src\Analyzers\Core\CodeFixes\GenerateVariable\AbstractGenerateVariableService.CodeAction.cs (1)
58allowGenerationIntoHiddenCode: static document => document.IsRazorSourceGeneratedDocument()));
src\roslyn\src\Analyzers\Core\CodeFixes\GenerateVariable\AbstractGenerateVariableService.cs (1)
49allowGenerationIntoHiddenCode: static document => document.IsRazorSourceGeneratedDocument());
src\roslyn\src\Analyzers\Core\CodeFixes\GenerateVariable\AbstractGenerateVariableService.State.cs (1)
165allowGenerationIntoHiddenCode: static document => document.IsRazorSourceGeneratedDocument());
src\roslyn\src\Analyzers\Core\CodeFixes\ImplementAbstractClass\ImplementAbstractClassData.cs (2)
56allowGenerationIntoHiddenCode: static document => document.IsRazorSourceGeneratedDocument()); 109allowGenerationIntoHiddenCode: static document => document.IsRazorSourceGeneratedDocument());
src\roslyn\src\Analyzers\Core\CodeFixes\ImplementInterface\AbstractImplementInterfaceService.State.cs (1)
57allowGenerationIntoHiddenCode: static document => document.IsRazorSourceGeneratedDocument());
src\roslyn\src\Analyzers\Core\CodeFixes\ImplementInterface\ImplementInterfaceGenerator_DisposePattern.cs (1)
69allowGenerationIntoHiddenCode: static document => document.IsRazorSourceGeneratedDocument());
src\roslyn\src\Analyzers\Core\CodeFixes\ImplementInterface\ImplementInterfaceGenerator.cs (1)
95allowGenerationIntoHiddenCode: static document => document.IsRazorSourceGeneratedDocument())),
Microsoft.CodeAnalysis.Workspaces (3)
Remote\RemoteUtilities.cs (1)
69Contract.ThrowIfTrue(tuple.documentId.IsSourceGenerated && !document.IsRazorSourceGeneratedDocument());
Rename\IRemoteRenamerService.cs (1)
91Contract.ThrowIfTrue(DocumentId.IsSourceGenerated && !document.IsRazorSourceGeneratedDocument());
Rename\SymbolicRenameLocations.ReferenceProcessing.cs (1)
453if (allowRenamesInRazorSourceGeneratedDocuments && document.IsRazorSourceGeneratedDocument())