97 references to Property
Microsoft.CodeAnalysis (7)
Emit\EditAndContinue\DeltaMetadataWriter.cs (5)
105
_propertyDefs = new DefinitionIndex<IPropertyDefinition>(this.TryGetExistingPropertyDefIndex, sizes[(int)TableIndex.
Property
]);
169
sizes[(int)TableIndex.
Property
] = _propertyDefs.GetAdded().Count;
1156
PopulateEncLogTableEventsOrProperties(_propertyDefs, TableIndex.
Property
, EditAndContinueOperation.AddProperty, _propertyMap, TableIndex.PropertyMap);
1343
case TableIndex.
Property
:
1407
TableIndex.
Property
,
Emit\EditAndContinue\EmitBaseline.cs (1)
347
Debug.Assert(tableEntriesAdded[(int)TableIndex.
Property
] >= propertiesAdded.Count);
PEWriter\MetadataWriter.cs (1)
2773
metadata.SetCapacity(TableIndex.
Property
, propertyDefs.Count);
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (73)
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 (67)
3014
Row(1, TableIndex.
Property
, EditAndContinueOperation.Default),
3022
Handle(1, TableIndex.
Property
),
3450
new CustomAttributeRow(Handle(1, TableIndex.
Property
), Handle(5, TableIndex.MethodDef)), // X
3465
Row(1, TableIndex.
Property
, EditAndContinueOperation.Default),
3490
Handle(1, TableIndex.
Property
),
3531
new CustomAttributeRow(Handle(1, TableIndex.
Property
), Handle(11, TableIndex.MethodDef)),// X
3546
Row(1, TableIndex.
Property
, EditAndContinueOperation.Default),
3571
Handle(1, TableIndex.
Property
),
4166
Row(1, TableIndex.
Property
, EditAndContinueOperation.Default),
4173
Handle(1, TableIndex.
Property
),
4207
Row(2, TableIndex.
Property
, EditAndContinueOperation.Default),
4226
Handle(2, TableIndex.
Property
),
4281
Row(1, TableIndex.
Property
, EditAndContinueOperation.Default),
4299
Handle(1, TableIndex.
Property
)
4346
Row(1, TableIndex.
Property
, EditAndContinueOperation.Default),
4363
Handle(1, TableIndex.
Property
),
4442
Row(1, TableIndex.
Property
, EditAndContinueOperation.Default),
4454
Handle(1, TableIndex.
Property
)
4505
Row(1, TableIndex.
Property
, EditAndContinueOperation.Default),
4524
Handle(1, TableIndex.
Property
),
4595
Row(1, TableIndex.
Property
, EditAndContinueOperation.Default),
4606
Handle(1, TableIndex.
Property
)
4657
Row(1, TableIndex.
Property
, EditAndContinueOperation.Default),
4668
Handle(1, TableIndex.
Property
),
4796
Row(1, TableIndex.
Property
, EditAndContinueOperation.Default),
4807
Handle(1, TableIndex.
Property
),
4876
Row(1, TableIndex.
Property
, EditAndContinueOperation.Default),
4895
Handle(1, TableIndex.
Property
),
4965
Row(1, TableIndex.
Property
, EditAndContinueOperation.Default),
4982
Handle(1, TableIndex.
Property
),
5050
Row(1, TableIndex.
Property
, EditAndContinueOperation.Default),
5064
Handle(1, TableIndex.
Property
),
5149
Row(1, TableIndex.
Property
, EditAndContinueOperation.Default),
5151
Row(2, TableIndex.
Property
, EditAndContinueOperation.Default),
5184
Handle(1, TableIndex.
Property
),
5185
Handle(2, TableIndex.
Property
),
5260
Row(1, TableIndex.
Property
, EditAndContinueOperation.Default),
5261
Row(2, TableIndex.
Property
, EditAndContinueOperation.Default),
5285
Handle(1, TableIndex.
Property
),
5286
Handle(2, TableIndex.
Property
),
5387
Row(1, TableIndex.
Property
, EditAndContinueOperation.Default),
5389
Row(2, TableIndex.
Property
, EditAndContinueOperation.Default),
5422
Handle(1, TableIndex.
Property
),
5423
Handle(2, TableIndex.
Property
),
5505
Row(1, TableIndex.
Property
, EditAndContinueOperation.Default),
5506
Row(2, TableIndex.
Property
, EditAndContinueOperation.Default),
5530
Handle(1, TableIndex.
Property
),
5531
Handle(2, TableIndex.
Property
),
5618
Row(1, TableIndex.
Property
, EditAndContinueOperation.Default),
5636
Handle(1, TableIndex.
Property
)
5714
Row(1, TableIndex.
Property
, EditAndContinueOperation.Default),
5716
Row(2, TableIndex.
Property
, EditAndContinueOperation.Default),
5732
Handle(1, TableIndex.
Property
),
5733
Handle(2, TableIndex.
Property
),
5798
Row(1, TableIndex.
Property
, EditAndContinueOperation.Default),
5799
Row(2, TableIndex.
Property
, EditAndContinueOperation.Default),
5809
Handle(1, TableIndex.
Property
),
5810
Handle(2, TableIndex.
Property
),
5862
Row(2, TableIndex.
Property
, EditAndContinueOperation.Default),
5871
Handle(2, TableIndex.
Property
),
8098
new CustomAttributeRow(Handle(1, TableIndex.
Property
), Handle(1, TableIndex.MethodDef)),
8148
Row(2, TableIndex.
Property
, EditAndContinueOperation.Default),
8188
Handle(2, TableIndex.
Property
),
8196
new CustomAttributeRow(Handle(2, TableIndex.
Property
), Handle(2, TableIndex.MethodDef)),
16519
Row(2, TableIndex.
Property
, EditAndContinueOperation.Default),
16601
Row(4, TableIndex.
Property
, EditAndContinueOperation.Default),
16736
Row(3, TableIndex.
Property
, EditAndContinueOperation.Default),
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);