1 instantiation of SnapshotManager
Microsoft.CodeAnalysis.CSharp (1)
FlowAnalysis\NullableWalker.SnapshotManager.cs (1)
181
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)
34
private NullableWalker.
SnapshotManager
_lazySnapshotManager;
145
protected virtual NullableWalker.
SnapshotManager
GetSnapshotManager()
1464
protected void UnguardedAddBoundTreeForStandaloneSyntax(SyntaxNode syntax, BoundNode bound, NullableWalker.
SnapshotManager
manager = null, ImmutableDictionary<Symbol, Symbol> remappedSymbols = null)
1472
protected void GuardedAddBoundTreeForStandaloneSyntax(SyntaxNode syntax, BoundNode bound, NullableWalker.
SnapshotManager
manager = null, ImmutableDictionary<Symbol, Symbol> remappedSymbols = null)
1937
NullableWalker.
SnapshotManager
snapshotManager;
1948
var
parentSnapshotManagerOpt = ((SpeculativeSemanticModelWithMemberModel)_containingPublicSemanticModel).ParentSnapshotManagerOpt;
1955
boundRoot = NullableWalker.AnalyzeAndRewriteSpeculation(_containingPublicSemanticModel.OriginalPositionForSpeculation, boundRoot, binder, parentSnapshotManagerOpt, out
var
newSnapshots, ref remappedSymbols);
2022
out NullableWalker.
SnapshotManager
? snapshotManager,
Compilation\MemberSemanticModel.SpeculativeMemberSemanticModel.cs (2)
37
protected override NullableWalker.
SnapshotManager
GetSnapshotManager()
48
out NullableWalker.
SnapshotManager
snapshotManager,
Compilation\MethodBodySemanticModel.cs (5)
27
internal readonly NullableWalker.
SnapshotManager
? SnapshotManager;
34
NullableWalker.
SnapshotManager
? snapshotManager = null,
118
NullableWalker.
SnapshotManager
snapshotManagerOpt,
130
NullableWalker.
SnapshotManager
snapshotManagerOpt,
294
out NullableWalker.
SnapshotManager
snapshotManager,
Compilation\SpeculativeSemanticModelWithMemberModel.cs (5)
23
private readonly NullableWalker.
SnapshotManager
? _parentSnapshotManagerOpt;
30
NullableWalker.
SnapshotManager
? snapshotManagerOpt)
93
NullableWalker.
SnapshotManager
? snapshotManagerOpt)
106
NullableWalker.
SnapshotManager
? snapshotManagerOpt)
116
internal NullableWalker.
SnapshotManager
? ParentSnapshotManagerOpt => _parentSnapshotManagerOpt;
Compiler\MethodCompiler.cs (1)
1834
NullableWalker.
SnapshotManager
? snapshotManager = null;
FlowAnalysis\NullableWalker.cs (12)
199
private readonly
SnapshotManager
.Builder? _snapshotBuilderOpt;
428
SnapshotManager
.Builder? snapshotBuilderOpt,
1446
out
SnapshotManager
? snapshotManager,
1454
private static (
SnapshotManager
?, ImmutableDictionary<BoundExpression, (NullabilityInfo, TypeSymbol?)>) AnalyzeWithSemanticInfo(
1469
var snapshotBuilder = createSnapshots && symbol != null ? new
SnapshotManager
.Builder() : null;
1491
var
snapshotManager = snapshotBuilder?.ToManagerAndFree();
1517
SnapshotManager
originalSnapshots,
1518
out
SnapshotManager
newSnapshots,
1522
var newSnapshotBuilder = new
SnapshotManager
.Builder();
1560
private static BoundNode Rewrite(ImmutableDictionary<BoundExpression, (NullabilityInfo, TypeSymbol?)> updatedNullabilities,
SnapshotManager
? snapshotManager, BoundNode node, ref ImmutableDictionary<Symbol, Symbol>? remappedSymbols)
1683
SnapshotManager
.Builder? snapshotBuilderOpt,
1726
SnapshotManager
.Builder? snapshotBuilderOpt,
FlowAnalysis\NullableWalker.DebugVerifier.cs (3)
21
private readonly
SnapshotManager
? _snapshotManager;
25
private DebugVerifier(ImmutableDictionary<BoundExpression, (NullabilityInfo Info, TypeSymbol? Type)> analyzedNullabilityMap,
SnapshotManager
? snapshotManager)
36
public static void Verify(ImmutableDictionary<BoundExpression, (NullabilityInfo Info, TypeSymbol? Type)> analyzedNullabilityMap,
SnapshotManager
? snapshotManagerOpt, BoundNode node)
FlowAnalysis\NullableWalker.SnapshotManager.cs (1)
172
internal
SnapshotManager
ToManagerAndFree()
Generated\BoundNodes.xml.Generated.cs (2)
11784
private readonly NullableWalker.
SnapshotManager
? _snapshotManager;
11787
public NullabilityRewriter(ImmutableDictionary<BoundExpression, (NullabilityInfo Info, TypeSymbol? Type)> updatedNullabilities, NullableWalker.
SnapshotManager
? snapshotManager, ImmutableDictionary<Symbol, Symbol>.Builder remappedSymbols)