11 references to GetConstraints
Microsoft.Cci.Extensions (1)
Extensions\CSharp\CSharpCciExtensions.cs (1)
888GenericParameterConstraint constraint = metadataReader.GetGenericParameterConstraint(genericParameter.GetConstraints()[constraintIndex]);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (8)
Attributes\AttributeTests_Nullable.cs (7)
1348var constraint = reader.GetGenericParameterConstraint(typeParameter.GetConstraints()[0]); 1352constraint = reader.GetGenericParameterConstraint(typeParameter.GetConstraints()[0]); 1413var constraint = reader.GetGenericParameterConstraint(typeParameter.GetConstraints()[0]); 1461var constraint = reader.GetGenericParameterConstraint(typeParameter.GetConstraints()[0]); 1465constraint = reader.GetGenericParameterConstraint(typeParameter.GetConstraints()[0]); 1519var constraint = reader.GetGenericParameterConstraint(typeParameter.GetConstraints()[0]); 4865var constraint = reader.GetGenericParameterConstraint(typeParameter.GetConstraints()[0]);
Attributes\AttributeTests_Tuples.cs (1)
872var constraintHandles = typeParam.GetConstraints();
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Symbols\GenericConstraintTests.cs (1)
6594var constraints = metadataReader.GetGenericParameter(tp.Handle).GetConstraints();
System.Reflection.MetadataLoadContext (1)
System\Reflection\TypeLoading\Types\Ecma\EcmaGenericParameterType.cs (1)
42GenericParameterConstraintHandleCollection handles = GenericParameter.GetConstraints();