22 overrides of GetCustomAttributesData
System.Private.CoreLib (7)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\SignatureType.cs (1)
178public sealed override IList<CustomAttributeData> GetCustomAttributesData() => throw new NotSupportedException(SR.NotSupported_SignatureType);
System\Reflection\Runtime\General\LegacyCustomAttributeApis.cs (5)
53public sealed override IList<CustomAttributeData> GetCustomAttributesData() => CustomAttributes.ToReadOnlyCollection(); 76public sealed override IList<CustomAttributeData> GetCustomAttributesData() => CustomAttributes.ToReadOnlyCollection(); 99public sealed override IList<CustomAttributeData> GetCustomAttributesData() => CustomAttributes.ToReadOnlyCollection(); 122public sealed override IList<CustomAttributeData> GetCustomAttributesData() => CustomAttributes.ToReadOnlyCollection(); 191public sealed override IList<CustomAttributeData> GetCustomAttributesData() => CustomAttributes.ToReadOnlyCollection();
System\RuntimeType.NativeAot.cs (1)
819public override IList<CustomAttributeData> GetCustomAttributesData()
System.Reflection.Context (8)
System\Reflection\Context\Delegation\DelegatingConstructorInfo.cs (1)
101public override IList<CustomAttributeData> GetCustomAttributesData()
System\Reflection\Context\Delegation\DelegatingEventInfo.cs (1)
95public override IList<CustomAttributeData> GetCustomAttributesData()
System\Reflection\Context\Delegation\DelegatingFieldInfo.cs (1)
86public override IList<CustomAttributeData> GetCustomAttributesData()
System\Reflection\Context\Delegation\DelegatingMethodInfo.cs (1)
123public override IList<CustomAttributeData> GetCustomAttributesData()
System\Reflection\Context\Delegation\DelegatingPropertyInfo.cs (1)
116public override IList<CustomAttributeData> GetCustomAttributesData()
System\Reflection\Context\Delegation\DelegatingType.cs (1)
210public override IList<CustomAttributeData> GetCustomAttributesData()
System\Reflection\Context\Virtual\VirtualMethodBase.cs (1)
107public override IList<CustomAttributeData> GetCustomAttributesData()
System\Reflection\Context\Virtual\VirtualPropertyBase.cs (1)
166public override IList<CustomAttributeData> GetCustomAttributesData()
System.Reflection.MetadataLoadContext (6)
System\Reflection\TypeLoading\Constructors\RoConstructor.cs (1)
34public sealed override IList<CustomAttributeData> GetCustomAttributesData() => CustomAttributes.ToReadOnlyCollection();
System\Reflection\TypeLoading\Events\RoEvent.cs (1)
44public sealed override IList<CustomAttributeData> GetCustomAttributesData() => CustomAttributes.ToReadOnlyCollection();
System\Reflection\TypeLoading\Fields\RoField.cs (1)
46public sealed override IList<CustomAttributeData> GetCustomAttributesData() => CustomAttributes.ToReadOnlyCollection();
System\Reflection\TypeLoading\Methods\RoMethod.cs (1)
42public sealed override IList<CustomAttributeData> GetCustomAttributesData() => CustomAttributes.ToReadOnlyCollection();
System\Reflection\TypeLoading\Properties\RoProperty.cs (1)
45public sealed override IList<CustomAttributeData> GetCustomAttributesData() => CustomAttributes.ToReadOnlyCollection();
System\Reflection\TypeLoading\Types\RoType.cs (1)
147public sealed override IList<CustomAttributeData> GetCustomAttributesData() => CustomAttributes.ToReadOnlyCollection();
System.Runtime.InteropServices (1)
System\Runtime\InteropServices\ComAwareEventInfo.cs (1)
86public override IList<CustomAttributeData> GetCustomAttributesData() => _innerEventInfo.GetCustomAttributesData();
45 references to GetCustomAttributesData
Aspire.TypeSystem (13)
AttributeDataReader.cs (13)
28=> FindSingleAttribute<AspireExportData>(type.GetCustomAttributesData(), AspireExportAttributeFullName, ParseAspireExportData); 34=> FindSingleAttribute<AspireExportData>(method.GetCustomAttributesData(), AspireExportAttributeFullName, ParseAspireExportData); 40=> FindSingleAttribute<AspireExportData>(property.GetCustomAttributesData(), AspireExportAttributeFullName, ParseAspireExportData); 54=> HasAttribute(type.GetCustomAttributesData(), AspireExportIgnoreAttributeFullName); 60=> HasAttribute(property.GetCustomAttributesData(), AspireExportIgnoreAttributeFullName); 66=> HasAttribute(method.GetCustomAttributesData(), AspireExportIgnoreAttributeFullName); 74=> HasAttribute(type.GetCustomAttributesData(), AspireDtoAttributeFullName); 82=> FindSingleAttribute<AspireValueData>(field.GetCustomAttributesData(), AspireValueAttributeFullName, ParseAspireValueData); 88=> FindSingleAttribute<AspireValueData>(property.GetCustomAttributesData(), AspireValueAttributeFullName, ParseAspireValueData); 102=> FindSingleAttribute<AspireUnionData>(property.GetCustomAttributesData(), AspireUnionAttributeFullName, ParseAspireUnionData); 110=> FindSingleAttribute<ObsoleteData>(method.GetCustomAttributesData(), ObsoleteAttributeFullName, ParseObsoleteData); 116=> FindSingleAttribute<ObsoleteData>(property.GetCustomAttributesData(), ObsoleteAttributeFullName, ParseObsoleteData); 122=> FindSingleAttribute<ObsoleteData>(type.GetCustomAttributesData(), ObsoleteAttributeFullName, ParseObsoleteData);
dotnet-svcutil-lib (1)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\DataContract.cs (1)
1537.GetCustomAttributesData()
Microsoft.AspNetCore.Diagnostics (1)
src\aspnetcore\src\Shared\StackTrace\StackFrame\StackTraceHelper.cs (1)
246attributes = memberInfo.GetCustomAttributesData();
Microsoft.AspNetCore.Hosting (1)
src\aspnetcore\src\Shared\StackTrace\StackFrame\StackTraceHelper.cs (1)
246attributes = memberInfo.GetCustomAttributesData();
Microsoft.AspNetCore.Http.Extensions (1)
src\aspnetcore\src\Shared\PropertyAsParameterInfo.cs (1)
195attributes.AddRange(_underlyingProperty.GetCustomAttributesData());
Microsoft.AspNetCore.Mvc.ApiExplorer (1)
src\aspnetcore\src\Shared\PropertyAsParameterInfo.cs (1)
195attributes.AddRange(_underlyingProperty.GetCustomAttributesData());
Microsoft.AspNetCore.OpenApi (1)
src\aspnetcore\src\Shared\PropertyAsParameterInfo.cs (1)
195attributes.AddRange(_underlyingProperty.GetCustomAttributesData());
Microsoft.AspNetCore.Server.IIS (1)
src\aspnetcore\src\Shared\StackTrace\StackFrame\StackTraceHelper.cs (1)
246attributes = memberInfo.GetCustomAttributesData();
Microsoft.Extensions.AI.Abstractions (6)
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\NullabilityInfoContext\NullabilityInfoContext.cs (6)
47foreach (CustomAttributeData attribute in memberInfo.GetCustomAttributesData()) 202NullableAttributeStateParser parser = annotationsDisabled ? NullableAttributeStateParser.Unknown : CreateParser(propertyInfo.GetCustomAttributesData()); 248return GetNullabilityInfo(eventInfo, eventInfo.EventHandlerType!, CreateParser(eventInfo.GetCustomAttributesData())); 261IList<CustomAttributeData> attributes = fieldInfo.GetCustomAttributesData(); 499if (CreateParser(genericParameter.GetCustomAttributesData()).ParseNullableState(0, ref state)) 545NullableAttributeStateParser parser = CreateParser(contextTypeDefinition.GetCustomAttributesData());
Microsoft.Extensions.Configuration.Binder (1)
ConfigurationBinder.cs (1)
1186foreach (var attributeData in property.GetCustomAttributesData())
Microsoft.Extensions.DependencyInjection (1)
ServiceLookup\CallSiteFactory.cs (1)
131foreach (CustomAttributeData attributeData in serviceGenericType.GetCustomAttributesData())
System.Private.CoreLib (8)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\CustomAttributeData.cs (1)
17return target.GetCustomAttributesData();
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\MemberInfo.cs (1)
38public virtual IEnumerable<CustomAttributeData> CustomAttributes => GetCustomAttributesData();
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\NullabilityInfoContext.cs (6)
42foreach (CustomAttributeData attribute in memberInfo.GetCustomAttributesData()) 199NullableAttributeStateParser parser = annotationsDisabled ? NullableAttributeStateParser.Unknown : CreateParser(propertyInfo.GetCustomAttributesData()); 248return GetNullabilityInfo(eventInfo, eventInfo.EventHandlerType!, CreateParser(eventInfo.GetCustomAttributesData())); 263IList<CustomAttributeData> attributes = fieldInfo.GetCustomAttributesData(); 504if (CreateParser(genericParameter.GetCustomAttributesData()).ParseNullableState(0, ref state)) 555NullableAttributeStateParser parser = CreateParser(contextTypeDefinition.GetCustomAttributesData());
System.Reflection.Context (6)
System\Reflection\Context\Delegation\DelegatingConstructorInfo.cs (1)
103return UnderlyingConstructor.GetCustomAttributesData();
System\Reflection\Context\Delegation\DelegatingEventInfo.cs (1)
97return UnderlyingEvent.GetCustomAttributesData();
System\Reflection\Context\Delegation\DelegatingFieldInfo.cs (1)
88return UnderlyingField.GetCustomAttributesData();
System\Reflection\Context\Delegation\DelegatingMethodInfo.cs (1)
125return UnderlyingMethod.GetCustomAttributesData();
System\Reflection\Context\Delegation\DelegatingPropertyInfo.cs (1)
118return UnderlyingProperty.GetCustomAttributesData();
System\Reflection\Context\Delegation\DelegatingType.cs (1)
212return _typeInfo.GetCustomAttributesData();
System.Runtime.InteropServices (1)
System\Runtime\InteropServices\ComAwareEventInfo.cs (1)
86public override IList<CustomAttributeData> GetCustomAttributesData() => _innerEventInfo.GetCustomAttributesData();
System.Text.Json (2)
System\Text\Json\Serialization\Converters\Union\JsonUnionConverterFactory.cs (1)
31foreach (CustomAttributeData data in type.GetCustomAttributesData())
System\Text\Json\Serialization\Metadata\DefaultJsonTypeInfoResolver.Helpers.cs (1)
260foreach (CustomAttributeData attributeData in type.GetCustomAttributesData())