internal NonVirtualDispatchFact GetNonVirtualDispatchFact(IMethodDefinition methodDispatchedUpon) { NonVirtualDispatchFact result; if (!nonVirtualDispatchFactsByMethod.TryGetValue(methodDispatchedUpon, out result)) { result = new NonVirtualDispatchFact(this) { DispatchMethod = methodDispatchedUpon }; nonVirtualDispatchFactsByMethod[methodDispatchedUpon] = result; } return(result); }
public MethodReachedBecauseDispatchedNonVirtuallyReason(AnalysisReasons analysisReasons, IMethodDefinition methodDispatchedUpon) : base(analysisReasons) { nonVirtualDispatchFact = analysisReasons.GetNonVirtualDispatchFact(methodDispatchedUpon); }