85 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;
1118
PopulateEncLogTableEventsOrProperties(_propertyDefs, TableIndex.
Property
, EditAndContinueOperation.AddProperty, _propertyMap, TableIndex.PropertyMap);
1305
case TableIndex.
Property
:
1369
TableIndex.
Property
,
Emit\EditAndContinue\EmitBaseline.cs (1)
347
Debug.Assert(tableEntriesAdded[(int)TableIndex.
Property
] >= propertiesAdded.Count);
PEWriter\MetadataWriter.cs (1)
2767
metadata.SetCapacity(TableIndex.
Property
, propertyDefs.Count);
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (53)
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 (47)
2772
Row(1, TableIndex.
Property
, EditAndContinueOperation.Default),
2780
Handle(1, TableIndex.
Property
),
3208
new CustomAttributeRow(Handle(1, TableIndex.
Property
), Handle(5, TableIndex.MethodDef)), // X
3223
Row(1, TableIndex.
Property
, EditAndContinueOperation.Default),
3248
Handle(1, TableIndex.
Property
),
3289
new CustomAttributeRow(Handle(1, TableIndex.
Property
), Handle(11, TableIndex.MethodDef)),// X
3304
Row(1, TableIndex.
Property
, EditAndContinueOperation.Default),
3329
Handle(1, TableIndex.
Property
),
3924
Row(1, TableIndex.
Property
, EditAndContinueOperation.Default),
3931
Handle(1, TableIndex.
Property
),
3965
Row(2, TableIndex.
Property
, EditAndContinueOperation.Default),
3984
Handle(2, TableIndex.
Property
),
4091
Row(1, TableIndex.
Property
, EditAndContinueOperation.Default),
4105
Handle(1, TableIndex.
Property
),
4242
Row(1, TableIndex.
Property
, EditAndContinueOperation.Default),
4261
Handle(1, TableIndex.
Property
),
4393
Row(1, TableIndex.
Property
, EditAndContinueOperation.Default),
4404
Handle(1, TableIndex.
Property
),
4532
Row(1, TableIndex.
Property
, EditAndContinueOperation.Default),
4543
Handle(1, TableIndex.
Property
),
4612
Row(1, TableIndex.
Property
, EditAndContinueOperation.Default),
4631
Handle(1, TableIndex.
Property
),
4701
Row(1, TableIndex.
Property
, EditAndContinueOperation.Default),
4718
Handle(1, TableIndex.
Property
),
4786
Row(1, TableIndex.
Property
, EditAndContinueOperation.Default),
4800
Handle(1, TableIndex.
Property
),
4885
Row(2, TableIndex.
Property
, EditAndContinueOperation.Default),
4912
Handle(2, TableIndex.
Property
),
4987
Row(1, TableIndex.
Property
, EditAndContinueOperation.Default),
5003
Handle(1, TableIndex.
Property
),
5094
Row(2, TableIndex.
Property
, EditAndContinueOperation.Default),
5121
Handle(2, TableIndex.
Property
),
5196
Row(1, TableIndex.
Property
, EditAndContinueOperation.Default),
5212
Handle(1, TableIndex.
Property
),
5382
Row(2, TableIndex.
Property
, EditAndContinueOperation.Default),
5398
Handle(2, TableIndex.
Property
),
5463
Row(1, TableIndex.
Property
, EditAndContinueOperation.Default),
5473
Handle(1, TableIndex.
Property
),
5525
Row(2, TableIndex.
Property
, EditAndContinueOperation.Default),
5534
Handle(2, TableIndex.
Property
),
7599
new CustomAttributeRow(Handle(1, TableIndex.
Property
), Handle(1, TableIndex.MethodDef)),
7649
Row(2, TableIndex.
Property
, EditAndContinueOperation.Default),
7689
Handle(2, TableIndex.
Property
),
7697
new CustomAttributeRow(Handle(2, TableIndex.
Property
), Handle(2, TableIndex.MethodDef)),
15952
Row(2, TableIndex.
Property
, EditAndContinueOperation.Default),
16034
Row(4, TableIndex.
Property
, EditAndContinueOperation.Default),
16169
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)
2344
Row(2, TableIndex.
Property
, EditAndContinueOperation.Default),
2441
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);