1 write to IsConstant
Microsoft.CodeAnalysis.Features (1)
src\Analyzers\Core\CodeFixes\GenerateVariable\AbstractGenerateVariableService.State.cs (1)
257IsConstant = syntaxFacts.IsInConstantContext(SimpleNameOrMemberAccessExpressionOpt);
3 references to IsConstant
Microsoft.CodeAnalysis.Features (3)
src\Analyzers\Core\CodeFixes\GenerateVariable\AbstractGenerateVariableService.cs (2)
92if (state.IsConstant) 141if (state.IsConstant)
src\Analyzers\Core\CodeFixes\GenerateVariable\AbstractGenerateVariableService.State.cs (1)
182&& !IsInMemberContext && !IsConstant && !IsInSourceGeneratedDocument;