1 write to IsInSourceGeneratedDocument
Microsoft.CodeAnalysis.Features (1)
src\Analyzers\Core\CodeFixes\GenerateVariable\AbstractGenerateVariableService.State.cs (1)
306
IsInSourceGeneratedDocument
= _document.Document is SourceGeneratedDocument;
2 references to IsInSourceGeneratedDocument
Microsoft.CodeAnalysis.Features (2)
src\Analyzers\Core\CodeFixes\GenerateVariable\AbstractGenerateVariableService.State.cs (2)
174
return !IsInMemberContext && IsInExecutableBlock && !
IsInSourceGeneratedDocument
;
182
&& !IsInMemberContext && !IsConstant && !
IsInSourceGeneratedDocument
;