1 instantiation of State
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
src\Analyzers\Core\CodeFixes\GenerateVariable\AbstractGenerateVariableService.State.cs (1)
79var state = new State(service, document);
20 references to State
Microsoft.CodeAnalysis.CodeStyle.Fixes (20)
src\Analyzers\Core\CodeFixes\GenerateVariable\AbstractGenerateVariableService.CodeAction.cs (4)
30private readonly State _state; 40State state, 126private Accessibility DetermineMinimalAccessibility(State state) 175private static bool DerivesFrom(State state, INamedTypeSymbol containingType)
src\Analyzers\Core\CodeFixes\GenerateVariable\AbstractGenerateVariableService.cs (10)
41var state = State.Generate((TService)this, semanticDocument, node, cancellationToken); 87ArrayBuilder<CodeAction> result, SemanticDocument document, State state, CancellationToken cancellationToken) 116Document document, State state, SymbolKind kind, Accessibility accessibility, CancellationToken cancellationToken) 130private static void GenerateWritableProperty(ArrayBuilder<CodeAction> result, SemanticDocument document, State state) 137private static void AddFieldCodeActions(ArrayBuilder<CodeAction> result, SemanticDocument document, State state) 169private static void GenerateWriteableField(ArrayBuilder<CodeAction> result, SemanticDocument document, State state) 176ArrayBuilder<CodeAction> result, Document document, State state, CancellationToken cancellationToken) 192ArrayBuilder<CodeAction> result, Document document, State state, CancellationToken cancellationToken) 245private static RefKind GetRefKindFromContext(State state)
src\Analyzers\Core\CodeFixes\GenerateVariable\AbstractGenerateVariableService.GenerateLocalCodeAction.cs (2)
21private sealed class GenerateLocalCodeAction(TService service, Document document, State state) : CodeAction 25private readonly State _state = state;
src\Analyzers\Core\CodeFixes\GenerateVariable\AbstractGenerateVariableService.GenerateParameterCodeAction.cs (2)
19State state, 24private readonly State _state = state;
src\Analyzers\Core\CodeFixes\GenerateVariable\AbstractGenerateVariableService.State.cs (2)
73public static State Generate( 79var state = new State(service, document);