533 references to TypeDef
Microsoft.CodeAnalysis (7)
Emit\EditAndContinue\DeltaMetadataWriter.cs (5)
105_typeDefs = new DefinitionIndex<ITypeDefinition>(this.TryGetExistingTypeDefIndex, sizes[(int)TableIndex.TypeDef]); 150sizes[(int)TableIndex.TypeDef] = _typeDefs.GetAdded().Count; 1099PopulateEncLogTableRows(_typeDefs, TableIndex.TypeDef); 1277case TableIndex.TypeDef: 1343TableIndex.TypeDef,
Emit\EditAndContinue\EmitBaseline.cs (1)
343Debug.Assert(tableEntriesAdded[(int)TableIndex.TypeDef] >= typesAdded.Count);
PEWriter\MetadataWriter.cs (1)
2769metadata.SetCapacity(TableIndex.TypeDef, typeDefs.Count);
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (358)
Emit\EditAndContinue\EditAndContinueClosureTests.cs (32)
90Row(4, TableIndex.TypeDef, EditAndContinueOperation.Default), 91Row(5, TableIndex.TypeDef, EditAndContinueOperation.Default), 92Row(6, TableIndex.TypeDef, EditAndContinueOperation.Default), 93Row(4, TableIndex.TypeDef, EditAndContinueOperation.AddField), 95Row(4, TableIndex.TypeDef, EditAndContinueOperation.AddField), 97Row(5, TableIndex.TypeDef, EditAndContinueOperation.AddField), 99Row(6, TableIndex.TypeDef, EditAndContinueOperation.AddField), 104Row(4, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 106Row(4, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 108Row(4, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 110Row(5, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 112Row(5, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 114Row(6, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 116Row(6, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 118Row(6, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 4763Row(4, TableIndex.TypeDef, EditAndContinueOperation.Default), 4764Row(5, TableIndex.TypeDef, EditAndContinueOperation.Default), 4765Row(5, TableIndex.TypeDef, EditAndContinueOperation.AddField), 4767Row(5, TableIndex.TypeDef, EditAndContinueOperation.AddField), 4769Row(4, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 4771Row(4, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 4773Row(5, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 4775Row(5, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 4777Row(5, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 4783Handle(4, TableIndex.TypeDef), 4784Handle(5, TableIndex.TypeDef), 9495Row(4, TableIndex.TypeDef, EditAndContinueOperation.Default), 9496Row(5, TableIndex.TypeDef, EditAndContinueOperation.Default), 9497Row(4, TableIndex.TypeDef, EditAndContinueOperation.AddField), 9499Row(5, TableIndex.TypeDef, EditAndContinueOperation.AddField), 9504Row(2, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 9506Row(4, TableIndex.TypeDef, EditAndContinueOperation.AddMethod),
Emit\EditAndContinue\EditAndContinuePdbTests.cs (6)
163Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddField), 170Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 286Row(4, TableIndex.TypeDef, EditAndContinueOperation.Default), 287Row(4, TableIndex.TypeDef, EditAndContinueOperation.AddField), 296Row(2, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 298Row(4, TableIndex.TypeDef, EditAndContinueOperation.AddMethod),
Emit\EditAndContinue\EditAndContinueStateMachineTests.cs (55)
74Row(3, TableIndex.TypeDef, EditAndContinueOperation.Default), 76Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddField), 78Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddField), 80Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddField), 82Row(2, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 84Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 86Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 88Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 90Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 92Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 94Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 96Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 98Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 132Handle(3, TableIndex.TypeDef), 262Row(3, TableIndex.TypeDef, EditAndContinueOperation.Default), 263Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddField), 265Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddField), 267Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddField), 269Row(2, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 271Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 273Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 275Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 368Row(5, TableIndex.TypeDef, EditAndContinueOperation.Default), 370Row(5, TableIndex.TypeDef, EditAndContinueOperation.AddField), 372Row(5, TableIndex.TypeDef, EditAndContinueOperation.AddField), 374Row(5, TableIndex.TypeDef, EditAndContinueOperation.AddField), 377Row(5, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 379Row(5, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 381Row(5, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 383Row(5, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 385Row(5, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 387Row(5, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 389Row(5, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 391Row(5, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 470Row(3, TableIndex.TypeDef, EditAndContinueOperation.Default), 471Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddField), 473Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddField), 475Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddField), 477Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddField), 480Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 482Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 484Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 3793Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddField), 3902Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddField), 4008Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddField), 4122Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddField), 7482Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddField), 7593Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddField), 7595Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddField), 7704Row(4, TableIndex.TypeDef, EditAndContinueOperation.AddField), 7706Row(5, TableIndex.TypeDef, EditAndContinueOperation.AddField), 8268Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddField), 8410Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddField), 8587Row(4, TableIndex.TypeDef, EditAndContinueOperation.AddField), 8589Row(5, TableIndex.TypeDef, EditAndContinueOperation.AddField),
Emit\EditAndContinue\EditAndContinueTests.cs (265)
85Row(3, TableIndex.TypeDef, EditAndContinueOperation.Default), 86Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddField), 89Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 96Handle(3, TableIndex.TypeDef), 168Row(3, TableIndex.TypeDef, EditAndContinueOperation.Default), 169Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddField), 172Row(2, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 174Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 180Handle(3, TableIndex.TypeDef), 929Row(8, TableIndex.TypeDef, EditAndContinueOperation.Default), 938Handle(8, TableIndex.TypeDef), 949new CustomAttributeRow(Handle(8, TableIndex.TypeDef), Handle(5, TableIndex.MethodDef)), 1033new CustomAttributeRow(Handle(9, TableIndex.TypeDef), Handle(1, TableIndex.MethodDef)), 1039new CustomAttributeRow(Handle(10, TableIndex.TypeDef), Handle(2, TableIndex.MethodDef)) 1905new CustomAttributeRow(Handle(3, TableIndex.TypeDef), Handle(4, TableIndex.MemberRef))); 2366Row(4, TableIndex.TypeDef, EditAndContinueOperation.Default), 2367Row(4, TableIndex.TypeDef, EditAndContinueOperation.AddField), 2372Row(4, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 2378Handle(4, TableIndex.TypeDef), 2939Row(2, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 3035Row(2, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 3262new CustomAttributeRow(Handle(14, TableIndex.TypeDef), Handle(1, TableIndex.MethodDef)), // E 3263new CustomAttributeRow(Handle(15, TableIndex.TypeDef), Handle(3, TableIndex.MethodDef)), // C 3264new CustomAttributeRow(Handle(16, TableIndex.TypeDef), Handle(6, TableIndex.MethodDef)), // D 3274Row(14, TableIndex.TypeDef, EditAndContinueOperation.Default), 3275Row(15, TableIndex.TypeDef, EditAndContinueOperation.Default), 3276Row(16, TableIndex.TypeDef, EditAndContinueOperation.Default), 3292Handle(14, TableIndex.TypeDef), 3293Handle(15, TableIndex.TypeDef), 3294Handle(16, TableIndex.TypeDef), 3351new CustomAttributeRow(Handle(14, TableIndex.TypeDef), Handle(7, TableIndex.MethodDef)), // E 3352new CustomAttributeRow(Handle(15, TableIndex.TypeDef), Handle(9, TableIndex.MethodDef)), // C 3353new CustomAttributeRow(Handle(16, TableIndex.TypeDef), Handle(12, TableIndex.MethodDef)),// D 3360new CustomAttributeRow(Handle(14, TableIndex.TypeDef), Handle(7, TableIndex.MethodDef)), // E 3361new CustomAttributeRow(Handle(15, TableIndex.TypeDef), Handle(9, TableIndex.MethodDef)), // C 3362new CustomAttributeRow(Handle(16, TableIndex.TypeDef), Handle(12, TableIndex.MethodDef)),// D 3371Row(14, TableIndex.TypeDef, EditAndContinueOperation.Default), 3372Row(15, TableIndex.TypeDef, EditAndContinueOperation.Default), 3373Row(16, TableIndex.TypeDef, EditAndContinueOperation.Default), 3389Handle(14, TableIndex.TypeDef), 3390Handle(15, TableIndex.TypeDef), 3391Handle(16, TableIndex.TypeDef), 3468Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 3660Row(4, TableIndex.TypeDef, EditAndContinueOperation.Default), 3661Row(5, TableIndex.TypeDef, EditAndContinueOperation.Default), 3663Row(4, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 3665Row(5, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 3667Row(2, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 3669Row(2, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 3722Row(6, TableIndex.TypeDef, EditAndContinueOperation.Default), // NullableAttribute 3723Row(7, TableIndex.TypeDef, EditAndContinueOperation.Default), // NullableContextAttribute 3724Row(6, TableIndex.TypeDef, EditAndContinueOperation.AddField), 3726Row(7, TableIndex.TypeDef, EditAndContinueOperation.AddField), 3729Row(6, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 3731Row(6, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 3733Row(7, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 3735Row(2, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 3758Handle(6, TableIndex.TypeDef), 3759Handle(7, TableIndex.TypeDef), 3807Row(2, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 3866Row(2, TableIndex.TypeDef, EditAndContinueOperation.AddField), 3993Row(2, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 4030Row(2, TableIndex.TypeDef, EditAndContinueOperation.AddField), 4032Row(2, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 4034Row(2, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 4098Row(3, TableIndex.TypeDef, EditAndContinueOperation.Default), 4099Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddField), 4103Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 4110Handle(3, TableIndex.TypeDef), 4240Row(3, TableIndex.TypeDef, EditAndContinueOperation.Default), 4241Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddField), 4245Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 4252Handle(3, TableIndex.TypeDef), 4300Row(2, TableIndex.TypeDef, EditAndContinueOperation.AddField), 4389Row(3, TableIndex.TypeDef, EditAndContinueOperation.Default), 4390Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddField), 4394Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 4400Handle(3, TableIndex.TypeDef), 4527Row(3, TableIndex.TypeDef, EditAndContinueOperation.Default), 4528Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddField), 4531Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 4537Handle(3, TableIndex.TypeDef), 4668Row(3, TableIndex.TypeDef, EditAndContinueOperation.Default), 4669Row(2, TableIndex.TypeDef, EditAndContinueOperation.AddField), 4671Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddField), 4675Row(2, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 4677Row(2, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 4679Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 4695Handle(3, TableIndex.TypeDef), 4873Row(3, TableIndex.TypeDef, EditAndContinueOperation.Default), 4874Row(2, TableIndex.TypeDef, EditAndContinueOperation.AddField), 4876Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddField), 4880Row(2, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 4882Row(2, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 4884Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 4900Handle(3, TableIndex.TypeDef), 5073Row(3, TableIndex.TypeDef, EditAndContinueOperation.Default), 5074Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddField), 5078Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 5084Handle(3, TableIndex.TypeDef), 5157Row(3, TableIndex.TypeDef, EditAndContinueOperation.Default), 5158Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddField), 5161Row(2, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 5163Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 5174Handle(3, TableIndex.TypeDef), 5455Row(2, TableIndex.TypeDef, EditAndContinueOperation.AddField), 5457Row(2, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 5459Row(2, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 5509Row(2, TableIndex.TypeDef, EditAndContinueOperation.AddField), 5511Row(2, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 5513Row(2, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 5580Row(3, TableIndex.TypeDef, EditAndContinueOperation.Default), 5581Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddField), 5585Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 5591Handle(3, TableIndex.TypeDef), 5665Row(3, TableIndex.TypeDef, EditAndContinueOperation.Default), 5668Row(2, TableIndex.TypeDef, EditAndContinueOperation.AddField), 5670Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddField), 5674Row(2, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 5676Row(2, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 5678Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 5694Handle(3, TableIndex.TypeDef), 6021Row(2, TableIndex.TypeDef, EditAndContinueOperation.Default), 6025Handle(2, TableIndex.TypeDef), 6042Row(2, TableIndex.TypeDef, EditAndContinueOperation.Default), 6047Handle(2, TableIndex.TypeDef), 6160Row(baseTypeCount + generation, TableIndex.TypeDef, EditAndContinueOperation.Default), // adding a type def 6161Row(baseTypeCount + generation, TableIndex.TypeDef, EditAndContinueOperation.AddField), 6163Row(baseTypeCount + generation, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 6165Row(baseTypeCount + generation, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 6174Handle(baseTypeCount + generation, TableIndex.TypeDef), 6240Row(5, TableIndex.TypeDef, EditAndContinueOperation.Default), 6247Handle(5, TableIndex.TypeDef), 6319Row(5, TableIndex.TypeDef, EditAndContinueOperation.Default), 6321Row(5, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 6323Row(5, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 6325Row(4, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 6331Handle(5, TableIndex.TypeDef), 6649Row(4, TableIndex.TypeDef, EditAndContinueOperation.Default), 6650Row(5, TableIndex.TypeDef, EditAndContinueOperation.Default), 6651Row(4, TableIndex.TypeDef, EditAndContinueOperation.AddField), 6654Row(4, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 6656Row(4, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 6658Row(5, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 6665Handle(4, TableIndex.TypeDef), 6666Handle(5, TableIndex.TypeDef), 6817Row(4, TableIndex.TypeDef, EditAndContinueOperation.Default), 6819Row(4, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 6821Row(4, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 6831Handle(4, TableIndex.TypeDef), 7042Row(4, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 7403Row(4, TableIndex.TypeDef, EditAndContinueOperation.AddField), 7405Row(4, TableIndex.TypeDef, EditAndContinueOperation.AddField), 7407Row(4, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 7409Row(4, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 7411Row(4, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 7413Row(4, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 7539Row(2, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 7759Row(2, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 7814Row(3, TableIndex.TypeDef, EditAndContinueOperation.Default), 7815Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddField), 7817Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddField), 7819Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 7826Handle(3, TableIndex.TypeDef), 8445Row(2, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 12022Row(3, TableIndex.TypeDef, EditAndContinueOperation.Default), 12023Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddField), 12026Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 12033Handle(3, TableIndex.TypeDef), 15716Row(7, TableIndex.TypeDef, EditAndContinueOperation.Default), 15717Row(5, TableIndex.TypeDef, EditAndContinueOperation.AddField), 15719Row(7, TableIndex.TypeDef, EditAndContinueOperation.AddField), 15722Row(5, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 15724Row(5, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 15726Row(5, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 15728Row(5, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 15730Row(7, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 15804Row(5, TableIndex.TypeDef, EditAndContinueOperation.AddField), 15806Row(5, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 15808Row(5, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 15810Row(5, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 15812Row(5, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 15939Row(5, TableIndex.TypeDef, EditAndContinueOperation.AddField), 15941Row(5, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 15943Row(5, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 16497Row(4, TableIndex.TypeDef, EditAndContinueOperation.Default), 16498Row(4, TableIndex.TypeDef, EditAndContinueOperation.AddField), 16501Row(4, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 16508Handle(4, TableIndex.TypeDef), 16579Row(2, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 16616Row(3, TableIndex.TypeDef, EditAndContinueOperation.Default), 16617Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddField), 16620Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 16627Handle(3, TableIndex.TypeDef), 16696Row(3, TableIndex.TypeDef, EditAndContinueOperation.Default), 16697Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddField), 16700Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 16706Handle(3, TableIndex.TypeDef), 16819Row(5, TableIndex.TypeDef, EditAndContinueOperation.Default), 16820Row(5, TableIndex.TypeDef, EditAndContinueOperation.AddField), 16823Row(5, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 16830Handle(5, TableIndex.TypeDef), 16839new CustomAttributeRow(Handle(5, TableIndex.TypeDef), Handle(6, TableIndex.MemberRef)) 16966Row(2, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 17013Row(3, TableIndex.TypeDef, EditAndContinueOperation.Default), 17014Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddField), 17017Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 17024Handle(3, TableIndex.TypeDef), 17153Row(4, TableIndex.TypeDef, EditAndContinueOperation.Default), 17154Row(4, TableIndex.TypeDef, EditAndContinueOperation.AddField), 17158Row(4, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 17165Handle(4, TableIndex.TypeDef), 17231Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddField), 17235Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 17405Row(4, TableIndex.TypeDef, EditAndContinueOperation.Default), 17406Row(4, TableIndex.TypeDef, EditAndContinueOperation.AddField), 17410Row(4, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 17417Handle(4, TableIndex.TypeDef), 17579Row(8, TableIndex.TypeDef, EditAndContinueOperation.Default), 17580Row(8, TableIndex.TypeDef, EditAndContinueOperation.AddField), 17586Row(8, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 17593Handle(8, TableIndex.TypeDef), 17856Row(7, TableIndex.TypeDef, EditAndContinueOperation.Default), 17857Row(7, TableIndex.TypeDef, EditAndContinueOperation.AddField), 17862Row(7, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 17869Handle(7, TableIndex.TypeDef), 18160Row(3, TableIndex.TypeDef, EditAndContinueOperation.Default), 18161Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddField), 18164Row(2, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 18166Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 18174Handle(3, TableIndex.TypeDef), 18307Row(3, TableIndex.TypeDef, EditAndContinueOperation.Default), 18308Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddField), 18311Row(2, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 18313Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 18322Handle(3, TableIndex.TypeDef), 18459Row(3, TableIndex.TypeDef, EditAndContinueOperation.Default), 18460Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddField), 18463Row(2, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 18465Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 18476Handle(3, TableIndex.TypeDef), 19361Row(4, TableIndex.TypeDef, EditAndContinueOperation.Default), 19363Row(4, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 19373Handle(4, TableIndex.TypeDef), 19422Row(4, TableIndex.TypeDef, EditAndContinueOperation.Default), 19424Row(4, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 19434Handle(4, TableIndex.TypeDef), 19508Row(5, TableIndex.TypeDef, EditAndContinueOperation.Default), 19510Row(5, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 19512Row(5, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 19529Handle(5, TableIndex.TypeDef), 19634Row(8, TableIndex.TypeDef, EditAndContinueOperation.Default), 19635Row(9, TableIndex.TypeDef, EditAndContinueOperation.Default), 19636Row(9, TableIndex.TypeDef, EditAndContinueOperation.AddField), 19639Row(8, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 19641Row(8, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 19664Handle(8, TableIndex.TypeDef), 19665Handle(9, TableIndex.TypeDef), 19705Row(10, TableIndex.TypeDef, EditAndContinueOperation.Default), 19706Row(11, TableIndex.TypeDef, EditAndContinueOperation.Default), 19707Row(11, TableIndex.TypeDef, EditAndContinueOperation.AddField), 19710Row(10, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 19712Row(10, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 19735Handle(10, TableIndex.TypeDef), 19736Handle(11, TableIndex.TypeDef),
Microsoft.CodeAnalysis.Features (1)
EditAndContinue\EditSession.cs (1)
135var highestExistingTypeDefRow = emitResult.Baseline.OriginalMetadata.GetMetadataReader().GetTableRowCount(TableIndex.TypeDef);
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (141)
Emit\EditAndContinue\EditAndContinueClosureTests.vb (7)
65Row(4, TableIndex.TypeDef, EditAndContinueOperation.Default), 66Row(4, TableIndex.TypeDef, EditAndContinueOperation.AddField), 69Row(4, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 71Row(4, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 446Row(7, TableIndex.TypeDef, EditAndContinueOperation.Default), 447Row(7, TableIndex.TypeDef, EditAndContinueOperation.AddField), 451Row(7, TableIndex.TypeDef, EditAndContinueOperation.AddMethod),
Emit\EditAndContinue\EditAndContinuePdbTests.vb (6)
166Row(5, TableIndex.TypeDef, EditAndContinueOperation.AddField), 173Row(5, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 270Row(6, TableIndex.TypeDef, EditAndContinueOperation.Default), 271Row(6, TableIndex.TypeDef, EditAndContinueOperation.AddField), 280Row(4, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 282Row(6, TableIndex.TypeDef, EditAndContinueOperation.AddMethod),
Emit\EditAndContinue\EditAndContinueStateMachineTests.vb (66)
97Row(4, TableIndex.TypeDef, EditAndContinueOperation.Default), 99Row(4, TableIndex.TypeDef, EditAndContinueOperation.AddField), 101Row(4, TableIndex.TypeDef, EditAndContinueOperation.AddField), 103Row(4, TableIndex.TypeDef, EditAndContinueOperation.AddField), 105Row(4, TableIndex.TypeDef, EditAndContinueOperation.AddField), 107Row(2, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 109Row(4, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 111Row(4, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 113Row(4, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 115Row(4, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 117Row(4, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 119Row(4, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 121Row(4, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 123Row(4, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 169Handle(4, TableIndex.TypeDef), 462Row(3, TableIndex.TypeDef, EditAndContinueOperation.Default), 463Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddField), 465Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddField), 467Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddField), 469Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddField), 471Row(2, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 473Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 475Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 477Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 504Handle(3, TableIndex.TypeDef), 752Row(3, TableIndex.TypeDef, EditAndContinueOperation.Default), 754Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddField), 756Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddField), 758Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddField), 760Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddField), 763Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 765Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 767Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 769Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 771Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 773Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 775Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 777Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 860Row(3, TableIndex.TypeDef, EditAndContinueOperation.Default), 861Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddField), 863Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddField), 865Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddField), 867Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddField), 870Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 872Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 874Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 1077Row(6, TableIndex.TypeDef, EditAndContinueOperation.Default), 1078Row(6, TableIndex.TypeDef, EditAndContinueOperation.AddField), 1086Row(6, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 3715Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddField), 3825Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddField), 3931Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddField), 4064Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddField), 4066Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddField), 6540Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddField), 6698Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddField), 6852Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddField), 7144Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddField), 7262Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddField), 7264Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddField), 7379Row(4, TableIndex.TypeDef, EditAndContinueOperation.AddField), 7381Row(5, TableIndex.TypeDef, EditAndContinueOperation.AddField), 7645Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddField), 7806Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddField), 7964Row(4, TableIndex.TypeDef, EditAndContinueOperation.AddField), 7966Row(5, TableIndex.TypeDef, EditAndContinueOperation.AddField),
Emit\EditAndContinue\EditAndContinueTests.vb (62)
456Row(3, TableIndex.TypeDef, EditAndContinueOperation.Default), 457Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 459Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 467Handle(3, TableIndex.TypeDef), 520Row(4, TableIndex.TypeDef, EditAndContinueOperation.Default), 521Row(4, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 523Row(4, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 529Handle(4, TableIndex.TypeDef), 1467Row(3, TableIndex.TypeDef, EditAndContinueOperation.Default), 1468Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddField), 1473Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 1630Row(3, TableIndex.TypeDef, EditAndContinueOperation.Default), 1632Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddField), 1636Row(2, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 1638Row(2, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 1640Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 1824Row(2, TableIndex.TypeDef, EditAndContinueOperation.Default), 1828Handle(2, TableIndex.TypeDef), 1845Row(2, TableIndex.TypeDef, EditAndContinueOperation.Default), 1850Handle(2, TableIndex.TypeDef), 1959Row(baseTypeCount + generation, TableIndex.TypeDef, EditAndContinueOperation.Default), ' adding a type def 1960Row(baseTypeCount + generation, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 1962Row(baseTypeCount + generation, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 1971Handle(baseTypeCount + generation, TableIndex.TypeDef), 2031Row(5, TableIndex.TypeDef, EditAndContinueOperation.Default), 2038Handle(5, TableIndex.TypeDef), 2320Row(3, TableIndex.TypeDef, EditAndContinueOperation.Default), ' HotReloadException 2321Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddField), 2325Row(2, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), ' Action<bool> get_P 2327Row(2, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), ' set_P(Action<bool>) 2329Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 2515Row(3, TableIndex.TypeDef, EditAndContinueOperation.Default), 2516Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddField), 2520Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 2643Row(3, TableIndex.TypeDef, EditAndContinueOperation.Default), 2644Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddField), 2647Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 5961Row(4, TableIndex.TypeDef, EditAndContinueOperation.Default), 5962Row(4, TableIndex.TypeDef, EditAndContinueOperation.AddField), 5967Row(4, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 5973Handle(4, TableIndex.TypeDef), 6070Row(4, TableIndex.TypeDef, EditAndContinueOperation.Default), 6071Row(4, TableIndex.TypeDef, EditAndContinueOperation.AddField), 6075Row(4, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 6081Handle(4, TableIndex.TypeDef), 6145Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddField), 6149Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 6321Row(4, TableIndex.TypeDef, EditAndContinueOperation.Default), 6322Row(4, TableIndex.TypeDef, EditAndContinueOperation.AddField), 6326Row(4, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 6331Handle(4, TableIndex.TypeDef), 6458Row(5, TableIndex.TypeDef, EditAndContinueOperation.Default), 6459Row(5, TableIndex.TypeDef, EditAndContinueOperation.AddField), 6465Row(5, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 6471Handle(5, TableIndex.TypeDef), 7268Row(3, TableIndex.TypeDef, EditAndContinueOperation.Default), 7269Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddField), 7272Row(3, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 7278Handle(3, TableIndex.TypeDef), 7613Row(4, TableIndex.TypeDef, EditAndContinueOperation.Default), 7615Row(4, TableIndex.TypeDef, EditAndContinueOperation.AddMethod), 7625Handle(4, TableIndex.TypeDef),
SemanticSearch.BuildTask (2)
GenerateFilteredReferenceAssembliesTask.cs (2)
353var tableOffset = metadataOffset + metadataReader.GetTableMetadataOffset(TableIndex.TypeDef); 354var tableRowSize = metadataReader.GetTableRowSize(TableIndex.TypeDef);
System.Reflection.Metadata (23)
System\Reflection\Metadata\Ecma335\MetadataBuilder.Tables.cs (4)
149case TableIndex.TypeDef: SetTableCapacity(_typeDefTable, rowCount); break; 260case TableIndex.TypeDef : return _typeDefTable.Count; 332rowCounts[(int)TableIndex.TypeDef] = _typeDefTable.Count; 1657if (metadataSizes.IsPresent(TableIndex.TypeDef))
System\Reflection\Metadata\Ecma335\MetadataReaderExtensions.cs (2)
51TableIndex.TypeDef => reader.TypeDefTable.RowSize, 132TableIndex.TypeDef => reader.TypeDefTable.Block,
System\Reflection\Metadata\Ecma335\MetadataSizes.cs (8)
158DeclSecurityCodedIndexIsSmall = IsReferenceSmall(2, TableIndex.MethodDef, TableIndex.TypeDef); 168TableIndex.TypeDef, 192MemberRefParentCodedIndexIsSmall = IsReferenceSmall(3, TableIndex.TypeDef, TableIndex.TypeRef, TableIndex.ModuleRef, TableIndex.MethodDef, TableIndex.TypeSpec); 199TypeDefReferenceIsSmall = IsReferenceSmall(0, TableIndex.TypeDef); 200TypeDefOrRefCodedIndexIsSmall = IsReferenceSmall(2, TableIndex.TypeDef, TableIndex.TypeRef, TableIndex.TypeSpec); 201TypeOrMethodDefCodedIndexIsSmall = IsReferenceSmall(1, TableIndex.TypeDef, TableIndex.MethodDef); 212TableIndex.TypeDef, 274size += GetTableSize(TableIndex.TypeDef, 4 + stringReferenceSize + stringReferenceSize + typeDefOrRefCodedIndexSize + fieldDefReferenceSize + methodDefReferenceSize);
System\Reflection\Metadata\Internal\MetadataFlags.cs (2)
20TypeDef = 1UL << TableIndex.TypeDef, 205internal const uint TypeDef = (uint)TableIndex.TypeDef;
System\Reflection\Metadata\MetadataReader.cs (7)
611this.TypeDefTable = new TypeDefTableReader(rowCounts[(int)TableIndex.TypeDef], fieldRefSizeSorted, methodRefSizeSorted, typeDefOrRefRefSize, stringHeapRefSize, metadataTablesMemoryBlock, totalRequiredSize); 632this.InterfaceImplTable = new InterfaceImplTableReader(rowCounts[(int)TableIndex.InterfaceImpl], IsDeclaredSorted(TableMask.InterfaceImpl), GetReferenceSize(rowCounts, TableIndex.TypeDef), typeDefOrRefRefSize, metadataTablesMemoryBlock, totalRequiredSize); 656this.ClassLayoutTable = new ClassLayoutTableReader(rowCounts[(int)TableIndex.ClassLayout], IsDeclaredSorted(TableMask.ClassLayout), GetReferenceSize(rowCounts, TableIndex.TypeDef), metadataTablesMemoryBlock, totalRequiredSize); 665this.EventMapTable = new EventMapTableReader(rowCounts[(int)TableIndex.EventMap], GetReferenceSize(rowCounts, TableIndex.TypeDef), eventRefSizeSorted, metadataTablesMemoryBlock, totalRequiredSize); 674this.PropertyMapTable = new PropertyMapTableReader(rowCounts[(int)TableIndex.PropertyMap], GetReferenceSize(rowCounts, TableIndex.TypeDef), propertyRefSizeSorted, metadataTablesMemoryBlock, totalRequiredSize); 686this.MethodImplTable = new MethodImplTableReader(rowCounts[(int)TableIndex.MethodImpl], IsDeclaredSorted(TableMask.MethodImpl), GetReferenceSize(rowCounts, TableIndex.TypeDef), methodDefOrRefRefSize, metadataTablesMemoryBlock, totalRequiredSize); 734this.NestedClassTable = new NestedClassTableReader(rowCounts[(int)TableIndex.NestedClass], IsDeclaredSorted(TableMask.NestedClass), GetReferenceSize(rowCounts, TableIndex.TypeDef), metadataTablesMemoryBlock, totalRequiredSize);
System.Reflection.MetadataLoadContext (1)
System\Reflection\TypeLoading\Modules\Ecma\EcmaModule.MetadataTables.cs (1)
20Interlocked.CompareExchange(ref _lazyTypeDefTable, CreateTable<EcmaDefinitionType>(TableIndex.TypeDef), null) ??