7 overrides of CustomAttributes
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\System\Reflection\SignatureType.cs (1)
185public sealed override IEnumerable<CustomAttributeData> CustomAttributes => throw new NotSupportedException(SR.NotSupported_SignatureType);
System.Reflection.MetadataLoadContext (6)
System\Reflection\TypeLoading\Constructors\RoConstructor.cs (1)
34public abstract override IEnumerable<CustomAttributeData> CustomAttributes { get; }
System\Reflection\TypeLoading\Events\RoEvent.cs (1)
46public abstract override IEnumerable<CustomAttributeData> CustomAttributes { get; }
System\Reflection\TypeLoading\Fields\RoField.cs (1)
48public sealed override IEnumerable<CustomAttributeData> CustomAttributes
System\Reflection\TypeLoading\Methods\RoMethod.cs (1)
42public abstract override IEnumerable<CustomAttributeData> CustomAttributes { get; }
System\Reflection\TypeLoading\Properties\RoProperty.cs (1)
47public abstract override IEnumerable<CustomAttributeData> CustomAttributes { get; }
System\Reflection\TypeLoading\Types\RoType.cs (1)
152public abstract override IEnumerable<CustomAttributeData> CustomAttributes { get; }
18 references to CustomAttributes
Microsoft.AspNetCore.SignalR.Core (1)
HubOptionsSetup.cs (1)
35if (hubProtocol.GetType().CustomAttributes.Where(a => a.AttributeType.FullName == "Microsoft.AspNetCore.SignalR.Internal.NonDefaultHubProtocolAttribute").Any())
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Symbols\AnonymousTypesSymbolTests.cs (1)
253var attrs = field.CustomAttributes.ToList();
Microsoft.CodeAnalysis.Test.Utilities (5)
Platform\Custom\MetadataSignatureHelper.cs (5)
421foreach (var attribute in method.CustomAttributes) 461foreach (var attribute in constructor.CustomAttributes) 525foreach (var attribute in property.CustomAttributes) 588foreach (var attribute in field.CustomAttributes) 648foreach (var attribute in @event.CustomAttributes)
Microsoft.CodeAnalysis.UnitTests (3)
Collections\DebuggerAttributes.cs (3)
73CustomAttributeData? debuggerBrowsableAttribute = info.CustomAttributes 105type.GetTypeInfo().CustomAttributes 133objType.GetTypeInfo().CustomAttributes
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.Windows.Core.TestUtilities (3)
DebuggerAttributes.cs (3)
60CustomAttributeData debuggerBrowsableAttribute = info.CustomAttributes 92type.GetTypeInfo().CustomAttributes 118objType.GetTypeInfo().CustomAttributes
xunit.assert (1)
Sdk\AssertHelper.cs (1)
198 type.GetTypeInfo().CustomAttributes.Any(a => a.AttributeType.FullName == "System.Runtime.CompilerServices.CompilerGeneratedAttribute");