32 references to IsRazorSourceGeneratedDocument
Microsoft.CodeAnalysis.EditorFeatures (2)
InlineRename\AbstractEditorInlineRenameService.InlineRenameLocationSet.cs (1)
52Contract.ThrowIfTrue(location.DocumentId.IsSourceGenerated && !document.IsRazorSourceGeneratedDocument());
InlineRename\InlineRenameSession.cs (1)
943Contract.ThrowIfFalse(document.IsRazorSourceGeneratedDocument());
Microsoft.CodeAnalysis.ExternalAccess.Razor.Features (6)
RazorSourceGeneratedDocumentExcerptServiceWrapper.cs (2)
28return _implementation is not null && document.IsRazorSourceGeneratedDocument(); 33if (_implementation is null || !document.IsRazorSourceGeneratedDocument())
RazorSourceGeneratedDocumentSpanMappingServiceWrapper.cs (4)
29return _implementation is not null && document.IsRazorSourceGeneratedDocument(); 35!oldDocument.IsRazorSourceGeneratedDocument() || 36!newDocument.IsRazorSourceGeneratedDocument()) 67!document.IsRazorSourceGeneratedDocument())
Microsoft.CodeAnalysis.Features (16)
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\Analyzers\Core\CodeFixes\GenerateConstructor\AbstractGenerateConstructorService.State.cs (3)
108allowGenerationIntoHiddenCode: static document => document.IsRazorSourceGeneratedDocument()); 451allowGenerationIntoHiddenCode: static document => document.IsRazorSourceGeneratedDocument())); 499allowGenerationIntoHiddenCode: static document => document.IsRazorSourceGeneratedDocument())),
src\Analyzers\Core\CodeFixes\GenerateParameterizedMember\AbstractGenerateParameterizedMemberService.CodeAction.cs (1)
93allowGenerationIntoHiddenCode: static document => document.IsRazorSourceGeneratedDocument())),
src\Analyzers\Core\CodeFixes\GenerateParameterizedMember\AbstractGenerateParameterizedMemberService.State.cs (1)
74allowGenerationIntoHiddenCode: static document => document.IsRazorSourceGeneratedDocument());
src\Analyzers\Core\CodeFixes\GenerateVariable\AbstractGenerateVariableService.CodeAction.cs (1)
58allowGenerationIntoHiddenCode: static document => document.IsRazorSourceGeneratedDocument()));
src\Analyzers\Core\CodeFixes\GenerateVariable\AbstractGenerateVariableService.cs (1)
49allowGenerationIntoHiddenCode: static document => document.IsRazorSourceGeneratedDocument());
src\Analyzers\Core\CodeFixes\GenerateVariable\AbstractGenerateVariableService.State.cs (1)
165allowGenerationIntoHiddenCode: static document => document.IsRazorSourceGeneratedDocument());
Microsoft.CodeAnalysis.LanguageServer.Protocol (2)
Extensions\ProtocolConversions.cs (1)
490Contract.ThrowIfFalse(document.IsRazorSourceGeneratedDocument());
Handler\Diagnostics\DiagnosticSources\AbstractWorkspaceDocumentDiagnosticSource.cs (1)
43if (sourceGeneratedDocument.IsRazorSourceGeneratedDocument())
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (3)
TestSourceGeneratedDocumentSpanMappingService.cs (3)
41return Enabled && sourceGeneratedDocument.IsRazorSourceGeneratedDocument(); 46if (oldDocument.IsRazorSourceGeneratedDocument()) 59if (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())