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