Example #1
0
 public static bool TryGetDefinition(this MethodDef method, ParameterSignature parameter, out Parameter definition) => (definition = method.GetDefinition(parameter)) != null;
Example #2
0
 public static Parameter GetDefinition(this MethodDef method, ParameterSignature parameter) => method.Parameters[parameter.Index];