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)
35
private NullableWalker.
SnapshotManager
_lazySnapshotManager;
155
protected virtual NullableWalker.
SnapshotManager
GetSnapshotManager()
1473
protected void UnguardedAddBoundTreeForStandaloneSyntax(SyntaxNode syntax, BoundNode bound, NullableWalker.
SnapshotManager
manager = null, ImmutableDictionary<Symbol, Symbol> remappedSymbols = null)
1481
protected void GuardedAddBoundTreeForStandaloneSyntax(SyntaxNode syntax, BoundNode bound, NullableWalker.
SnapshotManager
manager = null, ImmutableDictionary<Symbol, Symbol> remappedSymbols = null)
1959
NullableWalker.
SnapshotManager
snapshotManager;
1970
var
parentSnapshotManagerOpt = ((SpeculativeSemanticModelWithMemberModel)_containingPublicSemanticModel).ParentSnapshotManagerOpt;
1977
boundRoot = NullableWalker.AnalyzeAndRewriteSpeculation(_containingPublicSemanticModel.OriginalPositionForSpeculation, boundRoot, binder, parentSnapshotManagerOpt, out
var
newSnapshots, ref remappedSymbols);
2044
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)
1798
NullableWalker.
SnapshotManager
? snapshotManager = null;
FlowAnalysis\NullableWalker.cs (12)
222
private readonly
SnapshotManager
.Builder? _snapshotBuilderOpt;
461
SnapshotManager
.Builder? snapshotBuilderOpt,
1494
out
SnapshotManager
? snapshotManager,
1502
private static (
SnapshotManager
?, ImmutableDictionary<BoundExpression, (NullabilityInfo, TypeSymbol?)>) AnalyzeWithSemanticInfo(
1517
var snapshotBuilder = createSnapshots && symbol != null ? new
SnapshotManager
.Builder() : null;
1539
var
snapshotManager = snapshotBuilder?.ToManagerAndFree();
1565
SnapshotManager
originalSnapshots,
1566
out
SnapshotManager
newSnapshots,
1570
var newSnapshotBuilder = new
SnapshotManager
.Builder();
1608
private static BoundNode Rewrite(ImmutableDictionary<BoundExpression, (NullabilityInfo, TypeSymbol?)> updatedNullabilities,
SnapshotManager
? snapshotManager, BoundNode node, ref ImmutableDictionary<Symbol, Symbol>? remappedSymbols)
1731
SnapshotManager
.Builder? snapshotBuilderOpt,
1774
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)
12218
private readonly NullableWalker.
SnapshotManager
? _snapshotManager;
12221
public NullabilityRewriter(ImmutableDictionary<BoundExpression, (NullabilityInfo Info, TypeSymbol? Type)> updatedNullabilities, NullableWalker.
SnapshotManager
? snapshotManager, ImmutableDictionary<Symbol, Symbol>.Builder remappedSymbols)