1 interface inheriting from IPropertyDefinition
Microsoft.CodeAnalysis (1)
PEWriter\Members.cs (1)
909
internal interface ISpecializedPropertyDefinition :
IPropertyDefinition
1 implementation of IPropertyDefinition
Microsoft.CodeAnalysis (1)
Emit\NoPia\CommonEmbeddedProperty.cs (1)
38
internal abstract class CommonEmbeddedProperty : CommonEmbeddedMember<TPropertySymbol>, Cci.
IPropertyDefinition
53 references to IPropertyDefinition
Microsoft.CodeAnalysis (53)
Emit\CommonPEModuleBuilder.cs (5)
801
public ConcurrentQueue<Cci.
IPropertyDefinition
> Properties;
850
foreach (
var
property in Properties)
920
public void AddSynthesizedDefinition(TNamedTypeSymbol container, Cci.
IPropertyDefinition
property)
927
Interlocked.CompareExchange(ref defs.Properties, new ConcurrentQueue<Cci.
IPropertyDefinition
>(), null);
974
public IEnumerable<Cci.
IPropertyDefinition
> GetSynthesizedProperties(TNamedTypeSymbol container)
Emit\EditAndContinue\DeletedSourceTypeDefinition.cs (1)
125
public IEnumerable<
IPropertyDefinition
> GetProperties(EmitContext context)
Emit\EditAndContinue\DeltaMetadataWriter.cs (9)
44
private readonly DefinitionIndex<
IPropertyDefinition
> _propertyDefs;
109
_propertyDefs = new DefinitionIndex<
IPropertyDefinition
>(this.TryGetExistingPropertyDefIndex, sizes[(int)TableIndex.Property]);
373
protected override PropertyDefinitionHandle GetPropertyDefIndex(
IPropertyDefinition
def)
376
protected override IReadOnlyList<
IPropertyDefinition
> GetPropertyDefs()
668
foreach (
var
propertyDef in typeDef.GetProperties(this.Context))
722
IPropertyDefinition
propertyDef => TryGetExistingPropertyDefIndex(propertyDef, out _),
814
Debug.Assert(def is INestedTypeDefinition or
IPropertyDefinition
or IEventDefinition);
1659
private bool TryGetExistingPropertyDefIndex(
IPropertyDefinition
item, out int index)
1893
public override void Visit(
IPropertyDefinition
propertyDefinition)
Emit\EditAndContinue\EmitBaseline.cs (4)
182
propertiesAdded: new Dictionary<Cci.
IPropertyDefinition
, int>(),
240
internal readonly IReadOnlyDictionary<Cci.
IPropertyDefinition
, int> PropertiesAdded;
303
IReadOnlyDictionary<Cci.
IPropertyDefinition
, int> propertiesAdded,
402
IReadOnlyDictionary<Cci.
IPropertyDefinition
, int> propertiesAdded,
Emit\NoPia\CommonEmbeddedProperty.cs (9)
78
Cci.IMethodReference Cci.
IPropertyDefinition
.Getter
83
Cci.IMethodReference Cci.
IPropertyDefinition
.Setter
88
IEnumerable<Cci.IMethodReference> Cci.
IPropertyDefinition
.GetAccessors(EmitContext context)
101
bool Cci.
IPropertyDefinition
.HasDefaultValue
106
MetadataConstant Cci.
IPropertyDefinition
.DefaultValue
111
bool Cci.
IPropertyDefinition
.IsRuntimeSpecial
116
bool Cci.
IPropertyDefinition
.IsSpecialName
124
ImmutableArray<Cci.IParameterDefinition> Cci.
IPropertyDefinition
.Parameters
204
visitor.Visit((Cci.
IPropertyDefinition
)this);
Emit\NoPia\CommonEmbeddedType.cs (3)
47
private ImmutableArray<Cci.
IPropertyDefinition
> _lazyProperties;
491
IEnumerable<Cci.
IPropertyDefinition
> Cci.ITypeDefinition.GetProperties(EmitContext context)
497
var builder = ArrayBuilder<Cci.
IPropertyDefinition
>.GetInstance();
PEWriter\FullMetadataWriter.cs (6)
24
private readonly DefinitionIndex<
IPropertyDefinition
> _propertyDefs;
97
_propertyDefs = new DefinitionIndex<
IPropertyDefinition
>(numPropertyDefsGuess);
195
protected override PropertyDefinitionHandle GetPropertyDefIndex(
IPropertyDefinition
def)
200
protected override IReadOnlyList<
IPropertyDefinition
> GetPropertyDefs()
354
foreach (
IPropertyDefinition
propertyDef in this.GetPropertyDefs())
405
foreach (
IPropertyDefinition
propertyDef in typeDef.GetProperties(Context))
PEWriter\Members.cs (1)
917
IPropertyDefinition
UnspecializedVersion
PEWriter\MetadataVisitor.cs (3)
500
public void Visit(IEnumerable<
IPropertyDefinition
> properties)
502
foreach (
IPropertyDefinition
property in properties)
508
public virtual void Visit(
IPropertyDefinition
propertyDefinition)
PEWriter\MetadataWriter.cs (8)
239
protected abstract PropertyDefinitionHandle GetPropertyDefIndex(
IPropertyDefinition
def);
245
protected abstract IReadOnlyList<
IPropertyDefinition
> GetPropertyDefs();
1251
public static PropertyAttributes GetPropertyAttributes(
IPropertyDefinition
propertyDef)
1272
private BlobHandle GetPropertySignatureHandle(
IPropertyDefinition
propertyDef)
1682
IPropertyDefinition
propertyDef => GetPropertyDefIndex(propertyDef),
2412
foreach (
IPropertyDefinition
propDef in this.GetPropertyDefs())
2641
foreach (
IPropertyDefinition
propertyDef in this.GetPropertyDefs())
2757
foreach (
IPropertyDefinition
propertyDef in propertyDefs)
PEWriter\ReferenceIndexerBase.cs (1)
246
public override void Visit(
IPropertyDefinition
propertyDefinition)
PEWriter\RootModuleType.cs (2)
173
public IEnumerable<
IPropertyDefinition
> GetProperties(EmitContext context)
175
return SpecializedCollections.EmptyEnumerable<
IPropertyDefinition
>();
PEWriter\Types.cs (1)
585
IEnumerable<
IPropertyDefinition
> GetProperties(EmitContext context);