79 references to Property
Microsoft.CodeAnalysis (7)
Emit\EditAndContinue\DeltaMetadataWriter.cs (5)
109
_propertyDefs = new DefinitionIndex<IPropertyDefinition>(this.TryGetExistingPropertyDefIndex, sizes[(int)TableIndex.
Property
]);
159
sizes[(int)TableIndex.
Property
] = _propertyDefs.GetAdded().Count;
1106
PopulateEncLogTableEventsOrProperties(_propertyDefs, TableIndex.
Property
, EditAndContinueOperation.AddProperty, _propertyMap, TableIndex.PropertyMap);
1293
case TableIndex.
Property
:
1357
TableIndex.
Property
,
Emit\EditAndContinue\EmitBaseline.cs (1)
347
Debug.Assert(tableEntriesAdded[(int)TableIndex.
Property
] >= propertiesAdded.Count);
PEWriter\MetadataWriter.cs (1)
2755
metadata.SetCapacity(TableIndex.
Property
, propertyDefs.Count);
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (47)
Emit\EditAndContinue\EditAndContinueStateMachineTests.cs (6)
101
Row(1, TableIndex.
Property
, EditAndContinueOperation.Default),
103
Row(2, TableIndex.
Property
, EditAndContinueOperation.Default),
163
Handle(1, TableIndex.
Property
),
164
Handle(2, TableIndex.
Property
),
394
Row(1, TableIndex.
Property
, EditAndContinueOperation.Default),
396
Row(2, TableIndex.
Property
, EditAndContinueOperation.Default),
Emit\EditAndContinue\EditAndContinueTests.cs (41)
2759
Row(1, TableIndex.
Property
, EditAndContinueOperation.Default),
2767
Handle(1, TableIndex.
Property
),
3195
new CustomAttributeRow(Handle(1, TableIndex.
Property
), Handle(5, TableIndex.MethodDef)), // X
3210
Row(1, TableIndex.
Property
, EditAndContinueOperation.Default),
3235
Handle(1, TableIndex.
Property
),
3276
new CustomAttributeRow(Handle(1, TableIndex.
Property
), Handle(11, TableIndex.MethodDef)),// X
3291
Row(1, TableIndex.
Property
, EditAndContinueOperation.Default),
3316
Handle(1, TableIndex.
Property
),
3911
Row(1, TableIndex.
Property
, EditAndContinueOperation.Default),
3918
Handle(1, TableIndex.
Property
),
3952
Row(2, TableIndex.
Property
, EditAndContinueOperation.Default),
3971
Handle(2, TableIndex.
Property
),
4074
Row(1, TableIndex.
Property
, EditAndContinueOperation.Default),
4088
Handle(1, TableIndex.
Property
),
4219
Row(1, TableIndex.
Property
, EditAndContinueOperation.Default),
4238
Handle(1, TableIndex.
Property
),
4369
Row(1, TableIndex.
Property
, EditAndContinueOperation.Default),
4380
Handle(1, TableIndex.
Property
),
4504
Row(1, TableIndex.
Property
, EditAndContinueOperation.Default),
4515
Handle(1, TableIndex.
Property
),
4597
Row(2, TableIndex.
Property
, EditAndContinueOperation.Default),
4624
Handle(2, TableIndex.
Property
),
4698
Row(1, TableIndex.
Property
, EditAndContinueOperation.Default),
4714
Handle(1, TableIndex.
Property
),
4802
Row(2, TableIndex.
Property
, EditAndContinueOperation.Default),
4829
Handle(2, TableIndex.
Property
),
4900
Row(1, TableIndex.
Property
, EditAndContinueOperation.Default),
4916
Handle(1, TableIndex.
Property
),
5081
Row(2, TableIndex.
Property
, EditAndContinueOperation.Default),
5097
Handle(2, TableIndex.
Property
),
5159
Row(1, TableIndex.
Property
, EditAndContinueOperation.Default),
5169
Handle(1, TableIndex.
Property
),
5219
Row(2, TableIndex.
Property
, EditAndContinueOperation.Default),
5228
Handle(2, TableIndex.
Property
),
7281
new CustomAttributeRow(Handle(1, TableIndex.
Property
), Handle(1, TableIndex.MethodDef)),
7331
Row(2, TableIndex.
Property
, EditAndContinueOperation.Default),
7371
Handle(2, TableIndex.
Property
),
7379
new CustomAttributeRow(Handle(2, TableIndex.
Property
), Handle(2, TableIndex.MethodDef)),
15631
Row(2, TableIndex.
Property
, EditAndContinueOperation.Default),
15713
Row(4, TableIndex.
Property
, EditAndContinueOperation.Default),
15844
Row(3, TableIndex.
Property
, EditAndContinueOperation.Default),
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (8)
Emit\EditAndContinue\EditAndContinueStateMachineTests.vb (6)
126
Row(3, TableIndex.
Property
, EditAndContinueOperation.Default),
128
Row(4, TableIndex.
Property
, EditAndContinueOperation.Default),
214
Handle(3, TableIndex.
Property
),
215
Handle(4, TableIndex.
Property
),
780
Row(1, TableIndex.
Property
, EditAndContinueOperation.Default),
782
Row(2, TableIndex.
Property
, EditAndContinueOperation.Default),
Emit\EditAndContinue\EditAndContinueTests.vb (2)
2332
Row(2, TableIndex.
Property
, EditAndContinueOperation.Default),
2425
Row(1, TableIndex.
Property
, EditAndContinueOperation.Default), ' Action<int> P
System.Reflection.Metadata (17)
System\Reflection\Metadata\Ecma335\MetadataBuilder.Tables.cs (4)
165
case TableIndex.
Property
: SetTableCapacity(_propertyTable, rowCount); break;
258
case TableIndex.
Property
: return _propertyTable.Count;
330
rowCounts[(int)TableIndex.
Property
] = _propertyTable.Count;
1737
if (metadataSizes.IsPresent(TableIndex.
Property
))
System\Reflection\Metadata\Ecma335\MetadataReaderExtensions.cs (2)
72
TableIndex.
Property
=> reader.PropertyTable.RowSize,
153
TableIndex.
Property
=> reader.PropertyTable.Block,
System\Reflection\Metadata\Ecma335\MetadataSizes.cs (6)
162
HasConstantCodedIndexIsSmall = IsReferenceSmall(2, TableIndex.Field, TableIndex.Param, TableIndex.
Property
);
174
TableIndex.
Property
,
189
HasSemanticsCodedIndexIsSmall = IsReferenceSmall(1, TableIndex.Event, TableIndex.
Property
);
197
PropertyDefReferenceIsSmall = IsReferenceSmall(0, TableIndex.
Property
);
218
TableIndex.
Property
,
295
size += GetTableSize(TableIndex.
Property
, 2 + stringReferenceSize + blobReferenceSize);
System\Reflection\Metadata\Internal\MetadataFlags.cs (2)
41
Property = 1UL << TableIndex.
Property
,
218
internal const uint Property = (uint)TableIndex.
Property
;
System\Reflection\Metadata\MetadataReader.cs (3)
581
int propertyRefSizeSorted = GetReferenceSize(rowCounts, TableIndex.PropertyPtr) > SmallIndexSize ? LargeIndexSize : GetReferenceSize(rowCounts, TableIndex.
Property
);
677
this.PropertyPtrTable = new PropertyPtrTableReader(rowCounts[(int)TableIndex.PropertyPtr], GetReferenceSize(rowCounts, TableIndex.
Property
), metadataTablesMemoryBlock, totalRequiredSize);
680
this.PropertyTable = new PropertyTableReader(rowCounts[(int)TableIndex.
Property
], stringHeapRefSize, blobHeapRefSize, metadataTablesMemoryBlock, totalRequiredSize);