3 writes to Context
ILLink.RoslynAnalyzer (3)
DataFlow\LocalStateAndContextLattice.cs (2)
21
Context
= context;
54
Context
= ContextLattice.Meet(left.Context, right.Context)
TrimAnalysis\TrimAnalysisVisitor.cs (1)
74
currentState.
Context
= currentState.Context.Union(new FeatureContext(featureChecksValue.EnabledFeatures));
16 references to Context
ILLink.RoslynAnalyzer (16)
DataFlow\LocalDataFlowVisitor.cs (9)
121
HandleReturnValue(branchValue, branchValueOperation, in current.
Context
);
266
TValue targetValue = GetFieldTargetValue(fieldRef, in current.
Context
);
268
HandleAssignment(value, targetValue, assignmentOperation, in current.
Context
);
276
HandleAssignment(value, targetValue, assignmentOperation, in current.
Context
);
308
TValue targetValue = GetBackingFieldTargetValue(propertyRef, in current.
Context
);
309
HandleAssignment(value, targetValue, assignmentOperation, in current.
Context
);
701
return HandleDelegateCreation(targetMethodSymbol, operation, state.Current.
Context
);
808
HandleReturnValue(value, operation, in current.
Context
);
849
var value = HandleMethodCall(calledMethod, instance, arguments, operation, state.Current.
Context
);
DataFlow\LocalStateAndContextLattice.cs (5)
25
LocalState.Equals(other.LocalState) &&
Context
.Equals(other.
Context
);
28
public override int GetHashCode() => HashUtils.Combine(LocalState,
Context
);
54
Context = ContextLattice.Meet(left.
Context
, right.
Context
)
TrimAnalysis\TrimAnalysisVisitor.cs (2)
74
currentState.Context = currentState.
Context
.Union(new FeatureContext(featureChecksValue.EnabledFeatures));
189
return GetFieldTargetValue(fieldRef, in current.
Context
);