1 write to GenericMethodDefinition
Microsoft.ML.Core (1)
Utilities\FuncMethodInfo`2.cs (1)
20GenericMethodDefinition = methodInfo.GetGenericMethodDefinition();
11 references to GenericMethodDefinition
Microsoft.ML.Core (11)
Utilities\FuncInstanceMethodInfo1`3.cs (2)
40Contracts.CheckParam(!GenericMethodDefinition.IsStatic, nameof(methodInfo), "Should be an instance method"); 41Contracts.CheckParam(GenericMethodDefinition.DeclaringType == typeof(TTarget), nameof(methodInfo), _targetTypeCheckMessage);
Utilities\FuncInstanceMethodInfo3`3.cs (2)
40Contracts.CheckParam(!GenericMethodDefinition.IsStatic, nameof(methodInfo), "Should be an instance method"); 41Contracts.CheckParam(GenericMethodDefinition.DeclaringType == typeof(TTarget), nameof(methodInfo), _targetTypeCheckMessage);
Utilities\FuncMethodInfo`2.cs (1)
21Contracts.CheckParam(typeof(TResult).IsAssignableFrom(GenericMethodDefinition.ReturnType), nameof(methodInfo), "Cannot be generic on return type");
Utilities\FuncMethodInfo1`2.cs (2)
34Contracts.CheckParam(GenericMethodDefinition.GetGenericArguments().Length == 1, nameof(methodInfo), 44GenericMethodDefinition);
Utilities\FuncMethodInfo3`2.cs (2)
34Contracts.CheckParam(GenericMethodDefinition.GetGenericArguments().Length == 3, nameof(methodInfo), 44GenericMethodDefinition);
Utilities\FuncStaticMethodInfo1`2.cs (1)
30Contracts.CheckParam(GenericMethodDefinition.IsStatic, nameof(function), "Should be a static method");
Utilities\FuncStaticMethodInfo3`2.cs (1)
30Contracts.CheckParam(GenericMethodDefinition.IsStatic, nameof(function), "Should be a static method");