5 overrides of GetGenericParameterConstraints
System.Private.CoreLib (2)
src\libraries\System.Private.CoreLib\src\System\Reflection\SignatureType.cs (1)
96public sealed override Type[] GetGenericParameterConstraints() => throw new NotSupportedException(SR.NotSupported_SignatureType);
src\System\RuntimeType.CoreCLR.cs (1)
3639public override Type[] GetGenericParameterConstraints()
System.Reflection.Context (1)
System\Reflection\Context\Delegation\DelegatingType.cs (1)
225public override Type[] GetGenericParameterConstraints()
System.Reflection.Emit (1)
System\Reflection\Emit\GenericTypeParameterBuilderImpl.cs (1)
69public override Type[] GetGenericParameterConstraints() =>
System.Reflection.MetadataLoadContext (1)
System\Reflection\TypeLoading\Types\RoType.cs (1)
97public abstract override Type[] GetGenericParameterConstraints();
10 references to GetGenericParameterConstraints
Microsoft.CSharp (2)
Microsoft\CSharp\RuntimeBinder\SymbolTable.cs (2)
315((TypeParameterType)ctypes[i]).Symbol.SetBounds(TypeArray.Allocate(GetCTypeArrayFromTypes(t.GetGenericParameterConstraints()))); 943typeVar.Symbol.SetBounds(TypeArray.Allocate(GetCTypeArrayFromTypes(t.GetGenericParameterConstraints())));
System.ComponentModel.Composition (1)
System\ComponentModel\Composition\Hosting\CompositionServices.cs (1)
224Type[]? constraints = genericArgument.GetGenericParameterConstraints();
System.Composition.TypedParts (1)
System\Composition\TypedParts\Discovery\DiscoveredPart.cs (1)
226foreach (var genericParameterConstraints in _partType.GenericTypeParameters[index].GetTypeInfo().GetGenericParameterConstraints())
System.Private.CoreLib (2)
src\libraries\System.Private.CoreLib\src\System\Reflection\TypeInfo.cs (1)
126Type[] constraints = GetGenericParameterConstraints();
src\libraries\System.Private.CoreLib\src\System\Type.Helpers.cs (1)
361Type[] constraints = GetGenericParameterConstraints();
System.Reflection.Context (1)
System\Reflection\Context\Delegation\DelegatingType.cs (1)
227return _typeInfo.GetGenericParameterConstraints();
System.Reflection.MetadataLoadContext (2)
System\Reflection\TypeLoading\General\Assignability.cs (2)
135foreach (Type constraintType in fromTypeInfo.GetGenericParameterConstraints()) 318foreach (Type constraintType in t.GetGenericParameterConstraints())
System.Xaml (1)
System\Xaml\RefOnly\LooseTypeExtensions.cs (1)
93Type[] genericParameterConstraints = t1.GetGenericParameterConstraints();