3 writes to Context
ILLink.RoslynAnalyzer (3)
DataFlow\LocalStateAndContextLattice.cs (2)
21Context = context; 54Context = ContextLattice.Meet(left.Context, right.Context)
TrimAnalysis\TrimAnalysisVisitor.cs (1)
69currentState.Context = currentState.Context.Union(new FeatureContext(featureChecksValue.EnabledFeatures));
15 references to Context
ILLink.RoslynAnalyzer (15)
DataFlow\LocalDataFlowVisitor.cs (8)
121HandleReturnValue(branchValue, branchValueOperation, in current.Context); 252IFieldReferenceOperation fieldRef => GetFieldTargetValue(fieldRef, in current.Context), 257HandleAssignment(value, targetValue, operation, in current.Context); 289TValue targetValue = GetBackingFieldTargetValue(propertyRef, in current.Context); 290HandleAssignment(value, targetValue, operation, in current.Context); 635return HandleDelegateCreation(targetMethodSymbol, operation, state.Current.Context); 736HandleReturnValue(value, operation, in current.Context); 777var value = HandleMethodCall(calledMethod, instance, arguments, operation, state.Current.Context);
DataFlow\LocalStateAndContextLattice.cs (5)
25LocalState.Equals(other.LocalState) && Context.Equals(other.Context); 28public override int GetHashCode() => HashUtils.Combine(LocalState, Context); 54Context = ContextLattice.Meet(left.Context, right.Context)
TrimAnalysis\TrimAnalysisVisitor.cs (2)
69currentState.Context = currentState.Context.Union(new FeatureContext(featureChecksValue.EnabledFeatures)); 179return GetFieldTargetValue(fieldRef, in current.Context);