23 references to State
Microsoft.CodeAnalysis.Features (23)
GenerateType\AbstractGenerateTypeService.CodeAction.cs (8)
27private readonly State _state; 33State state, 46State state, 86private readonly State _state; 88internal GenerateTypeCodeActionWithOption(TService service, Document document, State state) 116private bool IsPublicOnlyAccessibility(State state, Project project) 119private TypeKindOptions GetTypeKindOption(State state) 134private bool GetPredefinedTypeKindOption(State state, out TypeKindOptions typeKindValueFinal)
GenerateType\AbstractGenerateTypeService.cs (9)
39protected abstract ImmutableArray<ITypeParameterSymbol> GetTypeParameters(State state, SemanticModel semanticModel, CancellationToken cancellationToken); 40protected abstract Accessibility GetAccessibility(State state, SemanticModel semanticModel, bool intoNamespace, CancellationToken cancellationToken); 74var state = await State.GenerateAsync((TService)this, semanticDocument, node, cancellationToken).ConfigureAwait(false); 100State state, 157State state, 170protected static string GetTypeName(State state) 180State state, 232State state, 258State state,
GenerateType\AbstractGenerateTypeService.Editor.cs (3)
37private readonly State _state; 47State state, 63State state,
GenerateType\AbstractGenerateTypeService.State.cs (3)
68public static async ValueTask<State?> GenerateAsync( 74var state = new State(document.SemanticModel.Compilation); 75return await state.TryInitializeAsync(service, document, node, cancellationToken).ConfigureAwait(false) ? state : (State?)null;