41 references to SnapshotManager
Microsoft.CodeAnalysis.CSharp (41)
Compilation\AttributeSemanticModel.cs (1)
107out NullableWalker.SnapshotManager? snapshotManager,
Compilation\InitializerSemanticModel.cs (1)
258out NullableWalker.SnapshotManager snapshotManager,
Compilation\MemberSemanticModel.cs (8)
35private NullableWalker.SnapshotManager _lazySnapshotManager; 155protected virtual NullableWalker.SnapshotManager GetSnapshotManager() 1473protected void UnguardedAddBoundTreeForStandaloneSyntax(SyntaxNode syntax, BoundNode bound, NullableWalker.SnapshotManager manager = null, ImmutableDictionary<Symbol, Symbol> remappedSymbols = null) 1481protected void GuardedAddBoundTreeForStandaloneSyntax(SyntaxNode syntax, BoundNode bound, NullableWalker.SnapshotManager manager = null, ImmutableDictionary<Symbol, Symbol> remappedSymbols = null) 1959NullableWalker.SnapshotManager snapshotManager; 1970var parentSnapshotManagerOpt = ((SpeculativeSemanticModelWithMemberModel)_containingPublicSemanticModel).ParentSnapshotManagerOpt; 1977boundRoot = NullableWalker.AnalyzeAndRewriteSpeculation(_containingPublicSemanticModel.OriginalPositionForSpeculation, boundRoot, binder, parentSnapshotManagerOpt, out var newSnapshots, ref remappedSymbols); 2044out NullableWalker.SnapshotManager? snapshotManager,
Compilation\MemberSemanticModel.SpeculativeMemberSemanticModel.cs (2)
37protected override NullableWalker.SnapshotManager GetSnapshotManager() 48out NullableWalker.SnapshotManager snapshotManager,
Compilation\MethodBodySemanticModel.cs (5)
24internal readonly NullableWalker.SnapshotManager? SnapshotManager; 31NullableWalker.SnapshotManager? snapshotManager = null, 115NullableWalker.SnapshotManager snapshotManagerOpt, 127NullableWalker.SnapshotManager snapshotManagerOpt, 291out NullableWalker.SnapshotManager snapshotManager,
Compilation\SpeculativeSemanticModelWithMemberModel.cs (5)
24private readonly NullableWalker.SnapshotManager? _parentSnapshotManagerOpt; 31NullableWalker.SnapshotManager? snapshotManagerOpt) 94NullableWalker.SnapshotManager? snapshotManagerOpt) 107NullableWalker.SnapshotManager? snapshotManagerOpt) 117internal NullableWalker.SnapshotManager? ParentSnapshotManagerOpt => _parentSnapshotManagerOpt;
Compiler\MethodCompiler.cs (1)
1798NullableWalker.SnapshotManager? snapshotManager = null;
FlowAnalysis\NullableWalker.cs (12)
222private readonly SnapshotManager.Builder? _snapshotBuilderOpt; 461SnapshotManager.Builder? snapshotBuilderOpt, 1494out SnapshotManager? snapshotManager, 1502private static (SnapshotManager?, ImmutableDictionary<BoundExpression, (NullabilityInfo, TypeSymbol?)>) AnalyzeWithSemanticInfo( 1517var snapshotBuilder = createSnapshots && symbol != null ? new SnapshotManager.Builder() : null; 1539var snapshotManager = snapshotBuilder?.ToManagerAndFree(); 1565SnapshotManager originalSnapshots, 1566out SnapshotManager newSnapshots, 1570var newSnapshotBuilder = new SnapshotManager.Builder(); 1608private static BoundNode Rewrite(ImmutableDictionary<BoundExpression, (NullabilityInfo, TypeSymbol?)> updatedNullabilities, SnapshotManager? snapshotManager, BoundNode node, ref ImmutableDictionary<Symbol, Symbol>? remappedSymbols) 1731SnapshotManager.Builder? snapshotBuilderOpt, 1774SnapshotManager.Builder? snapshotBuilderOpt,
FlowAnalysis\NullableWalker.DebugVerifier.cs (3)
22private readonly SnapshotManager? _snapshotManager; 26private DebugVerifier(ImmutableDictionary<BoundExpression, (NullabilityInfo Info, TypeSymbol? Type)> analyzedNullabilityMap, SnapshotManager? snapshotManager) 37public static void Verify(ImmutableDictionary<BoundExpression, (NullabilityInfo Info, TypeSymbol? Type)> analyzedNullabilityMap, SnapshotManager? snapshotManagerOpt, BoundNode node)
FlowAnalysis\NullableWalker.SnapshotManager.cs (1)
169internal SnapshotManager ToManagerAndFree()
Generated\BoundNodes.xml.Generated.cs (2)
12218private readonly NullableWalker.SnapshotManager? _snapshotManager; 12221public NullabilityRewriter(ImmutableDictionary<BoundExpression, (NullabilityInfo Info, TypeSymbol? Type)> updatedNullabilities, NullableWalker.SnapshotManager? snapshotManager, ImmutableDictionary<Symbol, Symbol>.Builder remappedSymbols)