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)
3065
Row(1, TableIndex.
Property
, EditAndContinueOperation.Default),
3073
Handle(1, TableIndex.
Property
),
3501
new CustomAttributeRow(Handle(1, TableIndex.
Property
), Handle(5, TableIndex.MethodDef)), // X
3516
Row(1, TableIndex.
Property
, EditAndContinueOperation.Default),
3541
Handle(1, TableIndex.
Property
),
3582
new CustomAttributeRow(Handle(1, TableIndex.
Property
), Handle(11, TableIndex.MethodDef)),// X
3597
Row(1, TableIndex.
Property
, EditAndContinueOperation.Default),
3622
Handle(1, TableIndex.
Property
),
4217
Row(1, TableIndex.
Property
, EditAndContinueOperation.Default),
4224
Handle(1, TableIndex.
Property
),
4258
Row(2, TableIndex.
Property
, EditAndContinueOperation.Default),
4277
Handle(2, TableIndex.
Property
),
4336
Row(1, TableIndex.
Property
, EditAndContinueOperation.Default),
4356
Handle(1, TableIndex.
Property
)
4411
Row(1, TableIndex.
Property
, EditAndContinueOperation.Default),
4428
Handle(1, TableIndex.
Property
),
4510
Row(1, TableIndex.
Property
, EditAndContinueOperation.Default),
4524
Handle(1, TableIndex.
Property
)
4583
Row(1, TableIndex.
Property
, EditAndContinueOperation.Default),
4602
Handle(1, TableIndex.
Property
),
4676
Row(1, TableIndex.
Property
, EditAndContinueOperation.Default),
4690
Handle(1, TableIndex.
Property
)
4749
Row(1, TableIndex.
Property
, EditAndContinueOperation.Default),
4760
Handle(1, TableIndex.
Property
),
4903
Row(1, TableIndex.
Property
, EditAndContinueOperation.Default),
4914
Handle(1, TableIndex.
Property
),
4983
Row(1, TableIndex.
Property
, EditAndContinueOperation.Default),
5002
Handle(1, TableIndex.
Property
),
5072
Row(1, TableIndex.
Property
, EditAndContinueOperation.Default),
5089
Handle(1, TableIndex.
Property
),
5157
Row(1, TableIndex.
Property
, EditAndContinueOperation.Default),
5171
Handle(1, TableIndex.
Property
),
5259
Row(1, TableIndex.
Property
, EditAndContinueOperation.Default),
5261
Row(2, TableIndex.
Property
, EditAndContinueOperation.Default),
5297
Handle(1, TableIndex.
Property
),
5298
Handle(2, TableIndex.
Property
),
5381
Row(1, TableIndex.
Property
, EditAndContinueOperation.Default),
5382
Row(2, TableIndex.
Property
, EditAndContinueOperation.Default),
5406
Handle(1, TableIndex.
Property
),
5407
Handle(2, TableIndex.
Property
),
5511
Row(1, TableIndex.
Property
, EditAndContinueOperation.Default),
5513
Row(2, TableIndex.
Property
, EditAndContinueOperation.Default),
5548
Handle(1, TableIndex.
Property
),
5549
Handle(2, TableIndex.
Property
),
5639
Row(1, TableIndex.
Property
, EditAndContinueOperation.Default),
5640
Row(2, TableIndex.
Property
, EditAndContinueOperation.Default),
5664
Handle(1, TableIndex.
Property
),
5665
Handle(2, TableIndex.
Property
),
5755
Row(1, TableIndex.
Property
, EditAndContinueOperation.Default),
5775
Handle(1, TableIndex.
Property
)
5864
Row(1, TableIndex.
Property
, EditAndContinueOperation.Default),
5866
Row(2, TableIndex.
Property
, EditAndContinueOperation.Default),
5884
Handle(1, TableIndex.
Property
),
5885
Handle(2, TableIndex.
Property
),
5958
Row(1, TableIndex.
Property
, EditAndContinueOperation.Default),
5959
Row(2, TableIndex.
Property
, EditAndContinueOperation.Default),
5970
Handle(1, TableIndex.
Property
),
5971
Handle(2, TableIndex.
Property
),
6023
Row(2, TableIndex.
Property
, EditAndContinueOperation.Default),
6033
Handle(2, TableIndex.
Property
),
8299
new CustomAttributeRow(Handle(1, TableIndex.
Property
), Handle(1, TableIndex.MethodDef)),
8349
Row(2, TableIndex.
Property
, EditAndContinueOperation.Default),
8389
Handle(2, TableIndex.
Property
),
8397
new CustomAttributeRow(Handle(2, TableIndex.
Property
), Handle(2, TableIndex.MethodDef)),
16736
Row(2, TableIndex.
Property
, EditAndContinueOperation.Default),
16818
Row(4, TableIndex.
Property
, EditAndContinueOperation.Default),
16953
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);