IMethod IGenericMethodInfo.ConstructMethod(params IType[] arguments) { IMethod constructedMethod = null; if (!_constructedMethods.TryGetValue(arguments, out constructedMethod)) { constructedMethod = new GenericConstructedMethod(this, arguments); _constructedMethods.Add(arguments, constructedMethod); } return(constructedMethod); }
public IMethod ConstructMethod(IType[] arguments) { IMethod constructed; if (!_constructedMethods.TryGetValue(arguments, out constructed)) { constructed = new GenericConstructedMethod(this, arguments); _constructedMethods.Add(arguments, constructed); } return constructed; }