13 overrides of CustomAttributes
System.Private.CoreLib (7)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\SignatureType.cs (1)
189public sealed override IEnumerable<CustomAttributeData> CustomAttributes => throw new NotSupportedException(SR.NotSupported_SignatureType);
System\Reflection\Runtime\EventInfos\RuntimeEventInfo.cs (1)
134public abstract override IEnumerable<CustomAttributeData> CustomAttributes { get; }
System\Reflection\Runtime\FieldInfos\RuntimeFieldInfo.cs (1)
49public sealed override IEnumerable<CustomAttributeData> CustomAttributes
System\Reflection\Runtime\MethodInfos\RuntimeConstructorInfo.cs (1)
31public abstract override IEnumerable<CustomAttributeData> CustomAttributes { get; }
System\Reflection\Runtime\MethodInfos\RuntimeMethodInfo.cs (1)
87public abstract override IEnumerable<CustomAttributeData> CustomAttributes
System\Reflection\Runtime\PropertyInfos\RuntimePropertyInfo.cs (1)
286public abstract override IEnumerable<CustomAttributeData> CustomAttributes { get; }
System\RuntimeType.NativeAot.cs (1)
811public override IEnumerable<CustomAttributeData> CustomAttributes
System.Reflection.MetadataLoadContext (6)
System\Reflection\TypeLoading\Constructors\RoConstructor.cs (1)
33public abstract override IEnumerable<CustomAttributeData> CustomAttributes { get; }
System\Reflection\TypeLoading\Events\RoEvent.cs (1)
45public abstract override IEnumerable<CustomAttributeData> CustomAttributes { get; }
System\Reflection\TypeLoading\Fields\RoField.cs (1)
47public sealed override IEnumerable<CustomAttributeData> CustomAttributes
System\Reflection\TypeLoading\Methods\RoMethod.cs (1)
41public abstract override IEnumerable<CustomAttributeData> CustomAttributes { get; }
System\Reflection\TypeLoading\Properties\RoProperty.cs (1)
46public abstract override IEnumerable<CustomAttributeData> CustomAttributes { get; }
System\Reflection\TypeLoading\Types\RoType.cs (1)
148public abstract override IEnumerable<CustomAttributeData> CustomAttributes { get; }
16 references to CustomAttributes
Aspire.Hosting.RemoteHost (1)
Ats\CapabilityDispatcher.cs (1)
879if (TryGetUnionMemberClrTypes(property.CustomAttributes) is { Count: > 0 } unionMemberTypes)
Microsoft.AspNetCore.SignalR.Core (1)
HubOptionsSetup.cs (1)
35if (hubProtocol.GetType().CustomAttributes.Where(a => a.AttributeType.FullName == "Microsoft.AspNetCore.SignalR.Internal.NonDefaultHubProtocolAttribute").Any())
Microsoft.Maui.Controls.Xaml (2)
ApplyPropertiesVisitor.cs (1)
249 var propName = GetContentPropertyName(type.CustomAttributes);
XamlServiceProvider.cs (1)
339 && propertyInfo.CustomAttributes.Any(ca => ca.AttributeType == typeof(DoesNotInheritDataTypeAttribute)))
PresentationFramework (1)
MS\Internal\WindowsRuntime\Generated\WinRT\GuidGenerator.cs (1)
72var isFlags = type.CustomAttributes.Any(cad => cad.AttributeType == typeof(FlagsAttribute));
System.Composition.TypedParts (1)
System\Composition\CompositionContextExtensions.cs (1)
73m.CustomAttributes.Any(ca => ca.AttributeType == typeof(OnImportsSatisfiedAttribute)));
System.Private.CoreLib (7)
Internal\Reflection\Extensions\NonPortable\CustomAttributeInheritanceRules.cs (6)
116return element.CustomAttributes; 143return element.CustomAttributes; 156return element.CustomAttributes; 169return element.CustomAttributes; 187return element.CustomAttributes; 206return element.CustomAttributes;
System\Reflection\Runtime\TypeInfos\RuntimeTypeInfo.cs (1)
771foreach (CustomAttributeData attribute in type.CustomAttributes)
System.Private.Windows.Core.TestUtilities (3)
DebuggerAttributes.cs (3)
60CustomAttributeData debuggerBrowsableAttribute = info.CustomAttributes 92type.GetTypeInfo().CustomAttributes 118objType.GetTypeInfo().CustomAttributes