81 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 (49)
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 (43)
2820
Row(1, TableIndex.
Property
, EditAndContinueOperation.Default),
2828
Handle(1, TableIndex.
Property
),
3259
new CustomAttributeRow(Handle(1, TableIndex.
Property
), Handle(5, TableIndex.MethodDef)), // X
3279
Row(1, TableIndex.
Property
, EditAndContinueOperation.Default),
3304
Handle(1, TableIndex.
Property
),
3348
new CustomAttributeRow(Handle(1, TableIndex.
Property
), Handle(11, TableIndex.MethodDef)),// X
3365
new CustomAttributeRow(Handle(1, TableIndex.
Property
), Handle(11, TableIndex.MethodDef)),// X
3376
Row(1, TableIndex.
Property
, EditAndContinueOperation.Default),
3401
Handle(1, TableIndex.
Property
),
3996
Row(1, TableIndex.
Property
, EditAndContinueOperation.Default),
4003
Handle(1, TableIndex.
Property
),
4037
Row(2, TableIndex.
Property
, EditAndContinueOperation.Default),
4056
Handle(2, TableIndex.
Property
),
4159
Row(1, TableIndex.
Property
, EditAndContinueOperation.Default),
4173
Handle(1, TableIndex.
Property
),
4304
Row(1, TableIndex.
Property
, EditAndContinueOperation.Default),
4323
Handle(1, TableIndex.
Property
),
4454
Row(1, TableIndex.
Property
, EditAndContinueOperation.Default),
4465
Handle(1, TableIndex.
Property
),
4589
Row(1, TableIndex.
Property
, EditAndContinueOperation.Default),
4600
Handle(1, TableIndex.
Property
),
4682
Row(2, TableIndex.
Property
, EditAndContinueOperation.Default),
4709
Handle(2, TableIndex.
Property
),
4783
Row(1, TableIndex.
Property
, EditAndContinueOperation.Default),
4799
Handle(1, TableIndex.
Property
),
4887
Row(2, TableIndex.
Property
, EditAndContinueOperation.Default),
4914
Handle(2, TableIndex.
Property
),
4985
Row(1, TableIndex.
Property
, EditAndContinueOperation.Default),
5001
Handle(1, TableIndex.
Property
),
5166
Row(2, TableIndex.
Property
, EditAndContinueOperation.Default),
5182
Handle(2, TableIndex.
Property
),
5244
Row(1, TableIndex.
Property
, EditAndContinueOperation.Default),
5254
Handle(1, TableIndex.
Property
),
5304
Row(2, TableIndex.
Property
, EditAndContinueOperation.Default),
5313
Handle(2, TableIndex.
Property
),
7366
new CustomAttributeRow(Handle(1, TableIndex.
Property
), Handle(1, TableIndex.MethodDef)),
7416
Row(2, TableIndex.
Property
, EditAndContinueOperation.Default),
7456
Handle(2, TableIndex.
Property
),
7467
new CustomAttributeRow(Handle(2, TableIndex.
Property
), Handle(2, TableIndex.MethodDef)),
7487
new CustomAttributeRow(Handle(2, TableIndex.
Property
), Handle(2, TableIndex.MethodDef)));
15733
Row(2, TableIndex.
Property
, EditAndContinueOperation.Default),
15815
Row(4, TableIndex.
Property
, EditAndContinueOperation.Default),
15946
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);