255 references to Field
Microsoft.CodeAnalysis (7)
Emit\EditAndContinue\DeltaMetadataWriter.cs (5)
107_fieldDefs = new DefinitionIndex<IFieldDefinition>(this.TryGetExistingFieldDefIndex, sizes[(int)TableIndex.Field]); 151sizes[(int)TableIndex.Field] = _fieldDefs.GetAdded().Count; 1104PopulateEncLogTableFieldsOrMethods(_fieldDefs, TableIndex.Field, EditAndContinueOperation.AddField); 1281case TableIndex.Field: 1344TableIndex.Field,
Emit\EditAndContinue\EmitBaseline.cs (1)
345Debug.Assert(tableEntriesAdded[(int)TableIndex.Field] >= fieldsAdded.Count);
PEWriter\MetadataWriter.cs (1)
2368metadata.SetCapacity(TableIndex.Field, fieldDefs.Count);
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (163)
Emit\EditAndContinue\EditAndContinueClosureTests.cs (10)
94Row(1, TableIndex.Field, EditAndContinueOperation.Default), 96Row(2, TableIndex.Field, EditAndContinueOperation.Default), 98Row(3, TableIndex.Field, EditAndContinueOperation.Default), 100Row(4, TableIndex.Field, EditAndContinueOperation.Default), 4766Row(3, TableIndex.Field, EditAndContinueOperation.Default), 4768Row(4, TableIndex.Field, EditAndContinueOperation.Default), 4785Handle(3, TableIndex.Field), 4786Handle(4, TableIndex.Field), 9498Row(2, TableIndex.Field, EditAndContinueOperation.Default), 9500Row(3, TableIndex.Field, EditAndContinueOperation.Default),
Emit\EditAndContinue\EditAndContinuePdbTests.cs (2)
164Row(5, TableIndex.Field, EditAndContinueOperation.Default), 288Row(6, TableIndex.Field, EditAndContinueOperation.Default),
Emit\EditAndContinue\EditAndContinueStateMachineTests.cs (29)
77Row(1, TableIndex.Field, EditAndContinueOperation.Default), 79Row(2, TableIndex.Field, EditAndContinueOperation.Default), 81Row(3, TableIndex.Field, EditAndContinueOperation.Default), 133Handle(1, TableIndex.Field), 134Handle(2, TableIndex.Field), 135Handle(3, TableIndex.Field), 264Row(1, TableIndex.Field, EditAndContinueOperation.Default), 266Row(2, TableIndex.Field, EditAndContinueOperation.Default), 268Row(3, TableIndex.Field, EditAndContinueOperation.Default), 371Row(2, TableIndex.Field, EditAndContinueOperation.Default), 373Row(3, TableIndex.Field, EditAndContinueOperation.Default), 375Row(4, TableIndex.Field, EditAndContinueOperation.Default), 472Row(1, TableIndex.Field, EditAndContinueOperation.Default), 474Row(2, TableIndex.Field, EditAndContinueOperation.Default), 476Row(3, TableIndex.Field, EditAndContinueOperation.Default), 478Row(4, TableIndex.Field, EditAndContinueOperation.Default), 3794Row(7, TableIndex.Field, EditAndContinueOperation.Default), 3903Row(7, TableIndex.Field, EditAndContinueOperation.Default), 4009Row(5, TableIndex.Field, EditAndContinueOperation.Default), 4123Row(7, TableIndex.Field, EditAndContinueOperation.Default), 7483Row(16, TableIndex.Field, EditAndContinueOperation.Default), 7594Row(17, TableIndex.Field, EditAndContinueOperation.Default), 7596Row(18, TableIndex.Field, EditAndContinueOperation.Default), 7705Row(19, TableIndex.Field, EditAndContinueOperation.Default), 7707Row(20, TableIndex.Field, EditAndContinueOperation.Default), 8269Row(11, TableIndex.Field, EditAndContinueOperation.Default), 8411Row(12, TableIndex.Field, EditAndContinueOperation.Default), 8588Row(13, TableIndex.Field, EditAndContinueOperation.Default), 8590Row(14, TableIndex.Field, EditAndContinueOperation.Default),
Emit\EditAndContinue\EditAndContinueTests.cs (122)
87Row(1, TableIndex.Field, EditAndContinueOperation.Default), 97Handle(1, TableIndex.Field), 170Row(1, TableIndex.Field, EditAndContinueOperation.Default), 181Handle(1, TableIndex.Field), 2368Row(4, TableIndex.Field, EditAndContinueOperation.Default), 2379Handle(4, TableIndex.Field), 3212new CustomAttributeRow(Handle(4, TableIndex.Field), Handle(4, TableIndex.MemberRef)), 3213new CustomAttributeRow(Handle(4, TableIndex.Field), Handle(5, TableIndex.MemberRef)), 3260new CustomAttributeRow(Handle(2, TableIndex.Field), Handle(2, TableIndex.MethodDef)), // E.A 3261new CustomAttributeRow(Handle(3, TableIndex.Field), Handle(4, TableIndex.MethodDef)), // _x 3277Row(2, TableIndex.Field, EditAndContinueOperation.Default), 3278Row(3, TableIndex.Field, EditAndContinueOperation.Default), 3295Handle(2, TableIndex.Field), 3296Handle(3, TableIndex.Field), 3349new CustomAttributeRow(Handle(2, TableIndex.Field), Handle(8, TableIndex.MethodDef)), // E.A 3350new CustomAttributeRow(Handle(3, TableIndex.Field), Handle(10, TableIndex.MethodDef)), // _x 3363new CustomAttributeRow(Handle(2, TableIndex.Field), Handle(8, TableIndex.MethodDef)), // E.A 3364new CustomAttributeRow(Handle(3, TableIndex.Field), Handle(10, TableIndex.MethodDef)), // _x 3374Row(2, TableIndex.Field, EditAndContinueOperation.Default), 3375Row(3, TableIndex.Field, EditAndContinueOperation.Default), 3392Handle(2, TableIndex.Field), 3393Handle(3, TableIndex.Field), 3725Row(1, TableIndex.Field, EditAndContinueOperation.Default), 3727Row(2, TableIndex.Field, EditAndContinueOperation.Default), 3760Handle(1, TableIndex.Field), 3761Handle(2, TableIndex.Field), 3867Row(2, TableIndex.Field, EditAndContinueOperation.Default), 3872Handle(2, TableIndex.Field), 4031Row(1, TableIndex.Field, EditAndContinueOperation.Default), 4048Handle(1, TableIndex.Field), 4100Row(2, TableIndex.Field, EditAndContinueOperation.Default), 4111Handle(2, TableIndex.Field), 4242Row(1, TableIndex.Field, EditAndContinueOperation.Default), 4253Handle(1, TableIndex.Field), 4301Row(2, TableIndex.Field, EditAndContinueOperation.Default), 4315Handle(2, TableIndex.Field), 4391Row(1, TableIndex.Field, EditAndContinueOperation.Default), 4401Handle(1, TableIndex.Field), 4529Row(1, TableIndex.Field, EditAndContinueOperation.Default), 4538Handle(1, TableIndex.Field), 4670Row(2, TableIndex.Field, EditAndContinueOperation.Default), 4672Row(3, TableIndex.Field, EditAndContinueOperation.Default), 4696Handle(2, TableIndex.Field), 4697Handle(3, TableIndex.Field), 4875Row(2, TableIndex.Field, EditAndContinueOperation.Default), 4877Row(3, TableIndex.Field, EditAndContinueOperation.Default), 4901Handle(2, TableIndex.Field), 4902Handle(3, TableIndex.Field), 5075Row(1, TableIndex.Field, EditAndContinueOperation.Default), 5085Handle(1, TableIndex.Field), 5159Row(1, TableIndex.Field, EditAndContinueOperation.Default), 5175Handle(1, TableIndex.Field), 5456Row(1, TableIndex.Field, EditAndContinueOperation.Default), 5473Handle(1, TableIndex.Field), 5510Row(2, TableIndex.Field, EditAndContinueOperation.Default), 5527Handle(2, TableIndex.Field), 5582Row(2, TableIndex.Field, EditAndContinueOperation.Default), 5592Handle(2, TableIndex.Field), 5669Row(2, TableIndex.Field, EditAndContinueOperation.Default), 5671Row(3, TableIndex.Field, EditAndContinueOperation.Default), 5695Handle(2, TableIndex.Field), 5696Handle(3, TableIndex.Field), 6162Row(baseFieldCount + generation, TableIndex.Field, EditAndContinueOperation.Default), 6175Handle(baseFieldCount + generation, TableIndex.Field), 6378new CustomAttributeRow(Handle(1, TableIndex.Field), Handle(4, TableIndex.MemberRef)), 6379new CustomAttributeRow(Handle(1, TableIndex.Field), Handle(5, TableIndex.MemberRef)), 6652Row(1, TableIndex.Field, EditAndContinueOperation.Default), 6667Handle(1, TableIndex.Field), 7271Row(1, TableIndex.Field, EditAndContinueOperation.Default), 7365new CustomAttributeRow(Handle(1, TableIndex.Field), Handle(2, TableIndex.MethodDef)), 7372new CustomAttributeRow(Handle(2, TableIndex.Field), Handle(4, TableIndex.MemberRef)), 7373new CustomAttributeRow(Handle(2, TableIndex.Field), Handle(5, TableIndex.MemberRef)), 7404Row(3, TableIndex.Field, EditAndContinueOperation.Default), 7406Row(4, TableIndex.Field, EditAndContinueOperation.Default), 7436Handle(3, TableIndex.Field), 7437Handle(4, TableIndex.Field), 7469new CustomAttributeRow(Handle(3, TableIndex.Field), Handle(1, TableIndex.MethodDef)), 7470new CustomAttributeRow(Handle(4, TableIndex.Field), Handle(11, TableIndex.MemberRef)), 7471new CustomAttributeRow(Handle(4, TableIndex.Field), Handle(12, TableIndex.MemberRef)), 7480new CustomAttributeRow(Handle(3, TableIndex.Field), Handle(1, TableIndex.MethodDef)), 7481new CustomAttributeRow(Handle(4, TableIndex.Field), Handle(11, TableIndex.MemberRef)), 7482new CustomAttributeRow(Handle(4, TableIndex.Field), Handle(12, TableIndex.MemberRef)), 7816Row(3, TableIndex.Field, EditAndContinueOperation.Default), 7818Row(4, TableIndex.Field, EditAndContinueOperation.Default), 7827Handle(3, TableIndex.Field), 7828Handle(4, TableIndex.Field), 12024Row(1, TableIndex.Field, EditAndContinueOperation.Default), 12034Handle(1, TableIndex.Field), 15718Row(3, TableIndex.Field, EditAndContinueOperation.Default), 15720Row(4, TableIndex.Field, EditAndContinueOperation.Default), 15805Row(5, TableIndex.Field, EditAndContinueOperation.Default), 15940Row(4, TableIndex.Field, EditAndContinueOperation.Default), 16499Row(1, TableIndex.Field, EditAndContinueOperation.Default), 16509Handle(1, TableIndex.Field), 16618Row(1, TableIndex.Field, EditAndContinueOperation.Default), 16628Handle(1, TableIndex.Field), 16698Row(1, TableIndex.Field, EditAndContinueOperation.Default), 16707Handle(1, TableIndex.Field), 16821Row(1, TableIndex.Field, EditAndContinueOperation.Default), 16831Handle(1, TableIndex.Field), 17015Row(1, TableIndex.Field, EditAndContinueOperation.Default), 17025Handle(1, TableIndex.Field), 17155Row(3, TableIndex.Field, EditAndContinueOperation.Default), 17166Handle(3, TableIndex.Field), 17232Row(4, TableIndex.Field, EditAndContinueOperation.Default), 17241Handle(4, TableIndex.Field), 17407Row(3, TableIndex.Field, EditAndContinueOperation.Default), 17418Handle(3, TableIndex.Field), 17581Row(5, TableIndex.Field, EditAndContinueOperation.Default), 17594Handle(5, TableIndex.Field), 17858Row(1, TableIndex.Field, EditAndContinueOperation.Default), 17870Handle(1, TableIndex.Field), 18162Row(1, TableIndex.Field, EditAndContinueOperation.Default), 18175Handle(1, TableIndex.Field), 18309Row(1, TableIndex.Field, EditAndContinueOperation.Default), 18323Handle(1, TableIndex.Field), 18461Row(1, TableIndex.Field, EditAndContinueOperation.Default), 18477Handle(1, TableIndex.Field), 19637Row(3, TableIndex.Field, EditAndContinueOperation.Default), 19666Handle(3, TableIndex.Field), 19708Row(4, TableIndex.Field, EditAndContinueOperation.Default), 19737Handle(4, TableIndex.Field),
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (63)
Emit\EditAndContinue\EditAndContinueClosureTests.vb (2)
67Row(1, TableIndex.Field, EditAndContinueOperation.Default), 448Row(11, TableIndex.Field, EditAndContinueOperation.Default),
Emit\EditAndContinue\EditAndContinuePdbTests.vb (2)
167Row(5, TableIndex.Field, EditAndContinueOperation.Default), 272Row(6, TableIndex.Field, EditAndContinueOperation.Default),
Emit\EditAndContinue\EditAndContinueStateMachineTests.vb (42)
100Row(5, TableIndex.Field, EditAndContinueOperation.Default), 102Row(6, TableIndex.Field, EditAndContinueOperation.Default), 104Row(7, TableIndex.Field, EditAndContinueOperation.Default), 106Row(8, TableIndex.Field, EditAndContinueOperation.Default), 170Handle(5, TableIndex.Field), 171Handle(6, TableIndex.Field), 172Handle(7, TableIndex.Field), 173Handle(8, TableIndex.Field), 464Row(1, TableIndex.Field, EditAndContinueOperation.Default), 466Row(2, TableIndex.Field, EditAndContinueOperation.Default), 468Row(3, TableIndex.Field, EditAndContinueOperation.Default), 470Row(4, TableIndex.Field, EditAndContinueOperation.Default), 505Handle(1, TableIndex.Field), 506Handle(2, TableIndex.Field), 507Handle(3, TableIndex.Field), 508Handle(4, TableIndex.Field), 755Row(1, TableIndex.Field, EditAndContinueOperation.Default), 757Row(2, TableIndex.Field, EditAndContinueOperation.Default), 759Row(3, TableIndex.Field, EditAndContinueOperation.Default), 761Row(4, TableIndex.Field, EditAndContinueOperation.Default), 862Row(1, TableIndex.Field, EditAndContinueOperation.Default), 864Row(2, TableIndex.Field, EditAndContinueOperation.Default), 866Row(3, TableIndex.Field, EditAndContinueOperation.Default), 868Row(4, TableIndex.Field, EditAndContinueOperation.Default), 1079Row(16, TableIndex.Field, EditAndContinueOperation.Default), 3716Row(8, TableIndex.Field, EditAndContinueOperation.Default), 3826Row(8, TableIndex.Field, EditAndContinueOperation.Default), 3932Row(6, TableIndex.Field, EditAndContinueOperation.Default), 4065Row(8, TableIndex.Field, EditAndContinueOperation.Default), 4067Row(9, TableIndex.Field, EditAndContinueOperation.Default), 6541Row(7, TableIndex.Field, EditAndContinueOperation.Default), 6699Row(7, TableIndex.Field, EditAndContinueOperation.Default), 6853Row(6, TableIndex.Field, EditAndContinueOperation.Default), 7145Row(19, TableIndex.Field, EditAndContinueOperation.Default), 7263Row(20, TableIndex.Field, EditAndContinueOperation.Default), 7265Row(21, TableIndex.Field, EditAndContinueOperation.Default), 7380Row(22, TableIndex.Field, EditAndContinueOperation.Default), 7382Row(23, TableIndex.Field, EditAndContinueOperation.Default), 7646Row(14, TableIndex.Field, EditAndContinueOperation.Default), 7807Row(15, TableIndex.Field, EditAndContinueOperation.Default), 7965Row(16, TableIndex.Field, EditAndContinueOperation.Default), 7967Row(17, TableIndex.Field, EditAndContinueOperation.Default),
Emit\EditAndContinue\EditAndContinueTests.vb (17)
1469Row(1, TableIndex.Field, EditAndContinueOperation.Default), 1633Row(1, TableIndex.Field, EditAndContinueOperation.Default), 2322Row(1, TableIndex.Field, EditAndContinueOperation.Default), ' HotReloadException.Code 2517Row(1, TableIndex.Field, EditAndContinueOperation.Default), 2645Row(1, TableIndex.Field, EditAndContinueOperation.Default), 5963Row(4, TableIndex.Field, EditAndContinueOperation.Default), 5974Handle(4, TableIndex.Field), 6072Row(3, TableIndex.Field, EditAndContinueOperation.Default), 6082Handle(3, TableIndex.Field), 6146Row(4, TableIndex.Field, EditAndContinueOperation.Default), 6155Handle(4, TableIndex.Field), 6323Row(3, TableIndex.Field, EditAndContinueOperation.Default), 6332Handle(3, TableIndex.Field), 6460Row(5, TableIndex.Field, EditAndContinueOperation.Default), 6472Handle(5, TableIndex.Field), 7270Row(1, TableIndex.Field, EditAndContinueOperation.Default), 7279Handle(1, TableIndex.Field),
SemanticSearch.BuildTask (2)
GenerateFilteredReferenceAssembliesTask.cs (2)
427var tableOffset = metadataOffset + metadataReader.GetTableMetadataOffset(TableIndex.Field); 428var tableRowSize = metadataReader.GetTableRowSize(TableIndex.Field);
System.Reflection.Metadata (20)
System\Reflection\Metadata\Ecma335\MetadataBuilder.Tables.cs (4)
150case TableIndex.Field: SetTableCapacity(_fieldTable, rowCount); break; 241case TableIndex.Field : return _fieldTable.Count; 313rowCounts[(int)TableIndex.Field] = _fieldTable.Count; 1662if (metadataSizes.IsPresent(TableIndex.Field))
System\Reflection\Metadata\Ecma335\MetadataReaderExtensions.cs (2)
53TableIndex.Field => reader.FieldTable.RowSize, 134TableIndex.Field => reader.FieldTable.Block,
System\Reflection\Metadata\Ecma335\MetadataSizes.cs (7)
160FieldDefReferenceIsSmall = IsReferenceSmall(0, TableIndex.Field); 162HasConstantCodedIndexIsSmall = IsReferenceSmall(2, TableIndex.Field, TableIndex.Param, TableIndex.Property); 166TableIndex.Field, 188HasFieldMarshalCodedIndexIsSmall = IsReferenceSmall(1, TableIndex.Field, TableIndex.Param); 191MemberForwardedCodedIndexIsSmall = IsReferenceSmall(1, TableIndex.Field, TableIndex.MethodDef); 210TableIndex.Field, 276size += GetTableSize(TableIndex.Field, 2 + stringReferenceSize + blobReferenceSize);
System\Reflection\Metadata\Internal\MetadataFlags.cs (2)
22Field = 1UL << TableIndex.Field, 206internal const uint FieldDef = (uint)TableIndex.Field;
System\Reflection\Metadata\MetadataReader.cs (5)
577int fieldRefSizeSorted = GetReferenceSize(rowCounts, TableIndex.FieldPtr) > SmallIndexSize ? LargeIndexSize : GetReferenceSize(rowCounts, TableIndex.Field); 614this.FieldPtrTable = new FieldPtrTableReader(rowCounts[(int)TableIndex.FieldPtr], GetReferenceSize(rowCounts, TableIndex.Field), metadataTablesMemoryBlock, totalRequiredSize); 617this.FieldTable = new FieldTableReader(rowCounts[(int)TableIndex.Field], stringHeapRefSize, blobHeapRefSize, metadataTablesMemoryBlock, totalRequiredSize); 659this.FieldLayoutTable = new FieldLayoutTableReader(rowCounts[(int)TableIndex.FieldLayout], IsDeclaredSorted(TableMask.FieldLayout), GetReferenceSize(rowCounts, TableIndex.Field), metadataTablesMemoryBlock, totalRequiredSize); 698this.FieldRvaTable = new FieldRVATableReader(rowCounts[(int)TableIndex.FieldRva], IsDeclaredSorted(TableMask.FieldRva), GetReferenceSize(rowCounts, TableIndex.Field), metadataTablesMemoryBlock, totalRequiredSize);