138 references to TypeRef
Microsoft.CodeAnalysis (6)
Emit\EditAndContinue\DeltaMetadataWriter.cs (5)
123_typeRefIndex = new TypeReferenceIndex(this, lastRowId: sizes[(int)TableIndex.TypeRef]); 159sizes[(int)TableIndex.TypeRef] = _typeRefIndex.Rows.Count; 1145PopulateEncLogTableRows(TableIndex.TypeRef, previousSizes, deltaSizes); 1303case TableIndex.TypeRef: 1392TableIndex.TypeRef,
PEWriter\MetadataWriter.cs (1)
2844metadata.SetCapacity(TableIndex.TypeRef, typeRefs.Count);
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (116)
Emit\EditAndContinue\EditAndContinueTests.cs (116)
835Row(7, TableIndex.TypeRef, EditAndContinueOperation.Default), 836Row(8, TableIndex.TypeRef, EditAndContinueOperation.Default), 842Handle(7, TableIndex.TypeRef), 843Handle(8, TableIndex.TypeRef), 1165Row(7, TableIndex.TypeRef, EditAndContinueOperation.Default), 1166Row(8, TableIndex.TypeRef, EditAndContinueOperation.Default), 1172Handle(7, TableIndex.TypeRef), 1173Handle(8, TableIndex.TypeRef), 1203Row(9, TableIndex.TypeRef, EditAndContinueOperation.Default), 1204Row(10, TableIndex.TypeRef, EditAndContinueOperation.Default), 1205Row(11, TableIndex.TypeRef, EditAndContinueOperation.Default), 1211Handle(9, TableIndex.TypeRef), 1212Handle(10, TableIndex.TypeRef), 1213Handle(11, TableIndex.TypeRef), 1289Row(6, TableIndex.TypeRef, EditAndContinueOperation.Default), 1290Row(7, TableIndex.TypeRef, EditAndContinueOperation.Default), 1291Row(8, TableIndex.TypeRef, EditAndContinueOperation.Default), 1297Handle(6, TableIndex.TypeRef), 1298Handle(7, TableIndex.TypeRef), 1299Handle(8, TableIndex.TypeRef), 1327Row(9, TableIndex.TypeRef, EditAndContinueOperation.Default), 1333Handle(9, TableIndex.TypeRef), 1361Row(10, TableIndex.TypeRef, EditAndContinueOperation.Default), 1362Row(11, TableIndex.TypeRef, EditAndContinueOperation.Default), 1363Row(12, TableIndex.TypeRef, EditAndContinueOperation.Default), 1369Handle(10, TableIndex.TypeRef), 1370Handle(11, TableIndex.TypeRef), 1371Handle(12, TableIndex.TypeRef), 3129Row(6, TableIndex.TypeRef, EditAndContinueOperation.Default), 3130Row(7, TableIndex.TypeRef, EditAndContinueOperation.Default), 3131Row(8, TableIndex.TypeRef, EditAndContinueOperation.Default), 3138Handle(6, TableIndex.TypeRef), 3139Handle(7, TableIndex.TypeRef), 3140Handle(8, TableIndex.TypeRef), 3225Row(6, TableIndex.TypeRef, EditAndContinueOperation.Default), 3226Row(7, TableIndex.TypeRef, EditAndContinueOperation.Default), 3238Handle(6, TableIndex.TypeRef), 3239Handle(7, TableIndex.TypeRef), 3272Row(8, TableIndex.TypeRef, EditAndContinueOperation.Default), 3273Row(9, TableIndex.TypeRef, EditAndContinueOperation.Default), 3279Handle(8, TableIndex.TypeRef), 3280Handle(9, TableIndex.TypeRef), 3335Row(10, TableIndex.TypeRef, EditAndContinueOperation.Default), 3336Row(11, TableIndex.TypeRef, EditAndContinueOperation.Default), 3337Row(12, TableIndex.TypeRef, EditAndContinueOperation.Default), 3338Row(13, TableIndex.TypeRef, EditAndContinueOperation.Default), 3349Handle(10, TableIndex.TypeRef), 3350Handle(11, TableIndex.TypeRef), 3351Handle(12, TableIndex.TypeRef), 3352Handle(13, TableIndex.TypeRef), 3825Row(6, TableIndex.TypeRef, EditAndContinueOperation.Default), 3826Row(7, TableIndex.TypeRef, EditAndContinueOperation.Default), 3827Row(8, TableIndex.TypeRef, EditAndContinueOperation.Default), 3828Row(9, TableIndex.TypeRef, EditAndContinueOperation.Default), 3829Row(10, TableIndex.TypeRef, EditAndContinueOperation.Default), 3884Row(11, TableIndex.TypeRef, EditAndContinueOperation.Default), 3885Row(12, TableIndex.TypeRef, EditAndContinueOperation.Default), 3886Row(13, TableIndex.TypeRef, EditAndContinueOperation.Default), 3887Row(14, TableIndex.TypeRef, EditAndContinueOperation.Default), 3888Row(15, TableIndex.TypeRef, EditAndContinueOperation.Default), 3889Row(16, TableIndex.TypeRef, EditAndContinueOperation.Default), 3890Row(17, TableIndex.TypeRef, EditAndContinueOperation.Default), 3891Row(18, TableIndex.TypeRef, EditAndContinueOperation.Default), 3920Handle(11, TableIndex.TypeRef), 3921Handle(12, TableIndex.TypeRef), 3922Handle(13, TableIndex.TypeRef), 3923Handle(14, TableIndex.TypeRef), 3924Handle(15, TableIndex.TypeRef), 3925Handle(16, TableIndex.TypeRef), 3926Handle(17, TableIndex.TypeRef), 3927Handle(18, TableIndex.TypeRef), 3975Row(19, TableIndex.TypeRef, EditAndContinueOperation.Default), 3976Row(20, TableIndex.TypeRef, EditAndContinueOperation.Default), 4035Row(6, TableIndex.TypeRef, EditAndContinueOperation.Default), 4041Handle(6, TableIndex.TypeRef), 4088Row(7, TableIndex.TypeRef, EditAndContinueOperation.Default), 4089Row(8, TableIndex.TypeRef, EditAndContinueOperation.Default), 4094Handle(7, TableIndex.TypeRef), 4095Handle(8, TableIndex.TypeRef), 7379Row(6, TableIndex.TypeRef, EditAndContinueOperation.Default), 7396Handle(6, TableIndex.TypeRef), 7544Row(6, TableIndex.TypeRef, EditAndContinueOperation.Default), 7562Handle(6, TableIndex.TypeRef), 7707Row(6, TableIndex.TypeRef, EditAndContinueOperation.Default), 7711Handle(6, TableIndex.TypeRef), 7773Row(6, TableIndex.TypeRef, EditAndContinueOperation.Default), 7779Handle(6, TableIndex.TypeRef), 7798Row(7, TableIndex.TypeRef, EditAndContinueOperation.Default), 7802Handle(7, TableIndex.TypeRef), 7850Row(6, TableIndex.TypeRef, EditAndContinueOperation.Default), 7854Handle(6, TableIndex.TypeRef), 8002Row(11, TableIndex.TypeRef, EditAndContinueOperation.Default), 8253Row(7, TableIndex.TypeRef, EditAndContinueOperation.Default), 8257Handle(7, TableIndex.TypeRef), 8373Row(12, TableIndex.TypeRef, EditAndContinueOperation.Default), 8374Row(13, TableIndex.TypeRef, EditAndContinueOperation.Default), 8379Handle(12, TableIndex.TypeRef), 8380Handle(13, TableIndex.TypeRef), 8528Row(6, TableIndex.TypeRef, EditAndContinueOperation.Default), 8540Handle(6, TableIndex.TypeRef), 9159Row(6, TableIndex.TypeRef, EditAndContinueOperation.Default), 9164Handle(6, TableIndex.TypeRef), 12902Row(7, TableIndex.TypeRef, EditAndContinueOperation.Default), 12907Handle(7, TableIndex.TypeRef), 16385Row(21, TableIndex.TypeRef, EditAndContinueOperation.Default), 16386Row(22, TableIndex.TypeRef, EditAndContinueOperation.Default), 16387Row(23, TableIndex.TypeRef, EditAndContinueOperation.Default), 16395Handle(21, TableIndex.TypeRef), 16396Handle(22, TableIndex.TypeRef), 16397Handle(23, TableIndex.TypeRef), 16821Row(8, TableIndex.TypeRef, EditAndContinueOperation.Default), 16822Row(9, TableIndex.TypeRef, EditAndContinueOperation.Default), 16823Row(10, TableIndex.TypeRef, EditAndContinueOperation.Default), 16828Handle(8, TableIndex.TypeRef), 16829Handle(9, TableIndex.TypeRef), 16830Handle(10, TableIndex.TypeRef),
System.Reflection.Metadata (15)
System\Reflection\Metadata\Ecma335\MetadataBuilder.Tables.cs (4)
148case TableIndex.TypeRef: SetTableCapacity(_typeRefTable, rowCount); break; 261case TableIndex.TypeRef : return _typeRefTable.Count; 333rowCounts[(int)TableIndex.TypeRef] = _typeRefTable.Count; 1652if (metadataSizes.IsPresent(TableIndex.TypeRef))
System\Reflection\Metadata\Ecma335\MetadataReaderExtensions.cs (2)
50TableIndex.TypeRef => reader.TypeRefTable.RowSize, 131TableIndex.TypeRef => reader.TypeRefTable.Block,
System\Reflection\Metadata\Ecma335\MetadataSizes.cs (6)
167TableIndex.TypeRef, 192MemberRefParentCodedIndexIsSmall = IsReferenceSmall(3, TableIndex.TypeDef, TableIndex.TypeRef, TableIndex.ModuleRef, TableIndex.MethodDef, TableIndex.TypeSpec); 198ResolutionScopeCodedIndexIsSmall = IsReferenceSmall(2, TableIndex.Module, TableIndex.ModuleRef, TableIndex.AssemblyRef, TableIndex.TypeRef); 200TypeDefOrRefCodedIndexIsSmall = IsReferenceSmall(2, TableIndex.TypeDef, TableIndex.TypeRef, TableIndex.TypeSpec); 211TableIndex.TypeRef, 273size += GetTableSize(TableIndex.TypeRef, resolutionScopeCodedIndexSize + stringReferenceSize + stringReferenceSize);
System\Reflection\Metadata\Internal\MetadataFlags.cs (2)
19TypeRef = 1UL << TableIndex.TypeRef, 204internal const uint TypeRef = (uint)TableIndex.TypeRef;
System\Reflection\Metadata\MetadataReader.cs (1)
608this.TypeRefTable = new TypeRefTableReader(rowCounts[(int)TableIndex.TypeRef], resolutionScopeRefSize, stringHeapRefSize, metadataTablesMemoryBlock, totalRequiredSize);
System.Reflection.MetadataLoadContext (1)
System\Reflection\TypeLoading\Modules\Ecma\EcmaModule.MetadataTables.cs (1)
41Interlocked.CompareExchange(ref field, CreateTable<RoDefinitionType>(TableIndex.TypeRef), null) ??