64 references to GenericParam
Microsoft.CodeAnalysis (6)
Emit\EditAndContinue\DeltaMetadataWriter.cs (5)
112_genericParameters = new GenericParameterIndex(sizes[(int)TableIndex.GenericParam]); 164sizes[(int)TableIndex.GenericParam] = _genericParameters.GetAdded().Count; 1127PopulateEncLogTableRows(TableIndex.GenericParam, previousSizes, deltaSizes); 1270case TableIndex.GenericParam: 1372TableIndex.GenericParam,
PEWriter\MetadataWriter.cs (1)
2018AddCustomAttributesToTable(sortedGenericParameters, TableIndex.GenericParam);
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (39)
Emit\EditAndContinue\EditAndContinueTests.cs (39)
6824Row(2, TableIndex.GenericParam, EditAndContinueOperation.Default), 6825Row(3, TableIndex.GenericParam, EditAndContinueOperation.Default), 6826Row(4, TableIndex.GenericParam, EditAndContinueOperation.Default), 6845Handle(2, TableIndex.GenericParam), 6846Handle(3, TableIndex.GenericParam), 6847Handle(4, TableIndex.GenericParam), 7371new CustomAttributeRow(Handle(1, TableIndex.GenericParam), Handle(2, TableIndex.MethodDef)), 7433Row(2, TableIndex.GenericParam, EditAndContinueOperation.Default)); 7460Handle(2, TableIndex.GenericParam)); 7466new CustomAttributeRow(Handle(1, TableIndex.GenericParam), Handle(1, TableIndex.MethodDef)), 7479new CustomAttributeRow(Handle(1, TableIndex.GenericParam), Handle(1, TableIndex.MethodDef)), 19521Row(3, TableIndex.GenericParam, EditAndContinueOperation.Default), 19522Row(4, TableIndex.GenericParam, EditAndContinueOperation.Default), 19523Row(5, TableIndex.GenericParam, EditAndContinueOperation.Default), 19524Row(6, TableIndex.GenericParam, EditAndContinueOperation.Default) 19538Handle(3, TableIndex.GenericParam), 19539Handle(4, TableIndex.GenericParam), 19540Handle(5, TableIndex.GenericParam), 19541Handle(6, TableIndex.GenericParam) 19655Row(8, TableIndex.GenericParam, EditAndContinueOperation.Default), 19656Row(9, TableIndex.GenericParam, EditAndContinueOperation.Default), 19657Row(10, TableIndex.GenericParam, EditAndContinueOperation.Default), 19658Row(11, TableIndex.GenericParam, EditAndContinueOperation.Default), 19659Row(12, TableIndex.GenericParam, EditAndContinueOperation.Default) 19679Handle(8, TableIndex.GenericParam), 19680Handle(9, TableIndex.GenericParam), 19681Handle(10, TableIndex.GenericParam), 19682Handle(11, TableIndex.GenericParam), 19683Handle(12, TableIndex.GenericParam) 19726Row(13, TableIndex.GenericParam, EditAndContinueOperation.Default), 19727Row(14, TableIndex.GenericParam, EditAndContinueOperation.Default), 19728Row(15, TableIndex.GenericParam, EditAndContinueOperation.Default), 19729Row(16, TableIndex.GenericParam, EditAndContinueOperation.Default), 19730Row(17, TableIndex.GenericParam, EditAndContinueOperation.Default) 19750Handle(13, TableIndex.GenericParam), 19751Handle(14, TableIndex.GenericParam), 19752Handle(15, TableIndex.GenericParam), 19753Handle(16, TableIndex.GenericParam), 19754Handle(17, TableIndex.GenericParam)
Microsoft.CodeAnalysis.Test.Utilities (1)
Metadata\MetadataReaderUtils.cs (1)
44for (int i = 1, n = reader.GetTableRowCount(TableIndex.GenericParam); i <= n; i++)
System.Reflection.Metadata (17)
System\Reflection\Metadata\Ecma335\MetadataBuilder.Tables.cs (5)
180case TableIndex.GenericParam: SetTableCapacity(_genericParamTable, rowCount); break; 244case TableIndex.GenericParam : return _genericParamTable.Count; 316rowCounts[(int)TableIndex.GenericParam] = _genericParamTable.Count; 1526Throw.InvalidOperation_TableNotSorted(TableIndex.GenericParam); 1812if (metadataSizes.IsPresent(TableIndex.GenericParam))
System\Reflection\Metadata\Ecma335\MetadataReaderExtensions.cs (2)
91TableIndex.GenericParam => reader.GenericParamTable.RowSize, 172TableIndex.GenericParam => reader.GenericParamTable.Block,
System\Reflection\Metadata\Ecma335\MetadataSizes.cs (5)
351UL << (int)TableIndex.GenericParam | 161GenericParamReferenceIsSmall = IsReferenceSmall(0, TableIndex.GenericParam); 184TableIndex.GenericParam, 228TableIndex.GenericParam, 314size += GetTableSize(TableIndex.GenericParam, 4 + typeOrMethodDefCodedIndexSize + stringReferenceSize);
System\Reflection\Metadata\Internal\MetadataFlags.cs (2)
60GenericParam = 1UL << TableIndex.GenericParam, 229internal const uint GenericParam = (uint)TableIndex.GenericParam;
System\Reflection\Metadata\Internal\Tables.cs (1)
2412Throw.TableNotSorted(TableIndex.GenericParam);
System\Reflection\Metadata\MetadataReader.cs (2)
737this.GenericParamTable = new GenericParamTableReader(rowCounts[(int)TableIndex.GenericParam], IsDeclaredSorted(TableMask.GenericParam), typeOrMethodDefRefSize, stringHeapRefSize, metadataTablesMemoryBlock, totalRequiredSize); 743this.GenericParamConstraintTable = new GenericParamConstraintTableReader(rowCounts[(int)TableIndex.GenericParamConstraint], IsDeclaredSorted(TableMask.GenericParamConstraint), GetReferenceSize(rowCounts, TableIndex.GenericParam), typeDefOrRefRefSize, metadataTablesMemoryBlock, totalRequiredSize);
System.Reflection.MetadataLoadContext (1)
System\Reflection\TypeLoading\Modules\Ecma\EcmaModule.MetadataTables.cs (1)
55Interlocked.CompareExchange(ref _lazyGenericParamTable, CreateTable<EcmaGenericParameterType>(TableIndex.GenericParam), null) ??