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