8 references to PropertyDefinition
System.Reflection.MetadataLoadContext (8)
System\Reflection\TypeLoading\Properties\Ecma\EcmaProperty.cs (8)
35
public sealed override IEnumerable<CustomAttributeData> CustomAttributes =>
PropertyDefinition
.GetCustomAttributes().ToTrueCustomAttributes(_module);
58
protected sealed override string ComputeName() =>
PropertyDefinition
.Name.GetString(Reader);
59
protected sealed override PropertyAttributes ComputeAttributes() =>
PropertyDefinition
.Attributes;
60
protected sealed override Type ComputePropertyType() =>
PropertyDefinition
.DecodeSignature(_module, TypeContext).ReturnType;
62
protected sealed override object? ComputeRawConstantValue() =>
PropertyDefinition
.GetDefaultValue().ToRawObject(Reader);
80
MethodSignature<string> sig =
PropertyDefinition
.DecodeSignature(typeProvider, TypeContext);
98
protected sealed override RoMethod? ComputeGetterMethod() =>
PropertyDefinition
.GetAccessors().Getter.ToMethodOrNull(GetRoDeclaringType(), ReflectedType);
99
protected sealed override RoMethod? ComputeSetterMethod() =>
PropertyDefinition
.GetAccessors().Setter.ToMethodOrNull(GetRoDeclaringType(), ReflectedType);