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