1 write to IsStatic
Microsoft.CodeAnalysis.Features (1)
src\Analyzers\Core\CodeFixes\GenerateVariable\AbstractGenerateVariableService.State.cs (1)
291
IsStatic
= isStatic;
5 references to IsStatic
Microsoft.CodeAnalysis.Features (5)
src\Analyzers\Core\CodeFixes\GenerateVariable\AbstractGenerateVariableService.CodeAction.cs (3)
77
modifiers: new DeclarationModifiers(isStatic: _state.
IsStatic
, isUnsafe: generateUnsafe),
97
: new DeclarationModifiers(isStatic: _state.
IsStatic
, isReadOnly: _isReadonly, isUnsafe: generateUnsafe),
144
else if (DerivesFrom(state, state.ContainingType) && state.
IsStatic
)
src\Analyzers\Core\CodeFixes\GenerateVariable\AbstractGenerateVariableService.cs (1)
95
if (state.TypeToGenerateIn.TypeKind == TypeKind.Interface && state.
IsStatic
)
src\Analyzers\Core\CodeFixes\GenerateVariable\AbstractGenerateVariableService.State.cs (1)
155
if (!ValidateTypeToGenerateIn(TypeToGenerateIn,
IsStatic
, ClassInterfaceModuleStructTypes))