1 instantiation of SnapshotManager
Microsoft.CodeAnalysis.CSharp (1)
FlowAnalysis\NullableWalker.SnapshotManager.cs (1)
178
return new
SnapshotManager
(_walkerStates.ToImmutableAndFree(), snapshotsArray, updatedSymbols);
41 references to SnapshotManager
Microsoft.CodeAnalysis.CSharp (41)
Compilation\AttributeSemanticModel.cs (1)
107
out NullableWalker.
SnapshotManager
? snapshotManager,
Compilation\InitializerSemanticModel.cs (1)
258
out NullableWalker.
SnapshotManager
snapshotManager,
Compilation\MemberSemanticModel.cs (8)
36
private NullableWalker.
SnapshotManager
_lazySnapshotManager;
156
protected virtual NullableWalker.
SnapshotManager
GetSnapshotManager()
1474
protected void UnguardedAddBoundTreeForStandaloneSyntax(SyntaxNode syntax, BoundNode bound, NullableWalker.
SnapshotManager
manager = null, ImmutableDictionary<Symbol, Symbol> remappedSymbols = null)
1482
protected void GuardedAddBoundTreeForStandaloneSyntax(SyntaxNode syntax, BoundNode bound, NullableWalker.
SnapshotManager
manager = null, ImmutableDictionary<Symbol, Symbol> remappedSymbols = null)
1960
NullableWalker.
SnapshotManager
snapshotManager;
1971
var
parentSnapshotManagerOpt = ((SpeculativeSemanticModelWithMemberModel)_containingPublicSemanticModel).ParentSnapshotManagerOpt;
1978
boundRoot = NullableWalker.AnalyzeAndRewriteSpeculation(_containingPublicSemanticModel.OriginalPositionForSpeculation, boundRoot, binder, parentSnapshotManagerOpt, out
var
newSnapshots, ref remappedSymbols);
2045
out NullableWalker.
SnapshotManager
? snapshotManager,
Compilation\MemberSemanticModel.SpeculativeMemberSemanticModel.cs (2)
37
protected override NullableWalker.
SnapshotManager
GetSnapshotManager()
48
out NullableWalker.
SnapshotManager
snapshotManager,
Compilation\MethodBodySemanticModel.cs (5)
24
internal readonly NullableWalker.
SnapshotManager
? SnapshotManager;
31
NullableWalker.
SnapshotManager
? snapshotManager = null,
115
NullableWalker.
SnapshotManager
snapshotManagerOpt,
127
NullableWalker.
SnapshotManager
snapshotManagerOpt,
291
out NullableWalker.
SnapshotManager
snapshotManager,
Compilation\SpeculativeSemanticModelWithMemberModel.cs (5)
24
private readonly NullableWalker.
SnapshotManager
? _parentSnapshotManagerOpt;
31
NullableWalker.
SnapshotManager
? snapshotManagerOpt)
94
NullableWalker.
SnapshotManager
? snapshotManagerOpt)
107
NullableWalker.
SnapshotManager
? snapshotManagerOpt)
117
internal NullableWalker.
SnapshotManager
? ParentSnapshotManagerOpt => _parentSnapshotManagerOpt;
Compiler\MethodCompiler.cs (1)
1908
NullableWalker.
SnapshotManager
? snapshotManager = null;
FlowAnalysis\NullableWalker.cs (12)
228
private readonly
SnapshotManager
.Builder? _snapshotBuilderOpt;
474
SnapshotManager
.Builder? snapshotBuilderOpt,
1588
out
SnapshotManager
? snapshotManager,
1596
private static (
SnapshotManager
?, ImmutableDictionary<BoundExpression, (NullabilityInfo, TypeSymbol?)>) AnalyzeWithSemanticInfo(
1611
var snapshotBuilder = createSnapshots && symbol != null ? new
SnapshotManager
.Builder() : null;
1634
var
snapshotManager = snapshotBuilder?.ToManagerAndFree();
1660
SnapshotManager
originalSnapshots,
1661
out
SnapshotManager
newSnapshots,
1665
var newSnapshotBuilder = new
SnapshotManager
.Builder();
1704
private static BoundNode Rewrite(ImmutableDictionary<BoundExpression, (NullabilityInfo, TypeSymbol?)> updatedNullabilities,
SnapshotManager
? snapshotManager, BoundNode node, ref ImmutableDictionary<Symbol, Symbol>? remappedSymbols)
1831
SnapshotManager
.Builder? snapshotBuilderOpt,
1878
SnapshotManager
.Builder? snapshotBuilderOpt,
FlowAnalysis\NullableWalker.DebugVerifier.cs (3)
22
private readonly
SnapshotManager
? _snapshotManager;
26
private DebugVerifier(ImmutableDictionary<BoundExpression, (NullabilityInfo Info, TypeSymbol? Type)> analyzedNullabilityMap,
SnapshotManager
? snapshotManager)
37
public static void Verify(ImmutableDictionary<BoundExpression, (NullabilityInfo Info, TypeSymbol? Type)> analyzedNullabilityMap,
SnapshotManager
? snapshotManagerOpt, BoundNode node)
FlowAnalysis\NullableWalker.SnapshotManager.cs (1)
169
internal
SnapshotManager
ToManagerAndFree()
Generated\BoundNodes.xml.Generated.cs (2)
12395
private readonly NullableWalker.
SnapshotManager
? _snapshotManager;
12398
public NullabilityRewriter(ImmutableDictionary<BoundExpression, (NullabilityInfo Info, TypeSymbol? Type)> updatedNullabilities, NullableWalker.
SnapshotManager
? snapshotManager, ImmutableDictionary<Symbol, Symbol>.Builder remappedSymbols)