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