11 overrides of IsGenericMethodDefinition
System.Private.CoreLib (5)
src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\ConstructorOnTypeBuilderInstantiation.cs (1)
60public override bool IsGenericMethodDefinition => false;
src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\MethodBuilderInstantiation.cs (1)
65public override bool IsGenericMethodDefinition => false;
src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\MethodOnTypeBuilderInstantiation.cs (1)
99public override bool IsGenericMethodDefinition => _method.IsGenericMethodDefinition;
src\System\Reflection\Emit\RuntimeMethodBuilder.cs (1)
500public override bool IsGenericMethodDefinition => m_bIsGenMethDef;
src\System\Reflection\RuntimeMethodInfo.CoreCLR.cs (1)
462public override bool IsGenericMethodDefinition => RuntimeMethodHandle.IsGenericMethodDefinition(this);
System.Reflection.Context (3)
System\Reflection\Context\Delegation\DelegatingConstructorInfo.cs (1)
44public override bool IsGenericMethodDefinition
System\Reflection\Context\Delegation\DelegatingMethodInfo.cs (1)
46public override bool IsGenericMethodDefinition
System\Reflection\Context\Virtual\VirtualMethodBase.cs (1)
36public sealed override bool IsGenericMethodDefinition
System.Reflection.Emit (1)
src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\MethodBuilderInstantiation.cs (1)
65public override bool IsGenericMethodDefinition => false;
System.Reflection.MetadataLoadContext (2)
System\Reflection\TypeLoading\Constructors\RoConstructor.cs (1)
42public sealed override bool IsGenericMethodDefinition => false;
System\Reflection\TypeLoading\Methods\RoMethod.cs (1)
50public abstract override bool IsGenericMethodDefinition { get; }
46 references to IsGenericMethodDefinition
Microsoft.AspNetCore.Components.Endpoints (2)
src\Shared\PropertyHelper\PropertyHelper.cs (2)
199Debug.Assert(propertyGetterWrapperMethod.IsGenericMethodDefinition); 204Debug.Assert(propertyGetterByRefWrapperMethod.IsGenericMethodDefinition);
Microsoft.AspNetCore.Http.Abstractions (2)
src\Shared\PropertyHelper\PropertyHelper.cs (2)
199Debug.Assert(propertyGetterWrapperMethod.IsGenericMethodDefinition); 204Debug.Assert(propertyGetterByRefWrapperMethod.IsGenericMethodDefinition);
Microsoft.AspNetCore.Mvc.Core (2)
src\Shared\PropertyHelper\PropertyHelper.cs (2)
199Debug.Assert(propertyGetterWrapperMethod.IsGenericMethodDefinition); 204Debug.Assert(propertyGetterByRefWrapperMethod.IsGenericMethodDefinition);
Microsoft.AspNetCore.Routing (2)
src\Shared\PropertyHelper\PropertyHelper.cs (2)
199Debug.Assert(propertyGetterWrapperMethod.IsGenericMethodDefinition); 204Debug.Assert(propertyGetterByRefWrapperMethod.IsGenericMethodDefinition);
Microsoft.AspNetCore.Routing.Abstractions (2)
src\Shared\PropertyHelper\PropertyHelper.cs (2)
199Debug.Assert(propertyGetterWrapperMethod.IsGenericMethodDefinition); 204Debug.Assert(propertyGetterByRefWrapperMethod.IsGenericMethodDefinition);
Microsoft.AspNetCore.Shared.Tests (2)
src\Shared\PropertyHelper\PropertyHelper.cs (2)
199Debug.Assert(propertyGetterWrapperMethod.IsGenericMethodDefinition); 204Debug.Assert(propertyGetterByRefWrapperMethod.IsGenericMethodDefinition);
Microsoft.CSharp (2)
Microsoft\CSharp\RuntimeBinder\RuntimeBinderExtensions.cs (2)
143(((MethodBase)member1).IsGenericMethodDefinition && ((MethodBase)member2).IsGenericMethodDefinition));
Microsoft.DotNet.XUnitExtensions (1)
src\Microsoft.DotNet.XUnitExtensions.Shared\XunitParallelTheoryTestCaseRunner.cs (1)
98if (methodToRun.IsGenericMethodDefinition)
Microsoft.Extensions.AI.Abstractions (2)
src\Shared\JsonSchemaExporter\JsonSchemaExporter.ReflectionHelpers.cs (2)
270or MethodInfo { IsGenericMethod: true, IsGenericMethodDefinition: false }) 291if (member is MethodInfo { IsGenericMethod: true, IsGenericMethodDefinition: false } method)
Microsoft.VisualBasic.Core (5)
Microsoft\VisualBasic\CompilerServices\Symbols.vb (3)
502Return Method.IsGenericMethod AndAlso (Not Method.IsGenericMethodDefinition) 507Return method.IsGenericMethod AndAlso method.IsGenericMethodDefinition 563Debug.Assert(referringType.DeclaringMethod.IsGenericMethodDefinition, "Unexpected generic method instantiation!!!")
Microsoft\VisualBasic\CompilerServices\Utils.vb (2)
263(DirectCast(member1, MethodBase).IsGenericMethodDefinition AndAlso DirectCast(member2, MethodBase).IsGenericMethodDefinition))
Shared (2)
JsonSchemaExporter\JsonSchemaExporter.ReflectionHelpers.cs (2)
270or MethodInfo { IsGenericMethod: true, IsGenericMethodDefinition: false }) 291if (member is MethodInfo { IsGenericMethod: true, IsGenericMethodDefinition: false } method)
System.Composition.TypedParts (1)
System\Composition\TypedParts\ActivationFeatures\OnImportsSatisfiedFeature.cs (1)
44m.IsGenericMethodDefinition || m.GetParameters().Length != 0)
System.Linq.Expressions (3)
System\Linq\Expressions\BinaryExpression.cs (1)
774throw method.IsGenericMethodDefinition ? Error.MethodIsGeneric(method, paramName) : Error.MethodContainsGenericParameters(method, paramName);
System\Linq\Expressions\MethodCallExpression.cs (2)
1377if (!m.IsGenericMethodDefinition) 1382if (m.IsGenericMethodDefinition && m.GetGenericArguments().Length == typeArgs.Length)
System.Linq.Queryable (2)
System\Linq\EnumerableRewriter.cs (2)
322if (!m.IsGenericMethodDefinition && m.IsGenericMethod && m.ContainsGenericParameters) 326if (m.IsGenericMethodDefinition)
System.Private.CoreLib (7)
src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\MethodBuilderInstantiation.cs (1)
14if (!method.IsGenericMethodDefinition)
src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\MethodOnTypeBuilderInstantiation.cs (1)
99public override bool IsGenericMethodDefinition => _method.IsGenericMethodDefinition;
src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\TypeBuilder.cs (1)
341if (method.IsGenericMethod && !method.IsGenericMethodDefinition)
src\libraries\System.Private.CoreLib\src\System\Reflection\MethodBase.cs (1)
48public virtual bool IsConstructedGenericMethod => IsGenericMethod && !IsGenericMethodDefinition;
src\libraries\System.Private.CoreLib\src\System\Reflection\NullabilityInfoContext.cs (1)
132if (method.IsGenericMethod && !method.IsGenericMethodDefinition)
src\System\Reflection\Emit\RuntimeModuleBuilder.cs (2)
312if (!method.IsGenericMethodDefinition) 1069bool isGenericMethodDef = methodInfo.IsGenericMethodDefinition;
System.Private.Xml (2)
System\Xml\Xsl\Runtime\XmlExtensionFunction.cs (2)
177if (!methSearch.IsGenericMethodDefinition) 218if (methMatch.IsGenericMethodDefinition)
System.Reflection.Context (2)
System\Reflection\Context\Delegation\DelegatingConstructorInfo.cs (1)
46get { return UnderlyingConstructor.IsGenericMethodDefinition; }
System\Reflection\Context\Delegation\DelegatingMethodInfo.cs (1)
48get { return UnderlyingMethod.IsGenericMethodDefinition; }
System.Reflection.Emit (1)
src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\MethodBuilderInstantiation.cs (1)
14if (!method.IsGenericMethodDefinition)
System.Reflection.MetadataLoadContext (2)
System\Reflection\Runtime\BindingFlagSupport\MemberPolicies.cs (2)
89bool isGenericMethod1 = method1.IsGenericMethodDefinition; 90bool isGenericMethod2 = method2.IsGenericMethodDefinition;
System.Text.Json (2)
System\ReflectionExtensions.cs (2)
123or MethodInfo { IsGenericMethod: true, IsGenericMethodDefinition: false }) 160if (member is MethodInfo { IsGenericMethod: true, IsGenericMethodDefinition: false } method)