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
55 references to IPropertyDefinition
Microsoft.CodeAnalysis (55)
CodeGen\PrivateImplementationDetails.cs (2)
1072public IEnumerable<Cci.IPropertyDefinition> GetProperties(EmitContext context) 1073=> SpecializedCollections.EmptyEnumerable<Cci.IPropertyDefinition>();
Emit\CommonPEModuleBuilder.cs (5)
865public ConcurrentQueue<Cci.IPropertyDefinition> Properties; 914foreach (var property in Properties) 984public virtual void AddSynthesizedDefinition(TNamedTypeSymbol container, Cci.IPropertyDefinition property) 991Interlocked.CompareExchange(ref defs.Properties, new ConcurrentQueue<Cci.IPropertyDefinition>(), null); 1038public IEnumerable<Cci.IPropertyDefinition> GetSynthesizedProperties(TNamedTypeSymbol container)
Emit\EditAndContinue\DeletedSourceTypeDefinition.cs (1)
125public IEnumerable<IPropertyDefinition> GetProperties(EmitContext context)
Emit\EditAndContinue\DeltaMetadataWriter.cs (9)
42private readonly DefinitionIndex<IPropertyDefinition> _propertyDefs; 105_propertyDefs = new DefinitionIndex<IPropertyDefinition>(this.TryGetExistingPropertyDefIndex, sizes[(int)TableIndex.Property]); 383protected override PropertyDefinitionHandle GetPropertyDefIndex(IPropertyDefinition def) 386protected override IReadOnlyList<IPropertyDefinition> GetPropertyDefs() 680foreach (var propertyDef in typeDef.GetProperties(this.Context)) 734IPropertyDefinition propertyDef => TryGetExistingPropertyDefIndex(propertyDef, out _), 826Debug.Assert(def is INestedTypeDefinition or IPropertyDefinition or IEventDefinition); 1669private bool TryGetExistingPropertyDefIndex(IPropertyDefinition item, out int index) 1903public 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)
48private ImmutableArray<Cci.IPropertyDefinition> _lazyProperties; 492IEnumerable<Cci.IPropertyDefinition> Cci.ITypeDefinition.GetProperties(EmitContext context) 498var builder = ArrayBuilder<Cci.IPropertyDefinition>.GetInstance();
PEWriter\FullMetadataWriter.cs (6)
23private readonly DefinitionIndex<IPropertyDefinition> _propertyDefs; 96_propertyDefs = new DefinitionIndex<IPropertyDefinition>(numPropertyDefsGuess); 194protected override PropertyDefinitionHandle GetPropertyDefIndex(IPropertyDefinition def) 199protected override IReadOnlyList<IPropertyDefinition> GetPropertyDefs() 353foreach (IPropertyDefinition propertyDef in this.GetPropertyDefs()) 404foreach (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)
238protected abstract PropertyDefinitionHandle GetPropertyDefIndex(IPropertyDefinition def); 244protected abstract IReadOnlyList<IPropertyDefinition> GetPropertyDefs(); 1250public static PropertyAttributes GetPropertyAttributes(IPropertyDefinition propertyDef) 1271private BlobHandle GetPropertySignatureHandle(IPropertyDefinition propertyDef) 1681IPropertyDefinition propertyDef => GetPropertyDefIndex(propertyDef), 2424foreach (IPropertyDefinition propDef in this.GetPropertyDefs()) 2653foreach (IPropertyDefinition propertyDef in this.GetPropertyDefs()) 2769foreach (IPropertyDefinition propertyDef in propertyDefs)
PEWriter\ReferenceIndexerBase.cs (1)
246public override void Visit(IPropertyDefinition propertyDefinition)
PEWriter\RootModuleType.cs (2)
175public IEnumerable<IPropertyDefinition> GetProperties(EmitContext context) 177return SpecializedCollections.EmptyEnumerable<IPropertyDefinition>();
PEWriter\Types.cs (1)
585IEnumerable<IPropertyDefinition> GetProperties(EmitContext context);