3 instantiations of GenericParameterConstraintHandle
System.Reflection.Metadata (3)
System\Reflection\Metadata\TypeSystem\Handles.TypeSystem.cs (3)
1447return new GenericParameterConstraintHandle(rowId); 1467return new GenericParameterConstraintHandle(handle.RowId); 1477return new GenericParameterConstraintHandle(handle.RowId);
44 references to GenericParameterConstraintHandle
Microsoft.CodeAnalysis (1)
PEWriter\MetadataWriter.cs (1)
2462var genericConstraintHandle = metadata.AddGenericParameterConstraint(
Microsoft.CodeAnalysis.CSharp (3)
Symbols\Metadata\PE\PETypeParameterSymbol.cs (3)
174foreach (var constraintHandle in constraints) 265private TypeWithAnnotations GetConstraintTypeOrDefault(PEModuleSymbol moduleSymbol, MetadataReader metadataReader, MetadataDecoder tokenDecoder, GenericParameterConstraintHandle constraintHandle, ref bool hasUnmanagedModreqPattern) 542foreach (var constraintHandle in constraints)
Microsoft.CodeAnalysis.Test.Utilities (1)
Metadata\MetadataReaderUtils.cs (1)
50internal static IEnumerable<GenericParameterConstraintHandle> GetGenericParameterConstraints(this MetadataReader reader)
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\Metadata\PE\PETypeParameterSymbol.vb (1)
244constraintHandle As GenericParameterConstraintHandle,
System.Reflection.Metadata (35)
System\Reflection\Metadata\Ecma335\CodedIndex.cs (2)
32/// <see cref="GenericParameterConstraintHandle"/> or 159/// <see cref="GenericParameterConstraintHandle"/>,
System\Reflection\Metadata\Ecma335\MetadataBuilder.Tables.cs (4)
734/// <see cref="GenericParameterConstraintHandle"/> or 860public GenericParameterConstraintHandle AddGenericParameterConstraint( 870return GenericParameterConstraintHandle.FromRowId(_genericParamConstraintTable.Count); 1391/// <see cref="GenericParameterConstraintHandle"/>,
System\Reflection\Metadata\Ecma335\MetadataTokens.cs (2)
420public static GenericParameterConstraintHandle GenericParameterConstraintHandle(int rowNumber) 422return Metadata.GenericParameterConstraintHandle.FromRowId(ToRowId(rowNumber));
System\Reflection\Metadata\Internal\Tables.cs (2)
2584internal EntityHandle GetConstraint(GenericParameterConstraintHandle handle) 2590internal GenericParameterHandle GetOwner(GenericParameterConstraintHandle handle)
System\Reflection\Metadata\MetadataReader.cs (1)
1288public GenericParameterConstraint GetGenericParameterConstraint(GenericParameterConstraintHandle handle)
System\Reflection\Metadata\TypeSystem\GenericParameterConstraint.cs (3)
15internal GenericParameterConstraint(MetadataReader reader, GenericParameterConstraintHandle handle) 24private GenericParameterConstraintHandle Handle 26get { return GenericParameterConstraintHandle.FromRowId(_rowId); }
System\Reflection\Metadata\TypeSystem\HandleCollections.TypeSystem.cs (8)
123public readonly struct GenericParameterConstraintHandleCollection : IReadOnlyList<GenericParameterConstraintHandle> 142public GenericParameterConstraintHandle this[int index] 151return GenericParameterConstraintHandle.FromRowId(_firstRowId + index); 160IEnumerator<GenericParameterConstraintHandle> IEnumerable<GenericParameterConstraintHandle>.GetEnumerator() 170public struct Enumerator : IEnumerator<GenericParameterConstraintHandle>, IEnumerator 187public GenericParameterConstraintHandle Current 192return GenericParameterConstraintHandle.FromRowId((int)(_currentRowId & TokenTypeIds.RIDMask));
System\Reflection\Metadata\TypeSystem\Handles.TypeSystem.cs (13)
1433public readonly struct GenericParameterConstraintHandle : IEquatable<GenericParameterConstraintHandle> 1445internal static GenericParameterConstraintHandle FromRowId(int rowId) 1450public static implicit operator Handle(GenericParameterConstraintHandle handle) 1455public static implicit operator EntityHandle(GenericParameterConstraintHandle handle) 1460public static explicit operator GenericParameterConstraintHandle(Handle handle) 1470public static explicit operator GenericParameterConstraintHandle(EntityHandle handle) 1490public static bool operator ==(GenericParameterConstraintHandle left, GenericParameterConstraintHandle right) 1497return obj is GenericParameterConstraintHandle && ((GenericParameterConstraintHandle)obj)._rowId == _rowId; 1500public bool Equals(GenericParameterConstraintHandle other) 1510public static bool operator !=(GenericParameterConstraintHandle left, GenericParameterConstraintHandle right)
System.Reflection.MetadataLoadContext (3)
System\Reflection\TypeLoading\General\Ecma\MetadataExtensions.cs (2)
30public static GenericParameterConstraint GetGenericParameterConstraint(this GenericParameterConstraintHandle handle, MetadataReader reader) => reader.GetGenericParameterConstraint(handle); 65public static int GetToken(this GenericParameterConstraintHandle handle) => MetadataTokens.GetToken(handle);
System\Reflection\TypeLoading\Types\Ecma\EcmaGenericParameterType.cs (1)
50foreach (GenericParameterConstraintHandle h in handles)