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