1 write to _isReadonly
Microsoft.CodeAnalysis.Features (1)
src\Analyzers\Core\CodeFixes\GenerateVariable\AbstractGenerateVariableService.CodeAction.cs (1)
49
_isReadonly
= isReadonly;
4 references to _isReadonly
Microsoft.CodeAnalysis.Features (4)
src\Analyzers\Core\CodeFixes\GenerateVariable\AbstractGenerateVariableService.CodeAction.cs (4)
70
var setAccessor =
_isReadonly
|| _refKind != RefKind.None
97
: new DeclarationModifiers(isStatic: _state.IsStatic, isReadOnly:
_isReadonly
, isUnsafe: generateUnsafe),
188
?
_isReadonly
? CodeFixesResources.Generate_read_only_property_0 : CodeFixesResources.Generate_property_0
189
:
_isReadonly
? CodeFixesResources.Generate_read_only_field_0 : CodeFixesResources.Generate_field_0;