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)
2785
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)
3066
Row(1, TableIndex.
Property
, EditAndContinueOperation.Default),
3074
Handle(1, TableIndex.
Property
),
3502
new CustomAttributeRow(Handle(1, TableIndex.
Property
), Handle(5, TableIndex.MethodDef)), // X
3517
Row(1, TableIndex.
Property
, EditAndContinueOperation.Default),
3542
Handle(1, TableIndex.
Property
),
3583
new CustomAttributeRow(Handle(1, TableIndex.
Property
), Handle(11, TableIndex.MethodDef)),// X
3598
Row(1, TableIndex.
Property
, EditAndContinueOperation.Default),
3623
Handle(1, TableIndex.
Property
),
4218
Row(1, TableIndex.
Property
, EditAndContinueOperation.Default),
4225
Handle(1, TableIndex.
Property
),
4259
Row(2, TableIndex.
Property
, EditAndContinueOperation.Default),
4278
Handle(2, TableIndex.
Property
),
4337
Row(1, TableIndex.
Property
, EditAndContinueOperation.Default),
4357
Handle(1, TableIndex.
Property
)
4412
Row(1, TableIndex.
Property
, EditAndContinueOperation.Default),
4429
Handle(1, TableIndex.
Property
),
4511
Row(1, TableIndex.
Property
, EditAndContinueOperation.Default),
4525
Handle(1, TableIndex.
Property
)
4584
Row(1, TableIndex.
Property
, EditAndContinueOperation.Default),
4603
Handle(1, TableIndex.
Property
),
4677
Row(1, TableIndex.
Property
, EditAndContinueOperation.Default),
4691
Handle(1, TableIndex.
Property
)
4750
Row(1, TableIndex.
Property
, EditAndContinueOperation.Default),
4761
Handle(1, TableIndex.
Property
),
4904
Row(1, TableIndex.
Property
, EditAndContinueOperation.Default),
4915
Handle(1, TableIndex.
Property
),
4984
Row(1, TableIndex.
Property
, EditAndContinueOperation.Default),
5003
Handle(1, TableIndex.
Property
),
5073
Row(1, TableIndex.
Property
, EditAndContinueOperation.Default),
5090
Handle(1, TableIndex.
Property
),
5158
Row(1, TableIndex.
Property
, EditAndContinueOperation.Default),
5172
Handle(1, TableIndex.
Property
),
5260
Row(1, TableIndex.
Property
, EditAndContinueOperation.Default),
5262
Row(2, TableIndex.
Property
, EditAndContinueOperation.Default),
5298
Handle(1, TableIndex.
Property
),
5299
Handle(2, TableIndex.
Property
),
5382
Row(1, TableIndex.
Property
, EditAndContinueOperation.Default),
5383
Row(2, TableIndex.
Property
, EditAndContinueOperation.Default),
5407
Handle(1, TableIndex.
Property
),
5408
Handle(2, TableIndex.
Property
),
5512
Row(1, TableIndex.
Property
, EditAndContinueOperation.Default),
5514
Row(2, TableIndex.
Property
, EditAndContinueOperation.Default),
5549
Handle(1, TableIndex.
Property
),
5550
Handle(2, TableIndex.
Property
),
5640
Row(1, TableIndex.
Property
, EditAndContinueOperation.Default),
5641
Row(2, TableIndex.
Property
, EditAndContinueOperation.Default),
5665
Handle(1, TableIndex.
Property
),
5666
Handle(2, TableIndex.
Property
),
5756
Row(1, TableIndex.
Property
, EditAndContinueOperation.Default),
5776
Handle(1, TableIndex.
Property
)
5865
Row(1, TableIndex.
Property
, EditAndContinueOperation.Default),
5867
Row(2, TableIndex.
Property
, EditAndContinueOperation.Default),
5885
Handle(1, TableIndex.
Property
),
5886
Handle(2, TableIndex.
Property
),
5959
Row(1, TableIndex.
Property
, EditAndContinueOperation.Default),
5960
Row(2, TableIndex.
Property
, EditAndContinueOperation.Default),
5971
Handle(1, TableIndex.
Property
),
5972
Handle(2, TableIndex.
Property
),
6024
Row(2, TableIndex.
Property
, EditAndContinueOperation.Default),
6034
Handle(2, TableIndex.
Property
),
8300
new CustomAttributeRow(Handle(1, TableIndex.
Property
), Handle(1, TableIndex.MethodDef)),
8350
Row(2, TableIndex.
Property
, EditAndContinueOperation.Default),
8390
Handle(2, TableIndex.
Property
),
8398
new CustomAttributeRow(Handle(2, TableIndex.
Property
), Handle(2, TableIndex.MethodDef)),
16737
Row(2, TableIndex.
Property
, EditAndContinueOperation.Default),
16819
Row(4, TableIndex.
Property
, EditAndContinueOperation.Default),
16954
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);