1 instantiation of VariableState
Microsoft.CodeAnalysis.CSharp (1)
FlowAnalysis\NullableWalker.cs (1)
7839
return new
VariableState
(variables.CreateSnapshot(), localState.CreateSnapshot());
21 references to VariableState
Microsoft.CodeAnalysis.CSharp (21)
BoundTree\UnboundLambda.cs (4)
117
public TypeWithAnnotations GetInferredReturnType(ConversionsBase? conversions, NullableWalker.
VariableState
? nullableState, ref CompoundUseSiteInfo<AssemblySymbol> useSiteInfo, out bool inferredFromFunctionType)
388
private readonly NullableWalker.
VariableState
? _nullableState;
420
private UnboundLambda(SyntaxNode syntax, UnboundLambdaState state, FunctionTypeSymbol? functionType, bool withDependencies, NullableWalker.
VariableState
? nullableState, bool hasErrors) :
426
internal UnboundLambda WithNullableState(NullableWalker.
VariableState
nullableState)
Compilation\MethodBodySemanticModel.cs (1)
294
var
afterInitializersState = NullableWalker.GetAfterInitializersState(Compilation, MemberSymbol, boundRoot);
Compiler\MethodCompiler.cs (2)
1751
NullableWalker.
VariableState
? nullableInitialState = null;
1965
NullableWalker.
VariableState
? getInitializerState(BoundNode? body)
FlowAnalysis\NullableWalker.cs (14)
1401
VariableState
? initialNullableState,
1404
out
VariableState
? finalNullableState)
1428
VariableState
? initialNullableState,
1431
out
VariableState
? finalNullableState,
1464
internal static
VariableState
? GetAfterInitializersState(CSharpCompilation compilation, Symbol? symbol, BoundNode constructorBody)
1482
internal static
VariableState
? GetAfterInitializersState(CSharpCompilation compilation, MethodSymbol method, BoundNode nodeToAnalyze, BoundNode? constructorBody, BindingDiagnosticBag diagnostics)
1510
out
var
afterInitializersState);
1552
VariableState
? initialState,
1568
VariableState
? initialState,
1746
VariableState
initialState,
1789
VariableState
? initialState,
1795
out
VariableState
? finalNullableState,
7836
private static
VariableState
GetVariableState(Variables variables, LocalState localState)
8058
static UnboundLambda getUnboundLambda(BoundLambda expr,
VariableState
variableState)