22 references to State
Microsoft.CodeAnalysis.Features (22)
GenerateType\AbstractGenerateTypeService.CodeAction.cs (8)
28
private readonly
State
_state;
34
State
state,
47
State
state,
87
private readonly
State
_state;
89
internal GenerateTypeCodeActionWithOption(TService service, Document document,
State
state)
117
private bool IsPublicOnlyAccessibility(
State
state, Project project)
120
private TypeKindOptions GetTypeKindOption(
State
state)
135
private bool GetPredefinedTypeKindOption(
State
state, out TypeKindOptions typeKindValueFinal)
GenerateType\AbstractGenerateTypeService.cs (9)
45
protected abstract ImmutableArray<ITypeParameterSymbol> GetTypeParameters(
State
state, SemanticModel semanticModel, CancellationToken cancellationToken);
46
protected abstract Accessibility GetAccessibility(
State
state, SemanticModel semanticModel, bool intoNamespace, CancellationToken cancellationToken);
80
var state = await
State
.GenerateAsync((TService)this, semanticDocument, node, cancellationToken).ConfigureAwait(false);
106
State
state,
163
State
state,
176
protected static string GetTypeName(
State
state)
186
State
state,
238
State
state,
264
State
state,
GenerateType\AbstractGenerateTypeService.Editor.cs (3)
38
private readonly
State
_state;
48
State
state,
64
State
state,
GenerateType\AbstractGenerateTypeService.State.cs (2)
68
public static async Task<
State
?> GenerateAsync(
74
var
state = new State(document.SemanticModel.Compilation);