24 references to State
Microsoft.CodeAnalysis.Features (24)
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 (10)
41
protected abstract ImmutableArray<ITypeParameterSymbol> GetTypeParameters(
State
state, SemanticModel semanticModel, CancellationToken cancellationToken);
42
protected abstract Accessibility GetAccessibility(
State
state, SemanticModel semanticModel, bool intoNamespace, CancellationToken cancellationToken);
76
var
state =
State
.Generate((TService)this, semanticDocument, node, cancellationToken);
102
State
state,
159
State
state,
172
protected static string GetTypeName(
State
state)
182
State
state,
234
State
state,
260
State
state,
GenerateType\AbstractGenerateTypeService.Editor.cs (3)
38
private readonly
State
_state;
48
State
state,
64
State
state,
GenerateType\AbstractGenerateTypeService.State.cs (3)
68
public static
State
? Generate(
74
var
state = new State(document.SemanticModel.Compilation);
75
return state.TryInitialize(service, document, node, cancellationToken) ? state : (
State
?)null;