3 instantiations of GenericParameterHandle
System.Reflection.Metadata (3)
System\Reflection\Metadata\TypeSystem\Handles.TypeSystem.cs (3)
1364return new GenericParameterHandle(rowId); 1384return new GenericParameterHandle(handle.RowId); 1394return new GenericParameterHandle(handle.RowId);
70 references to GenericParameterHandle
Microsoft.CodeAnalysis (2)
MetadataReader\PEModule.cs (1)
3278GenericParameterHandle handle,
PEWriter\MetadataWriter.cs (1)
2454var genericParameterHandle = metadata.AddGenericParameter(
Microsoft.CodeAnalysis.CSharp (6)
Emitter\EditAndContinue\PEDeltaAssemblyBuilder.cs (1)
207foreach (var typeParameterHandle in def.GetGenericParameters())
Symbols\Metadata\PE\PETypeParameterSymbol.cs (5)
28private readonly GenericParameterHandle _handle; 50GenericParameterHandle handle) 59GenericParameterHandle handle) 68GenericParameterHandle handle) 129internal GenericParameterHandle Handle
Microsoft.CodeAnalysis.ExpressionEvaluator.FunctionResolver.UnitTests (1)
FunctionResolverTestBase.cs (1)
205var handle = typeParameters[offset + i];
Microsoft.CodeAnalysis.Test.Utilities (1)
Metadata\MetadataReaderUtils.cs (1)
42internal static IEnumerable<GenericParameterHandle> GetGenericParameters(this MetadataReader reader)
Microsoft.CodeAnalysis.VisualBasic (5)
Symbols\Metadata\PE\PETypeParameterSymbol.vb (5)
27Private ReadOnly _handle As GenericParameterHandle 52handle As GenericParameterHandle 61handle As GenericParameterHandle 70handle As GenericParameterHandle 125Friend ReadOnly Property Handle As GenericParameterHandle
System.Reflection.Emit (1)
System\Reflection\Emit\ModuleBuilderImpl.cs (1)
868GenericParameterHandle handle = _metadataBuilder.AddGenericParameter(
System.Reflection.Metadata (43)
System\Reflection\Metadata\Ecma335\CodedIndex.cs (2)
31/// <see cref="GenericParameterHandle"/>, 158/// <see cref="GenericParameterHandle"/>,
System\Reflection\Metadata\Ecma335\MetadataBuilder.Tables.cs (5)
733/// <see cref="GenericParameterHandle"/>, 829public GenericParameterHandle AddGenericParameter( 848return GenericParameterHandle.FromRowId(_genericParamTable.Count); 861GenericParameterHandle genericParameter, 1390/// <see cref="GenericParameterHandle"/>,
System\Reflection\Metadata\Ecma335\MetadataTokens.cs (2)
415public static GenericParameterHandle GenericParameterHandle(int rowNumber) 417return Metadata.GenericParameterHandle.FromRowId(ToRowId(rowNumber));
System\Reflection\Metadata\Internal\Tables.cs (7)
2416internal ushort GetNumber(GenericParameterHandle handle) 2422internal GenericParameterAttributes GetFlags(GenericParameterHandle handle) 2428internal StringHandle GetName(GenericParameterHandle handle) 2434internal EntityHandle GetOwner(GenericParameterHandle handle) 2557internal GenericParameterConstraintHandleCollection FindConstraintsForGenericParam(GenericParameterHandle genericParameter) 2590internal GenericParameterHandle GetOwner(GenericParameterConstraintHandle handle) 2593return GenericParameterHandle.FromRowId(this.Block.PeekReference(rowOffset + _OwnerOffset, _IsGenericParamTableRowRefSizeSmall));
System\Reflection\Metadata\MetadataReader.cs (1)
1283public GenericParameter GetGenericParameter(GenericParameterHandle handle)
System\Reflection\Metadata\TypeSystem\GenericParameter.cs (3)
15internal GenericParameter(MetadataReader reader, GenericParameterHandle handle) 24private GenericParameterHandle Handle 26get { return GenericParameterHandle.FromRowId(_rowId); }
System\Reflection\Metadata\TypeSystem\GenericParameterConstraint.cs (2)
30/// The constrained <see cref="GenericParameterHandle"/>. 35public GenericParameterHandle Parameter
System\Reflection\Metadata\TypeSystem\HandleCollections.TypeSystem.cs (8)
15public readonly struct GenericParameterHandleCollection : IReadOnlyList<GenericParameterHandle> 34public GenericParameterHandle this[int index] 43return GenericParameterHandle.FromRowId(_firstRowId + index); 52IEnumerator<GenericParameterHandle> IEnumerable<GenericParameterHandle>.GetEnumerator() 62public struct Enumerator : IEnumerator<GenericParameterHandle>, IEnumerator 79public GenericParameterHandle Current 84return GenericParameterHandle.FromRowId((int)(_currentRowId & TokenTypeIds.RIDMask));
System\Reflection\Metadata\TypeSystem\Handles.TypeSystem.cs (13)
1350public readonly struct GenericParameterHandle : IEquatable<GenericParameterHandle> 1362internal static GenericParameterHandle FromRowId(int rowId) 1367public static implicit operator Handle(GenericParameterHandle handle) 1372public static implicit operator EntityHandle(GenericParameterHandle handle) 1377public static explicit operator GenericParameterHandle(Handle handle) 1387public static explicit operator GenericParameterHandle(EntityHandle handle) 1407public static bool operator ==(GenericParameterHandle left, GenericParameterHandle right) 1414return obj is GenericParameterHandle && ((GenericParameterHandle)obj)._rowId == _rowId; 1417public bool Equals(GenericParameterHandle other) 1427public static bool operator !=(GenericParameterHandle left, GenericParameterHandle right)
System.Reflection.MetadataLoadContext (11)
System\Reflection\TypeLoading\General\Ecma\EcmaResolver.cs (3)
126public static EcmaGenericParameterType ResolveGenericParameter(this GenericParameterHandle handle, EcmaModule module) 138GenericParameterHandle gph = (GenericParameterHandle)h;
System\Reflection\TypeLoading\General\Ecma\MetadataExtensions.cs (2)
29public static GenericParameter GetGenericParameter(this GenericParameterHandle handle, MetadataReader reader) => reader.GetGenericParameter(handle); 64public static int GetToken(this GenericParameterHandle handle) => MetadataTokens.GetToken(handle);
System\Reflection\TypeLoading\MethodBase\Ecma\EcmaMethodDecoder.cs (1)
39foreach (GenericParameterHandle gph in gphs)
System\Reflection\TypeLoading\Types\Ecma\EcmaDefinitionType.cs (1)
91foreach (GenericParameterHandle h in gps)
System\Reflection\TypeLoading\Types\Ecma\EcmaGenericMethodParameterType.cs (1)
14internal EcmaGenericMethodParameterType(GenericParameterHandle handle, EcmaModule module)
System\Reflection\TypeLoading\Types\Ecma\EcmaGenericParameterType.cs (2)
17internal EcmaGenericParameterType(GenericParameterHandle handle, EcmaModule module) 71internal GenericParameterHandle Handle { get; }
System\Reflection\TypeLoading\Types\Ecma\EcmaGenericTypeParameterType.cs (1)
13internal EcmaGenericTypeParameterType(GenericParameterHandle handle, EcmaModule module)