3 instantiations of LocalStateAndContext
ILLink.RoslynAnalyzer (3)
DataFlow\LocalDataFlowAnalysis.cs (1)
48entryValue = new LocalStateAndContext<TValue, TContext>(default(LocalState<TValue>), initialContext);
DataFlow\LocalStateAndContextLattice.cs (2)
44Top = new(LocalStateLattice.Top, ContextLattice.Top); 51return new LocalStateAndContext<TValue, TContext>
33 references to LocalStateAndContext
ILLink.RoslynAnalyzer (33)
DataFlow\LocalDataFlowAnalysis.cs (3)
21LocalStateAndContext<TValue, TContext>, 45out LocalStateAndContext<TValue, TContext> entryValue) 60: base(GetLatticeAndEntryValue(lattice, contextLattice, initialContext, out var entryValue), entryValue)
DataFlow\LocalDataFlowState.cs (4)
10: IDataFlowState<LocalStateAndContext<TValue, TContext>, LocalStateAndContextLattice<TValue, TContext, TValueLattice, TContextLattice>> 16private LocalStateAndContext<TValue, TContext> current; 17public LocalStateAndContext<TValue, TContext> Current 23public Box<LocalStateAndContext<TValue, TContext>>? Exception { get; set; }
DataFlow\LocalDataFlowVisitor.cs (8)
25LocalStateAndContext<TValue, TContext>, 76public abstract void ApplyCondition(TConditionValue condition, ref LocalStateAndContext<TValue, TContext> localContextState); 120var current = state.Current; 249var current = state.Current; 288var current = state.Current; 549var currentState = state.Current; 735var current = state.Current; 838var current = state.Current;
DataFlow\LocalStateAndContextLattice.cs (8)
11public struct LocalStateAndContext<TValue, TContext> : IEquatable<LocalStateAndContext<TValue, TContext>> 24public bool Equals(LocalStateAndContext<TValue, TContext> other) => 27public override bool Equals(object? obj) => obj is LocalStateAndContext<TValue, TContext> other && Equals(other); 31public readonly struct LocalStateAndContextLattice<TValue, TContext, TValueLattice, TContextLattice> : ILattice<LocalStateAndContext<TValue, TContext>> 47public LocalStateAndContext<TValue, TContext> Top { get; } 49public LocalStateAndContext<TValue, TContext> Meet(LocalStateAndContext<TValue, TContext> left, LocalStateAndContext<TValue, TContext> right)
TrimAnalysis\TrimAnalysisVisitor.cs (2)
67public override void ApplyCondition(FeatureChecksValue featureChecksValue, ref LocalStateAndContext<MultiValue, FeatureContext> currentState) 178var current = state.Current;
TrimAnalysis\TrimDataFlowAnalysis.cs (8)
16using LocalStateValue = ILLink.RoslynAnalyzer.DataFlow.LocalStateAndContext< 194LocalStateValue state 207LocalStateValue normalState, 208LocalStateValue? exceptionState, 209LocalStateValue? exceptionFinallyState 225LocalStateValue normalState, 226LocalStateValue? exceptionState, 227LocalStateValue? exceptionFinallyState