1848 types derived from Attribute
ApiExplorerWebSite (3)
ApiExplorerRouteChangeConvention.cs (1)
8public class ApiExplorerRouteChangeConvention : Attribute, IActionModelConvention
PassThruAttribute.cs (1)
7public class PassThruAttribute : Attribute
ReloadAttribute.cs (1)
6public class ReloadAttribute : Attribute
ApplicationModelWebSite (9)
Controllers\ActionModelController.cs (1)
25private class ActionName2Attribute : Attribute, IActionModelConvention
Controllers\ControllerModelController.cs (1)
19private class ControllerNameAttribute : Attribute, IControllerModelConvention
Controllers\HomeController.cs (2)
40private class SuppressPatchMatchingConvention : Attribute, IActionModelConvention 49private class SuppressLinkGenerationConvention : Attribute, IActionModelConvention
Controllers\ParameterModelController.cs (1)
21private class CoolAttribute : Attribute, IParameterModelConvention
Conventions\ActionDescriptionAttribute.cs (1)
8public class ActionDescriptionAttribute : Attribute, IActionModelConvention
Conventions\CloneActionAttribute.cs (1)
7public class CloneActionAttribute : Attribute
Conventions\ControllerDescriptionAttribute.cs (1)
8public class ControllerDescriptionAttribute : Attribute, IControllerModelConvention
Conventions\MultipleAreasAttribute.cs (1)
7public class MultipleAreasAttribute : Attribute
Aspire.Azure.AI.OpenAI (2)
src\Components\Common\ConfigurationSchemaAttributes.cs (2)
10internal sealed class ConfigurationSchemaAttribute : Attribute 39internal sealed class LoggingCategoriesAttribute : Attribute
Aspire.Azure.Data.Tables (2)
src\Components\Common\ConfigurationSchemaAttributes.cs (2)
10internal sealed class ConfigurationSchemaAttribute : Attribute 39internal sealed class LoggingCategoriesAttribute : Attribute
Aspire.Azure.Messaging.EventHubs (2)
src\Components\Common\ConfigurationSchemaAttributes.cs (2)
10internal sealed class ConfigurationSchemaAttribute : Attribute 39internal sealed class LoggingCategoriesAttribute : Attribute
Aspire.Azure.Messaging.ServiceBus (2)
src\Components\Common\ConfigurationSchemaAttributes.cs (2)
10internal sealed class ConfigurationSchemaAttribute : Attribute 39internal sealed class LoggingCategoriesAttribute : Attribute
Aspire.Azure.Messaging.WebPubSub (2)
src\Components\Common\ConfigurationSchemaAttributes.cs (2)
10internal sealed class ConfigurationSchemaAttribute : Attribute 39internal sealed class LoggingCategoriesAttribute : Attribute
Aspire.Azure.Search.Documents (2)
src\Components\Common\ConfigurationSchemaAttributes.cs (2)
10internal sealed class ConfigurationSchemaAttribute : Attribute 39internal sealed class LoggingCategoriesAttribute : Attribute
Aspire.Azure.Security.KeyVault (2)
src\Components\Common\ConfigurationSchemaAttributes.cs (2)
10internal sealed class ConfigurationSchemaAttribute : Attribute 39internal sealed class LoggingCategoriesAttribute : Attribute
Aspire.Azure.Storage.Blobs (2)
src\Components\Common\ConfigurationSchemaAttributes.cs (2)
10internal sealed class ConfigurationSchemaAttribute : Attribute 39internal sealed class LoggingCategoriesAttribute : Attribute
Aspire.Azure.Storage.Queues (2)
src\Components\Common\ConfigurationSchemaAttributes.cs (2)
10internal sealed class ConfigurationSchemaAttribute : Attribute 39internal sealed class LoggingCategoriesAttribute : Attribute
Aspire.Components.Common.Tests (2)
RequiresDockerAttribute.cs (1)
10public class RequiresDockerAttribute : Attribute, ITraitAttribute
RequiresToolsAttribute.cs (1)
10public class RequiresToolsAttribute : Attribute, ITraitAttribute
Aspire.Dashboard.Components.Tests (1)
tests\Shared\Logging\LogLevelAttribute.cs (1)
7public class LogLevelAttribute : Attribute
Aspire.Dashboard.Tests (1)
tests\Shared\Logging\LogLevelAttribute.cs (1)
7public class LogLevelAttribute : Attribute
Aspire.Elastic.Clients.Elasticsearch (2)
src\Components\Common\ConfigurationSchemaAttributes.cs (2)
10internal sealed class ConfigurationSchemaAttribute : Attribute 39internal sealed class LoggingCategoriesAttribute : Attribute
Aspire.Hosting (2)
ApplicationModel\EndpointNameAttribute.cs (1)
19public sealed class EndpointNameAttribute : Attribute, IModelNameParameter
ApplicationModel\ResourceNameAttribute.cs (1)
19public sealed class ResourceNameAttribute : Attribute, IModelNameParameter
Aspire.Hosting.Analyzers (11)
src\Shared\NullableAttributes.cs (11)
12internal sealed class AllowNullAttribute : Attribute 17internal sealed class DisallowNullAttribute : Attribute 22internal sealed class MaybeNullAttribute : Attribute 27internal sealed class NotNullAttribute : Attribute 32internal sealed class MaybeNullWhenAttribute : Attribute 46internal sealed class NotNullWhenAttribute : Attribute 60internal sealed class NotNullIfNotNullAttribute : Attribute 74internal sealed class DoesNotReturnAttribute : Attribute 79internal sealed class DoesNotReturnIfAttribute : Attribute 97internal sealed class MemberNotNullAttribute : Attribute 117internal sealed class MemberNotNullWhenAttribute : Attribute
Aspire.Hosting.Testing.Tests (1)
tests\Shared\Logging\LogLevelAttribute.cs (1)
7public class LogLevelAttribute : Attribute
Aspire.Hosting.Tests (1)
tests\Shared\Logging\LogLevelAttribute.cs (1)
7public class LogLevelAttribute : Attribute
Aspire.Microsoft.Azure.Cosmos (2)
src\Components\Common\ConfigurationSchemaAttributes.cs (2)
10internal sealed class ConfigurationSchemaAttribute : Attribute 39internal sealed class LoggingCategoriesAttribute : Attribute
Aspire.Microsoft.Data.SqlClient (2)
src\Components\Common\ConfigurationSchemaAttributes.cs (2)
10internal sealed class ConfigurationSchemaAttribute : Attribute 39internal sealed class LoggingCategoriesAttribute : Attribute
Aspire.Microsoft.EntityFrameworkCore.Cosmos (2)
src\Components\Common\ConfigurationSchemaAttributes.cs (2)
10internal sealed class ConfigurationSchemaAttribute : Attribute 39internal sealed class LoggingCategoriesAttribute : Attribute
Aspire.Microsoft.EntityFrameworkCore.SqlServer (2)
src\Components\Common\ConfigurationSchemaAttributes.cs (2)
10internal sealed class ConfigurationSchemaAttribute : Attribute 39internal sealed class LoggingCategoriesAttribute : Attribute
Aspire.Milvus.Client (2)
src\Components\Common\ConfigurationSchemaAttributes.cs (2)
10internal sealed class ConfigurationSchemaAttribute : Attribute 39internal sealed class LoggingCategoriesAttribute : Attribute
Aspire.MongoDB.Driver (2)
src\Components\Common\ConfigurationSchemaAttributes.cs (2)
10internal sealed class ConfigurationSchemaAttribute : Attribute 39internal sealed class LoggingCategoriesAttribute : Attribute
Aspire.MySqlConnector (2)
src\Components\Common\ConfigurationSchemaAttributes.cs (2)
10internal sealed class ConfigurationSchemaAttribute : Attribute 39internal sealed class LoggingCategoriesAttribute : Attribute
Aspire.NATS.Net (2)
src\Components\Common\ConfigurationSchemaAttributes.cs (2)
10internal sealed class ConfigurationSchemaAttribute : Attribute 39internal sealed class LoggingCategoriesAttribute : Attribute
Aspire.Npgsql (2)
src\Components\Common\ConfigurationSchemaAttributes.cs (2)
10internal sealed class ConfigurationSchemaAttribute : Attribute 39internal sealed class LoggingCategoriesAttribute : Attribute
Aspire.Npgsql.EntityFrameworkCore.PostgreSQL (2)
src\Components\Common\ConfigurationSchemaAttributes.cs (2)
10internal sealed class ConfigurationSchemaAttribute : Attribute 39internal sealed class LoggingCategoriesAttribute : Attribute
Aspire.OpenAI (2)
src\Components\Common\ConfigurationSchemaAttributes.cs (2)
10internal sealed class ConfigurationSchemaAttribute : Attribute 39internal sealed class LoggingCategoriesAttribute : Attribute
Aspire.Oracle.EntityFrameworkCore (2)
src\Components\Common\ConfigurationSchemaAttributes.cs (2)
10internal sealed class ConfigurationSchemaAttribute : Attribute 39internal sealed class LoggingCategoriesAttribute : Attribute
Aspire.Playground.Tests (3)
tests\Aspire.Components.Common.Tests\RequiresDockerAttribute.cs (1)
10public class RequiresDockerAttribute : Attribute, ITraitAttribute
tests\Aspire.Components.Common.Tests\RequiresToolsAttribute.cs (1)
10public class RequiresToolsAttribute : Attribute, ITraitAttribute
tests\Shared\Logging\LogLevelAttribute.cs (1)
7public class LogLevelAttribute : Attribute
Aspire.Pomelo.EntityFrameworkCore.MySql (2)
src\Components\Common\ConfigurationSchemaAttributes.cs (2)
10internal sealed class ConfigurationSchemaAttribute : Attribute 39internal sealed class LoggingCategoriesAttribute : Attribute
Aspire.Qdrant.Client (2)
src\Components\Common\ConfigurationSchemaAttributes.cs (2)
10internal sealed class ConfigurationSchemaAttribute : Attribute 39internal sealed class LoggingCategoriesAttribute : Attribute
Aspire.RabbitMQ.Client (2)
src\Components\Common\ConfigurationSchemaAttributes.cs (2)
10internal sealed class ConfigurationSchemaAttribute : Attribute 39internal sealed class LoggingCategoriesAttribute : Attribute
Aspire.Seq (2)
src\Components\Common\ConfigurationSchemaAttributes.cs (2)
10internal sealed class ConfigurationSchemaAttribute : Attribute 39internal sealed class LoggingCategoriesAttribute : Attribute
Aspire.StackExchange.Redis (2)
src\Components\Common\ConfigurationSchemaAttributes.cs (2)
10internal sealed class ConfigurationSchemaAttribute : Attribute 39internal sealed class LoggingCategoriesAttribute : Attribute
Aspire.StackExchange.Redis.DistributedCaching (2)
src\Components\Common\ConfigurationSchemaAttributes.cs (2)
10internal sealed class ConfigurationSchemaAttribute : Attribute 39internal sealed class LoggingCategoriesAttribute : Attribute
Aspire.StackExchange.Redis.OutputCaching (2)
src\Components\Common\ConfigurationSchemaAttributes.cs (2)
10internal sealed class ConfigurationSchemaAttribute : Attribute 39internal sealed class LoggingCategoriesAttribute : Attribute
BasicTestApp (1)
FormsTest\CustomFieldCssClassProvider.cs (1)
40public class CustomValidationClassNameAttribute : Attribute
BasicWebSite (3)
Filters\UnprocessableResultFilter.cs (1)
9public class UnprocessableResultFilter : Attribute, IAlwaysRunResultFilter
RequestScopedActionConstraint.cs (1)
9public class RequestScopedConstraintAttribute : Attribute, IActionConstraintFactory
VndErrorAttribute.cs (1)
9public class VndErrorAttribute : Attribute, IFilterMetadata
ConfigurationSchemaGenerator.Tests (2)
src\Components\Common\ConfigurationSchemaAttributes.cs (2)
10internal sealed class ConfigurationSchemaAttribute : Attribute 39internal sealed class LoggingCategoriesAttribute : Attribute
CorsWebSite (1)
Filters\AllRequestsBlockingAuthorizationFilter.cs (1)
10public class AllRequestsBlockingAuthorizationFilter : Attribute, IAuthorizationFilter
dotnet-openapi (1)
Internal\OpenapiDependencyAttribute.cs (1)
12internal sealed class OpenApiDependencyAttribute : Attribute
dotnet-svcutil-lib (64)
FrameworkFork\Microsoft.CodeDom\Compiler\GeneratedCodeAttribute.cs (1)
10public sealed class GeneratedCodeAttribute : Attribute
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapAttributeAttribute.cs (1)
14public class SoapAttributeAttribute : System.Attribute
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapElementAttribute.cs (1)
14public class SoapElementAttribute : System.Attribute
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapEnumAttribute.cs (1)
14public class SoapEnumAttribute : System.Attribute
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapIgnoreAttribute.cs (1)
14public class SoapIgnoreAttribute : System.Attribute
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapIncludeAttribute.cs (1)
14public class SoapIncludeAttribute : System.Attribute
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapTypeAttribute.cs (1)
14public class SoapTypeAttribute : System.Attribute
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlAnyAttributeAttribute.cs (1)
15public class XmlAnyAttributeAttribute : System.Attribute
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlAnyElementAttribute.cs (1)
15public class XmlAnyElementAttribute : System.Attribute
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlArrayAttribute.cs (1)
15public class XmlArrayAttribute : System.Attribute
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlArrayItemAttribute.cs (1)
15public class XmlArrayItemAttribute : System.Attribute
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlAttributeAttribute.cs (1)
15public class XmlAttributeAttribute : System.Attribute
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlChoiceIdentifierAttribute.cs (1)
16public class XmlChoiceIdentifierAttribute : System.Attribute
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlElementAttribute.cs (1)
15public class XmlElementAttribute : System.Attribute
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlEnumAttribute.cs (1)
14public class XmlEnumAttribute : System.Attribute
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlIgnoreAttribute.cs (1)
14public class XmlIgnoreAttribute : System.Attribute
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlIncludeAttribute.cs (1)
14public class XmlIncludeAttribute : System.Attribute
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlNamespaceDeclarationsAttribute.cs (1)
15public class XmlNamespaceDeclarationsAttribute : System.Attribute
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlRootAttribute.cs (1)
16public class XmlRootAttribute : System.Attribute
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaProviderAttribute.cs (1)
16public sealed class XmlSchemaProviderAttribute : System.Attribute
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializerAssemblyAttribute.cs (1)
15public sealed class XmlSerializerAssemblyAttribute : System.Attribute
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializerVersionAttribute.cs (1)
16public sealed class XmlSerializerVersionAttribute : System.Attribute
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlTextAttribute.cs (1)
14public class XmlTextAttribute : System.Attribute
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlTypeAttribute.cs (1)
14public class XmlTypeAttribute : System.Attribute
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\CollectionDataContractAttribute.cs (1)
8public sealed class CollectionDataContractAttribute : Attribute
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\ContractNamespaceAttribute.cs (1)
11public sealed class ContractNamespaceAttribute : Attribute
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\DataContractAttribute.cs (1)
8public sealed class DataContractAttribute : Attribute
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\DataMemberAttribute.cs (1)
8public sealed class DataMemberAttribute : Attribute
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\EnumMemberAttribute.cs (1)
8public sealed class EnumMemberAttribute : Attribute
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\IgnoreDataMemberAttribute.cs (1)
8public sealed class IgnoreDataMemberAttribute : Attribute
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\KnownTypeAttribute.cs (1)
8public sealed class KnownTypeAttribute : Attribute
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\OnDeserializedAttribute.cs (1)
10public sealed class OnDeserializedAttribute : Attribute
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\OnDeserializingAttribute.cs (1)
10public sealed class OnDeserializingAttribute : Attribute
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\OnSerializedAttribute.cs (1)
10public sealed class OnSerializedAttribute : Attribute
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\OnSerializingAttribute.cs (1)
10public sealed class OnSerializingAttribute : Attribute
FrameworkFork\System.ServiceModel\Internals\System\Runtime\Fx.cs (15)
532public sealed class FriendAccessAllowedAttribute : Attribute 564public sealed class CacheAttribute : Attribute 607public sealed class QueueAttribute : Attribute 640public sealed class ThrottleAttribute : Attribute 693public sealed class ExternalResourceAttribute : Attribute 725public sealed class SynchronizationObjectAttribute : Attribute 741public sealed class SynchronizationPrimitiveAttribute : Attribute 765public sealed class BlockingAttribute : Attribute 784public sealed class GuaranteeNonBlockingAttribute : Attribute 793public sealed class NonThrowingAttribute : Attribute 805public class ThrowsAttribute : Attribute 844public sealed class InheritThrowsAttribute : Attribute 856public sealed class KnownXamlExternalAttribute : Attribute 865public sealed class XamlVisibleAttribute : Attribute 889public sealed class SecurityNoteAttribute : Attribute
FrameworkFork\System.ServiceModel\System\ServiceModel\CallbackBehaviorAttribute.cs (1)
12public sealed class CallbackBehaviorAttribute : Attribute, IEndpointBehavior
FrameworkFork\System.ServiceModel\System\ServiceModel\DataContractFormatAttribute.cs (1)
11public sealed class DataContractFormatAttribute : Attribute
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\TransactionFlowAttribute.cs (1)
15public sealed class TransactionFlowAttribute : Attribute, IOperationBehavior
FrameworkFork\System.ServiceModel\System\ServiceModel\FaultContractAttribute.cs (1)
12public sealed class FaultContractAttribute : Attribute
FrameworkFork\System.ServiceModel\System\ServiceModel\MessageContractAttribute.cs (1)
12public sealed class MessageContractAttribute : Attribute
FrameworkFork\System.ServiceModel\System\ServiceModel\MessageContractMemberAttribute.cs (1)
11public abstract class MessageContractMemberAttribute : Attribute
FrameworkFork\System.ServiceModel\System\ServiceModel\MessageParameterAttribute.cs (1)
8public sealed class MessageParameterAttribute : Attribute
FrameworkFork\System.ServiceModel\System\ServiceModel\OperationContractAttribute.cs (1)
13public sealed class OperationContractAttribute : Attribute
FrameworkFork\System.ServiceModel\System\ServiceModel\ServiceContractAttribute.cs (1)
12public sealed class ServiceContractAttribute : Attribute
FrameworkFork\System.ServiceModel\System\ServiceModel\ServiceKnownTypeAttribute.cs (1)
8public sealed class ServiceKnownTypeAttribute : Attribute
FrameworkFork\System.ServiceModel\System\ServiceModel\XmlSerializerFormatAttribute.cs (1)
10public sealed class XmlSerializerFormatAttribute : Attribute
FrameworkFork\System.Web.Services\Services\Description\XmlFormatExtensionAttribute.cs (1)
14public sealed class XmlFormatExtensionAttribute : Attribute
FrameworkFork\System.Web.Services\Services\Description\XmlFormatExtensionPointAttribute.cs (1)
14public sealed class XmlFormatExtensionPointAttribute : Attribute
FrameworkFork\System.Web.Services\Services\Description\XmlFormatExtensionPrefixAttribute.cs (1)
14public sealed class XmlFormatExtensionPrefixAttribute : Attribute
IIS.FunctionalTests (9)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\RequiresEnvironmentVariableAttribute.cs (1)
11public sealed class RequiresEnvironmentVariableAttribute : Attribute, ITestCondition
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\RequiresIISAttribute.cs (1)
15public sealed class RequiresIISAttribute : Attribute, ITestCondition
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\RequiresNewHandler.cs (1)
10public sealed class RequiresNewHandlerAttribute : Attribute, ITestCondition
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\RequiresNewShim.cs (1)
10public sealed class RequiresNewShimAttribute : Attribute, ITestCondition
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\SkipIfDebugAttribute.cs (1)
11public sealed class SkipIfDebugAttribute : Attribute, ITestCondition
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\SkipIfNotAdminAttribute.cs (1)
11public sealed class SkipIfNotAdminAttribute : Attribute, ITestCondition
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\SkipVSTSAttribute.cs (1)
11public sealed class SkipInVSTSAttribute : Attribute, ITestCondition
src\Shared\TransportTestHelpers\HttpSysHttp3SupportedAttribute.cs (1)
11public class HttpSysHttp3SupportedAttribute : Attribute, ITestCondition
src\Shared\TransportTestHelpers\MsQuicSupportedAttribute.cs (1)
10public class MsQuicSupportedAttribute : Attribute, ITestCondition
IIS.LongTests (7)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\RequiresEnvironmentVariableAttribute.cs (1)
11public sealed class RequiresEnvironmentVariableAttribute : Attribute, ITestCondition
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\RequiresIISAttribute.cs (1)
15public sealed class RequiresIISAttribute : Attribute, ITestCondition
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\RequiresNewHandler.cs (1)
10public sealed class RequiresNewHandlerAttribute : Attribute, ITestCondition
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\RequiresNewShim.cs (1)
10public sealed class RequiresNewShimAttribute : Attribute, ITestCondition
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\SkipIfDebugAttribute.cs (1)
11public sealed class SkipIfDebugAttribute : Attribute, ITestCondition
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\SkipIfNotAdminAttribute.cs (1)
11public sealed class SkipIfNotAdminAttribute : Attribute, ITestCondition
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\SkipVSTSAttribute.cs (1)
11public sealed class SkipInVSTSAttribute : Attribute, ITestCondition
IIS.Microbenchmarks (1)
src\Shared\BenchmarkRunner\AspNetCoreBenchmarkAttribute.cs (1)
11internal class AspNetCoreBenchmarkAttribute : Attribute, IConfigSource
IIS.NewHandler.FunctionalTests (7)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\RequiresEnvironmentVariableAttribute.cs (1)
11public sealed class RequiresEnvironmentVariableAttribute : Attribute, ITestCondition
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\RequiresIISAttribute.cs (1)
15public sealed class RequiresIISAttribute : Attribute, ITestCondition
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\RequiresNewHandler.cs (1)
10public sealed class RequiresNewHandlerAttribute : Attribute, ITestCondition
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\RequiresNewShim.cs (1)
10public sealed class RequiresNewShimAttribute : Attribute, ITestCondition
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\SkipIfDebugAttribute.cs (1)
11public sealed class SkipIfDebugAttribute : Attribute, ITestCondition
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\SkipIfNotAdminAttribute.cs (1)
11public sealed class SkipIfNotAdminAttribute : Attribute, ITestCondition
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\SkipVSTSAttribute.cs (1)
11public sealed class SkipInVSTSAttribute : Attribute, ITestCondition
IIS.NewShim.FunctionalTests (7)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\RequiresEnvironmentVariableAttribute.cs (1)
11public sealed class RequiresEnvironmentVariableAttribute : Attribute, ITestCondition
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\RequiresIISAttribute.cs (1)
15public sealed class RequiresIISAttribute : Attribute, ITestCondition
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\RequiresNewHandler.cs (1)
10public sealed class RequiresNewHandlerAttribute : Attribute, ITestCondition
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\RequiresNewShim.cs (1)
10public sealed class RequiresNewShimAttribute : Attribute, ITestCondition
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\SkipIfDebugAttribute.cs (1)
11public sealed class SkipIfDebugAttribute : Attribute, ITestCondition
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\SkipIfNotAdminAttribute.cs (1)
11public sealed class SkipIfNotAdminAttribute : Attribute, ITestCondition
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\SkipVSTSAttribute.cs (1)
11public sealed class SkipInVSTSAttribute : Attribute, ITestCondition
IIS.ShadowCopy.Tests (7)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\RequiresEnvironmentVariableAttribute.cs (1)
11public sealed class RequiresEnvironmentVariableAttribute : Attribute, ITestCondition
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\RequiresIISAttribute.cs (1)
15public sealed class RequiresIISAttribute : Attribute, ITestCondition
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\RequiresNewHandler.cs (1)
10public sealed class RequiresNewHandlerAttribute : Attribute, ITestCondition
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\RequiresNewShim.cs (1)
10public sealed class RequiresNewShimAttribute : Attribute, ITestCondition
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\SkipIfDebugAttribute.cs (1)
11public sealed class SkipIfDebugAttribute : Attribute, ITestCondition
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\SkipIfNotAdminAttribute.cs (1)
11public sealed class SkipIfNotAdminAttribute : Attribute, ITestCondition
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\SkipVSTSAttribute.cs (1)
11public sealed class SkipInVSTSAttribute : Attribute, ITestCondition
IIS.Tests (1)
Utilities\SkipIfHostableWebCoreNotAvailibleAttribute.cs (1)
11public sealed class SkipIfHostableWebCoreNotAvailableAttribute : Attribute, ITestCondition
IISExpress.FunctionalTests (7)
RequiresIISAttribute.cs (1)
11public sealed class RequiresIISAttribute : Attribute, ITestCondition
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\RequiresEnvironmentVariableAttribute.cs (1)
11public sealed class RequiresEnvironmentVariableAttribute : Attribute, ITestCondition
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\RequiresNewHandler.cs (1)
10public sealed class RequiresNewHandlerAttribute : Attribute, ITestCondition
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\RequiresNewShim.cs (1)
10public sealed class RequiresNewShimAttribute : Attribute, ITestCondition
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\SkipIfDebugAttribute.cs (1)
11public sealed class SkipIfDebugAttribute : Attribute, ITestCondition
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\SkipIfNotAdminAttribute.cs (1)
11public sealed class SkipIfNotAdminAttribute : Attribute, ITestCondition
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\SkipVSTSAttribute.cs (1)
11public sealed class SkipInVSTSAttribute : Attribute, ITestCondition
illink (3)
ILLink.RoslynAnalyzer (12)
NullableAttributes.cs (11)
12 internal sealed class AllowNullAttribute : Attribute { } 16 internal sealed class DisallowNullAttribute : Attribute { } 20 internal sealed class MaybeNullAttribute : Attribute { } 24 internal sealed class NotNullAttribute : Attribute { } 28 internal sealed class MaybeNullWhenAttribute : Attribute 42 internal sealed class NotNullWhenAttribute : Attribute 56 internal sealed class NotNullIfNotNullAttribute : Attribute 70 internal sealed class DoesNotReturnAttribute : Attribute { } 74 internal sealed class DoesNotReturnIfAttribute : Attribute 93 internal sealed class MemberNotNullAttribute : Attribute 113 internal sealed class MemberNotNullWhenAttribute : Attribute
src\tools\illink\src\ILLink.Shared\ClosedAttribute.cs (1)
11 internal sealed class ClosedAttribute : Attribute
Infrastructure.Common (2)
xunit\FailFastAfterAttribute.cs (1)
7public class FailFastAfterAttribute : Attribute
xunit\WcfSkippableAttribute.cs (1)
13public abstract class WcfSkippableAttribute : Attribute
InMemory.FunctionalTests (2)
HttpConnectionManagerTests.cs (1)
114private class NoDebuggerConditionAttribute : Attribute, ITestCondition
src\Servers\Kestrel\shared\test\TransportTestHelpers\TlsAlpnSupportedAttribute.cs (1)
7public class TlsAlpnSupportedAttribute : Attribute, ITestCondition
Interop.FunctionalTests (3)
SkipOnArchitectureAttribute.cs (1)
12public class SkipOnArchitectureAttribute : Attribute, ITestCondition
src\Servers\Kestrel\shared\test\TransportTestHelpers\TlsAlpnSupportedAttribute.cs (1)
7public class TlsAlpnSupportedAttribute : Attribute, ITestCondition
src\Shared\TransportTestHelpers\MsQuicSupportedAttribute.cs (1)
10public class MsQuicSupportedAttribute : Attribute, ITestCondition
Microsoft.AspNetCore.Analyzers (11)
src\Shared\Nullable\NullableAttributes.cs (11)
17sealed class AllowNullAttribute : Attribute 27sealed class DisallowNullAttribute : Attribute 37sealed class MaybeNullAttribute : Attribute 47sealed class NotNullAttribute : Attribute 57sealed class MaybeNullWhenAttribute : Attribute 76sealed class NotNullWhenAttribute : Attribute 95sealed class NotNullIfNotNullAttribute : Attribute 114sealed class DoesNotReturnAttribute : Attribute 124sealed class DoesNotReturnIfAttribute : Attribute 147sealed class MemberNotNullAttribute : Attribute 172sealed class MemberNotNullWhenAttribute : Attribute
Microsoft.AspNetCore.App.Analyzers (11)
src\Shared\Nullable\NullableAttributes.cs (11)
17sealed class AllowNullAttribute : Attribute 27sealed class DisallowNullAttribute : Attribute 37sealed class MaybeNullAttribute : Attribute 47sealed class NotNullAttribute : Attribute 57sealed class MaybeNullWhenAttribute : Attribute 76sealed class NotNullWhenAttribute : Attribute 95sealed class NotNullIfNotNullAttribute : Attribute 114sealed class DoesNotReturnAttribute : Attribute 124sealed class DoesNotReturnIfAttribute : Attribute 147sealed class MemberNotNullAttribute : Attribute 172sealed class MemberNotNullWhenAttribute : Attribute
Microsoft.AspNetCore.App.Analyzers.Test (1)
TestDataAttribute.cs (1)
7internal class TestDataAttribute : Attribute
Microsoft.AspNetCore.App.SourceGenerators (11)
src\Shared\Nullable\NullableAttributes.cs (11)
17sealed class AllowNullAttribute : Attribute 27sealed class DisallowNullAttribute : Attribute 37sealed class MaybeNullAttribute : Attribute 47sealed class NotNullAttribute : Attribute 57sealed class MaybeNullWhenAttribute : Attribute 76sealed class NotNullWhenAttribute : Attribute 95sealed class NotNullIfNotNullAttribute : Attribute 114sealed class DoesNotReturnAttribute : Attribute 124sealed class DoesNotReturnIfAttribute : Attribute 147sealed class MemberNotNullAttribute : Attribute 172sealed class MemberNotNullWhenAttribute : Attribute
Microsoft.AspNetCore.App.UnitTests (1)
TestDataAttribute.cs (1)
7internal class TestDataAttribute : Attribute
Microsoft.AspNetCore.Authorization (14)
AllowAnonymousAttribute.cs (1)
14public class AllowAnonymousAttribute : Attribute, IAllowAnonymous
AuthorizeAttribute.cs (1)
15public class AuthorizeAttribute : Attribute, IAuthorizeData
src\Shared\CallerArgument\CallerArgumentExpressionAttribute.cs (1)
10internal sealed class CallerArgumentExpressionAttribute : Attribute
src\Shared\Nullable\NullableAttributes.cs (11)
17sealed class AllowNullAttribute : Attribute 27sealed class DisallowNullAttribute : Attribute 37sealed class MaybeNullAttribute : Attribute 47sealed class NotNullAttribute : Attribute 57sealed class MaybeNullWhenAttribute : Attribute 76sealed class NotNullWhenAttribute : Attribute 95sealed class NotNullIfNotNullAttribute : Attribute 114sealed class DoesNotReturnAttribute : Attribute 124sealed class DoesNotReturnIfAttribute : Attribute 147sealed class MemberNotNullAttribute : Attribute 172sealed class MemberNotNullWhenAttribute : Attribute
Microsoft.AspNetCore.Authorization.Test (1)
AuthorizationMiddlewareTests.cs (1)
440public class ReqAttribute : Attribute, IAuthorizationRequirementData
Microsoft.AspNetCore.Components (12)
BindElementAttribute.cs (1)
10public sealed class BindElementAttribute : Attribute
CascadingParameterAttributeBase.cs (1)
9public abstract class CascadingParameterAttributeBase : Attribute
CascadingTypeParameterAttribute.cs (1)
12public sealed class CascadingTypeParameterAttribute : Attribute
EditorRequiredAttribute.cs (1)
14public sealed class EditorRequiredAttribute : Attribute
EventHandlerAttribute.cs (1)
10public sealed class EventHandlerAttribute : Attribute
InjectAttribute.cs (1)
11public sealed class InjectAttribute : Attribute
LayoutAttribute.cs (1)
13public sealed class LayoutAttribute : Attribute
ParameterAttribute.cs (1)
12public sealed class ParameterAttribute : Attribute
RenderModeAttribute.cs (1)
14public abstract class RenderModeAttribute : Attribute
RouteAttribute.cs (1)
12public sealed class RouteAttribute : Attribute
Routing\ExcludeFromInteractiveRoutingAttribute.cs (1)
14public sealed class ExcludeFromInteractiveRoutingAttribute : Attribute
StreamRenderingAttribute.cs (1)
16public class StreamRenderingAttribute : Attribute
Microsoft.AspNetCore.Components.Analyzers (11)
src\Shared\Nullable\NullableAttributes.cs (11)
17sealed class AllowNullAttribute : Attribute 27sealed class DisallowNullAttribute : Attribute 37sealed class MaybeNullAttribute : Attribute 47sealed class NotNullAttribute : Attribute 57sealed class MaybeNullWhenAttribute : Attribute 76sealed class NotNullWhenAttribute : Attribute 95sealed class NotNullIfNotNullAttribute : Attribute 114sealed class DoesNotReturnAttribute : Attribute 124sealed class DoesNotReturnIfAttribute : Attribute 147sealed class MemberNotNullAttribute : Attribute 172sealed class MemberNotNullWhenAttribute : Attribute
Microsoft.AspNetCore.Components.Endpoints (1)
Builder\RazorComponentApplicationAttribute.cs (1)
13internal abstract class RazorComponentApplicationAttribute : Attribute, IRazorComponentApplication
Microsoft.AspNetCore.Components.Performance (1)
src\Shared\BenchmarkRunner\AspNetCoreBenchmarkAttribute.cs (1)
11internal class AspNetCoreBenchmarkAttribute : Attribute, IConfigSource
Microsoft.AspNetCore.Components.Server (1)
BlazorPack\NonDefaultHubProtocolAttribute.cs (1)
8internal sealed class NonDefaultHubProtocolAttribute : Attribute
Microsoft.AspNetCore.Components.Web (1)
BindInputElementAttribute.cs (1)
12public sealed class BindInputElementAttribute : Attribute
Microsoft.AspNetCore.ConcurrencyLimiter.Microbenchmarks (1)
src\Shared\BenchmarkRunner\AspNetCoreBenchmarkAttribute.cs (1)
11internal class AspNetCoreBenchmarkAttribute : Attribute, IConfigSource
Microsoft.AspNetCore.Cors (2)
DisableCorsAttribute.cs (1)
12public class DisableCorsAttribute : Attribute, IDisableCorsAttribute
EnableCorsAttribute.cs (1)
13public class EnableCorsAttribute : Attribute, IEnableCorsAttribute
Microsoft.AspNetCore.Cryptography.Internal (11)
src\Shared\Nullable\NullableAttributes.cs (11)
17sealed class AllowNullAttribute : Attribute 27sealed class DisallowNullAttribute : Attribute 37sealed class MaybeNullAttribute : Attribute 47sealed class NotNullAttribute : Attribute 57sealed class MaybeNullWhenAttribute : Attribute 76sealed class NotNullWhenAttribute : Attribute 95sealed class NotNullIfNotNullAttribute : Attribute 114sealed class DoesNotReturnAttribute : Attribute 124sealed class DoesNotReturnIfAttribute : Attribute 147sealed class MemberNotNullAttribute : Attribute 172sealed class MemberNotNullWhenAttribute : Attribute
Microsoft.AspNetCore.Cryptography.Internal.Tests (2)
src\DataProtection\shared\test\ConditionalRunTestOnlyWindows8OrLaterAttribute.cs (1)
10public class ConditionalRunTestOnlyOnWindows8OrLaterAttribute : Attribute, ITestCondition
src\DataProtection\shared\test\ConditionalRunTestOnlyWindowsAttribute.cs (1)
10public class ConditionalRunTestOnlyOnWindowsAttribute : Attribute, ITestCondition
Microsoft.AspNetCore.Cryptography.KeyDerivation (1)
src\Shared\CallerArgument\CallerArgumentExpressionAttribute.cs (1)
10internal sealed class CallerArgumentExpressionAttribute : Attribute
Microsoft.AspNetCore.Cryptography.KeyDerivation.Tests (2)
src\DataProtection\shared\test\ConditionalRunTestOnlyWindows8OrLaterAttribute.cs (1)
10public class ConditionalRunTestOnlyOnWindows8OrLaterAttribute : Attribute, ITestCondition
src\DataProtection\shared\test\ConditionalRunTestOnlyWindowsAttribute.cs (1)
10public class ConditionalRunTestOnlyOnWindowsAttribute : Attribute, ITestCondition
Microsoft.AspNetCore.DataProtection (8)
ApplyPolicyAttribute.cs (1)
12internal sealed class ApplyPolicyAttribute : Attribute { }
src\Shared\CallerArgument\CallerArgumentExpressionAttribute.cs (1)
10internal sealed class CallerArgumentExpressionAttribute : Attribute
src\Shared\PlatformAttributes.cs (1)
18abstract class OSPlatformAttribute : Attribute
src\Shared\TrimmingAttributes.cs (5)
17internal sealed class RequiresDynamicCodeAttribute : Attribute 54internal sealed class RequiresUnreferencedCodeAttribute : Attribute 90internal sealed class UnconditionalSuppressMessageAttribute : Attribute 170internal sealed class DynamicDependencyAttribute : Attribute 312internal sealed class DynamicallyAccessedMembersAttribute : Attribute
Microsoft.AspNetCore.DataProtection.Abstractions (17)
src\Shared\CallerArgument\CallerArgumentExpressionAttribute.cs (1)
10internal sealed class CallerArgumentExpressionAttribute : Attribute
src\Shared\Nullable\NullableAttributes.cs (11)
17sealed class AllowNullAttribute : Attribute 27sealed class DisallowNullAttribute : Attribute 37sealed class MaybeNullAttribute : Attribute 47sealed class NotNullAttribute : Attribute 57sealed class MaybeNullWhenAttribute : Attribute 76sealed class NotNullWhenAttribute : Attribute 95sealed class NotNullIfNotNullAttribute : Attribute 114sealed class DoesNotReturnAttribute : Attribute 124sealed class DoesNotReturnIfAttribute : Attribute 147sealed class MemberNotNullAttribute : Attribute 172sealed class MemberNotNullWhenAttribute : Attribute
src\Shared\TrimmingAttributes.cs (5)
17internal sealed class RequiresDynamicCodeAttribute : Attribute 54internal sealed class RequiresUnreferencedCodeAttribute : Attribute 90internal sealed class UnconditionalSuppressMessageAttribute : Attribute 170internal sealed class DynamicDependencyAttribute : Attribute 312internal sealed class DynamicallyAccessedMembersAttribute : Attribute
Microsoft.AspNetCore.DataProtection.Extensions (17)
src\Shared\CallerArgument\CallerArgumentExpressionAttribute.cs (1)
10internal sealed class CallerArgumentExpressionAttribute : Attribute
src\Shared\Nullable\NullableAttributes.cs (11)
17sealed class AllowNullAttribute : Attribute 27sealed class DisallowNullAttribute : Attribute 37sealed class MaybeNullAttribute : Attribute 47sealed class NotNullAttribute : Attribute 57sealed class MaybeNullWhenAttribute : Attribute 76sealed class NotNullWhenAttribute : Attribute 95sealed class NotNullIfNotNullAttribute : Attribute 114sealed class DoesNotReturnAttribute : Attribute 124sealed class DoesNotReturnIfAttribute : Attribute 147sealed class MemberNotNullAttribute : Attribute 172sealed class MemberNotNullWhenAttribute : Attribute
src\Shared\TrimmingAttributes.cs (5)
17internal sealed class RequiresDynamicCodeAttribute : Attribute 54internal sealed class RequiresUnreferencedCodeAttribute : Attribute 90internal sealed class UnconditionalSuppressMessageAttribute : Attribute 170internal sealed class DynamicDependencyAttribute : Attribute 312internal sealed class DynamicallyAccessedMembersAttribute : Attribute
Microsoft.AspNetCore.DataProtection.Extensions.Tests (3)
src\DataProtection\shared\test\ConditionalRunTestOnlyWindows8OrLaterAttribute.cs (1)
10public class ConditionalRunTestOnlyOnWindows8OrLaterAttribute : Attribute, ITestCondition
src\DataProtection\shared\test\ConditionalRunTestOnlyWindowsAttribute.cs (1)
10public class ConditionalRunTestOnlyOnWindowsAttribute : Attribute, ITestCondition
X509StoreIsAvailableAttribute.cs (1)
11public class X509StoreIsAvailableAttribute : Attribute, ITestCondition
Microsoft.AspNetCore.DataProtection.StackExchangeRedis (12)
src\Shared\CallerArgument\CallerArgumentExpressionAttribute.cs (1)
10internal sealed class CallerArgumentExpressionAttribute : Attribute
src\Shared\Nullable\NullableAttributes.cs (11)
17sealed class AllowNullAttribute : Attribute 27sealed class DisallowNullAttribute : Attribute 37sealed class MaybeNullAttribute : Attribute 47sealed class NotNullAttribute : Attribute 57sealed class MaybeNullWhenAttribute : Attribute 76sealed class NotNullWhenAttribute : Attribute 95sealed class NotNullIfNotNullAttribute : Attribute 114sealed class DoesNotReturnAttribute : Attribute 124sealed class DoesNotReturnIfAttribute : Attribute 147sealed class MemberNotNullAttribute : Attribute 172sealed class MemberNotNullWhenAttribute : Attribute
Microsoft.AspNetCore.DataProtection.Tests (5)
Internal\KeyManagementOptionsSetupTest.cs (1)
127private class ConditionalRunTestOnlyIfHkcuRegistryAvailable : Attribute, ITestCondition
RegistryPolicyResolverTests.cs (1)
299private class ConditionalRunTestOnlyIfHkcuRegistryAvailable : Attribute, ITestCondition
Repositories\RegistryXmlRepositoryTests.cs (1)
250private class ConditionalRunTestOnlyIfHkcuRegistryAvailable : Attribute, ITestCondition
src\DataProtection\shared\test\ConditionalRunTestOnlyWindows8OrLaterAttribute.cs (1)
10public class ConditionalRunTestOnlyOnWindows8OrLaterAttribute : Attribute, ITestCondition
src\DataProtection\shared\test\ConditionalRunTestOnlyWindowsAttribute.cs (1)
10public class ConditionalRunTestOnlyOnWindowsAttribute : Attribute, ITestCondition
Microsoft.AspNetCore.Grpc.Microbenchmarks (1)
src\Shared\BenchmarkRunner\AspNetCoreBenchmarkAttribute.cs (1)
11internal class AspNetCoreBenchmarkAttribute : Attribute, IConfigSource
Microsoft.AspNetCore.Hosting.Abstractions (1)
HostingStartupAttribute.cs (1)
12public sealed class HostingStartupAttribute : Attribute
Microsoft.AspNetCore.Http (2)
Timeouts\DisableRequestTimeoutAttribute.cs (1)
16public sealed class DisableRequestTimeoutAttribute : Attribute
Timeouts\RequestTimeoutAttribute.cs (1)
13public sealed class RequestTimeoutAttribute : Attribute
Microsoft.AspNetCore.Http.Abstractions (1)
AsParametersAttribute.cs (1)
15public sealed class AsParametersAttribute : Attribute
Microsoft.AspNetCore.Http.Abstractions.Microbenchmarks (1)
src\Shared\BenchmarkRunner\AspNetCoreBenchmarkAttribute.cs (1)
11internal class AspNetCoreBenchmarkAttribute : Attribute, IConfigSource
Microsoft.AspNetCore.Http.Extensions (4)
DisableHttpMetricsAttribute.cs (1)
14public sealed class DisableHttpMetricsAttribute : Attribute, IDisableHttpMetricsMetadata
EndpointDescriptionAttribute.cs (1)
18public sealed class EndpointDescriptionAttribute : Attribute, IEndpointDescriptionMetadata
EndpointSummaryAttribute.cs (1)
15public sealed class EndpointSummaryAttribute : Attribute, IEndpointSummaryMetadata
TagsAttribute.cs (1)
20public sealed class TagsAttribute : Attribute, ITagsMetadata
Microsoft.AspNetCore.Http.Extensions.Tests (13)
PropertyAsParameterInfoTests.cs (2)
215private class SampleAttribute : Attribute 219private class TestAttribute : Attribute
RequestDelegateFactoryTests.cs (8)
3318private class Attribute1 : Attribute 3322private class Attribute2 : Attribute 3553private class FromRouteAttribute : Attribute, IFromRouteMetadata 3558private class FromQueryAttribute : Attribute, IFromQueryMetadata 3563private class FromHeaderAttribute : Attribute, IFromHeaderMetadata 3568private class FromBodyAttribute : Attribute, IFromBodyMetadata 3573private class FromFormAttribute : Attribute, IFromFormMetadata 3578private class FromServiceAttribute : Attribute, IFromServiceMetadata
RequestDelegateGenerator\SharedTypes.cs (3)
108public class CustomFromBodyAttribute : Attribute, IFromBodyMetadata 965public class Attribute1 : Attribute 969public class Attribute2 : Attribute
Microsoft.AspNetCore.Http.Microbenchmarks (4)
src\Http\Http.Extensions\test\RequestDelegateGenerator\SharedTypes.cs (3)
108public class CustomFromBodyAttribute : Attribute, IFromBodyMetadata 965public class Attribute1 : Attribute 969public class Attribute2 : Attribute
src\Shared\BenchmarkRunner\AspNetCoreBenchmarkAttribute.cs (1)
11internal class AspNetCoreBenchmarkAttribute : Attribute, IConfigSource
Microsoft.AspNetCore.Http.RequestDelegateGenerator (11)
src\Shared\Nullable\NullableAttributes.cs (11)
17sealed class AllowNullAttribute : Attribute 27sealed class DisallowNullAttribute : Attribute 37sealed class MaybeNullAttribute : Attribute 47sealed class NotNullAttribute : Attribute 57sealed class MaybeNullWhenAttribute : Attribute 76sealed class NotNullWhenAttribute : Attribute 95sealed class NotNullIfNotNullAttribute : Attribute 114sealed class DoesNotReturnAttribute : Attribute 124sealed class DoesNotReturnIfAttribute : Attribute 147sealed class MemberNotNullAttribute : Attribute 172sealed class MemberNotNullWhenAttribute : Attribute
Microsoft.AspNetCore.HttpLogging (1)
HttpLoggingAttribute.cs (1)
10public sealed class HttpLoggingAttribute : Attribute
Microsoft.AspNetCore.Identity (3)
IdentityApiEndpointRouteBuilderExtensions.cs (3)
477private sealed class FromBodyAttribute : Attribute, IFromBodyMetadata 482private sealed class FromServicesAttribute : Attribute, IFromServiceMetadata 487private sealed class FromQueryAttribute : Attribute, IFromQueryMetadata
Microsoft.AspNetCore.Identity.EntityFrameworkCore.Test (1)
src\Identity\test\Shared\PriorityOrderer.cs (1)
16public class TestPriorityAttribute : Attribute
Microsoft.AspNetCore.Identity.InMemory.Test (1)
src\Identity\test\Shared\PriorityOrderer.cs (1)
16public class TestPriorityAttribute : Attribute
Microsoft.AspNetCore.Identity.Test (1)
src\Identity\test\Shared\PriorityOrderer.cs (1)
16public class TestPriorityAttribute : Attribute
Microsoft.AspNetCore.Identity.UI (2)
IdentityDefaultUIAttribute.cs (1)
7internal sealed class IdentityDefaultUIAttribute : Attribute
UIFrameworkAttribute.cs (1)
10public sealed class UIFrameworkAttribute : Attribute
Microsoft.AspNetCore.InternalTesting (31)
CollectDumpAttribute.cs (1)
19public class CollectDumpAttribute : Attribute, ITestMethodLifecycle
Logging\LogLevelAttribute.cs (1)
9public class LogLevelAttribute : Attribute
RepeatAttribute.cs (1)
15public class RepeatAttribute : Attribute
RetryAttribute.cs (1)
15public sealed class RetryAttribute : Attribute
ShortClassNameAttribute.cs (1)
14public class ShortClassNameAttribute : Attribute
src\Shared\CallerArgument\CallerArgumentExpressionAttribute.cs (1)
10internal sealed class CallerArgumentExpressionAttribute : Attribute
src\Shared\Nullable\NullableAttributes.cs (11)
17sealed class AllowNullAttribute : Attribute 27sealed class DisallowNullAttribute : Attribute 37sealed class MaybeNullAttribute : Attribute 47sealed class NotNullAttribute : Attribute 57sealed class MaybeNullWhenAttribute : Attribute 76sealed class NotNullWhenAttribute : Attribute 95sealed class NotNullIfNotNullAttribute : Attribute 114sealed class DoesNotReturnAttribute : Attribute 124sealed class DoesNotReturnIfAttribute : Attribute 147sealed class MemberNotNullAttribute : Attribute 172sealed class MemberNotNullWhenAttribute : Attribute
TestOutputDirectoryAttribute.cs (1)
9public class TestOutputDirectoryAttribute : Attribute
xunit\AssemblyFixtureAttribute.cs (1)
9public class AssemblyFixtureAttribute : Attribute
xunit\DockerOnlyAttribute.cs (1)
12public sealed class DockerOnlyAttribute : Attribute, ITestCondition
xunit\EnvironmentVariableSkipConditionAttribute.cs (1)
14public class EnvironmentVariableSkipConditionAttribute : Attribute, ITestCondition
xunit\FrameworkSkipConditionAttribute.cs (1)
9public class FrameworkSkipConditionAttribute : Attribute, ITestCondition
xunit\MaximumOSVersionAttribute.cs (1)
14public class MaximumOSVersionAttribute : Attribute, ITestCondition
xunit\MinimumOsVersionAttribute.cs (1)
14public class MinimumOSVersionAttribute : Attribute, ITestCondition
xunit\OSSkipConditionAttribute.cs (1)
10public class OSSkipConditionAttribute : Attribute, ITestCondition
xunit\QuarantinedTestAttribute.cs (1)
40public sealed class QuarantinedTestAttribute : Attribute, ITraitAttribute
xunit\RemoteExecutionSupportedAttribute.cs (1)
13public class RemoteExecutionSupportedAttribute : Attribute, ITestCondition
xunit\SkipNonHelix.cs (1)
12public class SkipNonHelixAttribute : Attribute, ITestCondition
xunit\SkipOnAlpineAttribute.cs (1)
15public class SkipOnAlpineAttribute : Attribute, ITestCondition
xunit\SkipOnCIAttribute.cs (1)
12public class SkipOnCIAttribute : Attribute, ITestCondition
xunit\SkipOnHelixAttribute.cs (1)
15public class SkipOnHelixAttribute : Attribute, ITestCondition
Microsoft.AspNetCore.Metadata (11)
src\Shared\Nullable\NullableAttributes.cs (11)
17sealed class AllowNullAttribute : Attribute 27sealed class DisallowNullAttribute : Attribute 37sealed class MaybeNullAttribute : Attribute 47sealed class NotNullAttribute : Attribute 57sealed class MaybeNullWhenAttribute : Attribute 76sealed class NotNullWhenAttribute : Attribute 95sealed class NotNullIfNotNullAttribute : Attribute 114sealed class DoesNotReturnAttribute : Attribute 124sealed class DoesNotReturnIfAttribute : Attribute 147sealed class MemberNotNullAttribute : Attribute 172sealed class MemberNotNullWhenAttribute : Attribute
Microsoft.AspNetCore.Mvc.Analyzers (11)
src\Shared\Nullable\NullableAttributes.cs (11)
17sealed class AllowNullAttribute : Attribute 27sealed class DisallowNullAttribute : Attribute 37sealed class MaybeNullAttribute : Attribute 47sealed class NotNullAttribute : Attribute 57sealed class MaybeNullWhenAttribute : Attribute 76sealed class NotNullWhenAttribute : Attribute 95sealed class NotNullIfNotNullAttribute : Attribute 114sealed class DoesNotReturnAttribute : Attribute 124sealed class DoesNotReturnIfAttribute : Attribute 147sealed class MemberNotNullAttribute : Attribute 172sealed class MemberNotNullWhenAttribute : Attribute
Microsoft.AspNetCore.Mvc.Api.Analyzers (11)
src\Shared\Nullable\NullableAttributes.cs (11)
17sealed class AllowNullAttribute : Attribute 27sealed class DisallowNullAttribute : Attribute 37sealed class MaybeNullAttribute : Attribute 47sealed class NotNullAttribute : Attribute 57sealed class MaybeNullWhenAttribute : Attribute 76sealed class NotNullWhenAttribute : Attribute 95sealed class NotNullIfNotNullAttribute : Attribute 114sealed class DoesNotReturnAttribute : Attribute 124sealed class DoesNotReturnIfAttribute : Attribute 147sealed class MemberNotNullAttribute : Attribute 172sealed class MemberNotNullWhenAttribute : Attribute
Microsoft.AspNetCore.Mvc.ApiExplorer.Test (2)
DefaultApiDescriptionProviderTest.cs (2)
2862Attribute, 2895private class FromFormFileAttribute : Attribute, IBindingSourceMetadata
Microsoft.AspNetCore.Mvc.Core (53)
AcceptVerbsAttribute.cs (1)
14public sealed class AcceptVerbsAttribute : Attribute, IActionHttpMethodProvider, IRouteTemplateProvider
ActionConstraints\ActionMethodSelectorAttribute.cs (1)
14public abstract class ActionMethodSelectorAttribute : Attribute, IActionConstraint
ActionContextAttribute.cs (1)
12public class ActionContextAttribute : Attribute
ActionNameAttribute.cs (1)
10public sealed class ActionNameAttribute : Attribute
ApiConventionMethodAttribute.cs (1)
21public sealed class ApiConventionMethodAttribute : Attribute
ApiConventionTypeAttribute.cs (1)
28public sealed class ApiConventionTypeAttribute : Attribute
ApiExplorer\ApiConventionNameMatchAttribute.cs (1)
16public sealed class ApiConventionNameMatchAttribute : Attribute
ApiExplorer\ApiConventionTypeMatchAttribute.cs (1)
16public sealed class ApiConventionTypeMatchAttribute : Attribute
ApiExplorerSettingsAttribute.cs (1)
14Attribute,
ApplicationParts\ApplicationPartAttribute.cs (1)
15public sealed class ApplicationPartAttribute : Attribute
ApplicationParts\ProvideApplicationPartFactoryAttribute.cs (1)
10public sealed class ProvideApplicationPartFactoryAttribute : Attribute
ApplicationParts\RelatedAssemblyAttribute.cs (1)
15public sealed class RelatedAssemblyAttribute : Attribute
BindAttribute.cs (1)
14public class BindAttribute : Attribute, IModelNameProvider, IPropertyFilterProvider
BindPropertiesAttribute.cs (1)
10public class BindPropertiesAttribute : Attribute
BindPropertyAttribute.cs (1)
20public class BindPropertyAttribute : Attribute, IModelNameProvider, IBinderTypeProviderMetadata, IRequestPredicateProvider
ConsumesAttribute.cs (1)
22Attribute,
ControllerAttribute.cs (1)
12public class ControllerAttribute : Attribute
ControllerContextAttribute.cs (1)
12public class ControllerContextAttribute : Attribute
DisableRequestSizeLimitAttribute.cs (1)
18public class DisableRequestSizeLimitAttribute : Attribute, IFilterFactory, IOrderedFilter, IRequestSizeLimitMetadata
Filters\ActionFilterAttribute.cs (1)
15Attribute, IActionFilter, IAsyncActionFilter, IResultFilter, IAsyncResultFilter, IOrderedFilter
Filters\ExceptionFilterAttribute.cs (1)
11public abstract class ExceptionFilterAttribute : Attribute, IAsyncExceptionFilter, IExceptionFilter, IOrderedFilter
Filters\MiddlewareFilterAttribute.cs (1)
14public class MiddlewareFilterAttribute : Attribute, IFilterFactory, IOrderedFilter
Filters\ResultFilterAttribute.cs (1)
12public abstract class ResultFilterAttribute : Attribute, IResultFilter, IAsyncResultFilter, IOrderedFilter
FormatFilterAttribute.cs (1)
15public class FormatFilterAttribute : Attribute, IFilterFactory
FromBodyAttribute.cs (1)
41public class FromBodyAttribute : Attribute, IBindingSourceMetadata, IConfigureEmptyBodyBehavior, IFromBodyMetadata
FromFormAttribute.cs (1)
29public class FromFormAttribute : Attribute, IBindingSourceMetadata, IModelNameProvider, IFromFormMetadata
FromHeaderAttribute.cs (1)
28public class FromHeaderAttribute : Attribute, IBindingSourceMetadata, IModelNameProvider, IFromHeaderMetadata
FromQueryAttribute.cs (1)
28public class FromQueryAttribute : Attribute, IBindingSourceMetadata, IModelNameProvider, IFromQueryMetadata
FromRouteAttribute.cs (1)
28public class FromRouteAttribute : Attribute, IBindingSourceMetadata, IModelNameProvider, IFromRouteMetadata
FromServicesAttribute.cs (1)
26public class FromServicesAttribute : Attribute, IBindingSourceMetadata, IFromServiceMetadata
Infrastructure\ActionResultObjectValueAttribute.cs (1)
38public sealed class ActionResultObjectValueAttribute : Attribute
Infrastructure\ActionResultStatusCodeAttribute.cs (1)
29public sealed class ActionResultStatusCodeAttribute : Attribute
Infrastructure\DefaultStatusCodeAttribute.cs (1)
22public sealed class DefaultStatusCodeAttribute : Attribute
ModelBinderAttribute.cs (1)
27public class ModelBinderAttribute : Attribute, IModelNameProvider, IBinderTypeProviderMetadata
ModelBinding\BindingBehaviorAttribute.cs (1)
12public class BindingBehaviorAttribute : Attribute
ModelBinding\Validation\ValidateNeverAttribute.cs (1)
15public sealed class ValidateNeverAttribute : Attribute, IPropertyValidationFilter
ModelMetadataTypeAttribute.cs (1)
10public class ModelMetadataTypeAttribute : Attribute
NonActionAttribute.cs (1)
10public sealed class NonActionAttribute : Attribute
NonControllerAttribute.cs (1)
11public sealed class NonControllerAttribute : Attribute
NonViewComponentAttribute.cs (1)
11public class NonViewComponentAttribute : Attribute
ProducesAttribute.cs (1)
19public class ProducesAttribute : Attribute, IResultFilter, IOrderedFilter, IApiResponseMetadataProvider
ProducesDefaultResponseTypeAttribute.cs (1)
13public sealed class ProducesDefaultResponseTypeAttribute : Attribute, IApiDefaultResponseMetadataProvider
ProducesErrorResponseTypeAttribute.cs (1)
19public sealed class ProducesErrorResponseTypeAttribute : Attribute
ProducesResponseTypeAttribute.cs (1)
15public class ProducesResponseTypeAttribute : Attribute, IApiResponseMetadataProvider
RequestFormLimitsAttribute.cs (1)
16public class RequestFormLimitsAttribute : Attribute, IFilterFactory, IOrderedFilter, IFormOptionsMetadata
RequestSizeLimitAttribute.cs (1)
14public class RequestSizeLimitAttribute : Attribute, IFilterFactory, IOrderedFilter, IRequestSizeLimitMetadata
RequireHttpsAttribute.cs (1)
15public class RequireHttpsAttribute : Attribute, IAuthorizationFilter, IOrderedFilter
ResponseCacheAttribute.cs (1)
16public class ResponseCacheAttribute : Attribute, IFilterFactory, IOrderedFilter
RouteAttribute.cs (1)
13public class RouteAttribute : Attribute, IRouteTemplateProvider
Routing\HttpMethodAttribute.cs (1)
13public abstract class HttpMethodAttribute : Attribute, IActionHttpMethodProvider, IRouteTemplateProvider
Routing\RouteValueAttribute.cs (1)
22public abstract class RouteValueAttribute : Attribute, IRouteValueProvider
ServiceFilterAttribute.cs (1)
24public class ServiceFilterAttribute : Attribute, IFilterFactory, IOrderedFilter
TypeFilterAttribute.cs (1)
26public class TypeFilterAttribute : Attribute, IFilterFactory, IOrderedFilter
Microsoft.AspNetCore.Mvc.Core.Test (29)
ApplicationModels\ActionModelTest.cs (2)
150private class MyFilterAttribute : Attribute, IFilterMetadata 154private class MyRouteValueAttribute : Attribute, IRouteValueProvider
ApplicationModels\ControllerActionDescriptorProviderTests.cs (5)
1492private class MyFilterAttribute : Attribute, IFilterMetadata 1767private class CustomHttpMethodConstraintAttribute : Attribute, IActionHttpMethodProvider 1899private class RouteAndConstraintAttribute : Attribute, IActionConstraintMetadata, IRouteTemplateProvider 1914private class ConstraintAttribute : Attribute, IActionConstraintMetadata 1950private class MixedRoutingConventionAttribute : Attribute, IActionModelConvention
ApplicationModels\ControllerModelTest.cs (2)
154private class MyFilterAttribute : Attribute, IFilterMetadata 158private class MyRouteValueAttribute : Attribute, IRouteValueProvider
ApplicationModels\DefaultApplicationModelProviderTest.cs (4)
1714private class CustomHttpMethodsAttribute : Attribute, IActionHttpMethodProvider 1755private class MyFilterAttribute : Attribute, IFilterMetadata 1830private class RouteAndConstraintAttribute : Attribute, IActionConstraintMetadata, IRouteTemplateProvider 1845private class ConstraintAttribute : Attribute, IActionConstraintMetadata
ApplicationModels\EndpointMetadataProviderTest.cs (1)
380private class CustomAttribute : Attribute
ApplicationModels\InferParameterBindingInfoConventionTest.cs (1)
1135private class CustomRequestPredicateAndPropertyFilterProviderAttribute : Attribute, IRequestPredicateProvider, IPropertyFilterProvider
Controllers\ControllerBinderDelegateProviderTest.cs (3)
1403private class CustomBindingSourceAttribute : Attribute, IBindingSourceMetadata 1408private class ValueProviderMetadataAttribute : Attribute, IBindingSourceMetadata 1413private class CustomValidationAttribute : Attribute, IModelValidator
ModelBinding\Binders\ComplexObjectModelBinderTest.cs (2)
1348private class NonValueBinderMetadataAttribute : Attribute, IBindingSourceMetadata 1356private class ValueBinderMetadataAttribute : Attribute, IBindingSourceMetadata
ModelBinding\Binders\ComplexTypeModelBinderTest.cs (2)
1523private class NonValueBinderMetadataAttribute : Attribute, IBindingSourceMetadata 1531private class ValueBinderMetadataAttribute : Attribute, IBindingSourceMetadata
ModelBinding\Metadata\DefaultBindingMetadataProviderTest.cs (1)
912private class CustomAttribute : Attribute
ModelBinding\Metadata\DefaultModelMetadataProviderTest.cs (1)
459private class ModelAttribute : Attribute
ModelBinding\Metadata\DefaultValidationMetadataProviderTest.cs (3)
177private class TestModelValidationAttribute : Attribute, IModelValidator 185private class TestClientModelValidationAttribute : Attribute, IClientModelValidator 193private class TestValidationAttribute : Attribute, IModelValidator, IClientModelValidator
ModelBinding\Metadata\ModelAttributesTest.cs (1)
415private class IrrelevantAttribute : Attribute
ModelBinding\Validation\DefaultModelValidatorProviderTest.cs (1)
200private class CustomModelValidatorAttribute : Attribute, IModelValidator
Microsoft.AspNetCore.Mvc.Cors.Test (1)
CorsApplicationModelProviderTest.cs (1)
290public class CustomCorsFilterAttribute : Attribute, ICorsAuthorizationFilter
Microsoft.AspNetCore.Mvc.DataAnnotations (2)
HiddenInputAttribute.cs (1)
16public sealed class HiddenInputAttribute : Attribute
ValidationProviderAttribute.cs (1)
12public abstract class ValidationProviderAttribute : Attribute
Microsoft.AspNetCore.Mvc.DataAnnotations.Test (4)
DefaultModelClientValidatorProviderTest.cs (2)
225private class CustomModelValidatorAttribute : Attribute, IModelValidator 241private class CustomValidationAttribute : Attribute, IClientModelValidator
ModelMetadataProviderTest.cs (2)
955public class TypeBasedBinderAttribute : Attribute, IModelNameProvider 960public class NonTypeBasedBinderAttribute : Attribute, IModelNameProvider
Microsoft.AspNetCore.Mvc.IntegrationTests (3)
GenericModelBinderIntegrationTest.cs (1)
131private class BindAddressAttribute : Attribute, IBindingSourceMetadata
ValidationIntegrationTests.cs (1)
1529private class ValidateSometimesAttribute : Attribute, IPropertyValidationFilter
ValidationWithRecordIntegrationTests.cs (1)
1339private class ValidateSometimesAttribute : Attribute, IPropertyValidationFilter
Microsoft.AspNetCore.Mvc.Razor (2)
Compilation\RazorViewAttribute.cs (1)
11public class RazorViewAttribute : Attribute
Internal\RazorInjectAttribute.cs (1)
14public class RazorInjectAttribute : Attribute
Microsoft.AspNetCore.Mvc.RazorPages (3)
Infrastructure\PageModelAttribute.cs (1)
11public class PageModelAttribute : Attribute
NonHandlerAttribute.cs (1)
10public class NonHandlerAttribute : Attribute
PageContextAttribute.cs (1)
11public class PageContextAttribute : Attribute
Microsoft.AspNetCore.Mvc.Testing (1)
WebApplicationFactoryContentRootAttribute.cs (1)
21public sealed class WebApplicationFactoryContentRootAttribute : Attribute
Microsoft.AspNetCore.Mvc.Testing.Tasks (11)
src\Shared\Nullable\NullableAttributes.cs (11)
17sealed class AllowNullAttribute : Attribute 27sealed class DisallowNullAttribute : Attribute 37sealed class MaybeNullAttribute : Attribute 47sealed class NotNullAttribute : Attribute 57sealed class MaybeNullWhenAttribute : Attribute 76sealed class NotNullWhenAttribute : Attribute 95sealed class NotNullIfNotNullAttribute : Attribute 114sealed class DoesNotReturnAttribute : Attribute 124sealed class DoesNotReturnIfAttribute : Attribute 147sealed class MemberNotNullAttribute : Attribute 172sealed class MemberNotNullWhenAttribute : Attribute
Microsoft.AspNetCore.Mvc.ViewFeatures (11)
AutoValidateAntiforgeryTokenAttribute.cs (1)
23public class AutoValidateAntiforgeryTokenAttribute : Attribute, IFilterFactory, IOrderedFilter
IgnoreAntiforgeryTokenAttribute.cs (1)
13public class IgnoreAntiforgeryTokenAttribute : Attribute, IAntiforgeryPolicy, IOrderedFilter
SaveTempDataAttribute.cs (1)
16public class SaveTempDataAttribute : Attribute, IFilterFactory, IOrderedFilter
SkipStatusCodePagesAttribute.cs (1)
14public class SkipStatusCodePagesAttribute : Attribute, IResourceFilter, ISkipStatusCodePagesMetadata
TempDataAttribute.cs (1)
16public sealed class TempDataAttribute : Attribute
ValidateAntiForgeryTokenAttribute.cs (1)
22public class ValidateAntiForgeryTokenAttribute : Attribute, IFilterFactory, IOrderedFilter
ViewComponentAttribute.cs (1)
11public class ViewComponentAttribute : Attribute
ViewComponents\ViewComponentContextAttribute.cs (1)
12public class ViewComponentContextAttribute : Attribute
ViewContextAttribute.cs (1)
12public class ViewContextAttribute : Attribute
ViewDataAttribute.cs (1)
16public sealed class ViewDataAttribute : Attribute
ViewDataDictionaryAttribute.cs (1)
12public class ViewDataDictionaryAttribute : Attribute
Microsoft.AspNetCore.OpenApi.Microbenchmarks (1)
src\Shared\BenchmarkRunner\AspNetCoreBenchmarkAttribute.cs (1)
11internal class AspNetCoreBenchmarkAttribute : Attribute, IConfigSource
Microsoft.AspNetCore.OutputCaching (1)
OutputCacheAttribute.cs (1)
13public sealed class OutputCacheAttribute : Attribute
Microsoft.AspNetCore.OutputCaching.Microbenchmarks (1)
src\Shared\BenchmarkRunner\AspNetCoreBenchmarkAttribute.cs (1)
11internal class AspNetCoreBenchmarkAttribute : Attribute, IConfigSource
Microsoft.AspNetCore.RateLimiting (2)
DisableRateLimitingAttribute.cs (1)
13public sealed class DisableRateLimitingAttribute : Attribute
EnableRateLimitingAttribute.cs (1)
14public sealed class EnableRateLimitingAttribute : Attribute
Microsoft.AspNetCore.Razor (5)
TagHelpers\HtmlAttributeNameAttribute.cs (1)
10public sealed class HtmlAttributeNameAttribute : Attribute
TagHelpers\HtmlAttributeNotBoundAttribute.cs (1)
10public sealed class HtmlAttributeNotBoundAttribute : Attribute
TagHelpers\HtmlTargetElementAttribute.cs (1)
10public sealed class HtmlTargetElementAttribute : Attribute
TagHelpers\OutputElementHintAttribute.cs (1)
10public sealed class OutputElementHintAttribute : Attribute
TagHelpers\RestrictChildrenAttribute.cs (1)
13public sealed class RestrictChildrenAttribute : Attribute
Microsoft.AspNetCore.Razor.Runtime (6)
Hosting\RazorCompiledItemAttribute.cs (1)
10public sealed class RazorCompiledItemAttribute : Attribute
Hosting\RazorCompiledItemMetadataAttribute.cs (1)
10public sealed class RazorCompiledItemMetadataAttribute : Attribute
Hosting\RazorConfigurationNameAttribute.cs (1)
15public sealed class RazorConfigurationNameAttribute : Attribute
Hosting\RazorExtensionAssemblyNameAttribute.cs (1)
15public sealed class RazorExtensionAssemblyNameAttribute : Attribute
Hosting\RazorLanguageVersionAttribute.cs (1)
15public sealed class RazorLanguageVersionAttribute : Attribute
Hosting\RazorSourceChecksumAttribute.cs (1)
20public sealed class RazorSourceChecksumAttribute : Attribute, IRazorSourceChecksumMetadata
Microsoft.AspNetCore.RequestDecompression.Microbenchmarks (1)
src\Shared\BenchmarkRunner\AspNetCoreBenchmarkAttribute.cs (1)
11internal class AspNetCoreBenchmarkAttribute : Attribute, IConfigSource
Microsoft.AspNetCore.ResponseCaching.Microbenchmarks (1)
src\Shared\BenchmarkRunner\AspNetCoreBenchmarkAttribute.cs (1)
11internal class AspNetCoreBenchmarkAttribute : Attribute, IConfigSource
Microsoft.AspNetCore.ResponseCompression.Microbenchmarks (1)
src\Shared\BenchmarkRunner\AspNetCoreBenchmarkAttribute.cs (1)
11internal class AspNetCoreBenchmarkAttribute : Attribute, IConfigSource
Microsoft.AspNetCore.Routing (4)
EndpointGroupNameAttribute.cs (1)
10public sealed class EndpointGroupNameAttribute : Attribute, IEndpointGroupNameMetadata
EndpointNameAttribute.cs (1)
16public sealed class EndpointNameAttribute : Attribute, IEndpointNameMetadata
ExcludeFromDescriptionAttribute.cs (1)
15public sealed class ExcludeFromDescriptionAttribute : Attribute, IExcludeFromDescriptionMetadata
HostAttribute.cs (1)
15public sealed class HostAttribute : Attribute, IHostMetadata
Microsoft.AspNetCore.Routing.Microbenchmarks (1)
src\Shared\BenchmarkRunner\AspNetCoreBenchmarkAttribute.cs (1)
11internal class AspNetCoreBenchmarkAttribute : Attribute, IConfigSource
Microsoft.AspNetCore.Routing.Tests (8)
Builder\RequestDelegateEndpointRouteBuilderExtensionsTest.cs (3)
531private class HttpMethodAttribute : Attribute, IHttpMethodMetadata 543private class Attribute1 : Attribute 547private class Attribute2 : Attribute
Builder\RouteHandlerEndpointRouteBuilderExtensionsTest.cs (5)
321private class TestFromServiceAttribute : Attribute, IFromServiceMetadata 385private class TestFromBodyAttribute : Attribute, IFromBodyMetadata 1099class FromRoute : Attribute, IFromRouteMetadata 1104class TestConsumesAttribute : Attribute, IAcceptsMetadata 1146private class HttpMethodAttribute : Attribute, IHttpMethodMetadata
Microsoft.AspNetCore.Security.Microbenchmarks (1)
src\Shared\BenchmarkRunner\AspNetCoreBenchmarkAttribute.cs (1)
11internal class AspNetCoreBenchmarkAttribute : Attribute, IConfigSource
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (3)
DelegateSupportedConditionAttribute.cs (1)
9public class DelegateSupportedConditionAttribute : Attribute, ITestCondition
src\Shared\TransportTestHelpers\HttpSysHttp3SupportedAttribute.cs (1)
11public class HttpSysHttp3SupportedAttribute : Attribute, ITestCondition
src\Shared\TransportTestHelpers\MsQuicSupportedAttribute.cs (1)
10public class MsQuicSupportedAttribute : Attribute, ITestCondition
Microsoft.AspNetCore.Server.HttpSys.Microbenchmarks (1)
src\Shared\BenchmarkRunner\AspNetCoreBenchmarkAttribute.cs (1)
11internal class AspNetCoreBenchmarkAttribute : Attribute, IConfigSource
Microsoft.AspNetCore.Server.HttpSys.NonHelixTests (1)
DelegateSupportedConditionAttribute.cs (1)
9public class DelegateSupportedConditionAttribute : Attribute, ITestCondition
Microsoft.AspNetCore.Server.IntegrationTesting (3)
xunit\SkipIfEnvironmentVariableNotEnabled.cs (1)
13public class SkipIfEnvironmentVariableNotEnabledAttribute : Attribute, ITestCondition
xunit\SkipIfIISExpressSchemaMissingInProcessAttribute.cs (1)
9public sealed partial class SkipIfIISExpressSchemaMissingInProcessAttribute : Attribute, ITestCondition
xunit\SkipOn32BitOSAttribute.cs (1)
13public class SkipOn32BitOSAttribute : Attribute, ITestCondition
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (1)
src\Shared\BenchmarkRunner\AspNetCoreBenchmarkAttribute.cs (1)
11internal class AspNetCoreBenchmarkAttribute : Attribute, IConfigSource
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests (2)
SkipOnMarinerAttribute.cs (1)
10public class SkipOnMarinerAttribute : Attribute, ITestCondition
src\Shared\TransportTestHelpers\MsQuicSupportedAttribute.cs (1)
10public class MsQuicSupportedAttribute : Attribute, ITestCondition
Microsoft.AspNetCore.Shared.Tests (2)
PropertyActivatorTest.cs (1)
178private class TestActivateAttribute : Attribute
StackTraceHelperTest.cs (1)
317private class StackTraceHiddenAttribute : Attribute
Microsoft.AspNetCore.SignalR.Client.SourceGenerator (11)
src\Shared\Nullable\NullableAttributes.cs (11)
17sealed class AllowNullAttribute : Attribute 27sealed class DisallowNullAttribute : Attribute 37sealed class MaybeNullAttribute : Attribute 47sealed class NotNullAttribute : Attribute 57sealed class MaybeNullWhenAttribute : Attribute 76sealed class NotNullWhenAttribute : Attribute 95sealed class NotNullIfNotNullAttribute : Attribute 114sealed class DoesNotReturnAttribute : Attribute 124sealed class DoesNotReturnIfAttribute : Attribute 147sealed class MemberNotNullAttribute : Attribute 172sealed class MemberNotNullWhenAttribute : Attribute
Microsoft.AspNetCore.SignalR.Client.Tests (2)
HubClientProxyGeneratorTests.cs (1)
13internal class HubClientProxyAttribute : Attribute
HubServerProxyGeneratorTests.cs (1)
16internal class HubServerProxyAttribute : Attribute
Microsoft.AspNetCore.SignalR.Core (1)
HubMethodNameAttribute.cs (1)
10public class HubMethodNameAttribute : Attribute
Microsoft.AspNetCore.SignalR.Microbenchmarks (1)
src\Shared\BenchmarkRunner\AspNetCoreBenchmarkAttribute.cs (1)
11internal class AspNetCoreBenchmarkAttribute : Attribute, IConfigSource
Microsoft.AspNetCore.SignalR.StackExchangeRedis.Tests (1)
SkipIfDockerNotPresentAttribute.cs (1)
10public class SkipIfDockerNotPresentAttribute : Attribute, ITestCondition
Microsoft.AspNetCore.SignalR.Tests (2)
AddSignalRTests.cs (1)
369internal class NonDefaultHubProtocolAttribute : Attribute
HubConnectionHandlerTestUtils\Hubs.cs (1)
1354public class FromService : Attribute, IFromServiceMetadata
Microsoft.AspNetCore.SignalR.Tests.Utils (1)
WebSocketsSupportedConditionAttribute.cs (1)
9public class WebSocketsSupportedConditionAttribute : Attribute, ITestCondition
Microsoft.AspNetCore.WebSockets.ConformanceTests (1)
SkipIfWsTestNotPresentAttribute.cs (1)
10public class SkipIfWsTestNotPresentAttribute : Attribute, ITestCondition
Microsoft.AspNetCore.WebSockets.Microbenchmarks (1)
src\Shared\BenchmarkRunner\AspNetCoreBenchmarkAttribute.cs (1)
11internal class AspNetCoreBenchmarkAttribute : Attribute, IConfigSource
Microsoft.AspNetCore.WebUtilities.Microbenchmarks (1)
src\Shared\BenchmarkRunner\AspNetCoreBenchmarkAttribute.cs (1)
11internal class AspNetCoreBenchmarkAttribute : Attribute, IConfigSource
Microsoft.Bcl.AsyncInterfaces (3)
src\libraries\System.Private.CoreLib\src\System\Diagnostics\CodeAnalysis\NullableAttributes.cs (2)
137sealed class MemberNotNullAttribute : Attribute 162sealed class MemberNotNullWhenAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\LibraryImportAttribute.cs (1)
26sealed class LibraryImportAttribute : Attribute
Microsoft.Bcl.Numerics (3)
src\libraries\System.Private.CoreLib\src\System\Diagnostics\CodeAnalysis\NullableAttributes.cs (2)
137sealed class MemberNotNullAttribute : Attribute 162sealed class MemberNotNullWhenAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\LibraryImportAttribute.cs (1)
26sealed class LibraryImportAttribute : Attribute
Microsoft.Build.Framework (21)
LoadInSeparateAppDomainAttribute.cs (1)
15public sealed class LoadInSeparateAppDomainAttribute : Attribute
OutputAttribute.cs (1)
17public sealed class OutputAttribute : Attribute
Polyfills\CallerArgumentExpressionAttribute.cs (1)
8internal sealed class CallerArgumentExpressionAttribute : Attribute
Polyfills\NullableAttributes.cs (11)
15internal sealed class AllowNullAttribute : Attribute { } 19internal sealed class DisallowNullAttribute : Attribute { } 23internal sealed class MaybeNullAttribute : Attribute { } 27internal sealed class NotNullAttribute : Attribute { } 31internal sealed class MaybeNullWhenAttribute : Attribute 45internal sealed class NotNullWhenAttribute : Attribute 59internal sealed class NotNullIfNotNullAttribute : Attribute 73internal sealed class DoesNotReturnAttribute : Attribute { } 77internal sealed class DoesNotReturnIfAttribute : Attribute 96internal sealed class MemberNotNullAttribute : Attribute 116internal sealed class MemberNotNullWhenAttribute : Attribute
Polyfills\StringSyntaxAttribute.cs (1)
9internal sealed class StringSyntaxAttribute : Attribute
RequiredAttribute.cs (1)
15public sealed class RequiredAttribute : Attribute
RequiredRuntimeAttribute.cs (1)
18public sealed class RequiredRuntimeAttribute : Attribute
RunInMTAAttribute.cs (1)
16public sealed class RunInMTAAttribute : Attribute
RunInSTAAttribute.cs (1)
16public sealed class RunInSTAAttribute : Attribute
SupportedOSPlatform.cs (2)
13internal class SupportedOSPlatformGuard : Attribute 20internal class SupportedOSPlatform : Attribute
Microsoft.Build.Tasks.CodeAnalysis (1)
src\Compilers\Core\Portable\CommitHashAttribute.cs (1)
10internal sealed class CommitHashAttribute : Attribute
Microsoft.Build.Tasks.CodeAnalysis.UnitTests (1)
TestUtilities\DotNetSdkVersionAttribute.cs (1)
14public sealed class DotNetSdkVersionAttribute : Attribute
Microsoft.CodeAnalysis (9)
CommitHashAttribute.cs (1)
10internal sealed class CommitHashAttribute : Attribute
DiagnosticAnalyzer\DiagnosticAnalyzerAttribute.cs (1)
13public sealed class DiagnosticAnalyzerAttribute : Attribute
InternalImplementationOnlyAttribute.cs (1)
12internal sealed class InternalImplementationOnlyAttribute : Attribute
InternalUtilities\NonCopyableAttribute.cs (1)
12internal sealed class NonCopyableAttribute : Attribute
InternalUtilities\NonDefaultableAttribute.cs (1)
12internal sealed class NonDefaultableAttribute : Attribute
InternalUtilities\SuppressUnmanagedCodeSecurityAttribute.cs (1)
8internal class SuppressUnmanagedCodeSecurityAttribute : Attribute
PerformanceSensitiveAttribute.cs (1)
20internal sealed class PerformanceSensitiveAttribute : Attribute
SourceGeneration\GeneratorAttribute.cs (1)
12public sealed class GeneratorAttribute : Attribute
src\Dependencies\PooledObjects\PooledDelegates.cs (1)
451private sealed class NonCopyableAttribute : Attribute
Microsoft.CodeAnalysis.CodeStyle (10)
PerformanceSensitiveAttribute.cs (1)
20internal sealed class PerformanceSensitiveAttribute : Attribute
src\Compilers\Core\Portable\InternalUtilities\CompilerFeatureRequiredAttribute.cs (1)
24internal sealed class CompilerFeatureRequiredAttribute : Attribute
src\Compilers\Core\Portable\InternalUtilities\ExperimentalAttribute.cs (1)
40internal sealed class ExperimentalAttribute : Attribute
src\Compilers\Core\Portable\InternalUtilities\InterpolatedStringHandlerArgumentAttribute.cs (1)
19internal sealed class InterpolatedStringHandlerArgumentAttribute : Attribute
src\Compilers\Core\Portable\InternalUtilities\InterpolatedStringHandlerAttribute.cs (1)
19internal sealed class InterpolatedStringHandlerAttribute : Attribute
src\Compilers\Core\Portable\InternalUtilities\NonCopyableAttribute.cs (1)
12internal sealed class NonCopyableAttribute : Attribute
src\Compilers\Core\Portable\InternalUtilities\NonDefaultableAttribute.cs (1)
12internal sealed class NonDefaultableAttribute : Attribute
src\Compilers\Core\Portable\InternalUtilities\RequiredMemberAttribute.cs (1)
22internal sealed class RequiredMemberAttribute : Attribute
src\Compilers\Core\Portable\InternalUtilities\SetsRequiredMembersAttribute.cs (1)
26internal sealed class SetsRequiredMembersAttribute : Attribute
src\Dependencies\PooledObjects\PooledDelegates.cs (1)
451private sealed class NonCopyableAttribute : Attribute
Microsoft.CodeAnalysis.CodeStyle.UnitTestUtilities (1)
src\Features\TestUtilities\Utilities\StringSyntaxAttribute.cs (1)
10internal sealed class StringSyntaxAttribute : Attribute
Microsoft.CodeAnalysis.CSharp.ExpressionEvaluator.ResultProvider (1)
src\ExpressionEvaluator\CSharp\Source\ResultProvider\Helpers\Placeholders.cs (1)
24internal class ExtensionAttribute : Attribute
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider (2)
src\Compilers\Core\Portable\InternalUtilities\InterpolatedStringHandlerArgumentAttribute.cs (1)
19internal sealed class InterpolatedStringHandlerArgumentAttribute : Attribute
src\Compilers\Core\Portable\InternalUtilities\InterpolatedStringHandlerAttribute.cs (1)
19internal sealed class InterpolatedStringHandlerAttribute : Attribute
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider.Utilities (4)
Debugger\Engine\DkmContinueCorruptingException.cs (1)
23public sealed class DkmContinueCorruptingExceptionAttribute : Attribute
Debugger\Engine\DkmReportNonFatalWatsonExceptionAttribute.cs (1)
19public sealed class DkmReportNonFatalWatsonExceptionAttribute : Attribute
src\Compilers\Core\Portable\InternalUtilities\InterpolatedStringHandlerArgumentAttribute.cs (1)
19internal sealed class InterpolatedStringHandlerArgumentAttribute : Attribute
src\Compilers\Core\Portable\InternalUtilities\InterpolatedStringHandlerAttribute.cs (1)
19internal sealed class InterpolatedStringHandlerAttribute : Attribute
Microsoft.CodeAnalysis.InteractiveHost (4)
PerformanceSensitiveAttribute.cs (1)
20internal sealed class PerformanceSensitiveAttribute : Attribute
src\Compilers\Core\Portable\InternalUtilities\InterpolatedStringHandlerArgumentAttribute.cs (1)
19internal sealed class InterpolatedStringHandlerArgumentAttribute : Attribute
src\Compilers\Core\Portable\InternalUtilities\InterpolatedStringHandlerAttribute.cs (1)
19internal sealed class InterpolatedStringHandlerAttribute : Attribute
src\Compilers\Core\Portable\InternalUtilities\NonCopyableAttribute.cs (1)
12internal sealed class NonCopyableAttribute : Attribute
Microsoft.CodeAnalysis.LanguageServer.Protocol (2)
Protocol\Converters\KindAttribute.cs (1)
14internal class KindAttribute : Attribute
src\LanguageServer\Microsoft.CommonLanguageServerProtocol.Framework\LanguageServerEndpointAttribute.cs (1)
16internal class LanguageServerEndpointAttribute : Attribute
Microsoft.CodeAnalysis.PooledObjects.Package (1)
PooledDelegates.cs (1)
451private sealed class NonCopyableAttribute : Attribute
Microsoft.CodeAnalysis.Test.Utilities (3)
Assert\WorkItemAttribute.cs (1)
15public sealed class WorkItemAttribute : Attribute
CompilerTraitAttribute.cs (1)
15public sealed class CompilerTraitAttribute : Attribute, ITraitAttribute
RunInSinglePartitionAssemblyAttribute.cs (1)
17public sealed class RunTestsInSinglePartitionAttribute : Attribute
Microsoft.CodeAnalysis.UnitTests (2)
Analyzers\AnalyzerFileReferenceTests.cs (2)
643public class DiagnosticAnalyzer : Attribute 650public class Generator : Attribute
Microsoft.CodeAnalysis.Workspaces (11)
ExtensionOrderAttribute.cs (1)
14public sealed class ExtensionOrderAttribute : Attribute
PerformanceSensitiveAttribute.cs (1)
20internal sealed class PerformanceSensitiveAttribute : Attribute
src\Compilers\Core\Portable\InternalUtilities\CompilerFeatureRequiredAttribute.cs (1)
24internal sealed class CompilerFeatureRequiredAttribute : Attribute
src\Compilers\Core\Portable\InternalUtilities\ExperimentalAttribute.cs (1)
40internal sealed class ExperimentalAttribute : Attribute
src\Compilers\Core\Portable\InternalUtilities\InterpolatedStringHandlerArgumentAttribute.cs (1)
19internal sealed class InterpolatedStringHandlerArgumentAttribute : Attribute
src\Compilers\Core\Portable\InternalUtilities\InterpolatedStringHandlerAttribute.cs (1)
19internal sealed class InterpolatedStringHandlerAttribute : Attribute
src\Compilers\Core\Portable\InternalUtilities\NonCopyableAttribute.cs (1)
12internal sealed class NonCopyableAttribute : Attribute
src\Compilers\Core\Portable\InternalUtilities\NonDefaultableAttribute.cs (1)
12internal sealed class NonDefaultableAttribute : Attribute
src\Compilers\Core\Portable\InternalUtilities\RequiredMemberAttribute.cs (1)
22internal sealed class RequiredMemberAttribute : Attribute
src\Compilers\Core\Portable\InternalUtilities\SetsRequiredMembersAttribute.cs (1)
26internal sealed class SetsRequiredMembersAttribute : Attribute
src\Dependencies\PooledObjects\PooledDelegates.cs (1)
451private sealed class NonCopyableAttribute : Attribute
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (9)
src\Compilers\Core\Portable\InternalUtilities\CompilerFeatureRequiredAttribute.cs (1)
24internal sealed class CompilerFeatureRequiredAttribute : Attribute
src\Compilers\Core\Portable\InternalUtilities\ExperimentalAttribute.cs (1)
40internal sealed class ExperimentalAttribute : Attribute
src\Compilers\Core\Portable\InternalUtilities\NonCopyableAttribute.cs (1)
12internal sealed class NonCopyableAttribute : Attribute
src\Compilers\Core\Portable\InternalUtilities\NonDefaultableAttribute.cs (1)
12internal sealed class NonDefaultableAttribute : Attribute
src\Compilers\Core\Portable\InternalUtilities\PerformanceSensitiveAttribute.cs (1)
20internal sealed class PerformanceSensitiveAttribute : Attribute
src\Compilers\Core\Portable\InternalUtilities\RequiredMemberAttribute.cs (1)
22internal sealed class RequiredMemberAttribute : Attribute
src\Compilers\Core\Portable\InternalUtilities\SetsRequiredMembersAttribute.cs (1)
26internal sealed class SetsRequiredMembersAttribute : Attribute
src\Compilers\Core\Portable\InternalUtilities\SuppressUnmanagedCodeSecurityAttribute.cs (1)
8internal class SuppressUnmanagedCodeSecurityAttribute : Attribute
src\Dependencies\PooledObjects\PooledDelegates.cs (1)
451private sealed class NonCopyableAttribute : Attribute
Microsoft.CommonLanguageServerProtocol.Framework.Package (1)
LanguageServerEndpointAttribute.cs (1)
16internal class LanguageServerEndpointAttribute : Attribute
Microsoft.DotNet.SwaggerGenerator.CodeGenerator (2)
HelperFactory.cs (2)
19public class HelperMethodAttribute : Attribute 25public class BlockHelperMethodAttribute : Attribute
Microsoft.DotNet.XUnitExtensions (10)
Attributes\ActiveIssueAttribute.cs (1)
14public class ActiveIssueAttribute : Attribute, ITraitAttribute
Attributes\ConditionalClassAttribute.cs (1)
12public sealed class ConditionalClassAttribute : Attribute, ITraitAttribute
Attributes\OuterLoopAttribute.cs (1)
14public class OuterLoopAttribute : Attribute, ITraitAttribute
Attributes\PlatformSpecificAttribute.cs (1)
14public class PlatformSpecificAttribute : Attribute, ITraitAttribute
Attributes\SkipOnCIAttribute.cs (1)
11public sealed class SkipOnCIAttribute : Attribute, ITraitAttribute
Attributes\SkipOnCoreClrAttribute.cs (1)
11public class SkipOnCoreClrAttribute : Attribute, ITraitAttribute
Attributes\SkipOnMonoAttribute.cs (1)
11public class SkipOnMonoAttribute : Attribute, ITraitAttribute
Attributes\SkipOnPlatformAttribute.cs (1)
11public class SkipOnPlatformAttribute : Attribute, ITraitAttribute
Attributes\SkipOnTargetFrameworkAttribute.cs (1)
14public class SkipOnTargetFrameworkAttribute : Attribute, ITraitAttribute
Attributes\TestCategoryAttribute.cs (1)
14public class TestCategoryAttribute : Attribute, ITraitAttribute
Microsoft.Extensions.Caching.MicroBenchmarks (11)
src\Shared\Nullable\NullableAttributes.cs (11)
17sealed class AllowNullAttribute : Attribute 27sealed class DisallowNullAttribute : Attribute 37sealed class MaybeNullAttribute : Attribute 47sealed class NotNullAttribute : Attribute 57sealed class MaybeNullWhenAttribute : Attribute 76sealed class NotNullWhenAttribute : Attribute 95sealed class NotNullIfNotNullAttribute : Attribute 114sealed class DoesNotReturnAttribute : Attribute 124sealed class DoesNotReturnIfAttribute : Attribute 147sealed class MemberNotNullAttribute : Attribute 172sealed class MemberNotNullWhenAttribute : Attribute
Microsoft.Extensions.Caching.StackExchangeRedis (12)
src\Shared\CallerArgument\CallerArgumentExpressionAttribute.cs (1)
10internal sealed class CallerArgumentExpressionAttribute : Attribute
src\Shared\Nullable\NullableAttributes.cs (11)
17sealed class AllowNullAttribute : Attribute 27sealed class DisallowNullAttribute : Attribute 37sealed class MaybeNullAttribute : Attribute 47sealed class NotNullAttribute : Attribute 57sealed class MaybeNullWhenAttribute : Attribute 76sealed class NotNullWhenAttribute : Attribute 95sealed class NotNullIfNotNullAttribute : Attribute 114sealed class DoesNotReturnAttribute : Attribute 124sealed class DoesNotReturnIfAttribute : Attribute 147sealed class MemberNotNullAttribute : Attribute 172sealed class MemberNotNullWhenAttribute : Attribute
Microsoft.Extensions.Compliance.Abstractions (1)
Classification\DataClassificationAttribute.cs (1)
22public class DataClassificationAttribute : Attribute
Microsoft.Extensions.Configuration.Abstractions (1)
ConfigurationKeyNameAttribute.cs (1)
12public sealed class ConfigurationKeyNameAttribute : Attribute
Microsoft.Extensions.Configuration.UserSecrets (1)
UserSecretsIdAttribute.cs (1)
17public class UserSecretsIdAttribute : Attribute
Microsoft.Extensions.DependencyInjection.Abstractions (3)
ActivatorUtilitiesConstructorAttribute.cs (1)
12public class ActivatorUtilitiesConstructorAttribute : Attribute
FromKeyedServicesAttribute.cs (1)
12public class FromKeyedServicesAttribute : Attribute
ServiceKeyAttribute.cs (1)
12public class ServiceKeyAttribute : Attribute
Microsoft.Extensions.Diagnostics.HealthChecks (17)
src\Shared\CallerArgument\CallerArgumentExpressionAttribute.cs (1)
10internal sealed class CallerArgumentExpressionAttribute : Attribute
src\Shared\Nullable\NullableAttributes.cs (11)
17sealed class AllowNullAttribute : Attribute 27sealed class DisallowNullAttribute : Attribute 37sealed class MaybeNullAttribute : Attribute 47sealed class NotNullAttribute : Attribute 57sealed class MaybeNullWhenAttribute : Attribute 76sealed class NotNullWhenAttribute : Attribute 95sealed class NotNullIfNotNullAttribute : Attribute 114sealed class DoesNotReturnAttribute : Attribute 124sealed class DoesNotReturnIfAttribute : Attribute 147sealed class MemberNotNullAttribute : Attribute 172sealed class MemberNotNullWhenAttribute : Attribute
src\Shared\TrimmingAttributes.cs (5)
17internal sealed class RequiresDynamicCodeAttribute : Attribute 54internal sealed class RequiresUnreferencedCodeAttribute : Attribute 90internal sealed class UnconditionalSuppressMessageAttribute : Attribute 170internal sealed class DynamicDependencyAttribute : Attribute 312internal sealed class DynamicallyAccessedMembersAttribute : Attribute
Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions (12)
src\Shared\CallerArgument\CallerArgumentExpressionAttribute.cs (1)
10internal sealed class CallerArgumentExpressionAttribute : Attribute
src\Shared\Nullable\NullableAttributes.cs (11)
17sealed class AllowNullAttribute : Attribute 27sealed class DisallowNullAttribute : Attribute 37sealed class MaybeNullAttribute : Attribute 47sealed class NotNullAttribute : Attribute 57sealed class MaybeNullWhenAttribute : Attribute 76sealed class NotNullWhenAttribute : Attribute 95sealed class NotNullIfNotNullAttribute : Attribute 114sealed class DoesNotReturnAttribute : Attribute 124sealed class DoesNotReturnIfAttribute : Attribute 147sealed class MemberNotNullAttribute : Attribute 172sealed class MemberNotNullWhenAttribute : Attribute
Microsoft.Extensions.Diagnostics.Probes (19)
src\LegacySupport\CallerAttributes\CallerArgumentExpressionAttribute.cs (1)
17internal sealed class CallerArgumentExpressionAttribute : Attribute
src\LegacySupport\DiagnosticAttributes\NullableAttributes.cs (11)
26internal sealed class AllowNullAttribute : Attribute 33internal sealed class DisallowNullAttribute : Attribute 40internal sealed class MaybeNullAttribute : Attribute 47internal sealed class NotNullAttribute : Attribute 54internal sealed class MaybeNullWhenAttribute : Attribute 69internal sealed class NotNullWhenAttribute : Attribute 84internal sealed class NotNullIfNotNullAttribute : Attribute 99internal sealed class DoesNotReturnAttribute : Attribute 106internal sealed class DoesNotReturnIfAttribute : Attribute 123internal sealed class MemberNotNullAttribute : Attribute 144internal sealed class MemberNotNullWhenAttribute : Attribute
src\LegacySupport\ExperimentalAttribute\ExperimentalAttribute.cs (1)
24internal sealed class ExperimentalAttribute : Attribute
src\LegacySupport\SkipLocalsInitAttribute\SkipLocalsInitAttribute.cs (1)
36internal sealed class SkipLocalsInitAttribute : Attribute
src\LegacySupport\TrimAttributes\DynamicallyAccessedMembersAttribute.cs (1)
43internal sealed class DynamicallyAccessedMembersAttribute : Attribute
src\LegacySupport\TrimAttributes\DynamicDependencyAttribute.cs (1)
26internal sealed class DynamicDependencyAttribute : Attribute
src\LegacySupport\TrimAttributes\RequiresAssemblyFilesAttribute.cs (1)
26internal sealed class RequiresAssemblyFilesAttribute : Attribute
src\LegacySupport\TrimAttributes\RequiresUnreferencedCodeAttribute.cs (1)
26internal sealed class RequiresUnreferencedCodeAttribute : Attribute
src\LegacySupport\TrimAttributes\UnconditionalSuppressMessageAttribute.cs (1)
26internal sealed class UnconditionalSuppressMessageAttribute : Attribute
Microsoft.Extensions.Diagnostics.ResourceMonitoring (20)
src\LegacySupport\CallerAttributes\CallerArgumentExpressionAttribute.cs (1)
17internal sealed class CallerArgumentExpressionAttribute : Attribute
src\LegacySupport\DiagnosticAttributes\NullableAttributes.cs (11)
26internal sealed class AllowNullAttribute : Attribute 33internal sealed class DisallowNullAttribute : Attribute 40internal sealed class MaybeNullAttribute : Attribute 47internal sealed class NotNullAttribute : Attribute 54internal sealed class MaybeNullWhenAttribute : Attribute 69internal sealed class NotNullWhenAttribute : Attribute 84internal sealed class NotNullIfNotNullAttribute : Attribute 99internal sealed class DoesNotReturnAttribute : Attribute 106internal sealed class DoesNotReturnIfAttribute : Attribute 123internal sealed class MemberNotNullAttribute : Attribute 144internal sealed class MemberNotNullWhenAttribute : Attribute
src\LegacySupport\ExperimentalAttribute\ExperimentalAttribute.cs (1)
24internal sealed class ExperimentalAttribute : Attribute
src\LegacySupport\ObsoleteAttribute\ObsoleteAttribute.cs (1)
26internal sealed class ObsoleteAttribute : Attribute
src\LegacySupport\SkipLocalsInitAttribute\SkipLocalsInitAttribute.cs (1)
36internal sealed class SkipLocalsInitAttribute : Attribute
src\LegacySupport\TrimAttributes\DynamicallyAccessedMembersAttribute.cs (1)
43internal sealed class DynamicallyAccessedMembersAttribute : Attribute
src\LegacySupport\TrimAttributes\DynamicDependencyAttribute.cs (1)
26internal sealed class DynamicDependencyAttribute : Attribute
src\LegacySupport\TrimAttributes\RequiresAssemblyFilesAttribute.cs (1)
26internal sealed class RequiresAssemblyFilesAttribute : Attribute
src\LegacySupport\TrimAttributes\RequiresUnreferencedCodeAttribute.cs (1)
26internal sealed class RequiresUnreferencedCodeAttribute : Attribute
src\LegacySupport\TrimAttributes\UnconditionalSuppressMessageAttribute.cs (1)
26internal sealed class UnconditionalSuppressMessageAttribute : Attribute
Microsoft.Extensions.Diagnostics.Testing (19)
src\LegacySupport\CallerAttributes\CallerArgumentExpressionAttribute.cs (1)
17internal sealed class CallerArgumentExpressionAttribute : Attribute
src\LegacySupport\DiagnosticAttributes\NullableAttributes.cs (11)
26internal sealed class AllowNullAttribute : Attribute 33internal sealed class DisallowNullAttribute : Attribute 40internal sealed class MaybeNullAttribute : Attribute 47internal sealed class NotNullAttribute : Attribute 54internal sealed class MaybeNullWhenAttribute : Attribute 69internal sealed class NotNullWhenAttribute : Attribute 84internal sealed class NotNullIfNotNullAttribute : Attribute 99internal sealed class DoesNotReturnAttribute : Attribute 106internal sealed class DoesNotReturnIfAttribute : Attribute 123internal sealed class MemberNotNullAttribute : Attribute 144internal sealed class MemberNotNullWhenAttribute : Attribute
src\LegacySupport\ExperimentalAttribute\ExperimentalAttribute.cs (1)
24internal sealed class ExperimentalAttribute : Attribute
src\LegacySupport\SkipLocalsInitAttribute\SkipLocalsInitAttribute.cs (1)
36internal sealed class SkipLocalsInitAttribute : Attribute
src\LegacySupport\TrimAttributes\DynamicallyAccessedMembersAttribute.cs (1)
43internal sealed class DynamicallyAccessedMembersAttribute : Attribute
src\LegacySupport\TrimAttributes\DynamicDependencyAttribute.cs (1)
26internal sealed class DynamicDependencyAttribute : Attribute
src\LegacySupport\TrimAttributes\RequiresAssemblyFilesAttribute.cs (1)
26internal sealed class RequiresAssemblyFilesAttribute : Attribute
src\LegacySupport\TrimAttributes\RequiresUnreferencedCodeAttribute.cs (1)
26internal sealed class RequiresUnreferencedCodeAttribute : Attribute
src\LegacySupport\TrimAttributes\UnconditionalSuppressMessageAttribute.cs (1)
26internal sealed class UnconditionalSuppressMessageAttribute : Attribute
Microsoft.Extensions.FileProviders.Embedded (17)
src\Shared\CallerArgument\CallerArgumentExpressionAttribute.cs (1)
10internal sealed class CallerArgumentExpressionAttribute : Attribute
src\Shared\Nullable\NullableAttributes.cs (11)
17sealed class AllowNullAttribute : Attribute 27sealed class DisallowNullAttribute : Attribute 37sealed class MaybeNullAttribute : Attribute 47sealed class NotNullAttribute : Attribute 57sealed class MaybeNullWhenAttribute : Attribute 76sealed class NotNullWhenAttribute : Attribute 95sealed class NotNullIfNotNullAttribute : Attribute 114sealed class DoesNotReturnAttribute : Attribute 124sealed class DoesNotReturnIfAttribute : Attribute 147sealed class MemberNotNullAttribute : Attribute 172sealed class MemberNotNullWhenAttribute : Attribute
src\Shared\TrimmingAttributes.cs (5)
17internal sealed class RequiresDynamicCodeAttribute : Attribute 54internal sealed class RequiresUnreferencedCodeAttribute : Attribute 90internal sealed class UnconditionalSuppressMessageAttribute : Attribute 170internal sealed class DynamicDependencyAttribute : Attribute 312internal sealed class DynamicallyAccessedMembersAttribute : Attribute
Microsoft.Extensions.Hosting.Testing (19)
src\LegacySupport\CallerAttributes\CallerArgumentExpressionAttribute.cs (1)
17internal sealed class CallerArgumentExpressionAttribute : Attribute
src\LegacySupport\DiagnosticAttributes\NullableAttributes.cs (11)
26internal sealed class AllowNullAttribute : Attribute 33internal sealed class DisallowNullAttribute : Attribute 40internal sealed class MaybeNullAttribute : Attribute 47internal sealed class NotNullAttribute : Attribute 54internal sealed class MaybeNullWhenAttribute : Attribute 69internal sealed class NotNullWhenAttribute : Attribute 84internal sealed class NotNullIfNotNullAttribute : Attribute 99internal sealed class DoesNotReturnAttribute : Attribute 106internal sealed class DoesNotReturnIfAttribute : Attribute 123internal sealed class MemberNotNullAttribute : Attribute 144internal sealed class MemberNotNullWhenAttribute : Attribute
src\LegacySupport\ExperimentalAttribute\ExperimentalAttribute.cs (1)
24internal sealed class ExperimentalAttribute : Attribute
src\LegacySupport\SkipLocalsInitAttribute\SkipLocalsInitAttribute.cs (1)
36internal sealed class SkipLocalsInitAttribute : Attribute
src\LegacySupport\TrimAttributes\DynamicallyAccessedMembersAttribute.cs (1)
43internal sealed class DynamicallyAccessedMembersAttribute : Attribute
src\LegacySupport\TrimAttributes\DynamicDependencyAttribute.cs (1)
26internal sealed class DynamicDependencyAttribute : Attribute
src\LegacySupport\TrimAttributes\RequiresAssemblyFilesAttribute.cs (1)
26internal sealed class RequiresAssemblyFilesAttribute : Attribute
src\LegacySupport\TrimAttributes\RequiresUnreferencedCodeAttribute.cs (1)
26internal sealed class RequiresUnreferencedCodeAttribute : Attribute
src\LegacySupport\TrimAttributes\UnconditionalSuppressMessageAttribute.cs (1)
26internal sealed class UnconditionalSuppressMessageAttribute : Attribute
Microsoft.Extensions.Http.Polly (11)
src\Shared\Nullable\NullableAttributes.cs (11)
17sealed class AllowNullAttribute : Attribute 27sealed class DisallowNullAttribute : Attribute 37sealed class MaybeNullAttribute : Attribute 47sealed class NotNullAttribute : Attribute 57sealed class MaybeNullWhenAttribute : Attribute 76sealed class NotNullWhenAttribute : Attribute 95sealed class NotNullIfNotNullAttribute : Attribute 114sealed class DoesNotReturnAttribute : Attribute 124sealed class DoesNotReturnIfAttribute : Attribute 147sealed class MemberNotNullAttribute : Attribute 172sealed class MemberNotNullWhenAttribute : Attribute
Microsoft.Extensions.Identity.Core (18)
PersonalDataAttribute.cs (1)
12public class PersonalDataAttribute : Attribute
src\Shared\CallerArgument\CallerArgumentExpressionAttribute.cs (1)
10internal sealed class CallerArgumentExpressionAttribute : Attribute
src\Shared\Nullable\NullableAttributes.cs (11)
17sealed class AllowNullAttribute : Attribute 27sealed class DisallowNullAttribute : Attribute 37sealed class MaybeNullAttribute : Attribute 47sealed class NotNullAttribute : Attribute 57sealed class MaybeNullWhenAttribute : Attribute 76sealed class NotNullWhenAttribute : Attribute 95sealed class NotNullIfNotNullAttribute : Attribute 114sealed class DoesNotReturnAttribute : Attribute 124sealed class DoesNotReturnIfAttribute : Attribute 147sealed class MemberNotNullAttribute : Attribute 172sealed class MemberNotNullWhenAttribute : Attribute
src\Shared\TrimmingAttributes.cs (5)
17internal sealed class RequiresDynamicCodeAttribute : Attribute 54internal sealed class RequiresUnreferencedCodeAttribute : Attribute 90internal sealed class UnconditionalSuppressMessageAttribute : Attribute 170internal sealed class DynamicDependencyAttribute : Attribute 312internal sealed class DynamicallyAccessedMembersAttribute : Attribute
Microsoft.Extensions.Identity.Stores (17)
src\Shared\CallerArgument\CallerArgumentExpressionAttribute.cs (1)
10internal sealed class CallerArgumentExpressionAttribute : Attribute
src\Shared\Nullable\NullableAttributes.cs (11)
17sealed class AllowNullAttribute : Attribute 27sealed class DisallowNullAttribute : Attribute 37sealed class MaybeNullAttribute : Attribute 47sealed class NotNullAttribute : Attribute 57sealed class MaybeNullWhenAttribute : Attribute 76sealed class NotNullWhenAttribute : Attribute 95sealed class NotNullIfNotNullAttribute : Attribute 114sealed class DoesNotReturnAttribute : Attribute 124sealed class DoesNotReturnIfAttribute : Attribute 147sealed class MemberNotNullAttribute : Attribute 172sealed class MemberNotNullWhenAttribute : Attribute
src\Shared\TrimmingAttributes.cs (5)
17internal sealed class RequiresDynamicCodeAttribute : Attribute 54internal sealed class RequiresUnreferencedCodeAttribute : Attribute 90internal sealed class UnconditionalSuppressMessageAttribute : Attribute 170internal sealed class DynamicDependencyAttribute : Attribute 312internal sealed class DynamicallyAccessedMembersAttribute : Attribute
Microsoft.Extensions.Localization (2)
ResourceLocationAttribute.cs (1)
13public class ResourceLocationAttribute : Attribute
RootNamespaceAttribute.cs (1)
14public class RootNamespaceAttribute : Attribute
Microsoft.Extensions.Localization.Abstractions (12)
src\Shared\CallerArgument\CallerArgumentExpressionAttribute.cs (1)
10internal sealed class CallerArgumentExpressionAttribute : Attribute
src\Shared\Nullable\NullableAttributes.cs (11)
17sealed class AllowNullAttribute : Attribute 27sealed class DisallowNullAttribute : Attribute 37sealed class MaybeNullAttribute : Attribute 47sealed class NotNullAttribute : Attribute 57sealed class MaybeNullWhenAttribute : Attribute 76sealed class NotNullWhenAttribute : Attribute 95sealed class NotNullIfNotNullAttribute : Attribute 114sealed class DoesNotReturnAttribute : Attribute 124sealed class DoesNotReturnIfAttribute : Attribute 147sealed class MemberNotNullAttribute : Attribute 172sealed class MemberNotNullWhenAttribute : Attribute
Microsoft.Extensions.Localization.RootNamespace.Tests (11)
src\Shared\Nullable\NullableAttributes.cs (11)
17sealed class AllowNullAttribute : Attribute 27sealed class DisallowNullAttribute : Attribute 37sealed class MaybeNullAttribute : Attribute 47sealed class NotNullAttribute : Attribute 57sealed class MaybeNullWhenAttribute : Attribute 76sealed class NotNullWhenAttribute : Attribute 95sealed class NotNullIfNotNullAttribute : Attribute 114sealed class DoesNotReturnAttribute : Attribute 124sealed class DoesNotReturnIfAttribute : Attribute 147sealed class MemberNotNullAttribute : Attribute 172sealed class MemberNotNullWhenAttribute : Attribute
Microsoft.Extensions.Logging (1)
ProviderAliasAttribute.cs (1)
12public class ProviderAliasAttribute : Attribute
Microsoft.Extensions.Logging.Abstractions (1)
LoggerMessageAttribute.cs (1)
32public sealed class LoggerMessageAttribute : Attribute
Microsoft.Extensions.Logging.Generators (11)
src\libraries\System.Private.CoreLib\src\System\Diagnostics\CodeAnalysis\NullableAttributes.cs (11)
14sealed class AllowNullAttribute : Attribute { } 23sealed class DisallowNullAttribute : Attribute { } 32sealed class MaybeNullAttribute : Attribute { } 41sealed class NotNullAttribute : Attribute { } 50sealed class MaybeNullWhenAttribute : Attribute 69sealed class NotNullWhenAttribute : Attribute 88sealed class NotNullIfNotNullAttribute : Attribute 107sealed class DoesNotReturnAttribute : Attribute { } 116sealed class DoesNotReturnIfAttribute : Attribute 137sealed class MemberNotNullAttribute : Attribute 162sealed class MemberNotNullWhenAttribute : Attribute
Microsoft.Extensions.ObjectPool.DependencyInjection (18)
src\LegacySupport\CallerAttributes\CallerArgumentExpressionAttribute.cs (1)
17internal sealed class CallerArgumentExpressionAttribute : Attribute
src\LegacySupport\DiagnosticAttributes\NullableAttributes.cs (11)
26internal sealed class AllowNullAttribute : Attribute 33internal sealed class DisallowNullAttribute : Attribute 40internal sealed class MaybeNullAttribute : Attribute 47internal sealed class NotNullAttribute : Attribute 54internal sealed class MaybeNullWhenAttribute : Attribute 69internal sealed class NotNullWhenAttribute : Attribute 84internal sealed class NotNullIfNotNullAttribute : Attribute 99internal sealed class DoesNotReturnAttribute : Attribute 106internal sealed class DoesNotReturnIfAttribute : Attribute 123internal sealed class MemberNotNullAttribute : Attribute 144internal sealed class MemberNotNullWhenAttribute : Attribute
src\LegacySupport\SkipLocalsInitAttribute\SkipLocalsInitAttribute.cs (1)
36internal sealed class SkipLocalsInitAttribute : Attribute
src\LegacySupport\TrimAttributes\DynamicallyAccessedMembersAttribute.cs (1)
43internal sealed class DynamicallyAccessedMembersAttribute : Attribute
src\LegacySupport\TrimAttributes\DynamicDependencyAttribute.cs (1)
26internal sealed class DynamicDependencyAttribute : Attribute
src\LegacySupport\TrimAttributes\RequiresAssemblyFilesAttribute.cs (1)
26internal sealed class RequiresAssemblyFilesAttribute : Attribute
src\LegacySupport\TrimAttributes\RequiresUnreferencedCodeAttribute.cs (1)
26internal sealed class RequiresUnreferencedCodeAttribute : Attribute
src\LegacySupport\TrimAttributes\UnconditionalSuppressMessageAttribute.cs (1)
26internal sealed class UnconditionalSuppressMessageAttribute : Attribute
Microsoft.Extensions.ObjectPool.Microbenchmark (1)
src\Shared\BenchmarkRunner\AspNetCoreBenchmarkAttribute.cs (1)
11internal class AspNetCoreBenchmarkAttribute : Attribute, IConfigSource
Microsoft.Extensions.Options (3)
OptionsValidatorAttribute.cs (1)
13public sealed class OptionsValidatorAttribute : Attribute
ValidateEnumeratedItemsAttribute.cs (1)
14public sealed class ValidateEnumeratedItemsAttribute : Attribute
ValidateObjectMembersAttribute.cs (1)
13public sealed class ValidateObjectMembersAttribute : Attribute
Microsoft.Extensions.Options.Contextual (20)
OptionsContextAttribute.cs (1)
14public sealed class OptionsContextAttribute : Attribute
src\LegacySupport\CallerAttributes\CallerArgumentExpressionAttribute.cs (1)
17internal sealed class CallerArgumentExpressionAttribute : Attribute
src\LegacySupport\DiagnosticAttributes\NullableAttributes.cs (11)
26internal sealed class AllowNullAttribute : Attribute 33internal sealed class DisallowNullAttribute : Attribute 40internal sealed class MaybeNullAttribute : Attribute 47internal sealed class NotNullAttribute : Attribute 54internal sealed class MaybeNullWhenAttribute : Attribute 69internal sealed class NotNullWhenAttribute : Attribute 84internal sealed class NotNullIfNotNullAttribute : Attribute 99internal sealed class DoesNotReturnAttribute : Attribute 106internal sealed class DoesNotReturnIfAttribute : Attribute 123internal sealed class MemberNotNullAttribute : Attribute 144internal sealed class MemberNotNullWhenAttribute : Attribute
src\LegacySupport\ExperimentalAttribute\ExperimentalAttribute.cs (1)
24internal sealed class ExperimentalAttribute : Attribute
src\LegacySupport\SkipLocalsInitAttribute\SkipLocalsInitAttribute.cs (1)
36internal sealed class SkipLocalsInitAttribute : Attribute
src\LegacySupport\TrimAttributes\DynamicallyAccessedMembersAttribute.cs (1)
43internal sealed class DynamicallyAccessedMembersAttribute : Attribute
src\LegacySupport\TrimAttributes\DynamicDependencyAttribute.cs (1)
26internal sealed class DynamicDependencyAttribute : Attribute
src\LegacySupport\TrimAttributes\RequiresAssemblyFilesAttribute.cs (1)
26internal sealed class RequiresAssemblyFilesAttribute : Attribute
src\LegacySupport\TrimAttributes\RequiresUnreferencedCodeAttribute.cs (1)
26internal sealed class RequiresUnreferencedCodeAttribute : Attribute
src\LegacySupport\TrimAttributes\UnconditionalSuppressMessageAttribute.cs (1)
26internal sealed class UnconditionalSuppressMessageAttribute : Attribute
Microsoft.Extensions.Options.SourceGeneration (11)
src\libraries\System.Private.CoreLib\src\System\Diagnostics\CodeAnalysis\NullableAttributes.cs (11)
14sealed class AllowNullAttribute : Attribute { } 23sealed class DisallowNullAttribute : Attribute { } 32sealed class MaybeNullAttribute : Attribute { } 41sealed class NotNullAttribute : Attribute { } 50sealed class MaybeNullWhenAttribute : Attribute 69sealed class NotNullWhenAttribute : Attribute 88sealed class NotNullIfNotNullAttribute : Attribute 107sealed class DoesNotReturnAttribute : Attribute { } 116sealed class DoesNotReturnIfAttribute : Attribute 137sealed class MemberNotNullAttribute : Attribute 162sealed class MemberNotNullWhenAttribute : Attribute
Microsoft.Extensions.Resilience (18)
src\LegacySupport\CallerAttributes\CallerArgumentExpressionAttribute.cs (1)
17internal sealed class CallerArgumentExpressionAttribute : Attribute
src\LegacySupport\DiagnosticAttributes\NullableAttributes.cs (11)
26internal sealed class AllowNullAttribute : Attribute 33internal sealed class DisallowNullAttribute : Attribute 40internal sealed class MaybeNullAttribute : Attribute 47internal sealed class NotNullAttribute : Attribute 54internal sealed class MaybeNullWhenAttribute : Attribute 69internal sealed class NotNullWhenAttribute : Attribute 84internal sealed class NotNullIfNotNullAttribute : Attribute 99internal sealed class DoesNotReturnAttribute : Attribute 106internal sealed class DoesNotReturnIfAttribute : Attribute 123internal sealed class MemberNotNullAttribute : Attribute 144internal sealed class MemberNotNullWhenAttribute : Attribute
src\LegacySupport\SkipLocalsInitAttribute\SkipLocalsInitAttribute.cs (1)
36internal sealed class SkipLocalsInitAttribute : Attribute
src\LegacySupport\TrimAttributes\DynamicallyAccessedMembersAttribute.cs (1)
43internal sealed class DynamicallyAccessedMembersAttribute : Attribute
src\LegacySupport\TrimAttributes\DynamicDependencyAttribute.cs (1)
26internal sealed class DynamicDependencyAttribute : Attribute
src\LegacySupport\TrimAttributes\RequiresAssemblyFilesAttribute.cs (1)
26internal sealed class RequiresAssemblyFilesAttribute : Attribute
src\LegacySupport\TrimAttributes\RequiresUnreferencedCodeAttribute.cs (1)
26internal sealed class RequiresUnreferencedCodeAttribute : Attribute
src\LegacySupport\TrimAttributes\UnconditionalSuppressMessageAttribute.cs (1)
26internal sealed class UnconditionalSuppressMessageAttribute : Attribute
Microsoft.Extensions.Telemetry (18)
src\LegacySupport\CallerAttributes\CallerArgumentExpressionAttribute.cs (1)
17internal sealed class CallerArgumentExpressionAttribute : Attribute
src\LegacySupport\DiagnosticAttributes\NullableAttributes.cs (11)
26internal sealed class AllowNullAttribute : Attribute 33internal sealed class DisallowNullAttribute : Attribute 40internal sealed class MaybeNullAttribute : Attribute 47internal sealed class NotNullAttribute : Attribute 54internal sealed class MaybeNullWhenAttribute : Attribute 69internal sealed class NotNullWhenAttribute : Attribute 84internal sealed class NotNullIfNotNullAttribute : Attribute 99internal sealed class DoesNotReturnAttribute : Attribute 106internal sealed class DoesNotReturnIfAttribute : Attribute 123internal sealed class MemberNotNullAttribute : Attribute 144internal sealed class MemberNotNullWhenAttribute : Attribute
src\LegacySupport\SkipLocalsInitAttribute\SkipLocalsInitAttribute.cs (1)
36internal sealed class SkipLocalsInitAttribute : Attribute
src\LegacySupport\TrimAttributes\DynamicallyAccessedMembersAttribute.cs (1)
43internal sealed class DynamicallyAccessedMembersAttribute : Attribute
src\LegacySupport\TrimAttributes\DynamicDependencyAttribute.cs (1)
26internal sealed class DynamicDependencyAttribute : Attribute
src\LegacySupport\TrimAttributes\RequiresAssemblyFilesAttribute.cs (1)
26internal sealed class RequiresAssemblyFilesAttribute : Attribute
src\LegacySupport\TrimAttributes\RequiresUnreferencedCodeAttribute.cs (1)
26internal sealed class RequiresUnreferencedCodeAttribute : Attribute
src\LegacySupport\TrimAttributes\UnconditionalSuppressMessageAttribute.cs (1)
26internal sealed class UnconditionalSuppressMessageAttribute : Attribute
Microsoft.Extensions.Telemetry.Abstractions (29)
Logging\LogPropertiesAttribute.cs (1)
18public sealed class LogPropertiesAttribute : Attribute
Logging\LogPropertyIgnoreAttribute.cs (1)
16public sealed class LogPropertyIgnoreAttribute : Attribute
Logging\TagNameAttribute.cs (1)
19public sealed class TagNameAttribute : Attribute
Logging\TagProviderAttribute.cs (1)
16public sealed class TagProviderAttribute : Attribute
Metrics\CounterAttribute.cs (1)
33public sealed class CounterAttribute : Attribute
Metrics\CounterAttributeT.cs (1)
39public sealed class CounterAttribute<T> : Attribute
Metrics\GaugeAttribute.cs (1)
33public sealed class GaugeAttribute : Attribute
Metrics\HistogramAttribute.cs (1)
33public sealed class HistogramAttribute : Attribute
Metrics\HistogramAttributeT.cs (1)
39public sealed class HistogramAttribute<T> : Attribute
Metrics\TagNameAttribute.cs (1)
29public sealed class TagNameAttribute : Attribute
src\LegacySupport\CallerAttributes\CallerArgumentExpressionAttribute.cs (1)
17internal sealed class CallerArgumentExpressionAttribute : Attribute
src\LegacySupport\DiagnosticAttributes\NullableAttributes.cs (11)
26internal sealed class AllowNullAttribute : Attribute 33internal sealed class DisallowNullAttribute : Attribute 40internal sealed class MaybeNullAttribute : Attribute 47internal sealed class NotNullAttribute : Attribute 54internal sealed class MaybeNullWhenAttribute : Attribute 69internal sealed class NotNullWhenAttribute : Attribute 84internal sealed class NotNullIfNotNullAttribute : Attribute 99internal sealed class DoesNotReturnAttribute : Attribute 106internal sealed class DoesNotReturnIfAttribute : Attribute 123internal sealed class MemberNotNullAttribute : Attribute 144internal sealed class MemberNotNullWhenAttribute : Attribute
src\LegacySupport\ExperimentalAttribute\ExperimentalAttribute.cs (1)
24internal sealed class ExperimentalAttribute : Attribute
src\LegacySupport\SkipLocalsInitAttribute\SkipLocalsInitAttribute.cs (1)
36internal sealed class SkipLocalsInitAttribute : Attribute
src\LegacySupport\TrimAttributes\DynamicallyAccessedMembersAttribute.cs (1)
43internal sealed class DynamicallyAccessedMembersAttribute : Attribute
src\LegacySupport\TrimAttributes\DynamicDependencyAttribute.cs (1)
26internal sealed class DynamicDependencyAttribute : Attribute
src\LegacySupport\TrimAttributes\RequiresAssemblyFilesAttribute.cs (1)
26internal sealed class RequiresAssemblyFilesAttribute : Attribute
src\LegacySupport\TrimAttributes\RequiresUnreferencedCodeAttribute.cs (1)
26internal sealed class RequiresUnreferencedCodeAttribute : Attribute
src\LegacySupport\TrimAttributes\UnconditionalSuppressMessageAttribute.cs (1)
26internal sealed class UnconditionalSuppressMessageAttribute : Attribute
Microsoft.Gen.ContextualOptions.Generated.Tests (1)
test\Generators\Microsoft.Gen.ContextualOptions\TestClasses\ClassWithNoAttribute.cs (1)
14public sealed class OptionsContextAttribute : Attribute
Microsoft.Interop.ComInterfaceGenerator (12)
src\libraries\System.Private.CoreLib\src\System\Diagnostics\CodeAnalysis\NullableAttributes.cs (11)
14sealed class AllowNullAttribute : Attribute { } 23sealed class DisallowNullAttribute : Attribute { } 32sealed class MaybeNullAttribute : Attribute { } 41sealed class NotNullAttribute : Attribute { } 50sealed class MaybeNullWhenAttribute : Attribute 69sealed class NotNullWhenAttribute : Attribute 88sealed class NotNullIfNotNullAttribute : Attribute 107sealed class DoesNotReturnAttribute : Attribute { } 116sealed class DoesNotReturnIfAttribute : Attribute 137sealed class MemberNotNullAttribute : Attribute 162sealed class MemberNotNullWhenAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\Versioning\PlatformAttributes.cs (1)
15abstract class OSPlatformAttribute : Attribute
Microsoft.Interop.JavaScript.JSImportGenerator (12)
src\libraries\System.Private.CoreLib\src\System\Diagnostics\CodeAnalysis\NullableAttributes.cs (11)
14sealed class AllowNullAttribute : Attribute { } 23sealed class DisallowNullAttribute : Attribute { } 32sealed class MaybeNullAttribute : Attribute { } 41sealed class NotNullAttribute : Attribute { } 50sealed class MaybeNullWhenAttribute : Attribute 69sealed class NotNullWhenAttribute : Attribute 88sealed class NotNullIfNotNullAttribute : Attribute 107sealed class DoesNotReturnAttribute : Attribute { } 116sealed class DoesNotReturnIfAttribute : Attribute 137sealed class MemberNotNullAttribute : Attribute 162sealed class MemberNotNullWhenAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\Versioning\PlatformAttributes.cs (1)
15abstract class OSPlatformAttribute : Attribute
Microsoft.Interop.LibraryImportGenerator (12)
src\libraries\System.Private.CoreLib\src\System\Diagnostics\CodeAnalysis\NullableAttributes.cs (11)
14sealed class AllowNullAttribute : Attribute { } 23sealed class DisallowNullAttribute : Attribute { } 32sealed class MaybeNullAttribute : Attribute { } 41sealed class NotNullAttribute : Attribute { } 50sealed class MaybeNullWhenAttribute : Attribute 69sealed class NotNullWhenAttribute : Attribute 88sealed class NotNullIfNotNullAttribute : Attribute 107sealed class DoesNotReturnAttribute : Attribute { } 116sealed class DoesNotReturnIfAttribute : Attribute 137sealed class MemberNotNullAttribute : Attribute 162sealed class MemberNotNullWhenAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\Versioning\PlatformAttributes.cs (1)
15abstract class OSPlatformAttribute : Attribute
Microsoft.Interop.LibraryImportGenerator.Downlevel (12)
src\libraries\System.Private.CoreLib\src\System\Diagnostics\CodeAnalysis\NullableAttributes.cs (11)
14sealed class AllowNullAttribute : Attribute { } 23sealed class DisallowNullAttribute : Attribute { } 32sealed class MaybeNullAttribute : Attribute { } 41sealed class NotNullAttribute : Attribute { } 50sealed class MaybeNullWhenAttribute : Attribute 69sealed class NotNullWhenAttribute : Attribute 88sealed class NotNullIfNotNullAttribute : Attribute 107sealed class DoesNotReturnAttribute : Attribute { } 116sealed class DoesNotReturnIfAttribute : Attribute 137sealed class MemberNotNullAttribute : Attribute 162sealed class MemberNotNullWhenAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\Versioning\PlatformAttributes.cs (1)
15abstract class OSPlatformAttribute : Attribute
Microsoft.Interop.SourceGeneration (15)
src\libraries\System.Private.CoreLib\src\System\Diagnostics\CodeAnalysis\NullableAttributes.cs (11)
14sealed class AllowNullAttribute : Attribute { } 23sealed class DisallowNullAttribute : Attribute { } 32sealed class MaybeNullAttribute : Attribute { } 41sealed class NotNullAttribute : Attribute { } 50sealed class MaybeNullWhenAttribute : Attribute 69sealed class NotNullWhenAttribute : Attribute 88sealed class NotNullIfNotNullAttribute : Attribute 107sealed class DoesNotReturnAttribute : Attribute { } 116sealed class DoesNotReturnIfAttribute : Attribute 137sealed class MemberNotNullAttribute : Attribute 162sealed class MemberNotNullWhenAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Diagnostics\CodeAnalysis\SetsRequiredMembersAttribute.cs (1)
16sealed class SetsRequiredMembersAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\CompilerFeatureRequiredAttribute.cs (1)
10public sealed class CompilerFeatureRequiredAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\RequiredMemberAttribute.cs (1)
16sealed class RequiredMemberAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\Versioning\PlatformAttributes.cs (1)
15abstract class OSPlatformAttribute : Attribute
Microsoft.JSInterop (1)
JSInvokableAttribute.cs (1)
12public sealed class JSInvokableAttribute : Attribute
Microsoft.Maui (3)
Attributes\MissingMapperAttribute.cs (1)
7 public class MissingMapperAttribute : Attribute
Attributes\PortHandlerAttribute.cs (1)
7 public class PortHandlerAttribute : Attribute
HotReload\OnHotReloadAttribute.cs (1)
5 public class OnHotReloadAttribute : Attribute
Microsoft.Maui.Controls (20)
ContentPropertyAttribute.cs (1)
17 public sealed class ContentPropertyAttribute : Attribute
DependencyAttribute.cs (1)
9 public sealed class DependencyAttribute : Attribute
ExportEffectAttribute.cs (1)
11 public sealed class ExportEffectAttribute : Attribute
ExportFontAttribute.cs (1)
8 public class ExportFontAttribute : Attribute
HandlerAttribute.cs (1)
10 public abstract class HandlerAttribute : Attribute
IMarkupExtension.cs (2)
18 public sealed class AcceptEmptyServiceProviderAttribute : Attribute 23 public sealed class RequireServiceAttribute : Attribute
Internals\PreserveAttribute.cs (1)
10 public sealed class PreserveAttribute : Attribute
ParameterAttribute.cs (1)
7 internal sealed class ParameterAttribute : Attribute
ProvideCompiledAttribute.cs (1)
10 sealed class ProvideCompiledAttribute : Attribute
RenderWithAttribute.cs (1)
9 public sealed class RenderWithAttribute : Attribute
ResolutionGroupNameAttribute.cs (1)
8 public sealed class ResolutionGroupNameAttribute : Attribute
RuntimeNamePropertyAttribute.cs (1)
7 internal sealed class RuntimeNamePropertyAttribute : Attribute
Shell\QueryPropertyAttribute.cs (1)
10 public class QueryPropertyAttribute : Attribute
StyleSheets\StylePropertyAttribute.cs (1)
8 sealed class StylePropertyAttribute : Attribute
Visuals\VisualAttribute.cs (1)
9 public class VisualAttribute : Attribute
Xaml\DoesNotInheritDataTypeAttribute.cs (1)
6 internal class DoesNotInheritDataTypeAttribute : Attribute
Xaml\XamlResourceIdAttribute.cs (1)
11 public sealed class XamlResourceIdAttribute : Attribute
XmlnsDefinitionAttribute.cs (1)
10 public sealed class XmlnsDefinitionAttribute : Attribute
XmlnsPrefixAttribute.cs (1)
8 public sealed class XmlnsPrefixAttribute : Attribute
Microsoft.Maui.Controls.SourceGen (1)
src\Controls\src\Core\XmlnsDefinitionAttribute.cs (1)
10 public sealed class XmlnsDefinitionAttribute : Attribute
Microsoft.Maui.Controls.Xaml (2)
XamlCompilationAttribute.cs (1)
15 public sealed class XamlCompilationAttribute : Attribute
XamlFilePathAttribute.cs (1)
9 public sealed class XamlFilePathAttribute : Attribute
Microsoft.Maui.Graphics (2)
XmlnsDefinitionAttribute.cs (1)
8 internal sealed class XmlnsDefinitionAttribute : Attribute
XmlnsPrefixAttribute.cs (1)
6 public sealed class XmlnsPrefixAttribute : Attribute
Microsoft.ML.Core (19)
BestFriendAttribute.cs (2)
25internal sealed class BestFriendAttribute : Attribute 36internal sealed class WantsToBeBestFriendsAttribute : Attribute
CommandLine\ArgumentAttribute.cs (1)
18internal class ArgumentAttribute : Attribute
CommandLine\EnumValueDisplayAttribute.cs (1)
14internal sealed class EnumValueDisplayAttribute : Attribute
CommandLine\HideEnumValueAttribute.cs (1)
14internal sealed class HideEnumValueAttribute : Attribute
ComponentModel\ExtensionBaseAttribute.cs (1)
13public abstract class ExtensionBaseAttribute : Attribute
ComponentModel\LoadableClassAttribute.cs (1)
104internal abstract class LoadableClassAttributeBase : Attribute
EntryPoints\ModuleArgs.cs (8)
25public sealed class ComponentAttribute : Attribute 83public sealed class ComponentKindAttribute : Attribute 98public sealed class EntryPointKindAttribute : Attribute 112public sealed class OutputAttribute : Attribute 136public sealed class OptionalInputAttribute : Attribute { } 142public sealed class RangeAttribute : Attribute 281public abstract class SweepableParamAttribute : Attribute 507public sealed class EntryPointAttribute : Attribute
SearchSpace\BoolearnChoiceAttribute.cs (1)
13public sealed class BooleanChoiceAttribute : Attribute
SearchSpace\ChoiceAttribute.cs (1)
15public sealed class ChoiceAttribute : Attribute
SearchSpace\NestOptionAttribute.cs (1)
13public sealed class NestOptionAttribute : Attribute
SearchSpace\RangeAttribute.cs (1)
13public sealed class RangeAttribute : Attribute
Microsoft.ML.CpuMath (2)
src\Microsoft.ML.Core\BestFriendAttribute.cs (2)
25internal sealed class BestFriendAttribute : Attribute 36internal sealed class WantsToBeBestFriendsAttribute : Attribute
Microsoft.ML.Data (9)
Data\SchemaDefinition.cs (5)
21public sealed class KeyTypeAttribute : Attribute 58public sealed class VectorTypeAttribute : Attribute 104public sealed class ColumnNameAttribute : Attribute 125public sealed class NoColumnAttribute : Attribute 135internal sealed class CursorChannelAttribute : Attribute
DataLoadSave\Database\LoadColumnNameAttribute.cs (1)
15public sealed class LoadColumnNameAttribute : Attribute
DataLoadSave\Text\LoadColumnAttribute.cs (1)
15public sealed class LoadColumnAttribute : Attribute
Deprecated\TGUIAttribute.cs (1)
13internal sealed class TGUIAttribute : Attribute
Scorers\PredictionTransformer.cs (1)
847internal class PredictionTransformerLoadTypeAttribute : Attribute
Microsoft.ML.DataView (1)
DataViewType.cs (1)
476public abstract class DataViewTypeAttribute : Attribute, IEquatable<DataViewTypeAttribute>
Microsoft.ML.PerformanceTests (1)
Helpers\CIBenchmark.cs (1)
13public sealed class CIBenchmark : Attribute
Microsoft.ML.TestFrameworkCommon (1)
Attributes\LoggingLevelAttribute.cs (1)
14public sealed class LogMessageKind : Attribute
Microsoft.ML.TorchSharp (1)
Utils\IntrinsicAttribute.cs (1)
15internal sealed class IntrinsicAttribute : Attribute
Microsoft.TestUtilities (1)
XUnit\OSSkipConditionAttribute.cs (1)
15public class OSSkipConditionAttribute : Attribute, ITestCondition
Microsoft.VisualBasic.Core (9)
Microsoft\VisualBasic\ComClassAttribute.vb (1)
13Inherits Attribute
Microsoft\VisualBasic\CompilerServices\DesignerGeneratedAttribute.vb (1)
23Inherits Attribute
Microsoft\VisualBasic\CompilerServices\OptionCompareAttribute.vb (1)
21Inherits Attribute
Microsoft\VisualBasic\CompilerServices\OptionTextAttribute.vb (1)
20Inherits Attribute
Microsoft\VisualBasic\CompilerServices\StandardModuleAttribute.vb (1)
21Inherits Attribute
Microsoft\VisualBasic\HideModuleNameAttribute.vb (1)
19Inherits Global.System.Attribute
Microsoft\VisualBasic\MyGroupCollectionAttribute.vb (1)
21Public NotInheritable Class MyGroupCollectionAttribute : Inherits Attribute
Microsoft\VisualBasic\VBFixedArrayAttribute.vb (1)
13Inherits Attribute
Microsoft\VisualBasic\VBFixedStringAttribute.vb (1)
13Inherits Attribute
Microsoft.Web.Xdt.Extensions (1)
src\Shared\CallerArgument\CallerArgumentExpressionAttribute.cs (1)
10internal sealed class CallerArgumentExpressionAttribute : Attribute
MSBuildTaskHost (16)
CallerArgumentExpressionAttribute.cs (1)
8internal sealed class CallerArgumentExpressionAttribute : Attribute
NullableAttributes.cs (11)
15internal sealed class AllowNullAttribute : Attribute { } 19internal sealed class DisallowNullAttribute : Attribute { } 23internal sealed class MaybeNullAttribute : Attribute { } 27internal sealed class NotNullAttribute : Attribute { } 31internal sealed class MaybeNullWhenAttribute : Attribute 45internal sealed class NotNullWhenAttribute : Attribute 59internal sealed class NotNullIfNotNullAttribute : Attribute 73internal sealed class DoesNotReturnAttribute : Attribute { } 77internal sealed class DoesNotReturnIfAttribute : Attribute 96internal sealed class MemberNotNullAttribute : Attribute 116internal sealed class MemberNotNullWhenAttribute : Attribute
RunInSTAAttribute.cs (1)
16public sealed class RunInSTAAttribute : Attribute
StringSyntaxAttribute.cs (1)
9internal sealed class StringSyntaxAttribute : Attribute
SupportedOSPlatform.cs (2)
13internal class SupportedOSPlatformGuard : Attribute 20internal class SupportedOSPlatform : Attribute
Mvc.Api.Analyzers.Test (1)
TestFiles\SymbolApiResponseMetadataProviderTest\GetResponseMetadataTests.cs (1)
57public class CustomResponseTypeAttribute : Attribute, IApiResponseMetadataProvider
Mvc.RoutingWebSite (2)
HttpMergeAttribute.cs (1)
9public class HttpMergeAttribute : Attribute, IActionHttpMethodProvider, IRouteTemplateProvider
Infrastructure\MetadataAttribute.cs (1)
6internal class MetadataAttribute : Attribute
PresentationCore (3)
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\CommonDependencyPropertyAttribute.cs (1)
21internal sealed class CommonDependencyPropertyAttribute : Attribute
System\Windows\LocalizabilityAttribute.cs (1)
28public sealed class LocalizabilityAttribute : Attribute
System\Windows\Resources\AssemblyAssociatedContentFileAttribute.cs (1)
20public sealed class AssemblyAssociatedContentFileAttribute : Attribute
PresentationFramework (10)
MS\Internal\WindowsRuntime\Generated\WinRT\Attributes.cs (3)
10internal sealed class ProjectedRuntimeClassAttribute : Attribute 22internal sealed class ObjectReferenceWrapperAttribute : Attribute 37internal sealed class WindowsRuntimeTypeAttribute : Attribute
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\CommonDependencyPropertyAttribute.cs (1)
21internal sealed class CommonDependencyPropertyAttribute : Attribute
System\Windows\Data\ValueConversionAttribute.cs (1)
36public sealed class ValueConversionAttribute : Attribute
System\Windows\Documents\TextElementEditingBehaviorAttribute.cs (1)
11public sealed class TextElementEditingBehaviorAttribute : System.Attribute
System\Windows\StyleTypedPropertyAttribute.cs (1)
12public sealed class StyleTypedPropertyAttribute : Attribute
System\Windows\TemplatePartAttribute.cs (1)
15public sealed class TemplatePartAttribute : Attribute
System\Windows\TemplateVisualStateAttribute.cs (1)
12public sealed class TemplateVisualStateAttribute : Attribute
System\Windows\ThemeInfoAttribute.cs (1)
14public sealed class ThemeInfoAttribute : Attribute
RazorPagesWebSite (8)
ModelWithPageFilter.cs (1)
26public class HandlerChangingPageFilterAttribute : Attribute, IPageFilter
Pages\Filters\TestPageFilter.cs (1)
8public class TestPageFilter : Attribute, IPageFilter
Pages\Filters\TestPageModelFilter.cs (1)
8public class TestPageModelFilter : Attribute, IResourceFilter
Pages\ShortCircuitPageAtAuthFilter.cshtml.cs (2)
25private class AsyncTestAuthorizationFilterAttribute : Attribute, IAsyncAuthorizationFilter 37private class SyncTestAuthorizationFilterAttribute : Attribute, IAuthorizationFilter
Pages\ShortCircuitPageAtPageFilter.cshtml.cs (2)
25private class AsyncTestPageFilterAttribute : Attribute, IAsyncPageFilter 45private class SyncTestPageFilterAttribute : Attribute, IPageFilter
Pages\ViewDataAvailableAfterHandlerExecuted.cshtml.cs (1)
18private class TestPageFilterAttribute : Attribute, IPageFilter
Replay (3)
src\Compilers\Core\Portable\CommitHashAttribute.cs (1)
10internal sealed class CommitHashAttribute : Attribute
src\Compilers\Core\Portable\InternalUtilities\InterpolatedStringHandlerArgumentAttribute.cs (1)
19internal sealed class InterpolatedStringHandlerArgumentAttribute : Attribute
src\Compilers\Core\Portable\InternalUtilities\InterpolatedStringHandlerAttribute.cs (1)
19internal sealed class InterpolatedStringHandlerAttribute : Attribute
RoutingSandbox (2)
UseEndpointRoutingStartup.cs (2)
107private class AuthorizeAttribute : Attribute 112private class HttpGetAttribute : Attribute, IHttpMethodMetadata
Shared (19)
src\LegacySupport\CallerAttributes\CallerArgumentExpressionAttribute.cs (1)
17internal sealed class CallerArgumentExpressionAttribute : Attribute
src\LegacySupport\DiagnosticAttributes\NullableAttributes.cs (11)
26internal sealed class AllowNullAttribute : Attribute 33internal sealed class DisallowNullAttribute : Attribute 40internal sealed class MaybeNullAttribute : Attribute 47internal sealed class NotNullAttribute : Attribute 54internal sealed class MaybeNullWhenAttribute : Attribute 69internal sealed class NotNullWhenAttribute : Attribute 84internal sealed class NotNullIfNotNullAttribute : Attribute 99internal sealed class DoesNotReturnAttribute : Attribute 106internal sealed class DoesNotReturnIfAttribute : Attribute 123internal sealed class MemberNotNullAttribute : Attribute 144internal sealed class MemberNotNullWhenAttribute : Attribute
src\LegacySupport\SkipLocalsInitAttribute\SkipLocalsInitAttribute.cs (1)
36internal sealed class SkipLocalsInitAttribute : Attribute
src\LegacySupport\StringSyntaxAttribute\StringSyntaxAttribute.cs (1)
14internal sealed class StringSyntaxAttribute : Attribute
src\LegacySupport\TrimAttributes\DynamicallyAccessedMembersAttribute.cs (1)
43internal sealed class DynamicallyAccessedMembersAttribute : Attribute
src\LegacySupport\TrimAttributes\DynamicDependencyAttribute.cs (1)
26internal sealed class DynamicDependencyAttribute : Attribute
src\LegacySupport\TrimAttributes\RequiresAssemblyFilesAttribute.cs (1)
26internal sealed class RequiresAssemblyFilesAttribute : Attribute
src\LegacySupport\TrimAttributes\RequiresUnreferencedCodeAttribute.cs (1)
26internal sealed class RequiresUnreferencedCodeAttribute : Attribute
src\LegacySupport\TrimAttributes\UnconditionalSuppressMessageAttribute.cs (1)
26internal sealed class UnconditionalSuppressMessageAttribute : Attribute
Sockets.BindTests (5)
src\Servers\Kestrel\shared\test\TransportTestHelpers\HostNameIsReachableAttribute.cs (1)
13public class HostNameIsReachableAttribute : Attribute, ITestCondition
src\Servers\Kestrel\shared\test\TransportTestHelpers\IPv6ScopeIdPresentConditionAttribute.cs (1)
12public class IPv6ScopeIdPresentConditionAttribute : Attribute, ITestCondition
src\Servers\Kestrel\shared\test\TransportTestHelpers\IPv6SupportedConditionAttribute.cs (1)
12public class IPv6SupportedConditionAttribute : Attribute, ITestCondition
src\Servers\Kestrel\shared\test\TransportTestHelpers\NamedPipesSupportedAttribute.cs (1)
7public class NamedPipesSupportedAttribute : Attribute, ITestCondition
src\Servers\Kestrel\shared\test\TransportTestHelpers\TlsAlpnSupportedAttribute.cs (1)
7public class TlsAlpnSupportedAttribute : Attribute, ITestCondition
Sockets.FunctionalTests (5)
src\Servers\Kestrel\shared\test\TransportTestHelpers\HostNameIsReachableAttribute.cs (1)
13public class HostNameIsReachableAttribute : Attribute, ITestCondition
src\Servers\Kestrel\shared\test\TransportTestHelpers\IPv6ScopeIdPresentConditionAttribute.cs (1)
12public class IPv6ScopeIdPresentConditionAttribute : Attribute, ITestCondition
src\Servers\Kestrel\shared\test\TransportTestHelpers\IPv6SupportedConditionAttribute.cs (1)
12public class IPv6SupportedConditionAttribute : Attribute, ITestCondition
src\Servers\Kestrel\shared\test\TransportTestHelpers\NamedPipesSupportedAttribute.cs (1)
7public class NamedPipesSupportedAttribute : Attribute, ITestCondition
src\Servers\Kestrel\shared\test\TransportTestHelpers\TlsAlpnSupportedAttribute.cs (1)
7public class TlsAlpnSupportedAttribute : Attribute, ITestCondition
System.Collections.Immutable (1)
src\libraries\Common\src\System\Runtime\Versioning\NonVersionableAttribute.cs (1)
26internal sealed class NonVersionableAttribute : Attribute
System.ComponentModel.Annotations (20)
System\ComponentModel\DataAnnotations\AssociationAttribute.cs (1)
14public sealed class AssociationAttribute : Attribute
System\ComponentModel\DataAnnotations\ConcurrencyCheckAttribute.cs (1)
11public sealed class ConcurrencyCheckAttribute : Attribute
System\ComponentModel\DataAnnotations\DisplayAttribute.cs (1)
17public sealed class DisplayAttribute : Attribute
System\ComponentModel\DataAnnotations\DisplayColumnAttribute.cs (1)
11public class DisplayColumnAttribute : Attribute
System\ComponentModel\DataAnnotations\DisplayFormatAttribute.cs (1)
13public class DisplayFormatAttribute : Attribute
System\ComponentModel\DataAnnotations\EditableAttribute.cs (1)
17public sealed class EditableAttribute : Attribute
System\ComponentModel\DataAnnotations\FilterUIHintAttribute.cs (1)
14public sealed class FilterUIHintAttribute : Attribute
System\ComponentModel\DataAnnotations\KeyAttribute.cs (1)
10public sealed class KeyAttribute : Attribute
System\ComponentModel\DataAnnotations\MetadataTypeAttribute.cs (1)
13public sealed class MetadataTypeAttribute : Attribute
System\ComponentModel\DataAnnotations\ScaffoldColumnAttribute.cs (1)
7public class ScaffoldColumnAttribute : Attribute
System\ComponentModel\DataAnnotations\Schema\ColumnAttribute.cs (1)
13public class ColumnAttribute : Attribute
System\ComponentModel\DataAnnotations\Schema\ComplexTypeAttribute.cs (1)
13public class ComplexTypeAttribute : Attribute
System\ComponentModel\DataAnnotations\Schema\DatabaseGeneratedAttribute.cs (1)
10public class DatabaseGeneratedAttribute : Attribute
System\ComponentModel\DataAnnotations\Schema\ForeignKeyAttribute.cs (1)
14public class ForeignKeyAttribute : Attribute
System\ComponentModel\DataAnnotations\Schema\InversePropertyAttribute.cs (1)
12public class InversePropertyAttribute : Attribute
System\ComponentModel\DataAnnotations\Schema\NotMappedAttribute.cs (1)
10public class NotMappedAttribute : Attribute
System\ComponentModel\DataAnnotations\Schema\TableAttribute.cs (1)
13public class TableAttribute : Attribute
System\ComponentModel\DataAnnotations\TimestampAttribute.cs (1)
10public sealed class TimestampAttribute : Attribute
System\ComponentModel\DataAnnotations\UIHintAttribute.cs (1)
16public class UIHintAttribute : Attribute
System\ComponentModel\DataAnnotations\ValidationAttribute.cs (1)
22public abstract class ValidationAttribute : Attribute
System.ComponentModel.Composition (11)
System\ComponentModel\Composition\CatalogReflectionContextAttribute.cs (1)
14public class CatalogReflectionContextAttribute : Attribute
System\ComponentModel\Composition\ExportAttribute.cs (1)
13public class ExportAttribute : Attribute
System\ComponentModel\Composition\ExportMetadataAttribute.cs (1)
12public sealed class ExportMetadataAttribute : Attribute
System\ComponentModel\Composition\ImportAttribute.cs (1)
14public class ImportAttribute : Attribute, IAttributedImport
System\ComponentModel\Composition\ImportingConstructorAttribute.cs (1)
17public class ImportingConstructorAttribute : Attribute
System\ComponentModel\Composition\ImportManyAttribute.cs (1)
14public class ImportManyAttribute : Attribute, IAttributedImport
System\ComponentModel\Composition\MetadataAttributeAttribute.cs (1)
11public sealed class MetadataAttributeAttribute : Attribute
System\ComponentModel\Composition\MetadataViewImplementationAttribute.cs (1)
10public sealed class MetadataViewImplementationAttribute : Attribute
System\ComponentModel\Composition\PartCreationPolicyAttribute.cs (1)
10public sealed class PartCreationPolicyAttribute : Attribute
System\ComponentModel\Composition\PartMetadataAttribute.cs (1)
11public sealed class PartMetadataAttribute : Attribute
System\ComponentModel\Composition\PartNotDiscoverableAttribute.cs (1)
11public sealed class PartNotDiscoverableAttribute : Attribute
System.ComponentModel.Primitives (18)
System\ComponentModel\BrowsableAttribute.cs (1)
13public sealed class BrowsableAttribute : Attribute
System\ComponentModel\CategoryAttribute.cs (1)
13public class CategoryAttribute : Attribute
System\ComponentModel\DescriptionAttribute.cs (1)
12public class DescriptionAttribute : Attribute
System\ComponentModel\Design\Serialization\DesignerSerializerAttribute.cs (1)
12public sealed class DesignerSerializerAttribute : Attribute
System\ComponentModel\DesignerAttribute.cs (1)
12public sealed class DesignerAttribute : Attribute
System\ComponentModel\DesignerCategoryAttribute.cs (1)
12public sealed class DesignerCategoryAttribute : Attribute
System\ComponentModel\DesignerSerializationVisibilityAttribute.cs (1)
13public sealed class DesignerSerializationVisibilityAttribute : Attribute
System\ComponentModel\DesignOnlyAttribute.cs (1)
12public sealed class DesignOnlyAttribute : Attribute
System\ComponentModel\DisplayNameAttribute.cs (1)
13public class DisplayNameAttribute : Attribute
System\ComponentModel\EditorAttribute.cs (1)
12public sealed class EditorAttribute : Attribute
System\ComponentModel\ImmutableObjectAttribute.cs (1)
12public sealed class ImmutableObjectAttribute : Attribute
System\ComponentModel\InitializationEventAttribute.cs (1)
10public sealed class InitializationEventAttribute : Attribute
System\ComponentModel\LocalizableAttribute.cs (1)
12public sealed class LocalizableAttribute : Attribute
System\ComponentModel\MergablePropertyAttribute.cs (1)
13public sealed class MergablePropertyAttribute : Attribute
System\ComponentModel\NotifyParentPropertyAttribute.cs (1)
13public sealed class NotifyParentPropertyAttribute : Attribute
System\ComponentModel\ParenthesizePropertyNameAttribute.cs (1)
13public sealed class ParenthesizePropertyNameAttribute : Attribute
System\ComponentModel\ReadOnlyAttribute.cs (1)
13public sealed class ReadOnlyAttribute : Attribute
System\ComponentModel\RefreshPropertiesAttribute.cs (1)
12public sealed class RefreshPropertiesAttribute : Attribute
System.ComponentModel.TypeConverter (28)
System\ComponentModel\AmbientValueAttribute.cs (1)
15public sealed class AmbientValueAttribute : Attribute
System\ComponentModel\AttributeProviderAttribute.cs (1)
9public class AttributeProviderAttribute : Attribute
System\ComponentModel\BindableAttribute.cs (1)
12public sealed class BindableAttribute : Attribute
System\ComponentModel\ComplexBindingPropertiesAttribute.cs (1)
12public sealed class ComplexBindingPropertiesAttribute : Attribute
System\ComponentModel\DataObjectAttribute.cs (1)
9public sealed class DataObjectAttribute : Attribute
System\ComponentModel\DataObjectFieldAttribute.cs (1)
13public sealed class DataObjectFieldAttribute : Attribute
System\ComponentModel\DataObjectMethodAttribute.cs (1)
9public sealed class DataObjectMethodAttribute : Attribute
System\ComponentModel\DefaultBindingPropertyAttribute.cs (1)
12public sealed class DefaultBindingPropertyAttribute : Attribute
System\ComponentModel\DefaultEventAttribute.cs (1)
12public sealed class DefaultEventAttribute : Attribute
System\ComponentModel\DefaultPropertyAttribute.cs (1)
12public sealed class DefaultPropertyAttribute : Attribute
System\ComponentModel\Design\HelpKeywordAttribute.cs (1)
45public sealed class HelpKeywordAttribute : Attribute
System\ComponentModel\Design\PropertyTabAttribute.cs (1)
15public class PropertyTabAttribute : Attribute
System\ComponentModel\Design\Serialization\DefaultSerializationProviderAttribute.cs (1)
14public sealed class DefaultSerializationProviderAttribute : Attribute
System\ComponentModel\Design\Serialization\RootDesignerSerializerAttribute.cs (1)
13public sealed class RootDesignerSerializerAttribute : Attribute
System\ComponentModel\DesignTimeVisibleAttribute.cs (1)
15public sealed class DesignTimeVisibleAttribute : Attribute
System\ComponentModel\ExtenderProvidedPropertyAttribute.cs (1)
14public sealed class ExtenderProvidedPropertyAttribute : Attribute
System\ComponentModel\InheritanceAttribute.cs (1)
13public sealed class InheritanceAttribute : Attribute
System\ComponentModel\InstallerTypeAttribute.cs (1)
12public class InstallerTypeAttribute : Attribute
System\ComponentModel\LicenseProviderAttribute.cs (1)
13public sealed class LicenseProviderAttribute : Attribute
System\ComponentModel\ListBindableAttribute.cs (1)
9public sealed class ListBindableAttribute : Attribute
System\ComponentModel\LookupBindingPropertiesAttribute.cs (1)
12public sealed class LookupBindingPropertiesAttribute : Attribute
System\ComponentModel\PasswordPropertyTextAttribute.cs (1)
14public sealed class PasswordPropertyTextAttribute : Attribute
System\ComponentModel\ProvidePropertyAttribute.cs (1)
12public sealed class ProvidePropertyAttribute : Attribute
System\ComponentModel\RecommendedAsConfigurableAttribute.cs (1)
13public class RecommendedAsConfigurableAttribute : Attribute
System\ComponentModel\RunInstallerAttribute.cs (1)
13public class RunInstallerAttribute : Attribute
System\ComponentModel\SettingsBindableAttribute.cs (1)
13public sealed class SettingsBindableAttribute : Attribute
System\ComponentModel\ToolboxItemAttribute.cs (1)
13public class ToolboxItemAttribute : Attribute
System\ComponentModel\ToolboxItemFilterAttribute.cs (1)
44public sealed class ToolboxItemFilterAttribute : Attribute
System.Composition.AttributedModel (11)
System\Composition\ExportAttribute.cs (1)
13public class ExportAttribute : Attribute
System\Composition\ExportMetadataAttribute.cs (1)
12public sealed class ExportMetadataAttribute : Attribute
System\Composition\ImportAttribute.cs (1)
13public class ImportAttribute : Attribute
System\Composition\ImportingConstructorAttribute.cs (1)
15public sealed class ImportingConstructorAttribute : Attribute
System\Composition\ImportManyAttribute.cs (1)
13public class ImportManyAttribute : Attribute
System\Composition\ImportMetadataConstraintAttribute.cs (1)
10public sealed class ImportMetadataConstraintAttribute : Attribute
System\Composition\MetadataAttributeAttribute.cs (1)
12public sealed class MetadataAttributeAttribute : Attribute
System\Composition\OnImportsSatisfiedAttribute.cs (1)
12public sealed class OnImportsSatisfiedAttribute : Attribute
System\Composition\PartMetadataAttribute.cs (1)
10public class PartMetadataAttribute : Attribute
System\Composition\PartNotDiscoverableAttribute.cs (1)
10public sealed class PartNotDiscoverableAttribute : Attribute
System\Composition\SharingBoundaryAttribute.cs (1)
22public sealed class SharingBoundaryAttribute : Attribute
System.Configuration.ConfigurationManager (13)
System\Configuration\ConfigurationCollectionAttribute.cs (1)
11public sealed class ConfigurationCollectionAttribute : Attribute
System\Configuration\ConfigurationPropertyAttribute.cs (1)
7public sealed class ConfigurationPropertyAttribute : Attribute
System\Configuration\ConfigurationValidatorAttribute.cs (1)
9public class ConfigurationValidatorAttribute : Attribute
System\Configuration\DefaultSettingValueAttribute.cs (1)
13public sealed class DefaultSettingValueAttribute : Attribute
System\Configuration\NoSettingsVersionUpgradeAttribute.cs (1)
11public sealed class NoSettingsVersionUpgradeAttribute : Attribute
System\Configuration\SettingAttribute.cs (1)
12public class SettingAttribute : Attribute
System\Configuration\SettingsDescriptionAttribute.cs (1)
10public sealed class SettingsDescriptionAttribute : Attribute
System\Configuration\SettingsGroupDescriptionAttribute.cs (1)
10public sealed class SettingsGroupDescriptionAttribute : Attribute
System\Configuration\SettingsGroupNameAttribute.cs (1)
10public sealed class SettingsGroupNameAttribute : Attribute
System\Configuration\SettingsManageabilityAttribute.cs (1)
10public sealed class SettingsManageabilityAttribute : Attribute
System\Configuration\SettingsProviderAttribute.cs (1)
10public sealed class SettingsProviderAttribute : Attribute
System\Configuration\SettingsSerializeAsAttribute.cs (1)
10public sealed class SettingsSerializeAsAttribute : Attribute
System\Configuration\SpecialSettingAttribute.cs (1)
12public sealed class SpecialSettingAttribute : Attribute
System.Data.Common (1)
System\Data\Common\DbProviderSpecificTypePropertyAttribute.cs (1)
7public sealed class DbProviderSpecificTypePropertyAttribute : System.Attribute
System.Diagnostics.TraceSource (2)
System\Diagnostics\SwitchAttribute.cs (1)
12public sealed class SwitchAttribute : Attribute
System\Diagnostics\SwitchLevelAttribute.cs (1)
9public sealed class SwitchLevelAttribute : Attribute
System.DirectoryServices.AccountManagement (3)
artifacts\obj\System.DirectoryServices.AccountManagement\Debug\net10.0\System.DirectoryServices.AccountManagement.notsupported.cs (3)
93public sealed partial class DirectoryObjectClassAttribute : System.Attribute 100public sealed partial class DirectoryPropertyAttribute : System.Attribute 107public sealed partial class DirectoryRdnPrefixAttribute : System.Attribute
System.Drawing.Common (18)
Special\NotSupported.cs (3)
48public partial class BitmapSuffixInSameAssemblyAttribute : System.Attribute 54public partial class BitmapSuffixInSatelliteAssemblyAttribute : System.Attribute 1356public partial class ToolboxBitmapAttribute : System.Attribute
Special\NullableAttributes.cs (11)
14sealed class AllowNullAttribute : Attribute 24sealed class DisallowNullAttribute : Attribute 34sealed class MaybeNullAttribute : Attribute 44sealed class NotNullAttribute : Attribute 54sealed class MaybeNullWhenAttribute : Attribute 73sealed class NotNullWhenAttribute : Attribute 92sealed class NotNullIfNotNullAttribute : Attribute 111sealed class DoesNotReturnAttribute : Attribute 121sealed class DoesNotReturnIfAttribute : Attribute 142sealed class MemberNotNullAttribute : Attribute 167sealed class MemberNotNullWhenAttribute : Attribute
Special\ObsoleteAttribute.cs (1)
29internal sealed class ObsoleteAttribute : Attribute
Special\RequiresUnreferencedCodeAttribute.cs (1)
22sealed class RequiresUnreferencedCodeAttribute : Attribute
Special\UnconditionalSuppressMessageAttribute.cs (1)
22sealed class UnconditionalSuppressMessageAttribute : Attribute
src\Common\src\PlatformAttributes.cs (1)
14abstract class OSPlatformAttribute : Attribute
System.Linq.Expressions (1)
System\Runtime\CompilerServices\DynamicAttribute.cs (1)
12public sealed class DynamicAttribute : Attribute
System.Net.Quic (1)
System\Net\Quic\Interop\msquic.cs (1)
97internal sealed class NativeTypeNameAttribute : Attribute
System.ObjectModel (3)
System\ComponentModel\TypeConverterAttribute.cs (1)
13public sealed class TypeConverterAttribute : Attribute
System\ComponentModel\TypeDescriptionProviderAttribute.cs (1)
9public sealed class TypeDescriptionProviderAttribute : Attribute
System\Windows\Markup\ValueSerializerAttribute.cs (1)
17public sealed class ValueSerializerAttribute : Attribute
System.Private.CoreLib (221)
src\libraries\Common\src\System\Runtime\Versioning\NonVersionableAttribute.cs (1)
26internal sealed class NonVersionableAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\AttributeUsageAttribute.cs (1)
10public sealed class AttributeUsageAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\CLSCompliantAttribute.cs (1)
10public sealed class CLSCompliantAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\CodeDom\Compiler\GeneratedCodeAttribute.cs (1)
7public sealed class GeneratedCodeAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\ComponentModel\DefaultValueAttribute.cs (1)
16public class DefaultValueAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\ComponentModel\EditorBrowsableAttribute.cs (1)
9public sealed class EditorBrowsableAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Context.cs (1)
40public partial class ContextStaticAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Diagnostics\CodeAnalysis\ConstantExpectedAttribute.cs (1)
13public sealed class ConstantExpectedAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Diagnostics\CodeAnalysis\DynamicallyAccessedMembersAttribute.cs (1)
38sealed class DynamicallyAccessedMembersAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Diagnostics\CodeAnalysis\DynamicDependencyAttribute.cs (1)
21sealed class DynamicDependencyAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Diagnostics\CodeAnalysis\ExcludeFromCodeCoverageAttribute.cs (1)
7public sealed class ExcludeFromCodeCoverageAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Diagnostics\CodeAnalysis\ExperimentalAttribute.cs (1)
30sealed class ExperimentalAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Diagnostics\CodeAnalysis\FeatureGuardAttribute.cs (1)
21sealed class FeatureGuardAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Diagnostics\CodeAnalysis\FeatureSwitchDefinitionAttribute.cs (1)
20sealed class FeatureSwitchDefinitionAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Diagnostics\CodeAnalysis\NullableAttributes.cs (11)
14sealed class AllowNullAttribute : Attribute { } 23sealed class DisallowNullAttribute : Attribute { } 32sealed class MaybeNullAttribute : Attribute { } 41sealed class NotNullAttribute : Attribute { } 50sealed class MaybeNullWhenAttribute : Attribute 69sealed class NotNullWhenAttribute : Attribute 88sealed class NotNullIfNotNullAttribute : Attribute 107sealed class DoesNotReturnAttribute : Attribute { } 116sealed class DoesNotReturnIfAttribute : Attribute 137sealed class MemberNotNullAttribute : Attribute 162sealed class MemberNotNullWhenAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Diagnostics\CodeAnalysis\RequiresAssemblyFilesAttribute.cs (1)
20sealed class RequiresAssemblyFilesAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Diagnostics\CodeAnalysis\RequiresDynamicCodeAttribute.cs (1)
19sealed class RequiresDynamicCodeAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Diagnostics\CodeAnalysis\RequiresUnreferencedCodeAttribute.cs (1)
20sealed class RequiresUnreferencedCodeAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Diagnostics\CodeAnalysis\SetsRequiredMembersAttribute.cs (1)
16sealed class SetsRequiredMembersAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Diagnostics\CodeAnalysis\StringSyntaxAttribute.cs (1)
13sealed class StringSyntaxAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Diagnostics\CodeAnalysis\SuppressMessageAttribute.cs (1)
11public sealed class SuppressMessageAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Diagnostics\CodeAnalysis\UnconditionalSuppressMessageAttribute.cs (1)
21sealed class UnconditionalSuppressMessageAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Diagnostics\CodeAnalysis\UnscopedRefAttribute.cs (1)
34public sealed class UnscopedRefAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Diagnostics\ConditionalAttribute.cs (1)
7public sealed class ConditionalAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Contracts\Contracts.cs (11)
33public sealed class PureAttribute : Attribute 43public sealed class ContractClassAttribute : Attribute 60public sealed class ContractClassForAttribute : Attribute 82public sealed class ContractInvariantMethodAttribute : Attribute 90public sealed class ContractReferenceAssemblyAttribute : Attribute 99public sealed class ContractRuntimeIgnoredAttribute : Attribute 116public sealed class ContractVerificationAttribute : Attribute 131public sealed class ContractPublicPropertyNameAttribute : Attribute 149public sealed class ContractArgumentValidatorAttribute : Attribute 158public sealed class ContractAbbreviatorAttribute : Attribute 167public sealed class ContractOptionAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Diagnostics\DebuggableAttribute.cs (1)
15public sealed class DebuggableAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Diagnostics\DebuggerBrowsableAttribute.cs (1)
29public sealed class DebuggerBrowsableAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Diagnostics\DebuggerDisableUserUnhandledExceptionsAttribute.cs (1)
12public sealed class DebuggerDisableUserUnhandledExceptionsAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Diagnostics\DebuggerDisplayAttribute.cs (1)
16public sealed class DebuggerDisplayAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Diagnostics\DebuggerHiddenAttribute.cs (1)
7public sealed class DebuggerHiddenAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Diagnostics\DebuggerNonUserCodeAttribute.cs (1)
7public sealed class DebuggerNonUserCodeAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Diagnostics\DebuggerStepperBoundaryAttribute.cs (1)
8public sealed class DebuggerStepperBoundaryAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Diagnostics\DebuggerStepThroughAttribute.cs (1)
7public sealed class DebuggerStepThroughAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Diagnostics\DebuggerTypeProxyAttribute.cs (1)
9public sealed class DebuggerTypeProxyAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Diagnostics\DebuggerVisualizerAttribute.cs (1)
13public sealed class DebuggerVisualizerAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Diagnostics\StackTraceHiddenAttribute.cs (1)
11public sealed class StackTraceHiddenAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\EventSource.cs (5)
183internal sealed class EventSourceAutoGenerateAttribute : Attribute 4971public sealed class EventSourceAttribute : Attribute 5016public sealed class EventAttribute : Attribute 5084public sealed class NonEventAttribute : Attribute 5107internal sealed class EventChannelAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\TraceLogging\EventDataAttribute.cs (1)
18: Attribute
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\TraceLogging\EventFieldAttribute.cs (1)
36: Attribute
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\TraceLogging\EventIgnoreAttribute.cs (1)
15: Attribute
src\libraries\System.Private.CoreLib\src\System\FlagsAttribute.cs (1)
14public class FlagsAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\LoaderOptimizationAttribute.cs (1)
7public sealed class LoaderOptimizationAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\NonSerializedAttribute.cs (1)
10public sealed class NonSerializedAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\ObsoleteAttribute.cs (1)
17sealed class ObsoleteAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\ParamArrayAttribute.cs (1)
10public sealed class ParamArrayAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Reflection\AssemblyAlgorithmIdAttribute.cs (1)
9public sealed class AssemblyAlgorithmIdAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Reflection\AssemblyCompanyAttribute.cs (1)
7public sealed class AssemblyCompanyAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Reflection\AssemblyConfigurationAttribute.cs (1)
7public sealed class AssemblyConfigurationAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Reflection\AssemblyCopyrightAttribute.cs (1)
7public sealed class AssemblyCopyrightAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Reflection\AssemblyCultureAttribute.cs (1)
7public sealed class AssemblyCultureAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Reflection\AssemblyDefaultAliasAttribute.cs (1)
7public sealed class AssemblyDefaultAliasAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Reflection\AssemblyDelaySignAttribute.cs (1)
7public sealed class AssemblyDelaySignAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Reflection\AssemblyDescriptionAttribute.cs (1)
7public sealed class AssemblyDescriptionAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Reflection\AssemblyFileVersionAttribute.cs (1)
7public sealed class AssemblyFileVersionAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Reflection\AssemblyFlagsAttribute.cs (1)
7public sealed class AssemblyFlagsAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Reflection\AssemblyInformationalVersionAttribute.cs (1)
7public sealed class AssemblyInformationalVersionAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Reflection\AssemblyKeyFileAttribute.cs (1)
7public sealed class AssemblyKeyFileAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Reflection\AssemblyKeyNameAttribute.cs (1)
7public sealed class AssemblyKeyNameAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Reflection\AssemblyMetadataAttribute.cs (1)
7public sealed class AssemblyMetadataAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Reflection\AssemblyProductAttribute.cs (1)
7public sealed class AssemblyProductAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Reflection\AssemblySignatureKeyAttribute.cs (1)
7public sealed class AssemblySignatureKeyAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Reflection\AssemblyTitleAttribute.cs (1)
7public sealed class AssemblyTitleAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Reflection\AssemblyTrademarkAttribute.cs (1)
7public sealed class AssemblyTrademarkAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Reflection\AssemblyVersionAttribute.cs (1)
7public sealed class AssemblyVersionAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Reflection\DefaultMemberAttribute.cs (1)
7public sealed class DefaultMemberAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Reflection\Metadata\MetadataUpdateHandlerAttribute.cs (1)
27public sealed class MetadataUpdateHandlerAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Reflection\ObfuscateAssemblyAttribute.cs (1)
7public sealed class ObfuscateAssemblyAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Reflection\ObfuscationAttribute.cs (1)
8public sealed class ObfuscationAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Resources\NeutralResourcesLanguageAttribute.cs (1)
10public sealed class NeutralResourcesLanguageAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Resources\SatelliteContractVersionAttribute.cs (1)
13public sealed class SatelliteContractVersionAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\AccessedThroughPropertyAttribute.cs (1)
7public sealed class AccessedThroughPropertyAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\AsyncMethodBuilderAttribute.cs (1)
12public sealed class AsyncMethodBuilderAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\CallerArgumentExpressionAttribute.cs (1)
12sealed class CallerArgumentExpressionAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\CallerFilePathAttribute.cs (1)
7public sealed class CallerFilePathAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\CallerLineNumberAttribute.cs (1)
7public sealed class CallerLineNumberAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\CallerMemberNameAttribute.cs (1)
7public sealed class CallerMemberNameAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\CollectionBuilderAttribute.cs (1)
12sealed class CollectionBuilderAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\CompExactlyDependsOnAttribute.cs (1)
14internal sealed class CompExactlyDependsOnAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\CompilationRelaxationsAttribute.cs (1)
7public class CompilationRelaxationsAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\CompilerFeatureRequiredAttribute.cs (1)
10public sealed class CompilerFeatureRequiredAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\CompilerGeneratedAttribute.cs (1)
7public sealed class CompilerGeneratedAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\CompilerGlobalScopeAttribute.cs (1)
9public class CompilerGlobalScopeAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\CreateNewOnMetadataUpdateAttribute.cs (1)
10public sealed class CreateNewOnMetadataUpdateAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\CustomConstantAttribute.cs (1)
7public abstract class CustomConstantAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\DecimalConstantAttribute.cs (1)
9public sealed class DecimalConstantAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\DefaultDependencyAttribute.cs (1)
7public sealed class DefaultDependencyAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\DependencyAttribute.cs (1)
7public sealed class DependencyAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\DisablePrivateReflectionAttribute.cs (1)
8public sealed class DisablePrivateReflectionAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\DisableRuntimeMarshallingAttribute.cs (1)
24public sealed class DisableRuntimeMarshallingAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\DiscardableAttribute.cs (1)
8public class DiscardableAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\EnumeratorCancellationAttribute.cs (1)
8public sealed class EnumeratorCancellationAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\ExtensionAttribute.cs (1)
10public sealed class ExtensionAttribute : Attribute { }
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\FixedAddressValueTypeAttribute.cs (1)
7public sealed class FixedAddressValueTypeAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\FixedBufferAttribute.cs (1)
10public sealed class FixedBufferAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\IndexerNameAttribute.cs (1)
7public sealed class IndexerNameAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\InlineArrayAttribute.cs (1)
26public sealed class InlineArrayAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\InternalsVisibleToAttribute.cs (1)
7public sealed class InternalsVisibleToAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\InterpolatedStringHandlerArgumentAttribute.cs (1)
8public sealed class InterpolatedStringHandlerArgumentAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\InterpolatedStringHandlerAttribute.cs (1)
8public sealed class InterpolatedStringHandlerAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\IntrinsicAttribute.cs (1)
10internal sealed class IntrinsicAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\IsByRefLikeAttribute.cs (1)
14public sealed class IsByRefLikeAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\IsReadOnlyAttribute.cs (1)
14public sealed class IsReadOnlyAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\IsUnmanagedAttribute.cs (1)
14public sealed class IsUnmanagedAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\MetadataUpdateOriginalTypeAttribute.cs (1)
8public class MetadataUpdateOriginalTypeAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\MethodImplAttribute.cs (1)
8public sealed class MethodImplAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\ModuleInitializerAttribute.cs (1)
27public sealed class ModuleInitializerAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\NullableAttribute.cs (1)
14public sealed class NullableAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\NullableContextAttribute.cs (1)
14public sealed class NullableContextAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\NullablePublicOnlyAttribute.cs (1)
14public sealed class NullablePublicOnlyAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\OverloadResolutionPriorityAttribute.cs (1)
15sealed class OverloadResolutionPriorityAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\ParamCollectionAttribute.cs (1)
10public sealed class ParamCollectionAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\PreserveBaseOverridesAttribute.cs (1)
7public sealed class PreserveBaseOverridesAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\ReferenceAssemblyAttribute.cs (1)
10public sealed class ReferenceAssemblyAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\RefSafetyRulesAttribute.cs (1)
11public sealed class RefSafetyRulesAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\RequiredMemberAttribute.cs (1)
16sealed class RequiredMemberAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\RequiresLocationAttribute.cs (1)
14public sealed class RequiresLocationAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\RuntimeCompatibilityAttribute.cs (1)
10public sealed class RuntimeCompatibilityAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\ScopedRefAttribute.cs (1)
14public sealed class ScopedRefAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\SkipLocalsInitAttribute.cs (1)
28public sealed class SkipLocalsInitAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\SpecialNameAttribute.cs (1)
7public sealed class SpecialNameAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\StateMachineAttribute.cs (1)
7public class StateMachineAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\StringFreezingAttribute.cs (1)
9public sealed class StringFreezingAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\SuppressIldasmAttribute.cs (1)
8public sealed class SuppressIldasmAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\TupleElementNamesAttribute.cs (1)
13public sealed class TupleElementNamesAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\TypeForwardedFromAttribute.cs (1)
7public sealed class TypeForwardedFromAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\TypeForwardedToAttribute.cs (1)
7public sealed class TypeForwardedToAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\UnsafeAccessorAttribute.cs (1)
77public sealed class UnsafeAccessorAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\UnsafeValueTypeAttribute.cs (1)
7public sealed class UnsafeValueTypeAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\ConstrainedExecution\PrePrepareMethodAttribute.cs (1)
8public sealed class PrePrepareMethodAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\ConstrainedExecution\ReliabilityContractAttribute.cs (1)
11public sealed class ReliabilityContractAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\ExceptionServices\HandleProcessCorruptedStateExceptionsAttribute.cs (1)
10public sealed class HandleProcessCorruptedStateExceptionsAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\AllowReversePInvokeCallsAttribute.cs (1)
9public sealed class AllowReversePInvokeCallsAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\BestFitMappingAttribute.cs (1)
7public sealed class BestFitMappingAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\ClassInterfaceAttribute.cs (1)
7public sealed class ClassInterfaceAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\CoClassAttribute.cs (1)
7public sealed class CoClassAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\ComDefaultInterfaceAttribute.cs (1)
7public sealed class ComDefaultInterfaceAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\ComEventInterfaceAttribute.cs (1)
11public sealed class ComEventInterfaceAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\ComImportAttribute.cs (1)
7public sealed class ComImportAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\ComSourceInterfacesAttribute.cs (1)
10public sealed class ComSourceInterfacesAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\ComVisibleAttribute.cs (1)
7public sealed class ComVisibleAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\DefaultCharSetAttribute.cs (1)
7public sealed class DefaultCharSetAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\DefaultDllImportSearchPathsAttribute.cs (1)
7public sealed class DefaultDllImportSearchPathsAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\DefaultParameterValueAttribute.cs (1)
13public sealed class DefaultParameterValueAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\DispIdAttribute.cs (1)
7public sealed class DispIdAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\DllImportAttribute.cs (1)
7public sealed class DllImportAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\FieldOffsetAttribute.cs (1)
7public sealed class FieldOffsetAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\GuidAttribute.cs (1)
7public sealed class GuidAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\IDynamicInterfaceCastable.cs (1)
59public sealed class DynamicInterfaceCastableImplementationAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\InAttribute.cs (1)
7public sealed class InAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\InterfaceTypeAttribute.cs (1)
7public sealed class InterfaceTypeAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\LCIDConversionAttribute.cs (1)
7public sealed class LCIDConversionAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\LibraryImportAttribute.cs (1)
26sealed class LibraryImportAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\MarshalAsAttribute.cs (1)
7public sealed partial class MarshalAsAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\Marshalling\ContiguousCollectionMarshallerAttribute.cs (1)
10public sealed class ContiguousCollectionMarshallerAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\Marshalling\CustomMarshallerAttribute.cs (1)
10public sealed class CustomMarshallerAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\Marshalling\MarshalUsingAttribute.cs (1)
16public sealed class MarshalUsingAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\Marshalling\NativeMarshallingAttribute.cs (1)
16public sealed class NativeMarshallingAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\ObjectiveC\ObjectiveCTrackedTypeAttribute.cs (1)
13public sealed class ObjectiveCTrackedTypeAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\OptionalAttribute.cs (1)
7public sealed class OptionalAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\OutAttribute.cs (1)
7public sealed class OutAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\PreserveSigAttribute.cs (1)
7public sealed class PreserveSigAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\ProgIdAttribute.cs (1)
7public sealed class ProgIdAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\StructLayoutAttribute.cs (1)
7public sealed class StructLayoutAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\SuppressGCTransitionAttribute.cs (1)
66sealed class SuppressGCTransitionAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\TypeIdentifierAttribute.cs (1)
7public sealed class TypeIdentifierAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\UnmanagedCallConvAttribute.cs (1)
11public sealed class UnmanagedCallConvAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\UnmanagedCallersOnlyAttribute.cs (1)
18public sealed class UnmanagedCallersOnlyAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\UnmanagedFunctionPointerAttribute.cs (1)
7public sealed class UnmanagedFunctionPointerAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\WasmImportLinkageAttribute.cs (1)
13public sealed class WasmImportLinkageAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\NgenServicingAttributes.cs (2)
7public sealed class AssemblyTargetedPatchBandAttribute : Attribute 18public sealed class TargetedPatchingOptOutAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\Serialization\OnDeserializedAttribute.cs (1)
7public sealed class OnDeserializedAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\Serialization\OnDeserializingAttribute.cs (1)
7public sealed class OnDeserializingAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\Serialization\OnSerializedAttribute.cs (1)
7public sealed class OnSerializedAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\Serialization\OnSerializingAttribute.cs (1)
7public sealed class OnSerializingAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\Serialization\OptionalFieldAttribute.cs (1)
7public sealed class OptionalFieldAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\Versioning\ComponentGuaranteesAttribute.cs (1)
12public sealed class ComponentGuaranteesAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\Versioning\PlatformAttributes.cs (1)
15abstract class OSPlatformAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\Versioning\RequiresPreviewFeaturesAttribute.cs (1)
23sealed class RequiresPreviewFeaturesAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\Versioning\ResourceConsumptionAttribute.cs (1)
10public sealed class ResourceConsumptionAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\Versioning\ResourceExposureAttribute.cs (1)
10public sealed class ResourceExposureAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\Versioning\TargetFrameworkAttribute.cs (1)
10public sealed class TargetFrameworkAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Security\AllowPartiallyTrustedCallersAttribute.cs (1)
12public sealed class AllowPartiallyTrustedCallersAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Security\DynamicSecurityMethodAttribute.cs (1)
14internal sealed class DynamicSecurityMethodAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Security\Permissions\SecurityAttribute.cs (1)
8public abstract partial class SecurityAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Security\SecurityCriticalAttribute.cs (1)
18public sealed class SecurityCriticalAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Security\SecurityRulesAttribute.cs (1)
8public sealed class SecurityRulesAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Security\SecuritySafeCriticalAttribute.cs (1)
17public sealed class SecuritySafeCriticalAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Security\SecurityTransparentAttribute.cs (1)
8public sealed class SecurityTransparentAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Security\SecurityTreatAsSafeAttribute.cs (1)
19public sealed class SecurityTreatAsSafeAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Security\SuppressUnmanagedCodeSecurityAttribute.cs (1)
8public sealed class SuppressUnmanagedCodeSecurityAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Security\UnverifiableCodeAttribute.cs (1)
9public sealed class UnverifiableCodeAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\SerializableAttribute.cs (1)
10public sealed class SerializableAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\ThreadAttributes.cs (2)
10public sealed class STAThreadAttribute : Attribute 21public sealed class MTAThreadAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\ThreadStaticAttribute.cs (1)
10public class ThreadStaticAttribute : Attribute
src\System\Runtime\BypassReadyToRunAttribute.cs (1)
7internal sealed class BypassReadyToRunAttribute : Attribute
System.Private.CoreLib.Generators (11)
src\libraries\System.Private.CoreLib\src\System\Diagnostics\CodeAnalysis\NullableAttributes.cs (11)
14sealed class AllowNullAttribute : Attribute { } 23sealed class DisallowNullAttribute : Attribute { } 32sealed class MaybeNullAttribute : Attribute { } 41sealed class NotNullAttribute : Attribute { } 50sealed class MaybeNullWhenAttribute : Attribute 69sealed class NotNullWhenAttribute : Attribute 88sealed class NotNullIfNotNullAttribute : Attribute 107sealed class DoesNotReturnAttribute : Attribute { } 116sealed class DoesNotReturnIfAttribute : Attribute 137sealed class MemberNotNullAttribute : Attribute 162sealed class MemberNotNullWhenAttribute : Attribute
System.Private.Windows.Core.TestUtilities (1)
XUnit\SkipOnArchitectureAttribute.cs (1)
19public class SkipOnArchitectureAttribute : Attribute, ITraitAttribute
System.Private.Xml (23)
System\Xml\Serialization\SoapAttributeAttribute.cs (1)
10public class SoapAttributeAttribute : System.Attribute
System\Xml\Serialization\SoapElementAttribute.cs (1)
10public class SoapElementAttribute : System.Attribute
System\Xml\Serialization\SoapEnumAttribute.cs (1)
10public class SoapEnumAttribute : System.Attribute
System\Xml\Serialization\SoapIgnoreAttribute.cs (1)
9public class SoapIgnoreAttribute : System.Attribute
System\Xml\Serialization\SoapIncludeAttribute.cs (1)
7public class SoapIncludeAttribute : System.Attribute
System\Xml\Serialization\SoapTypeAttribute.cs (1)
10public class SoapTypeAttribute : System.Attribute
System\Xml\Serialization\XmlAnyAttributeAttribute.cs (1)
13public class XmlAnyAttributeAttribute : System.Attribute
System\Xml\Serialization\XmlAnyElementAttribute.cs (1)
14public class XmlAnyElementAttribute : System.Attribute
System\Xml\Serialization\XmlArrayAttribute.cs (1)
14public class XmlArrayAttribute : System.Attribute
System\Xml\Serialization\XmlArrayItemAttribute.cs (1)
14public class XmlArrayItemAttribute : System.Attribute
System\Xml\Serialization\XmlAttributeAttribute.cs (1)
14public class XmlAttributeAttribute : System.Attribute
System\Xml\Serialization\XmlChoiceIdentifierAttribute.cs (1)
15public class XmlChoiceIdentifierAttribute : System.Attribute
System\Xml\Serialization\XmlElementAttribute.cs (1)
14public class XmlElementAttribute : System.Attribute
System\Xml\Serialization\XmlEnumAttribute.cs (1)
12public class XmlEnumAttribute : System.Attribute
System\Xml\Serialization\XmlIgnoreAttribute.cs (1)
12public class XmlIgnoreAttribute : System.Attribute
System\Xml\Serialization\XmlIncludeAttribute.cs (1)
12public class XmlIncludeAttribute : System.Attribute
System\Xml\Serialization\XmlNamespaceDeclarationsAttribute.cs (1)
13public class XmlNamespaceDeclarationsAttribute : System.Attribute
System\Xml\Serialization\XmlRootAttribute.cs (1)
19public class XmlRootAttribute : System.Attribute
System\Xml\Serialization\XmlSchemaProviderAttribute.cs (1)
13public sealed class XmlSchemaProviderAttribute : System.Attribute
System\Xml\Serialization\XmlSerializerAssemblyAttribute.cs (1)
9public sealed class XmlSerializerAssemblyAttribute : System.Attribute
System\Xml\Serialization\XmlSerializerVersionAttribute.cs (1)
9public sealed class XmlSerializerVersionAttribute : System.Attribute
System\Xml\Serialization\XmlTextAttribute.cs (1)
13public class XmlTextAttribute : System.Attribute
System\Xml\Serialization\XmlTypeAttribute.cs (1)
13public class XmlTypeAttribute : System.Attribute
System.Runtime.CompilerServices.VisualC (7)
System\Runtime\CompilerServices\Attributes.cs (7)
44internal sealed class DecoratedNameAttribute : Attribute 91public sealed class HasCopySemanticsAttribute : Attribute 97public sealed class ScopelessEnumAttribute : Attribute 103public sealed class NativeCppClassAttribute : Attribute 109public sealed class CppInlineNamespaceAttribute : Attribute 115public sealed class RequiredAttributeAttribute : Attribute 129internal sealed class SuppressMergeCheckAttribute : Attribute
System.Runtime.InteropServices (18)
System\Runtime\InteropServices\AutomationProxyAttribute.cs (1)
7public sealed class AutomationProxyAttribute : Attribute
System\Runtime\InteropServices\ComAliasNameAttribute.cs (1)
7public sealed class ComAliasNameAttribute : Attribute
System\Runtime\InteropServices\ComCompatibleVersionAttribute.cs (1)
7public sealed class ComCompatibleVersionAttribute : Attribute
System\Runtime\InteropServices\ComConversionLossAttribute.cs (1)
7public sealed class ComConversionLossAttribute : Attribute
System\Runtime\InteropServices\ComRegisterFunctionAttribute.cs (1)
7public sealed class ComRegisterFunctionAttribute : Attribute
System\Runtime\InteropServices\ComUnregisterFunctionAttribute.cs (1)
7public sealed class ComUnregisterFunctionAttribute : Attribute
System\Runtime\InteropServices\ImportedFromTypeLibAttribute.cs (1)
7public sealed class ImportedFromTypeLibAttribute : Attribute
System\Runtime\InteropServices\ManagedToNativeComInteropStubAttribute.cs (1)
7public sealed class ManagedToNativeComInteropStubAttribute : Attribute
System\Runtime\InteropServices\Marshalling\ComExposedClassAttribute.cs (1)
12public sealed class ComExposedClassAttribute<T> : Attribute, IComExposedDetails
System\Runtime\InteropServices\Marshalling\GeneratedComClassAttribute.cs (1)
13public sealed class GeneratedComClassAttribute : Attribute
System\Runtime\InteropServices\Marshalling\GeneratedComInterfaceAttribute.cs (1)
10public class GeneratedComInterfaceAttribute : Attribute
System\Runtime\InteropServices\Marshalling\IUnknownDerivedAttribute.cs (1)
16public class IUnknownDerivedAttribute<T, TImpl> : Attribute, IIUnknownDerivedDetails
System\Runtime\InteropServices\PrimaryInteropAssemblyAttribute.cs (1)
7public sealed class PrimaryInteropAssemblyAttribute : Attribute
System\Runtime\InteropServices\TypeLibFuncAttribute.cs (1)
7public sealed class TypeLibFuncAttribute : Attribute
System\Runtime\InteropServices\TypeLibImportClassAttribute.cs (1)
7public sealed class TypeLibImportClassAttribute : Attribute
System\Runtime\InteropServices\TypeLibTypeAttribute.cs (1)
7public sealed class TypeLibTypeAttribute : Attribute
System\Runtime\InteropServices\TypeLibVarAttribute.cs (1)
7public sealed class TypeLibVarAttribute : Attribute
System\Runtime\InteropServices\TypeLibVersionAttribute.cs (1)
7public sealed class TypeLibVersionAttribute : Attribute
System.Runtime.InteropServices.JavaScript (3)
artifacts\obj\System.Runtime.InteropServices.JavaScript\Debug\net10.0\System.Runtime.InteropServices.JavaScript.notsupported.cs (3)
11public sealed class JSImportAttribute : Attribute 21public sealed class JSExportAttribute : Attribute 28public sealed class JSMarshalAsAttribute<T> : Attribute where T : JSType
System.Runtime.Serialization.Primitives (7)
System\Runtime\Serialization\CollectionDataContractAttribute.cs (1)
7public sealed class CollectionDataContractAttribute : Attribute
System\Runtime\Serialization\ContractNamespaceAttribute.cs (1)
7public sealed class ContractNamespaceAttribute : Attribute
System\Runtime\Serialization\DataContractAttribute.cs (1)
7public sealed class DataContractAttribute : Attribute
System\Runtime\Serialization\DataMemberAttribute.cs (1)
7public sealed class DataMemberAttribute : Attribute
System\Runtime\Serialization\EnumMemberAttribute.cs (1)
7public sealed class EnumMemberAttribute : Attribute
System\Runtime\Serialization\IgnoreDataMemberAttribute.cs (1)
7public sealed class IgnoreDataMemberAttribute : Attribute
System\Runtime\Serialization\KnownTypeAttribute.cs (1)
7public sealed class KnownTypeAttribute : Attribute
System.ServiceModel.Primitives.Tests (2)
Channels\BehaviorExtensionTest.cs (2)
117public class TestOperationBehaviorAttribute : Attribute, IOperationBehavior 129public class TestContractBehaviorAttribute : Attribute, IContractBehavior
System.Text.Json (2)
src\libraries\System.Text.Json\Common\JsonAttribute.cs (1)
14abstract class JsonAttribute : Attribute { }
System\Text\Json\Serialization\JsonStringEnumMemberNameAttribute.cs (1)
10public class JsonStringEnumMemberNameAttribute : Attribute
System.Text.Json.SourceGeneration (15)
src\libraries\System.Private.CoreLib\src\System\Diagnostics\CodeAnalysis\NullableAttributes.cs (11)
14sealed class AllowNullAttribute : Attribute { } 23sealed class DisallowNullAttribute : Attribute { } 32sealed class MaybeNullAttribute : Attribute { } 41sealed class NotNullAttribute : Attribute { } 50sealed class MaybeNullWhenAttribute : Attribute 69sealed class NotNullWhenAttribute : Attribute 88sealed class NotNullIfNotNullAttribute : Attribute 107sealed class DoesNotReturnAttribute : Attribute { } 116sealed class DoesNotReturnIfAttribute : Attribute 137sealed class MemberNotNullAttribute : Attribute 162sealed class MemberNotNullWhenAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Diagnostics\CodeAnalysis\SetsRequiredMembersAttribute.cs (1)
16sealed class SetsRequiredMembersAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\CompilerFeatureRequiredAttribute.cs (1)
10public sealed class CompilerFeatureRequiredAttribute : Attribute
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\RequiredMemberAttribute.cs (1)
16sealed class RequiredMemberAttribute : Attribute
src\libraries\System.Text.Json\Common\JsonAttribute.cs (1)
14abstract class JsonAttribute : Attribute { }
System.Text.RegularExpressions (1)
System\Text\RegularExpressions\GeneratedRegexAttribute.cs (1)
25public sealed class GeneratedRegexAttribute : Attribute
System.Text.RegularExpressions.Generator (11)
src\libraries\System.Private.CoreLib\src\System\Diagnostics\CodeAnalysis\NullableAttributes.cs (11)
14sealed class AllowNullAttribute : Attribute { } 23sealed class DisallowNullAttribute : Attribute { } 32sealed class MaybeNullAttribute : Attribute { } 41sealed class NotNullAttribute : Attribute { } 50sealed class MaybeNullWhenAttribute : Attribute 69sealed class NotNullWhenAttribute : Attribute 88sealed class NotNullIfNotNullAttribute : Attribute 107sealed class DoesNotReturnAttribute : Attribute { } 116sealed class DoesNotReturnIfAttribute : Attribute 137sealed class MemberNotNullAttribute : Attribute 162sealed class MemberNotNullWhenAttribute : Attribute
System.Windows.Forms (7)
System\Windows\Forms\ActiveX\AxHost.ClsidAttribute.cs (1)
9public sealed class ClsidAttribute : Attribute
System\Windows\Forms\ActiveX\AxHost.TypeLibraryTimeStampAttribute.cs (1)
11public sealed class TypeLibraryTimeStampAttribute : Attribute
System\Windows\Forms\Controls\Buttons\ApplicableToButtonAttribute.cs (1)
7internal sealed class ApplicableToButtonAttribute : Attribute
System\Windows\Forms\Controls\DataGridView\DataGridViewColumnDesignTimeVisibleAttribute.cs (1)
7public sealed class DataGridViewColumnDesignTimeVisibleAttribute : Attribute
System\Windows\Forms\Controls\ImageList\RelatedImageListAttribute.cs (1)
11public sealed class RelatedImageListAttribute : Attribute
System\Windows\Forms\Design\ToolStripItemDesignerAvailabilityAttribute.cs (1)
7public sealed class ToolStripItemDesignerAvailabilityAttribute : Attribute
System\Windows\Forms\Layout\DockingAttribute.cs (1)
10public sealed class DockingAttribute : Attribute
System.Windows.Forms.Design (1)
System\ComponentModel\Design\ProjectTargetFrameworkAttribute.cs (1)
7public sealed class ProjectTargetFrameworkAttribute : Attribute
System.Windows.Forms.Tests (3)
System\Windows\Forms\AxHost.AxPropertyDescriptorTests.cs (1)
1367private class CustomAttribute : Attribute
System\Windows\Forms\AxHostTests.cs (2)
3109private class CustomAttribute : Attribute 3114private class NoSuchAttribute : Attribute
System.Xaml (23)
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\RuntimeIdentifierPropertyAttribute.cs (1)
34public sealed class RuntimeNamePropertyAttribute: Attribute
System\Windows\Markup\AcceptedMarkupExtensionExpressionTypeAttribute.cs (1)
9public class AcceptedMarkupExtensionExpressionTypeAttribute: Attribute
System\Windows\Markup\AmbientAttribute.cs (1)
11public sealed class AmbientAttribute : Attribute
System\Windows\Markup\ConstructorArgumentAttribute.cs (1)
16public sealed class ConstructorArgumentAttribute : Attribute
System\Windows\Markup\ContentPropertyAttribute.cs (1)
15public sealed class ContentPropertyAttribute : Attribute
System\Windows\Markup\ContentWrapperAttribute.cs (1)
16public sealed class ContentWrapperAttribute : Attribute
System\Windows\Markup\DependsOnAttribute.cs (1)
20public sealed class DependsOnAttribute : Attribute
System\Windows\Markup\DictionaryKeyPropertyAttribute.cs (1)
11public sealed class DictionaryKeyPropertyAttribute : Attribute
System\Windows\Markup\MarkupExtensionBracketCharactersAttribute.cs (1)
12public sealed class MarkupExtensionBracketCharactersAttribute : Attribute
System\Windows\Markup\MarkupExtensionReturnTypeAttribute.cs (1)
11public sealed class MarkupExtensionReturnTypeAttribute : Attribute
System\Windows\Markup\NameScopePropertyAttribute.cs (1)
11public sealed class NameScopePropertyAttribute : Attribute
System\Windows\Markup\RootNamespaceAttribute.cs (1)
15public sealed class RootNamespaceAttribute : Attribute
System\Windows\Markup\TrimSurroundingWhitespaceAttribute.cs (1)
14public sealed class TrimSurroundingWhitespaceAttribute : Attribute
System\Windows\Markup\UidPropertyAttribute.cs (1)
24public sealed class UidPropertyAttribute : Attribute
System\Windows\Markup\UsableDuringInitializationAttribute.cs (1)
8public sealed class UsableDuringInitializationAttribute : Attribute
System\Windows\Markup\WhitespaceSignificantCollectionAttribute.cs (1)
15public sealed class WhitespaceSignificantCollectionAttribute : Attribute
System\Windows\Markup\XamlDeferLoadAttribute.cs (1)
8public sealed class XamlDeferLoadAttribute : Attribute
System\Windows\Markup\XamlSetMarkupExtensionAttribute.cs (1)
8public sealed class XamlSetMarkupExtensionAttribute : Attribute
System\Windows\Markup\XamlSetTypeConverterAttribute.cs (1)
8public sealed class XamlSetTypeConverterAttribute : Attribute
System\Windows\Markup\XmlLangPropertyAttribute.cs (1)
24public sealed class XmlLangPropertyAttribute : Attribute
System\Windows\Markup\XmlnsCompatibleWithAttribute.cs (1)
23public sealed class XmlnsCompatibleWithAttribute : Attribute
System\Windows\Markup\XmlnsDefinitionAttribute.cs (1)
36public sealed class XmlnsDefinitionAttribute : Attribute
System\Windows\Markup\XmlnsPrefixAttribute.cs (1)
31public sealed class XmlnsPrefixAttribute : Attribute
UnitTests.Common (1)
TestHelpers.cs (1)
366public class MyOperationBehavior : Attribute, IOperationBehavior
VersioningWebSite (1)
VersionAttribute.cs (1)
8public class VersionAttribute : Attribute, IActionConstraintFactory
Xunit.NetCore.Extensions (1)
AssemblyFixtureSupport\AssemblyFixtureAttribute.cs (1)
11public class AssemblyFixtureAttribute : Attribute
1 instantiation of Attribute
System.Runtime.InteropServices (1)
System\Runtime\InteropServices\Marshalling\ComImportInteropInterfaceDetailsStrategy.cs (1)
159/// The <see cref="Attribute()"/> constructor.
900 references to Attribute
Aspire.Dashboard.Tests (2)
AssemblyExtensionsTests.cs (2)
77private readonly List<Attribute> _customAttributes = []; 79public void AddCustomAttribute(Attribute attribute)
ConfigurationSchemaGenerator.Tests (2)
GeneratorTests.cs (2)
46MetadataReference.CreateFromFile(typeof(Attribute).Assembly.Location), 47MetadataReference.CreateFromFile(typeof(Attribute).Assembly.Location.Replace("System.Private.CoreLib", "System.Runtime")),
dotnet-svcutil-lib (23)
CodeDomFixup\CodeDomVisitors\TypeWithAttributeVisitor.cs (1)
11where T : Attribute
FrameworkFork\Microsoft.Xml\Xml\Serialization\CodeExporter.cs (1)
134foreach (var attrib in assembly.GetCustomAttributes())
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapAttributes.cs (2)
46public SoapAttributes(IEnumerable<Attribute> attributes) 48foreach (var attrib in attributes)
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapReflectionImporter.cs (2)
181return new SoapAttributes(type.GetTypeInfo().GetCustomAttributes(false) as Attribute[]); 188return new SoapAttributes(memberInfo.GetCustomAttributes(false) as Attribute[]);
FrameworkFork\Microsoft.Xml\Xml\Serialization\Types.cs (1)
1312var customAttribs = enumerator.GetCustomAttributes(false) as Attribute[];
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlAttributes.cs (2)
100public XmlAttributes(IEnumerable<Attribute> attributes) 104foreach (var attrib in attributes)
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlReflectionImporter.cs (1)
255var customAttribs = memberInfo.GetCustomAttributes(false) as Attribute[];
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\SerializationExtensionMethods.cs (1)
24foreach (Attribute a in type.GetCustomAttributes())
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\SecurityAttributeGenerationHelper.cs (1)
13where T : Attribute
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\OperationGenerator.cs (7)
87internal static CodeAttributeDeclaration GenerateAttributeDeclaration(ServiceContractGenerator generator, Attribute attribute) 851where T : Attribute 976where T : Attribute 981internal static CodeAttributeDeclaration GenerateAttributeDeclaration(ServiceContractGenerator generator, Attribute attribute) 984Attribute defaultAttribute = (Attribute)Activator.CreateInstance(attributeType); 996if (member.DeclaringType == typeof(Attribute))
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ServiceReflector.cs (1)
455if (typeof(Attribute).IsAssignableFrom(attrType))
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\TypeLoader.cs (3)
283Attribute formattingAttribute = GetFormattingAttribute(opMethod, 807internal static Attribute GetFormattingAttribute(CustomAttributeProvider attrProvider, Attribute defaultFormatAttribute)
illink (13)
Microsoft.AspNetCore.Antiforgery (1)
RequireAntiforgeryTokenAttribute.cs (1)
11public class RequireAntiforgeryTokenAttribute(bool required = true) : Attribute, IAntiforgeryMetadata
Microsoft.AspNetCore.Components (1)
Reflection\ComponentProperties.cs (1)
284foreach (var attribute in attributes)
Microsoft.AspNetCore.Http.Extensions (1)
src\Shared\PropertyAsParameterInfo.cs (1)
151var mergedAttributes = new Attribute[constructorAttributes.Length + propertyAttributes.Length];
Microsoft.AspNetCore.Identity.EntityFrameworkCore (4)
IdentityUserContext.cs (4)
185prop => Attribute.IsDefined(prop, typeof(ProtectedPersonalDataAttribute))); 233prop => Attribute.IsDefined(prop, typeof(ProtectedPersonalDataAttribute))); 278prop => Attribute.IsDefined(prop, typeof(ProtectedPersonalDataAttribute))); 326prop => Attribute.IsDefined(prop, typeof(ProtectedPersonalDataAttribute)));
Microsoft.AspNetCore.Identity.UI (2)
Areas\Identity\Pages\V4\Account\Manage\DownloadPersonalData.cshtml.cs (1)
63prop => Attribute.IsDefined(prop, typeof(PersonalDataAttribute)));
Areas\Identity\Pages\V5\Account\Manage\DownloadPersonalData.cshtml.cs (1)
63prop => Attribute.IsDefined(prop, typeof(PersonalDataAttribute)));
Microsoft.AspNetCore.Mvc.ApiExplorer (3)
src\Shared\PropertyAsParameterInfo.cs (1)
151var mergedAttributes = new Attribute[constructorAttributes.Length + propertyAttributes.Length];
src\Shared\RoslynUtils\TypeHelper.cs (2)
26return Attribute.IsDefined(type, typeof(CompilerGeneratedAttribute)) || IsCompilerGeneratedType(type.DeclaringType); 38return Attribute.IsDefined(method, typeof(CompilerGeneratedAttribute)) || IsCompilerGeneratedType(method.DeclaringType);
Microsoft.AspNetCore.Mvc.Core (6)
ApplicationModels\IActionModelConvention.cs (1)
10/// To use this interface, create an <see cref="System.Attribute"/> class which implements the interface and
ApplicationModels\IControllerModelConvention.cs (1)
10/// To use this interface, create an <see cref="System.Attribute"/> class which implements the interface and
ApplicationModels\IParameterModelBaseConvention.cs (1)
10/// To use this interface, create an <see cref="System.Attribute"/> class which implements the interface and
ApplicationModels\IParameterModelConvention.cs (1)
10/// To use this interface, create an <see cref="System.Attribute"/> class which implements the interface and
ProducesErrorResponseTypeAttribute.cs (1)
15/// Use this <see cref="Attribute"/> to configure the default error type if your application uses a custom error type to respond.
src\Shared\PropertyActivator\PropertyActivator.cs (1)
67where TAttribute : Attribute
Microsoft.AspNetCore.Mvc.Core.Test (8)
ApiConventionTypeAttributeTest.cs (2)
60var attributes = new Attribute[] { new ProducesAttribute(typeof(object)), new ServiceFilterAttribute(typeof(object)), new AuthorizeAttribute() }; 79private static string GetErrorMessage(string methodName, params Attribute[] attributes)
ModelBinding\Metadata\DefaultValidationMetadataProviderTest.cs (6)
16var attributes = new Attribute[] { new ValidateNeverAttribute() }; 36var attributes = new Attribute[] { new ValidateNeverAttribute() }; 53var attributes = new Attribute[] { new ValidateNeverAttribute() }; 115var attributes = new Attribute[] { attribute }; 134var attributes = new Attribute[] { attribute }; 153var attributes = new Attribute[] { attribute };
Microsoft.AspNetCore.Mvc.DataAnnotations (1)
ValidationProviderAttribute.cs (1)
10/// one <see cref="Attribute"/>
Microsoft.AspNetCore.Mvc.DataAnnotations.Test (27)
DataAnnotationsMetadataProviderTest.cs (24)
136var attributes = new Attribute[] { dataType, displayFormat, }; 155var attributes = new Attribute[] { editable }; 174var attributes = new Attribute[] { editable }; 197var attributes = new Attribute[] { display, displayName }; 220var attributes = new Attribute[] { display, displayName }; 243var attributes = new Attribute[] { display, displayName }; 278var attributes = new Attribute[] { displayName }; 316var attributes = new Attribute[] { displayName }; 353var attributes = new Attribute[] { display }; 383var attributes = new Attribute[] { display }; 418var attributes = new Attribute[] { display }; 453var attributes = new Attribute[] { display }; 482var attributes = new Attribute[] { display }; 517var attributes = new Attribute[] { display }; 546var attributes = new Attribute[] { display }; 591var attributes = new Attribute[] { display }; 1110var attributes = new Attribute[] { required }; 1131var attributes = new Attribute[] { }; 1454var attributes = new Attribute[] { new EmailAddressAttribute(), validationProviderAttribute }; 1482var attributes = new Attribute[] { new RequiredAttribute() }; 1504var attributes = new Attribute[] { }; 1524var attributes = new Attribute[] { attribute }; 1544var attributes = new Attribute[] { attribute }; 1565var attributes = new Attribute[] { attribute };
ModelMetadataProviderTest.cs (3)
255public static TheoryData<Attribute, Func<ModelMetadata, bool>, bool> ExpectedAttributeDataBooleans 259return new TheoryData<Attribute, Func<ModelMetadata, bool>, bool> 341Attribute attribute,
Microsoft.AspNetCore.OpenApi (5)
Extensions\JsonNodeSchemaExtensions.cs (2)
83internal static void ApplyValidationAttributes(this JsonNode schema, IEnumerable<Attribute> validationAttributes) 85foreach (var attribute in validationAttributes)
src\Shared\PropertyAsParameterInfo.cs (1)
151var mergedAttributes = new Attribute[constructorAttributes.Length + propertyAttributes.Length];
src\Shared\RoslynUtils\TypeHelper.cs (2)
26return Attribute.IsDefined(type, typeof(CompilerGeneratedAttribute)) || IsCompilerGeneratedType(type.DeclaringType); 38return Attribute.IsDefined(method, typeof(CompilerGeneratedAttribute)) || IsCompilerGeneratedType(method.DeclaringType);
Microsoft.AspNetCore.OpenApi.Tests (1)
Services\OpenApiDocumentServiceTestsBase.cs (1)
231foreach (var attribute in controllerType.GetCustomAttributes())
Microsoft.AspNetCore.Routing (2)
src\Shared\RoslynUtils\TypeHelper.cs (2)
26return Attribute.IsDefined(type, typeof(CompilerGeneratedAttribute)) || IsCompilerGeneratedType(type.DeclaringType); 38return Attribute.IsDefined(method, typeof(CompilerGeneratedAttribute)) || IsCompilerGeneratedType(method.DeclaringType);
Microsoft.AspNetCore.Routing.FunctionalTests (1)
MinimalFormTests.cs (1)
766class FromFormAttribute(string name = "") : Attribute, IFromFormMetadata
Microsoft.AspNetCore.Shared.Tests (1)
src\Shared\PropertyActivator\PropertyActivator.cs (1)
67where TAttribute : Attribute
Microsoft.Build.BuildCheck.UnitTests (1)
AssemblyInfo.cs (1)
10: System.Attribute
Microsoft.Build.UnitTests.Shared (1)
BootstrapLocationAttribute.cs (1)
9internal sealed class BootstrapLocationAttribute(string bootstrapMsBuildBinaryLocation, string bootstrapSdkVersion) : System.Attribute
Microsoft.CodeAnalysis (1)
ImplementationIsObsoleteAttribute.cs (1)
8internal sealed class ImplementationIsObsoleteAttribute(string url) : Attribute
Microsoft.CodeAnalysis.CodeStyle (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ICompilationExtensions.cs (1)
76=> compilation.GetTypeByMetadataName(typeof(Attribute).FullName!);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\RestrictedInternalsVisibleToAttribute.cs (1)
10internal sealed class RestrictedInternalsVisibleToAttribute(string assemblyName, params string[] allowedNamespaces) : Attribute
Microsoft.CodeAnalysis.CSharp (2)
Symbols\Source\QuickAttributeChecker.cs (2)
191Debug.Assert(attributeDescription.Name.EndsWith(nameof(System.Attribute))); 201(name.Length + nameof(System.Attribute).Length) == attributeDescription.Name.Length &&
Microsoft.CodeAnalysis.Features (4)
AddImport\SymbolReferenceFinder.cs (1)
29private const string AttributeSuffix = nameof(Attribute);
Common\AbstractProjectExtensionProvider.cs (1)
18where TExportAttribute : Attribute
FullyQualify\AbstractFullyQualifyService.cs (2)
80var matchingAttributeTypes = inAttributeContext ? await FindAsync(name + nameof(Attribute), ignoreCase, SymbolFilter.Type).ConfigureAwait(false) : []; 287return BindsWithoutErrors(ns, rightName + nameof(Attribute), isAttributeName: false);
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
src\LanguageServer\Microsoft.CommonLanguageServerProtocol.Framework\MethodHandlerDetails.cs (1)
180var attribute = Attribute.GetCustomAttribute(type, typeof(LanguageServerEndpointAttribute)) as LanguageServerEndpointAttribute;
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\Source\QuickAttributeChecker.vb (1)
170Debug.Assert(description.Name.EndsWith(NameOf(System.Attribute)))
Microsoft.CodeAnalysis.Workspaces (3)
Log\InteractionClass.cs (1)
32internal sealed class PerfGoalAttribute(InteractionClass interactionClass) : Attribute
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ICompilationExtensions.cs (1)
76=> compilation.GetTypeByMetadataName(typeof(Attribute).FullName!);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\RestrictedInternalsVisibleToAttribute.cs (1)
10internal sealed class RestrictedInternalsVisibleToAttribute(string assemblyName, params string[] allowedNamespaces) : Attribute
Microsoft.CommonLanguageServerProtocol.Framework.Package (1)
MethodHandlerDetails.cs (1)
180var attribute = Attribute.GetCustomAttribute(type, typeof(LanguageServerEndpointAttribute)) as LanguageServerEndpointAttribute;
Microsoft.CSharp (1)
Microsoft\CSharp\RuntimeBinder\Semantics\Types\TypeManager.cs (1)
761foreach (Attribute attr in assemblyThatDefinesAttribute.GetCustomAttributes())
Microsoft.DotNet.Build.Tasks.Feed (1)
src\Common\Internal\EnumExtensions.cs (1)
24Attribute.GetCustomAttribute(field, typeof(DescriptionAttribute)) as DescriptionAttribute;
Microsoft.Extensions.DependencyInjection.Abstractions (3)
ActivatorUtilities.cs (3)
416var keyAttribute = (FromKeyedServicesAttribute?)Attribute.GetCustomAttribute(constructorParameter, typeof(FromKeyedServicesAttribute), inherit: false); 532Attribute.GetCustomAttribute(constructorParameter, typeof(FromKeyedServicesAttribute), inherit: false); 749Attribute.GetCustomAttribute(Parameters[i], typeof(FromKeyedServicesAttribute), inherit: false);
Microsoft.Gen.Logging.Generated.Tests (1)
test\Generators\Microsoft.Gen.Logging\TestClasses\ConstraintsTestExtensions.cs (1)
57where T : Attribute
Microsoft.Maui.Controls.DesignTools (2)
AttributeTableBuilder.cs (2)
116 private void AddTypeAttributes(string typeName, params Attribute[] attribs) 119 private void AddMemberAttributes(string typeName, string memberName, params Attribute[] attribs)
Microsoft.Maui.Controls.Xaml.DesignTools (1)
AttributeTableBuilder.cs (1)
33 private void AddTypeAttributes(string typeName, params Attribute[] attribs)
Microsoft.ML.Benchmarks.Tests (1)
BenchmarksTest.cs (1)
41where Attribute.IsDefined(type, typeof(CIBenchmark))
Microsoft.ML.Core (1)
Utilities\Utils.cs (1)
1256Attribute.GetCustomAttribute(field,
Microsoft.ML.Core.Tests (3)
UnitTests\TestCustomTypeRegister.cs (3)
326Assert.True(DataViewTypeManager.Knows(typeof(AlienBody), new Attribute[] { b, c })); 328Assert.Equal(a, DataViewTypeManager.GetDataViewType(typeof(AlienBody), new Attribute[] { b, c })); 329Assert.Throws<ArgumentOutOfRangeException>(() => DataViewTypeManager.Knows(typeof(AlienBody), new Attribute[] { b, d }));
Microsoft.ML.Data (12)
Data\DataViewTypeManager.cs (7)
37/// Mapping from a <see cref="Type"/> plus its <see cref="Attribute"/>s to a <see cref="DataViewType"/>. 42/// Mapping from a <see cref="DataViewType"/> to a <see cref="Type"/> plus its <see cref="Attribute"/>s. 54internal static DataViewType GetDataViewType(Type type, IEnumerable<Attribute> typeAttributes = null) 89internal static bool Knows(Type type, IEnumerable<Attribute> typeAttributes = null) 143/// <param name="typeAttributes">The <see cref="Attribute"/>s attached to <paramref name="type"/>.</param> 145public static void Register(DataViewType dataViewType, Type type, IEnumerable<Attribute> typeAttributes) 156var attr = typeAttributes.First();
Data\SchemaDefinition.cs (2)
382internal static bool GetNameAndCustomAttributes(MemberInfo memberInfo, Type userType, HashSet<string> colNames, out string name, out IEnumerable<Attribute> customAttributes) 427if (!GetNameAndCustomAttributes(memberInfo, userType, colNames, out string name, out IEnumerable<Attribute> customAttributes))
DataView\InternalSchemaDefinition.cs (1)
194public static void GetVectorAndItemType(string name, Type rawType, IEnumerable<Attribute> attributes, out bool isVector, out Type itemType)
DataView\TypedCursor.cs (1)
230IEnumerable<Attribute> customAttributes = null;
Utils\ApiUtils.cs (1)
34private static OpCode GetAssignmentOpCode(Type t, IEnumerable<Attribute> attributes)
Microsoft.ML.DataView (2)
DataViewType.cs (2)
471/// The function <see cref="Register"/> will be called to register a <see cref="DataViewType"/> for a <see cref="Type"/> with its <see cref="Attribute"/>s. 472/// Whenever a value typed to the registered <see cref="Type"/> and its <see cref="Attribute"/>s, that value's type (i.e., a <see cref="DataViewSchema.Column.Type"/>)
Microsoft.VisualBasic.Tests (1)
Microsoft\VisualBasic\ApplicationServices\AssemblyInfoTests.cs (1)
68where TAttribute : Attribute
mscorlib (1)
src\libraries\shims\mscorlib\ref\mscorlib.cs (1)
58[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Attribute))]
netstandard (1)
netstandard.cs (1)
51[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Attribute))]
PresentationCore (4)
ModuleInitializer.cs (1)
41if (assemblyApp != null && Attribute.IsDefined(assemblyApp, typeof(System.Windows.Media.DisableDpiAwarenessAttribute)))
MS\Internal\Resources\ContentFileHelper.cs (2)
45Attribute[] assemblyAttributes; 58assemblyAttributes = Attribute.GetCustomAttributes(
MS\Internal\Resources\ResourceManagerWrapper.cs (1)
190NeutralResourcesLanguageAttribute neutralLangAttr = Attribute.GetCustomAttribute(_assembly, typeof(NeutralResourcesLanguageAttribute)) as NeutralResourcesLanguageAttribute;
PresentationFramework (22)
System\Windows\Documents\TextRangeSerialization.cs (3)
237TextElementEditingBehaviorAttribute att = (TextElementEditingBehaviorAttribute)Attribute.GetCustomAttribute(nextElement.GetType(), typeof(TextElementEditingBehaviorAttribute)); 459TextElementEditingBehaviorAttribute att = (TextElementEditingBehaviorAttribute)Attribute.GetCustomAttribute(thisElement.ParentType, typeof(TextElementEditingBehaviorAttribute)); 1738TextElementEditingBehaviorAttribute behaviorAttribute = (TextElementEditingBehaviorAttribute)Attribute.GetCustomAttribute(navigator.ParentType, typeof(TextElementEditingBehaviorAttribute));
System\Windows\Documents\TextSchema.cs (1)
286TextElementEditingBehaviorAttribute att = (TextElementEditingBehaviorAttribute)Attribute.GetCustomAttribute(elementType, typeof(TextElementEditingBehaviorAttribute));
System\windows\Documents\TextSelection.cs (1)
1486TextElementEditingBehaviorAttribute att = (TextElementEditingBehaviorAttribute)Attribute.GetCustomAttribute(element.GetType(), typeof(TextElementEditingBehaviorAttribute));
System\Windows\Markup\Baml2006\WpfKnownType.cs (5)
27private static Attribute[] s_EmptyAttributes; 365Attribute result; 370return new Attribute[] { result }; 374s_EmptyAttributes = Array.Empty<Attribute>(); 385private bool TryGetCustomAttribute(Type attributeType, out Attribute result)
System\Windows\Markup\Primitives\ElementMarkupObject.cs (2)
404private static Attribute[] _propertyAttributes = new Attribute[] { new PropertyFilterAttribute(PropertyFilterOptions.SetValues) };
System\Windows\Markup\Primitives\MarkupWriter.cs (2)
933foreach (Attribute attribute in property.Attributes) 1087foreach (Attribute attribute in attributes)
System\Windows\Markup\XamlTypeMapper.cs (1)
2735RootNamespaceAttribute rnsa = (RootNamespaceAttribute)Attribute.GetCustomAttribute(a, typeof(RootNamespaceAttribute));
System\Windows\Markup\XmlnsCache.cs (6)
275private Attribute[] GetAttributes(Assembly asm, Type attrType) 277return Attribute.GetCustomAttributes(asm, attrType); 280private void GetNamespacesFromDefinitionAttr(Attribute attr, out string xmlns, out string clrns) 287private void GetNamespacesFromCompatAttr(Attribute attr, out string oldXmlns, out string newXmlns) 345Attribute[] attributes = GetAttributes(asmList[asmIdx], 378Attribute[] attributes = GetAttributes(asmList[asmIdx],
System\Windows\ThemeInfoAttribute.cs (1)
51return Attribute.GetCustomAttribute(assembly, typeof(ThemeInfoAttribute)) as ThemeInfoAttribute;
ReachFramework (9)
Serialization\ColorTypeConverter.cs (1)
222Attribute[] attributes
Serialization\FontTypeConverter.cs (1)
211Attribute[] attributes
Serialization\ImageSourceTypeConverter.cs (1)
293Attribute[] attributes
Serialization\Manager\ReachSerializationCacheItems.cs (6)
214Attribute[] attributes = Attribute.GetCustomAttributes(memberInfo); 223Attribute attribute = attributes[numberOfAttributes]; 488Attribute[] attributes = Attribute.GetCustomAttributes(memberInfo); 497Attribute attribute = attributes[numberOfAttributes];
System.ComponentModel.Annotations (19)
System\ComponentModel\DataAnnotations\AssociatedMetadataTypeTypeDescriptor.cs (11)
34public override PropertyDescriptorCollection GetProperties(Attribute[]? attributes) 56Attribute[] newMetadata = TypeDescriptorCache.GetAssociatedMetadata(AssociatedMetadataType, propDescriptor.Name); 87Attribute[] newAttributes = TypeDescriptor.GetAttributes(AssociatedMetadataType).OfType<Attribute>().ToArray(); 99private static readonly ConcurrentDictionary<(Type, string), Attribute[]> s_typeMemberCache = new ConcurrentDictionary<(Type, string), Attribute[]>(); 125MetadataTypeAttribute? attribute = (MetadataTypeAttribute?)Attribute.GetCustomAttribute(type, typeof(MetadataTypeAttribute)); 168public static Attribute[] GetAssociatedMetadata( 173Attribute[]? attributes; 187attributes = Attribute.GetCustomAttributes(matchingMember, true /* inherit */); 191attributes = Array.Empty<Attribute>();
System\ComponentModel\DataAnnotations\CompareAttribute.cs (2)
64IEnumerable<Attribute> attributes = CustomAttributeExtensions.GetCustomAttributes(property, true); 65foreach (Attribute attribute in attributes)
System\ComponentModel\DataAnnotations\MetadataPropertyDescriptorWrapper.cs (2)
11public MetadataPropertyDescriptorWrapper(PropertyDescriptor descriptor, Attribute[] newAttributes) 16foreach (Attribute attribute in newAttributes)
System\ComponentModel\DataAnnotations\ValidationAttributeStore.cs (4)
238List<Attribute> attributes = new List<Attribute>(propertyDescriptorAttributes.Count); 239foreach (Attribute attribute in propertyDescriptorAttributes) 246foreach (Attribute attr in typeAttributes)
System.ComponentModel.Composition (3)
System\ComponentModel\Composition\Hosting\CompositionServices.cs (3)
18internal static readonly Type AttributeType = typeof(Attribute); 261foreach (var attr in member.GetAttributes<Attribute>())
System.ComponentModel.Composition.Registration (37)
System\ComponentModel\Composition\Registration\ExportBuilder.cs (2)
57internal void BuildAttributes(Type type, ref List<Attribute> attributes) 59attributes ??= new List<Attribute>();
System\ComponentModel\Composition\Registration\ImportBuilder.cs (3)
71internal void BuildAttributes(Type type, ref List<Attribute> attributes) 73Attribute importAttribute; 97attributes ??= new List<Attribute>();
System\ComponentModel\Composition\Registration\PartBuilder.cs (14)
13private static readonly List<Attribute> s_importingConstructorList = new List<Attribute>() { new ImportingConstructorAttribute() }; 231foreach (Attribute attr in member.GetCustomAttributes(typeof(Attribute), false)) 250internal IEnumerable<Attribute> BuildTypeAttributes(Type type) 252var attributes = new List<Attribute>(); 362internal bool BuildConstructorAttributes(Type type, ref List<Tuple<object, List<Attribute>>> configuredMembers) 403internal static void BuildDefaultConstructorAttributes(Type type, ref List<Tuple<object, List<Attribute>>> configuredMembers) 413private static void ConfigureConstructorAttributes(ConstructorInfo constructorInfo, ref List<Tuple<object, List<Attribute>>> configuredMembers, Action<ParameterInfo, ImportBuilder> configureConstructorImports) 415configuredMembers ??= new List<Tuple<object, List<Attribute>>>(); 437List<Attribute> attributes = null; 444internal void BuildPropertyAttributes(Type type, ref List<Tuple<object, List<Attribute>>> configuredMembers) 450List<Attribute> attributes = null; 530configuredMembers ??= new List<Tuple<object, List<Attribute>>>();
System\ComponentModel\Composition\Registration\RegistrationBuilder.cs (18)
26private readonly Dictionary<MemberInfo, List<Attribute>> _memberInfos = new Dictionary<MemberInfo, List<Attribute>>(); 27private readonly Dictionary<ParameterInfo, List<Attribute>> _parameters = new Dictionary<ParameterInfo, List<Attribute>>(); 101private List<Tuple<object, List<Attribute>>> EvaluateThisTypeAgainstTheConvention(Type type) 103List<Attribute> attributes = new List<Attribute>(); 105var configuredMembers = new List<Tuple<object, List<Attribute>>>(); 135List<Attribute> cachedAttributes = null; 152List<Attribute> attributeList; 153foreach (Tuple<object, List<Attribute>> element in EvaluateThisTypeAgainstTheConvention((Type)member)) 160List<Attribute> memberAttributes; 194if (!_parameters.TryGetValue((ParameterInfo)element.Item1, out List<Attribute> parameterAttributes)) 224List<Attribute> cachedAttributes = ReadParameterCustomAttributes(parameter); 229private List<Attribute> ReadMemberCustomAttributes(MemberInfo member) 231List<Attribute> cachedAttributes = null; 265private List<Attribute> ReadParameterCustomAttributes(ParameterInfo parameter) 267List<Attribute> cachedAttributes = null;
System.ComponentModel.TypeConverter (172)
MS\Internal\Xml\Linq\ComponentModel\XComponentModel.cs (1)
39public override PropertyDescriptorCollection GetProperties(Attribute[]? attributes)
System\ComponentModel\ArrayConverter.cs (1)
33public override PropertyDescriptorCollection? GetProperties(ITypeDescriptorContext? context, object? value, Attribute[]? attributes)
System\ComponentModel\AttributeCollection.cs (27)
23private static Dictionary<Type, Attribute?>? s_defaultAttributes; 25private readonly Attribute[] _attributes; 44public AttributeCollection(params Attribute[]? attributes) 46_attributes = attributes ?? Array.Empty<Attribute>(); 54protected AttributeCollection() : this(Array.Empty<Attribute>()) 61public static AttributeCollection FromExisting(AttributeCollection existing, params Attribute[]? newAttributes) 65newAttributes ??= Array.Empty<Attribute>(); 67Attribute[] newArray = new Attribute[existing.Count + newAttributes.Length]; 95Attribute[] attributes; 98attributes = new Attribute[actualCount]; 112protected internal virtual Attribute[] Attributes => _attributes; 122public virtual Attribute this[int index] => Attributes[index]; 127public virtual Attribute? this[[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicParameterlessConstructor | DynamicallyAccessedMemberTypes.PublicFields)] Type attributeType] 175Attribute attribute = Attributes[i]; 187Attribute attribute = Attributes[i]; 205public bool Contains(Attribute? attribute) 212Attribute? attr = this[attribute.GetType()]; 221public bool Contains(Attribute[]? attributes) 243protected Attribute? GetDefaultAttribute([DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicParameterlessConstructor | DynamicallyAccessedMemberTypes.PublicFields)] Type attributeType) 249s_defaultAttributes ??= new Dictionary<Type, Attribute?>(); 252if (s_defaultAttributes.TryGetValue(attributeType, out Attribute? defaultAttribute)) 257Attribute? attr = null; 265attr = (Attribute?)field.GetValue(null); 272attr = (Attribute)ci.Invoke(Array.Empty<object>()); 297public bool Matches(Attribute? attribute) 313public bool Matches(Attribute[]? attributes)
System\ComponentModel\CollectionConverter.cs (1)
34public override PropertyDescriptorCollection GetProperties(ITypeDescriptorContext? context, object value, Attribute[]? attributes)
System\ComponentModel\ComponentConverter.cs (1)
26public override PropertyDescriptorCollection GetProperties(ITypeDescriptorContext? context, object value, Attribute[]? attributes)
System\ComponentModel\CustomTypeDescriptor.cs (2)
156public virtual EventDescriptorCollection GetEvents(Attribute[]? attributes) 245public virtual PropertyDescriptorCollection GetProperties(Attribute[]? attributes)
System\ComponentModel\Design\DesignerOptionService.cs (1)
440public override PropertyDescriptorCollection GetProperties(ITypeDescriptorContext? cxt, object value, Attribute[]? attributes)
System\ComponentModel\EnumConverter.cs (1)
271foreach (Attribute attr in field.GetCustomAttributes(typeof(BrowsableAttribute), false))
System\ComponentModel\EventDescriptor.cs (3)
17protected EventDescriptor(string name, Attribute[]? attrs) : base(name, attrs) 32/// attributes in both the <see cref='System.ComponentModel.MemberDescriptor'/> and the <see cref='System.Attribute'/> array. 34protected EventDescriptor(MemberDescriptor descr, Attribute[]? attrs) : base(descr, attrs)
System\ComponentModel\ExpandableObjectConverter.cs (1)
26public override PropertyDescriptorCollection GetProperties(ITypeDescriptorContext? context, object value, Attribute[]? attributes)
System\ComponentModel\ExtendedPropertyDescriptor.cs (6)
22public ExtendedPropertyDescriptor(ReflectPropertyDescriptor extenderInfo, Type? receiverType, IExtenderProvider provider, Attribute[]? attributes) 28List<Attribute> attrList = new List<Attribute>(AttributeArray!) 37Attribute[] temp = new Attribute[attrList.Count]; 45public ExtendedPropertyDescriptor(PropertyDescriptor extender, Attribute[] attributes) : base(extender, attributes)
System\ComponentModel\IComNativeDescriptorHandler.cs (2)
28EventDescriptorCollection GetEvents(object component, Attribute[]? attributes); 30PropertyDescriptorCollection GetProperties(object component, Attribute[]? attributes);
System\ComponentModel\ICustomTypeDescriptor.cs (3)
14/// Gets a collection of type <see cref='System.Attribute'/> with the attributes 63EventDescriptorCollection GetEvents(Attribute[]? attributes); 75PropertyDescriptorCollection GetProperties(Attribute[]? attributes);
System\ComponentModel\LicenseManager.cs (1)
280LicenseProviderAttribute? attr = (LicenseProviderAttribute?)Attribute.GetCustomAttribute(type, typeof(LicenseProviderAttribute), false);
System\ComponentModel\MemberDescriptor.cs (18)
14/// All attributes must derive from <see cref='System.Attribute'/>. 22private Attribute[]? _attributes; 23private Attribute[]? _originalAttributes; 41protected MemberDescriptor(string name, Attribute[]? attributes) 74_attributes = new Attribute[descr.Attributes.Count]; 85/// in both the old <see cref='System.ComponentModel.MemberDescriptor'/> and the <see cref='System.Attribute'/> array. 87protected MemberDescriptor(MemberDescriptor oldMemberDescriptor, Attribute[]? newAttributes) 95List<Attribute> newList = new List<Attribute>(); 99foreach (Attribute o in oldMemberDescriptor.Attributes) 107foreach (Attribute o in newAttributes) 113_attributes = new Attribute[newList.Count]; 123protected virtual Attribute[]? AttributeArray 316foreach (Attribute attr in _originalAttributes) 327List<Attribute> list; 331list = new List<Attribute>(); 342list = new List<Attribute>(_attributes!); 367Attribute[] newAttributes = list.ToArray();
System\ComponentModel\MultilineStringConverter.cs (1)
34public override PropertyDescriptorCollection? GetProperties(ITypeDescriptorContext? context, object value, Attribute[]? attributes)
System\ComponentModel\NullableConverter.cs (1)
163public override PropertyDescriptorCollection? GetProperties(ITypeDescriptorContext? context, object value, Attribute[]? attributes)
System\ComponentModel\PropertyDescriptor.cs (5)
31protected PropertyDescriptor(string name, Attribute[]? attrs) : base(name, attrs) 48/// <see cref='System.Attribute'/> array. 51protected PropertyDescriptor(MemberDescriptor descr, Attribute[]? attrs) : base(descr, attrs) 259public PropertyDescriptorCollection GetChildProperties(Attribute[] filter) => GetChildProperties(null, filter); 268public virtual PropertyDescriptorCollection GetChildProperties(object? instance, Attribute[]? filter)
System\ComponentModel\ReflectEventDescriptor.cs (11)
78Attribute[] attributes) 97: base(eventInfo.Name, Array.Empty<Attribute>()) 116Attribute[] attributes) 278Attribute[][] attributeStack = new Attribute[depth][]; 297foreach (Attribute[] attributeArray in attributeStack) 301foreach (Attribute attr in attributeArray) 401Attribute[][] attributeStack = new Attribute[depth][]; 420foreach (Attribute[] attributeArray in attributeStack) 424foreach (Attribute attr in attributeArray)
System\ComponentModel\ReflectPropertyDescriptor.cs (16)
85Attribute[]? attributes) 123Attribute[]? attrs) 146Attribute[]? attrs) 163Attribute[] attributes) 196foreach (Attribute a in attributes) 228Attribute? a = Attributes[typeof(AmbientValueAttribute)]; 297Attribute? a = Attributes[typeof(DefaultValueAttribute)]; 776foreach (Attribute typeAttr in TypeDescriptor.GetAttributes(PropertyType)) 803Attribute[][] attributeStack = new Attribute[depth][]; 832foreach (Attribute[] attributeArray in attributeStack) 836foreach (Attribute attr in attributeArray) 844Attribute[]? stAttrs = null; 860foreach (Attribute stAttr in stAttrs) 873foreach (Attribute[] attributeArray in attributeStack) 877foreach (Attribute attr in attributeArray)
System\ComponentModel\ReflectTypeDescriptionProvider.cs (13)
1097internal static Attribute[] ReflectGetAttributes(Type type) 1100Attribute[]? attrs = (Attribute[]?)attributeCache[type]; 1108attrs = (Attribute[]?)attributeCache[type]; 1113attrs = Attribute.GetCustomAttributes(type, typeof(Attribute), inherit: false); 1125internal static Attribute[] ReflectGetAttributes(MemberInfo member) 1128Attribute[]? attrs = (Attribute[]?)attributeCache[member]; 1136attrs = (Attribute[]?)attributeCache[member]; 1141attrs = Attribute.GetCustomAttributes(member, typeof(Attribute), inherit: false); 1271foreach (Attribute attr in attributes)
System\ComponentModel\ReflectTypeDescriptionProvider.ReflectedTypeData.cs (3)
89var attributes = new List<Attribute>(ReflectGetAttributes(_type)); 122Attribute attr = attributes[idx]; 416foreach (Attribute attr in attributes)
System\ComponentModel\TypeConverter.cs (4)
239return GetProperties(context, value, new Attribute[] { BrowsableAttribute.Yes }); 249public virtual PropertyDescriptorCollection? GetProperties(ITypeDescriptorContext? context, object value, Attribute[]? attributes) 349protected SimplePropertyDescriptor(Type componentType, string name, Type propertyType) : this(componentType, name, propertyType, Array.Empty<Attribute>()) 356protected SimplePropertyDescriptor(Type componentType, string name, Type propertyType, Attribute[]? attributes) : base(name, attributes)
System\ComponentModel\TypeDescriptor.cs (45)
190public static TypeDescriptionProvider AddAttributes(Type type, params Attribute[] attributes) 212public static TypeDescriptionProvider AddAttributes(object instance, params Attribute[] attributes) 455params Attribute[] attributes) 467params Attribute[] attributes) 515params Attribute[] attributes) 528params Attribute[] attributes) 561private static ArrayList? FilterMembers(IList members, Attribute[] attributes) 776Attribute[] attrArray = new Attribute[results.Count]; 1119Attribute[] attributes) 1167public static EventDescriptorCollection GetEvents(object component, Attribute[] attributes) 1178public static EventDescriptorCollection GetEvents(object component, Attribute[]? attributes, bool noCustomTypeDesc) 1356Attribute[]? attributes) 1413public static PropertyDescriptorCollection GetProperties(object component, Attribute[]? attributes) 1424public static PropertyDescriptorCollection GetProperties(object component, Attribute[]? attributes, bool noCustomTypeDesc) 1435private static PropertyDescriptorCollection GetPropertiesImpl(object component, Attribute[]? attributes, bool noCustomTypeDesc, bool noAttributes) 1874private static ICollection PipelineAttributeFilter(int pipelineType, ICollection members, Attribute[]? filter, IDictionary? cache) 1993foreach (Attribute attr in members) 2088Attribute[] attrArray = new Attribute[list.Count]; 2095throw new ArgumentException(SR.Format(SR.TypeDescriptorExpectedElementType, typeof(Attribute).FullName)); 2250Attribute[] attrArray = new Attribute[list.Count]; 2727private static bool ShouldHideMember(MemberDescriptor? member, Attribute? attribute) 2734Attribute? memberAttribute = member.Attributes[attribute.GetType()]; 2848EventDescriptorCollection ICustomTypeDescriptor.GetEvents(Attribute[]? attributes) 2860PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties(Attribute[]? attributes) 2876private readonly Attribute[] _attrs; 2881internal AttributeProvider(TypeDescriptionProvider existingProvider, params Attribute[] attrs) : base(existingProvider) 2899private readonly Attribute[] _attributeArray; 2905internal AttributeTypeDescriptor(Attribute[] attrs, ICustomTypeDescriptor? parent) : base(parent) 2918Attribute[]? finalAttr; 2920Attribute[] newAttrs = _attributeArray; 2921Attribute[] newArray = new Attribute[existing.Count + newAttrs.Length]; 2951finalAttr = new Attribute[actualCount]; 2971private readonly Attribute[] _filter; 2974internal AttributeFilterCacheItem(Attribute[] filter, ICollection filteredMembers) 2980internal bool IsValid(Attribute[] filter) 3175EventDescriptorCollection ICustomTypeDescriptor.GetEvents(Attribute[]? attributes) 3199PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties(Attribute[]? attributes) 3650EventDescriptorCollection ICustomTypeDescriptor.GetEvents(Attribute[]? attributes) 3720PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties(Attribute[]? attributes) 4061public EventDescriptorCollection GetEvents(Attribute[]? attributes) 4147public PropertyDescriptorCollection GetProperties(Attribute[]? attributes)
System\Drawing\PointConverter.cs (1)
115public override PropertyDescriptorCollection GetProperties(ITypeDescriptorContext? context, object? value, Attribute[]? attributes)
System\Drawing\RectangleConverter.cs (1)
121public override PropertyDescriptorCollection GetProperties(ITypeDescriptorContext? context, object? value, Attribute[]? attributes)
System\Drawing\SizeConverter.cs (1)
113public override PropertyDescriptorCollection GetProperties(ITypeDescriptorContext? context, object value, Attribute[]? attributes)
System\Drawing\SizeFConverter.cs (1)
110public override PropertyDescriptorCollection GetProperties(ITypeDescriptorContext? context, object value, Attribute[]? attributes)
System.Composition.AttributedModel (2)
System\Composition\Convention\AttributedModelProvider.cs (2)
20public abstract IEnumerable<Attribute> GetCustomAttributes(System.Type reflectedType, MemberInfo member); 27public abstract IEnumerable<Attribute> GetCustomAttributes(System.Type reflectedType, ParameterInfo parameter);
System.Composition.Convention (50)
System\Composition\Convention\ConventionBuilder.cs (25)
19private readonly Dictionary<MemberInfo, List<Attribute>> _memberInfos = new Dictionary<MemberInfo, List<Attribute>>(); 20private readonly Dictionary<ParameterInfo, List<Attribute>> _parameters = new Dictionary<ParameterInfo, List<Attribute>>(); 126private List<Tuple<object, List<Attribute>>> EvaluateThisTypeInfoAgainstTheConvention(TypeInfo typeInfo) 128List<Attribute> attributes = new List<Attribute>(); 129var configuredMembers = new List<Tuple<object, List<Attribute>>>(); 159public override IEnumerable<Attribute> GetCustomAttributes(Type reflectedType, System.Reflection.MemberInfo member) 167List<Attribute> cachedAttributes = null; 189List<Attribute> attributeList; 190foreach (Tuple<object, List<Attribute>> element in EvaluateThisTypeInfoAgainstTheConvention(typeInfo)) 200if (!_memberInfos.TryGetValue(mi, out List<Attribute> memberAttributes)) 215if (!_parameters.TryGetValue(pi, out List<Attribute> parameterAttributes)) 238IEnumerable<Attribute> appliedAttributes; 240appliedAttributes = Enumerable.Empty<Attribute>(); 242appliedAttributes = member.GetCustomAttributes<Attribute>(false); 247private List<Attribute> ReadMemberCustomAttributes(Type reflectedType, System.Reflection.MemberInfo member) 249List<Attribute> cachedAttributes = null; 299public override IEnumerable<Attribute> GetCustomAttributes(Type reflectedType, System.Reflection.ParameterInfo parameter) 306IEnumerable<Attribute> attributes = parameter.GetCustomAttributes<Attribute>(false); 307List<Attribute> cachedAttributes = ReadParameterCustomAttributes(reflectedType, parameter); 311private List<Attribute> ReadParameterCustomAttributes(Type reflectedType, System.Reflection.ParameterInfo parameter) 313List<Attribute> cachedAttributes = null;
System\Composition\Convention\ExportConventionBuilder.cs (2)
138internal void BuildAttributes(Type type, ref List<Attribute> attributes) 140attributes ??= new List<Attribute>();
System\Composition\Convention\ImportConventionBuilder.cs (3)
143internal void BuildAttributes(Type type, ref List<Attribute> attributes) 145Attribute importAttribute; 163attributes ??= new List<Attribute>();
System\Composition\Convention\PartConventionBuilder.cs (20)
17private static List<Attribute> s_onImportsSatisfiedAttributeList; 18private static readonly List<Attribute> s_importingConstructorList = new List<Attribute>() { new ImportingConstructorAttribute() }; 470foreach (Attribute attr in member.GetCustomAttributes<Attribute>(false)) 489internal IEnumerable<Attribute> BuildTypeAttributes(Type type) 491var attributes = new List<Attribute>(); 598internal bool BuildConstructorAttributes(Type type, ref List<Tuple<object, List<Attribute>>> configuredMembers) 606Attribute[] attributes = Attribute.GetCustomAttributes(ci, typeof(ImportingConstructorAttribute), false); 636internal static void BuildDefaultConstructorAttributes(Type type, ref List<Tuple<object, List<Attribute>>> configuredMembers) 646private static void ConfigureConstructorAttributes(ConstructorInfo constructorInfo, ref List<Tuple<object, List<Attribute>>> configuredMembers, Action<ParameterInfo, ImportConventionBuilder> configureConstructorImports) 648configuredMembers ??= new List<Tuple<object, List<Attribute>>>(); 670List<Attribute> attributes = null; 677internal void BuildOnImportsSatisfiedNotification(Type type, ref List<Tuple<object, List<Attribute>>> configuredMembers) 715var onImportsSatisfiedAttributeList = new List<Attribute> 721configuredMembers.Add(new Tuple<object, List<Attribute>>(mi, s_onImportsSatisfiedAttributeList)); 731internal void BuildPropertyAttributes(Type type, ref List<Tuple<object, List<Attribute>>> configuredMembers) 737List<Attribute> attributes = null; 817configuredMembers ??= new List<Tuple<object, List<Attribute>>>();
System.Composition.TypedParts (15)
System\Composition\Convention\AttributedModelProviderExtensions.cs (7)
14public static TAttribute GetDeclaredAttribute<TAttribute>(this AttributedModelProvider convention, Type reflectedType, MemberInfo member) where TAttribute : Attribute 19public static Attribute[] GetDeclaredAttributes(this AttributedModelProvider convention, Type reflectedType, MemberInfo member) 24public static TAttribute[] GetDeclaredAttributes<TAttribute>(this AttributedModelProvider convention, Type reflectedType, MemberInfo member) where TAttribute : Attribute 29public static TAttribute GetDeclaredAttribute<TAttribute>(this AttributedModelProvider convention, Type reflectedType, ParameterInfo parameter) where TAttribute : Attribute 34public static Attribute[] GetDeclaredAttributes(this AttributedModelProvider convention, Type reflectedType, ParameterInfo parameter) 36return convention.GetCustomAttributes(reflectedType, parameter).OfType<Attribute>().ToArray(); 39public static TAttribute[] GetDeclaredAttributes<TAttribute>(this AttributedModelProvider convention, Type reflectedType, ParameterInfo parameter) where TAttribute : Attribute
System\Composition\TypedParts\Discovery\DiscoveredPart.cs (1)
211foreach (var attr in _attributeContext.GetDeclaredAttributes(partType.AsType(), partType))
System\Composition\TypedParts\Discovery\TypeInspector.cs (2)
117ReadMetadataAttribute((Attribute)attribute, metadata); 148private static void ReadMetadataAttribute(Attribute attribute, IDictionary<string, object> metadata)
System\Composition\TypedParts\Util\DirectAttributeContext.cs (5)
12public override IEnumerable<Attribute> GetCustomAttributes(Type reflectedType, Reflection.MemberInfo member) 18return Array.Empty<Attribute>(); 20return Attribute.GetCustomAttributes(member, false); 23public override IEnumerable<Attribute> GetCustomAttributes(Type reflectedType, Reflection.ParameterInfo parameter) 32return Attribute.GetCustomAttributes(parameter, false);
System.Configuration.ConfigurationManager (12)
System\Configuration\ApplicationSettingsBase.cs (6)
455Attribute attribute = attributes[i] as Attribute; 601Attribute attr = _classAttributes[i] as Attribute; 720Attribute attr; 727attr = attributes[j] as Attribute;
System\Configuration\ConfigurationElement.cs (2)
738Attribute.GetCustomAttribute(type, typeof(ConfigurationValidatorAttribute)) as 767Attribute.GetCustomAttribute(propertyInformation,
System\Configuration\ConfigurationProperty.cs (4)
83foreach (Attribute attribute in Attribute.GetCustomAttributes(info)) 129Attribute.GetCustomAttribute(info, 131Attribute.GetCustomAttribute(propertyType,
System.Data.Common (23)
System\Data\Common\DataRecordInternal.cs (2)
350EventDescriptorCollection ICustomTypeDescriptor.GetEvents(Attribute[]? attributes) 362PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties(Attribute[]? attributes) =>
System\Data\Common\DbConnectionStringBuilder.cs (12)
390internal static Attribute[] GetAttributesFromCollection(AttributeCollection collection) 392Attribute[] attributes = new Attribute[collection.Count]; 441Attribute[]? attributes; 504Attribute[]? useAttributes = null; 508useAttributes = new Attribute[] { 516attributes = new Attribute[] { 540private PropertyDescriptorCollection GetProperties(Attribute[]? attributes) 562foreach (Attribute attribute in attributes) 564Attribute? attr = property.Attributes[attribute.GetType()]; 632PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties(Attribute[]? attributes) 651EventDescriptorCollection ICustomTypeDescriptor.GetEvents(Attribute[]? attributes)
System\Data\Common\DbConnectionStringBuilderDescriptor.cs (1)
10internal DbConnectionStringBuilderDescriptor(string propertyName, Type componentType, Type propertyType, bool isReadOnly, Attribute[] attributes) : base(propertyName, attributes)
System\Data\Common\DbDataRecord.cs (2)
94EventDescriptorCollection ICustomTypeDescriptor.GetEvents(Attribute[]? attributes) => new EventDescriptorCollection(null); 101PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties(Attribute[]? attributes) =>
System\Data\DataColumnPropertyDescriptor.cs (2)
24Attribute[] attrs = new Attribute[base.Attributes.Count + 1];
System\Data\DataRowView.cs (2)
251EventDescriptorCollection ICustomTypeDescriptor.GetEvents(Attribute[]? attributes) => new EventDescriptorCollection(null); 257PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties(Attribute[]? attributes) =>
System\Data\DataViewManagerListItemTypeDescriptor.cs (2)
88EventDescriptorCollection ICustomTypeDescriptor.GetEvents(Attribute[]? attributes) => 109PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties(Attribute[]? attributes) =>
System.Drawing.Common (2)
Special\NotSupported.cs (2)
376public override System.ComponentModel.PropertyDescriptorCollection? GetProperties(System.ComponentModel.ITypeDescriptorContext? context, object? value, System.Attribute[]? attributes) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 827public override System.ComponentModel.PropertyDescriptorCollection GetProperties(System.ComponentModel.ITypeDescriptorContext? context, object? value, System.Attribute[]? attributes) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
System.Private.CoreLib (165)
src\libraries\System.Private.CoreLib\src\System\Attribute.cs (3)
33while (thisType != typeof(Attribute)) 59while (type != typeof(Attribute)) 130Debug.Assert(thisValue is not Attribute);
src\libraries\System.Private.CoreLib\src\System\Diagnostics\StackTrace.cs (2)
421private static Attribute[] GetCustomAttributesSafe(MemberInfo memberInfo, Type attributeType, bool inherit) 425return Attribute.GetCustomAttributes(memberInfo, attributeType, inherit);
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\EventSource.cs (4)
3013internal static Attribute? GetCustomAttributeHelper( 3032Attribute? attr = null; 3038attr = (Attribute?)Activator.CreateInstance(attributeType, [data.ConstructorArguments[0].Value]); 3042attr = (Attribute?)Activator.CreateInstance(attributeType);
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\TraceLogging\Statics.cs (2)
335where AttributeType : Attribute 347where AttributeType : Attribute
src\libraries\System.Private.CoreLib\src\System\Reflection\CustomAttributeExtensions.cs (54)
11public static Attribute? GetCustomAttribute(this Assembly element, Type attributeType) 13return Attribute.GetCustomAttribute(element, attributeType); 15public static Attribute? GetCustomAttribute(this Module element, Type attributeType) 17return Attribute.GetCustomAttribute(element, attributeType); 19public static Attribute? GetCustomAttribute(this MemberInfo element, Type attributeType) 21return Attribute.GetCustomAttribute(element, attributeType); 23public static Attribute? GetCustomAttribute(this ParameterInfo element, Type attributeType) 25return Attribute.GetCustomAttribute(element, attributeType); 28public static T? GetCustomAttribute<T>(this Assembly element) where T : Attribute 32public static T? GetCustomAttribute<T>(this Module element) where T : Attribute 36public static T? GetCustomAttribute<T>(this MemberInfo element) where T : Attribute 40public static T? GetCustomAttribute<T>(this ParameterInfo element) where T : Attribute 45public static Attribute? GetCustomAttribute(this MemberInfo element, Type attributeType, bool inherit) 47return Attribute.GetCustomAttribute(element, attributeType, inherit); 49public static Attribute? GetCustomAttribute(this ParameterInfo element, Type attributeType, bool inherit) 51return Attribute.GetCustomAttribute(element, attributeType, inherit); 54public static T? GetCustomAttribute<T>(this MemberInfo element, bool inherit) where T : Attribute 58public static T? GetCustomAttribute<T>(this ParameterInfo element, bool inherit) where T : Attribute 65public static IEnumerable<Attribute> GetCustomAttributes(this Assembly element) 67return Attribute.GetCustomAttributes(element); 69public static IEnumerable<Attribute> GetCustomAttributes(this Module element) 71return Attribute.GetCustomAttributes(element); 73public static IEnumerable<Attribute> GetCustomAttributes(this MemberInfo element) 75return Attribute.GetCustomAttributes(element); 77public static IEnumerable<Attribute> GetCustomAttributes(this ParameterInfo element) 79return Attribute.GetCustomAttributes(element); 82public static IEnumerable<Attribute> GetCustomAttributes(this MemberInfo element, bool inherit) 84return Attribute.GetCustomAttributes(element, inherit); 86public static IEnumerable<Attribute> GetCustomAttributes(this ParameterInfo element, bool inherit) 88return Attribute.GetCustomAttributes(element, inherit); 93public static IEnumerable<Attribute> GetCustomAttributes(this Assembly element, Type attributeType) 95return Attribute.GetCustomAttributes(element, attributeType); 97public static IEnumerable<Attribute> GetCustomAttributes(this Module element, Type attributeType) 99return Attribute.GetCustomAttributes(element, attributeType); 101public static IEnumerable<Attribute> GetCustomAttributes(this MemberInfo element, Type attributeType) 103return Attribute.GetCustomAttributes(element, attributeType); 105public static IEnumerable<Attribute> GetCustomAttributes(this ParameterInfo element, Type attributeType) 107return Attribute.GetCustomAttributes(element, attributeType); 110public static IEnumerable<T> GetCustomAttributes<T>(this Assembly element) where T : Attribute 114public static IEnumerable<T> GetCustomAttributes<T>(this Module element) where T : Attribute 118public static IEnumerable<T> GetCustomAttributes<T>(this MemberInfo element) where T : Attribute 122public static IEnumerable<T> GetCustomAttributes<T>(this ParameterInfo element) where T : Attribute 127public static IEnumerable<Attribute> GetCustomAttributes(this MemberInfo element, Type attributeType, bool inherit) 129return Attribute.GetCustomAttributes(element, attributeType, inherit); 131public static IEnumerable<Attribute> GetCustomAttributes(this ParameterInfo element, Type attributeType, bool inherit) 133return Attribute.GetCustomAttributes(element, attributeType, inherit); 136public static IEnumerable<T> GetCustomAttributes<T>(this MemberInfo element, bool inherit) where T : Attribute 140public static IEnumerable<T> GetCustomAttributes<T>(this ParameterInfo element, bool inherit) where T : Attribute 149return Attribute.IsDefined(element, attributeType); 153return Attribute.IsDefined(element, attributeType); 157return Attribute.IsDefined(element, attributeType); 161return Attribute.IsDefined(element, attributeType); 166return Attribute.IsDefined(element, attributeType, inherit); 170return Attribute.IsDefined(element, attributeType, inherit);
src\libraries\System.Private.CoreLib\src\System\ThrowHelper.cs (1)
695internal static AmbiguousMatchException GetAmbiguousMatchException(Attribute attribute)
src\System\Attribute.CoreCLR.cs (93)
16private static Attribute[] InternalGetCustomAttributes(PropertyInfo element, Type type, bool inherit) 20Debug.Assert(type.IsSubclassOf(typeof(Attribute)) || type == typeof(Attribute)); 23Attribute[] attributes = (Attribute[])element.GetCustomAttributes(type, inherit); 38List<Attribute> attributeList = new List<Attribute>(); 48Attribute[] array = CreateAttributeArrayHelper(type, attributeList.Count); 120private static Attribute[] InternalGetCustomAttributes(EventInfo element, Type type, bool inherit) 124Debug.Assert(type.IsSubclassOf(typeof(Attribute)) || type == typeof(Attribute)); 127Attribute[] attributes = (Attribute[])element.GetCustomAttributes(type, inherit); 142List<Attribute> attributeList = new List<Attribute>(); 152Attribute[] array = CreateAttributeArrayHelper(type, attributeList.Count); 237private static Attribute[] InternalParamGetCustomAttributes(ParameterInfo param, Type? type, bool inherit) 251type ??= typeof(Attribute); 264Attribute[] ret; 268ret = (Attribute[])objAttr; 299Attribute[] attributes = CreateAttributeArrayHelper(type, count); 306attributes[count] = (Attribute)attr; 311Attribute[] temp = ret; 354if ((objAttr[i] is Attribute) && (attribUsage.Inherited)) 367private static void CopyToAttributeList(List<Attribute> attributeList, Attribute[] attributes, Dictionary<Type, AttributeUsageAttribute> types) 397private static void AddAttributesToList(List<Attribute> attributeList, Attribute[] attributes, Dictionary<Type, AttributeUsageAttribute> types) 436private static Attribute[] CreateAttributeArrayHelper(Type elementType, int elementCount) => 437elementType.ContainsGenericParameters ? new Attribute[elementCount] : (Attribute[])Array.CreateInstance(elementType, elementCount); 445public static Attribute[] GetCustomAttributes(MemberInfo element, Type attributeType) 450public static Attribute[] GetCustomAttributes(MemberInfo element, Type attributeType, bool inherit) 455if (!attributeType.IsSubclassOf(typeof(Attribute)) && attributeType != typeof(Attribute)) 462_ => (Attribute[])element.GetCustomAttributes(attributeType, inherit) 466public static Attribute[] GetCustomAttributes(MemberInfo element) 471public static Attribute[] GetCustomAttributes(MemberInfo element, bool inherit) 477MemberTypes.Property => InternalGetCustomAttributes((PropertyInfo)element, typeof(Attribute), inherit), 478MemberTypes.Event => InternalGetCustomAttributes((EventInfo)element, typeof(Attribute), inherit), 479_ => (Attribute[])element.GetCustomAttributes(typeof(Attribute), inherit) 494if (!attributeType.IsSubclassOf(typeof(Attribute)) && attributeType != typeof(Attribute)) 505public static Attribute? GetCustomAttribute(MemberInfo element, Type attributeType) 510public static Attribute? GetCustomAttribute(MemberInfo element, Type attributeType, bool inherit) 512Attribute[] attrib = GetCustomAttributes(element, attributeType, inherit); 517Attribute match = attrib[0]; 527public static Attribute[] GetCustomAttributes(ParameterInfo element) 532public static Attribute[] GetCustomAttributes(ParameterInfo element, Type attributeType) 537public static Attribute[] GetCustomAttributes(ParameterInfo element, Type attributeType, bool inherit) 542if (!attributeType.IsSubclassOf(typeof(Attribute)) && attributeType != typeof(Attribute)) 552return (Attribute[])element.GetCustomAttributes(attributeType, inherit); 555public static Attribute[] GetCustomAttributes(ParameterInfo element, bool inherit) 566return (Attribute[])element.GetCustomAttributes(typeof(Attribute), inherit); 581if (!attributeType.IsSubclassOf(typeof(Attribute)) && attributeType != typeof(Attribute)) 603public static Attribute? GetCustomAttribute(ParameterInfo element, Type attributeType) 608public static Attribute? GetCustomAttribute(ParameterInfo element, Type attributeType, bool inherit) 612Attribute[] attrib = GetCustomAttributes(element, attributeType, inherit); 617Attribute match = attrib[0]; 627public static Attribute[] GetCustomAttributes(Module element, Type attributeType) 632public static Attribute[] GetCustomAttributes(Module element) 637public static Attribute[] GetCustomAttributes(Module element, bool inherit) 641return (Attribute[])element.GetCustomAttributes(typeof(Attribute), inherit); 644public static Attribute[] GetCustomAttributes(Module element, Type attributeType, bool inherit) 649if (!attributeType.IsSubclassOf(typeof(Attribute)) && attributeType != typeof(Attribute)) 652return (Attribute[])element.GetCustomAttributes(attributeType, inherit); 667if (!attributeType.IsSubclassOf(typeof(Attribute)) && attributeType != typeof(Attribute)) 673public static Attribute? GetCustomAttribute(Module element, Type attributeType) 678public static Attribute? GetCustomAttribute(Module element, Type attributeType, bool inherit) 682Attribute[] attrib = GetCustomAttributes(element, attributeType, inherit); 687Attribute match = attrib[0]; 697public static Attribute[] GetCustomAttributes(Assembly element, Type attributeType) 702public static Attribute[] GetCustomAttributes(Assembly element, Type attributeType, bool inherit) 707if (!attributeType.IsSubclassOf(typeof(Attribute)) && attributeType != typeof(Attribute)) 710return (Attribute[])element.GetCustomAttributes(attributeType, inherit); 713public static Attribute[] GetCustomAttributes(Assembly element) 718public static Attribute[] GetCustomAttributes(Assembly element, bool inherit) 722return (Attribute[])element.GetCustomAttributes(typeof(Attribute), inherit); 737if (!attributeType.IsSubclassOf(typeof(Attribute)) && attributeType != typeof(Attribute)) 743public static Attribute? GetCustomAttribute(Assembly element, Type attributeType) 748public static Attribute? GetCustomAttribute(Assembly element, Type attributeType, bool inherit) 752Attribute[] attrib = GetCustomAttributes(element, attributeType, inherit); 757Attribute match = attrib[0];
src\System\Reflection\RuntimeCustomAttributeData.cs (6)
23RuntimeType.ListBuilder<Attribute> pcas = default; 33RuntimeType.ListBuilder<Attribute> pcas = default; 43RuntimeType.ListBuilder<Attribute> pcas = default; 92RuntimeType.ListBuilder<Attribute> pcas = default; 98private static ReadOnlyCollection<CustomAttributeData> GetCombinedList(IList<CustomAttributeData> customAttributes, ref RuntimeType.ListBuilder<Attribute> pseudoAttributes) 303internal RuntimeCustomAttributeData(Attribute attribute)
System.Private.Windows.Core.TestUtilities (1)
BinarySerialization.cs (1)
21var attributes = Attribute.GetCustomAttributes(type);
System.Reflection.Context (19)
System\Reflection\Context\CustomReflectionContext.cs (3)
93IEnumerable<Attribute>? propertyCustomAttributes, 94IEnumerable<Attribute>? getterCustomAttributes, 95IEnumerable<Attribute>? setterCustomAttributes)
System\Reflection\Context\Virtual\VirtualPropertyBase.cs (2)
159return CollectionServices.Empty<Attribute>(); 164return CollectionServices.Empty<Attribute>();
System\Reflection\Context\Virtual\VirtualPropertyInfo.cs (6)
15private readonly IEnumerable<Attribute> _attributes; 22IEnumerable<Attribute>? propertyAttributes, 23IEnumerable<Attribute>? getterAttributes, 24IEnumerable<Attribute>? setterAttributes, 41_attributes = propertyAttributes ?? CollectionServices.Empty<Attribute>(); 65return CollectionServices.IEnumerableToArray(_attributes, typeof(Attribute));
System\Reflection\Context\Virtual\VirtualPropertyInfo.PropertyGetter.cs (4)
16private readonly IEnumerable<Attribute> _attributes; 18public PropertyGetter(VirtualPropertyBase property, Func<object, object?> getter, IEnumerable<Attribute>? getterAttributes) 24_attributes = getterAttributes ?? CollectionServices.Empty<Attribute>(); 47return CollectionServices.IEnumerableToArray(_attributes, typeof(Attribute));
System\Reflection\Context\Virtual\VirtualPropertyInfo.PropertySetter.cs (4)
17private readonly IEnumerable<Attribute> _attributes; 19public PropertySetter(VirtualPropertyBase property, Action<object, object?> setter, IEnumerable<Attribute>? setterAttributes) 26_attributes = setterAttributes ?? CollectionServices.Empty<Attribute>(); 64return CollectionServices.IEnumerableToArray(_attributes, typeof(Attribute));
System.Reflection.DispatchProxy (1)
src\libraries\Common\src\System\Reflection\Emit\IgnoreAccessChecksToAttributeBuilder.cs (1)
24typeof(Attribute));
System.Runtime (1)
artifacts\obj\System.Runtime\Debug\net10.0\System.Runtime.Forwards.cs (1)
46[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Attribute))]
System.Runtime.InteropServices (4)
System\Runtime\InteropServices\ComAwareEventInfo.cs (2)
120Attribute? dispIdAttribute = Attribute.GetCustomAttribute(methodInfo, typeof(DispIdAttribute));
System\Runtime\InteropServices\Marshalling\ComImportInteropInterfaceDetailsStrategy.cs (2)
132typeof(Attribute)); 161private static readonly ConstructorInfo s_attributeBaseClassCtor = typeof(Attribute).GetConstructors(BindingFlags.NonPublic | BindingFlags.Instance)[0];
System.Runtime.Serialization.Formatters (1)
System\Runtime\Serialization\FormatterServices.cs (1)
324foreach (Attribute first in attributedType.GetCustomAttributes(typeof(TypeForwardedFromAttribute), false))
System.Text.Json (5)
System\ReflectionExtensions.cs (1)
76where TAttribute : Attribute
System\Text\Json\Serialization\Metadata\FSharpCoreReflectionProxy.cs (4)
120Attribute? compilationMappingAttribute = GetFSharpCompilationMappingAttribute(type); 206private Attribute? GetFSharpCompilationMappingAttribute(Type type) 209private SourceConstructFlags GetSourceConstructFlags(Attribute compilationMappingAttribute) 215foreach (Attribute attr in type.GetCustomAttributes(inherit: true))
System.Windows.Forms (82)
System\Windows\Forms\ActiveX\AxHost.AxPropertyDescriptor.cs (3)
22private readonly List<Attribute> _updateAttributes = []; 100private void AddAttribute(Attribute attr) 257List<Attribute> attributes = new(AttributeArray!);
System\Windows\Forms\ActiveX\AxHost.cs (7)
130private Attribute[]? _attribsStash; 2505EventDescriptorCollection ICustomTypeDescriptor.GetEvents(Attribute[]? attributes) 2538private PropertyDescriptorCollection FillProperties(Attribute[]? attributes) 2556foreach (Attribute attrib in attributes) 2646Attribute? browse = null; 2647foreach (Attribute attribute in attributes) 2697PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties(Attribute[]? attributes)
System\Windows\Forms\ComponentModel\COM2Interop\COM2ExtendedTypeConverter.cs (1)
84public override PropertyDescriptorCollection? GetProperties(ITypeDescriptorContext? context, object value, Attribute[]? attributes)
System\Windows\Forms\ComponentModel\COM2Interop\COM2IDispatchConverter.cs (1)
61public override PropertyDescriptorCollection GetProperties(ITypeDescriptorContext? context, object value, Attribute[]? attributes)
System\Windows\Forms\ComponentModel\COM2Interop\COM2IManagedPerPropertyBrowsingHandler.cs (10)
39Attribute[] attributes = GetComponentAttributes(propertyBrowsing.Value, sender.DISPID); 47internal static Attribute[] GetComponentAttributes(IVSMDPerPropertyBrowsing* propertyBrowsing, int dispid) 59List<Attribute> attributes = []; 122Debug.Assert(typeof(Attribute).IsAssignableFrom(type), $"Attribute type {type.FullName} does not derive from Attribute"); 123if (!typeof(Attribute).IsAssignableFrom(type)) 130if (field.GetValue(null) is Attribute attribute) 142Debug.Assert(typeof(Attribute).IsAssignableFrom(type), $"Attribute type {type.FullName} does not derive from Attribute"); 143if (!typeof(Attribute).IsAssignableFrom(type)) 163if (Activator.CreateInstance(type, [value]) is Attribute attribute) 181if (Activator.CreateInstance(type) is Attribute attribute)
System\Windows\Forms\ComponentModel\COM2Interop\COM2IVsPerPropertyBrowsingHandler.cs (1)
87BOOL hide = sender.Attributes[typeof(BrowsableAttribute)] is Attribute browsableAttribute
System\Windows\Forms\ComponentModel\COM2Interop\Com2PropertyDescriptor.Com2PropDescMainConverter.cs (1)
51public override PropertyDescriptorCollection? GetProperties(ITypeDescriptorContext? context, object value, Attribute[]? attributes)
System\Windows\Forms\ComponentModel\COM2Interop\COM2PropertyDescriptor.cs (11)
49private Attribute[]? _baseAttributes; 79Attribute[] attributes, 146protected Attribute[] BaseAttributes 160List<Attribute> attributes = []; 171_baseAttributes = new Attribute[attributes.Count]; 199List<Attribute>? newAttributes = null; 235List<Attribute> attributeList = []; 261Attribute[] temp = new Attribute[newAttributes.Count]; 470(Attribute[])(_baseAttributes?.Clone() ?? Array.Empty<Attribute>()),
System\Windows\Forms\ComponentModel\COM2Interop\Com2TypeInfoProcessor.PropInfo.cs (1)
24public List<Attribute> Attributes { get; } = [];
System\Windows\Forms\ComponentModel\COM2Interop\ComNativeDescriptor.ComTypeDescriptor.cs (2)
52EventDescriptorCollection ICustomTypeDescriptor.GetEvents(Attribute[]? attributes) => new(null); 58PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties(Attribute[]? attributes) => _handler.GetProperties(_instance);
System\Windows\Forms\ComponentModel\COM2Interop\ComNativeDescriptor.cs (2)
30private static readonly Attribute[] s_staticAttributes = [BrowsableAttribute.Yes, DesignTimeVisibleAttribute.No]; 242List<Attribute> attributes = [];
System\Windows\Forms\ComponentModel\COM2Interop\ComNativeDescriptor.NullTypeDescriptor.cs (2)
31EventDescriptorCollection ICustomTypeDescriptor.GetEvents(Attribute[]? attributes) => EventDescriptorCollection.Empty; 35PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties(Attribute[]? attributes) => PropertyDescriptorCollection.Empty;
System\Windows\Forms\ComponentModel\COM2Interop\GetAttributesEvent.cs (3)
10private readonly List<Attribute> _attributeList; 12public GetAttributesEvent(List<Attribute> attributeList) => _attributeList = attributeList; 14public void Add(Attribute attribute) => _attributeList.Add(attribute);
System\Windows\Forms\Controls\Buttons\FlatButtonAppearanceConverter.cs (3)
17public override PropertyDescriptorCollection GetProperties(ITypeDescriptorContext? context, object value, Attribute[]? attributes) 21Attribute[] attributes2 = new Attribute[attributes.Length + 1];
System\Windows\Forms\Controls\Labels\LinkArea.LinkAreaConverter.cs (1)
151public override PropertyDescriptorCollection GetProperties(ITypeDescriptorContext? context, object value, Attribute[]? attributes)
System\Windows\Forms\Controls\MonthCalendar\SelectionRangeConverter.cs (1)
173public override PropertyDescriptorCollection GetProperties(ITypeDescriptorContext? context, object value, Attribute[]? attributes)
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (2)
371var attributes = new Attribute[value.Count]; 1043var attributes = new Attribute[BrowsableAttributes.Count];
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\AttributeTypeSorter.cs (7)
10internal class AttributeTypeSorter : IComparer, IComparer<Attribute> 12private static readonly ConditionalWeakTable<Attribute, string> s_typeIds = []; 14public int Compare(object? x, object? y) => Compare(x as Attribute, y as Attribute); 16public int Compare(Attribute? x, Attribute? y) 26private static string? GetTypeIdString(Attribute attribute)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.cs (2)
1272Attribute[]? attributes = null; 1275attributes = new Attribute[browsableAttributes.Count];
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\MergePropertyDescriptor.MergedAttributeCollection.cs (5)
15private Dictionary<Type, Attribute>? _foundAttributes; 22public override Attribute? this[[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicParameterlessConstructor | DynamicallyAccessedMemberTypes.PublicFields)] Type attributeType] => GetCommonAttribute(attributeType); 24private Attribute? GetCommonAttribute([DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicParameterlessConstructor | DynamicallyAccessedMemberTypes.PublicFields)] Type attributeType) 41&& _foundAttributes.TryGetValue(attributeType, out Attribute? value)) 55Attribute? newValue = _attributeCollections[i][attributeType];
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\MultiSelectRootGridEntry.PropertyMerger.cs (2)
101Attribute[]? attributes = null; 104attributes = new Attribute[parentEntry.BrowsableAttributes.Count];
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertiesTab.cs (2)
40public override PropertyDescriptorCollection? GetProperties(object component, Attribute[]? attributes) 43public override PropertyDescriptorCollection? GetProperties(ITypeDescriptorContext? context, object component, Attribute[]? attributes)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\SingleSelectRootGridEntry.cs (2)
72var currentAttributes = new Attribute[_browsableAttributes.Count]; 73var newAttributes = new Attribute[value.Count];
System\Windows\Forms\DataBinding\ListBindingHelper.cs (2)
12private static Attribute[]? s_browsableAttribute; 14private static Attribute[] BrowsableAttributeList => s_browsableAttribute ??= [new BrowsableAttribute(true)];
System\Windows\Forms\Design\EventsTab.cs (4)
89public override PropertyDescriptorCollection GetProperties(object component, Attribute[]? attributes) 100Attribute[]? attributes) 118Attribute[] specifiedAttributesPlusContent; 126specifiedAttributesPlusContent = new Attribute[attributes.Length + 1];
System\Windows\Forms\Design\PropertyTab.cs (2)
119public abstract PropertyDescriptorCollection? GetProperties(object component, Attribute[]? attributes); 128Attribute[]? attributes) => GetProperties(component, attributes);
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutPanelCellPositionTypeConverter.cs (1)
100public override PropertyDescriptorCollection? GetProperties(ITypeDescriptorContext? context, object value, Attribute[]? attributes)
System\Windows\Forms\Scrolling\ScrollableControl.DockPaddingEdges.cs (1)
18public override PropertyDescriptorCollection GetProperties(ITypeDescriptorContext? context, object value, Attribute[]? attributes)
System.Windows.Forms.Design (50)
System\ComponentModel\Design\CollectionEditor.CollectionEditorCollectionForm.cs (2)
1282EventDescriptorCollection ICustomTypeDescriptor.GetEvents(Attribute[]? attributes) => EventDescriptorCollection.Empty; 1299PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties(Attribute[]? attributes) => _properties;
System\ComponentModel\Design\InheritedPropertyDescriptor.cs (3)
81List<Attribute> attributes = new(AttributeArray!) 99List<Attribute> attributes = new(AttributeArray!) 180foreach (Attribute attr in _propertyDescriptor.Attributes)
System\ComponentModel\Design\ReferenceService.cs (1)
11private static readonly Attribute[] s_attributes = [DesignerSerializationVisibilityAttribute.Content];
System\ComponentModel\Design\Serialization\CodeDomDesignerLoader.cs (1)
262foreach (Attribute attribute in attributes)
System\ComponentModel\Design\Serialization\CodeDomDesignerLoader.ModifierConverter.cs (1)
73public override PropertyDescriptorCollection? GetProperties(ITypeDescriptorContext? context, object value, Attribute[]? attributes)
System\ComponentModel\Design\Serialization\CodeDomSerializer.cs (3)
16private static readonly Attribute[] s_runTimeFilter = [DesignOnlyAttribute.No]; 17private static readonly Attribute[] s_designTimeFilter = [DesignOnlyAttribute.Yes]; 18private static readonly Attribute[] s_deserializeFilter = [BrowsableAttribute.Yes];
System\ComponentModel\Design\Serialization\CodeDomSerializerBase.cs (10)
20private static readonly Attribute[] s_runTimeProperties = [DesignOnlyAttribute.No]; 210protected static PropertyDescriptorCollection GetPropertiesHelper(IDesignerSerializationManager manager, object instance, Attribute[]? attributes) 242protected static EventDescriptorCollection GetEventsHelper(IDesignerSerializationManager manager, object instance, Attribute[]? attributes) 330protected void DeserializePropertiesFromResources(IDesignerSerializationManager manager, object value, Attribute[]? filter) 1770foreach (Attribute a in valueAttributes) 1790foreach (Attribute a in typeAttributes) 2130protected void SerializeEvents(IDesignerSerializationManager manager, CodeStatementCollection statements, object value, params Attribute[]? filter) 2142protected void SerializeProperties(IDesignerSerializationManager manager, CodeStatementCollection statements, object value, Attribute[]? filter) 2167private static PropertyDescriptorCollection GetFilteredProperties(IDesignerSerializationManager manager, object value, Attribute[]? filter) 2194protected void SerializePropertiesToResources(IDesignerSerializationManager manager, CodeStatementCollection statements, object value, Attribute[]? filter)
System\ComponentModel\Design\Serialization\ComponentCodeDomSerializer.cs (2)
13private static readonly Attribute[] s_runTimeFilter = [DesignOnlyAttribute.No]; 14private static readonly Attribute[] s_designTimeFilter = [DesignOnlyAttribute.Yes];
System\ComponentModel\Design\Serialization\DesignerSerializationManager.cs (1)
445foreach (Attribute attribute in attributes)
System\ComponentModel\Design\Serialization\TypeCodeDomSerializer.cs (1)
20private static readonly Attribute[] s_designTimeFilter = [DesignOnlyAttribute.Yes];
System\Drawing\Design\ToolboxItem.cs (1)
616foreach (Attribute a in TypeDescriptor.GetAttributes(type))
System\Windows\Forms\Design\ControlDesigner.cs (2)
1641Attribute[] attrs = new Attribute[controlsProp.Attributes.Count];
System\Windows\Forms\Design\DataGridViewColumnCollectionDialog.cs (3)
1260EventDescriptorCollection ICustomTypeDescriptor.GetEvents(Attribute[]? attrs) => TypeDescriptor.GetEvents(DataGridViewColumn, attrs!); 1266PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties(Attribute[]? attrs) 1337Attribute[] attrs = [editorAttr, descriptionAttr, categoryAttr];
System\Windows\Forms\Design\DataGridViewDesigner.cs (1)
367Attribute[] empty = [];
System\Windows\Forms\Design\DocumentDesigner.cs (1)
1273Attribute[] empty = [];
System\Windows\Forms\Design\FormDocumentDesigner.cs (1)
462Attribute[] empty = [];
System\Windows\Forms\Design\ImageListDesigner.cs (2)
127Attribute[] attrs = new Attribute[imageProp.Attributes.Count];
System\Windows\Forms\Design\MaskedTextBoxDesigner.cs (1)
171Attribute[] empty = [];
System\Windows\Forms\Design\RichTextBoxDesigner.cs (1)
72Attribute[] empty = [];
System\Windows\Forms\Design\TabControlDesigner.cs (1)
470Attribute[] empty = [];
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (4)
1403foreach (Attribute a in attribs) 2097Attribute[] attribs = [new BrowsableAttribute(true)]; 2115Attribute[] attrs = new Attribute[controlsProp.Attributes.Count];
System\Windows\Forms\Design\TextBoxDesigner.cs (1)
53Attribute[] empty = [];
System\Windows\Forms\Design\ToolStripContainerDesigner.cs (1)
444Attribute[] empty = [];
System\Windows\Forms\Design\ToolStripDesigner.cs (1)
2211Attribute[] empty = [];
System\Windows\Forms\Design\ToolStripDropDownDesigner.cs (1)
560Attribute[] empty = [];
System\Windows\Forms\Design\ToolStripItemDesigner.cs (1)
1043Attribute[] empty = [];
System\Windows\Forms\Design\ToolStripMenuItemDesigner.cs (1)
2273Attribute[] empty = [];
System\Windows\Forms\Design\ToolStripPanelDesigner.cs (1)
571Attribute[] empty = [];
System.Windows.Forms.Primitives (6)
Microsoft\VisualStudio\Shell\IVSMDPerPropertyBrowsing.cs (1)
89/// derives from <see cref="Attribute"/>. The array is callee allocated and will be callee freed using
System\ComponentModel\MemberDescriptorExtensions.cs (2)
11[NotNullWhen(true)] out T? attribute) where T : Attribute 19this MemberDescriptor descriptor) where T : Attribute
System\ComponentModel\TypeDescriptorHelper.cs (2)
11[NotNullWhen(true)] out T? attribute) where T : Attribute 20[NotNullWhen(true)] out T? attribute) where T : Attribute
System\Windows\Forms\PaddingConverter.cs (1)
112public override PropertyDescriptorCollection GetProperties(ITypeDescriptorContext? context, object value, Attribute[]? attributes)
System.Windows.Forms.Tests (27)
System\Windows\Forms\AxHostTests.cs (7)
2677yield return new object[] { Array.Empty<Attribute>() }; 2678yield return new object[] { new Attribute[] { null } }; 2683public void AxHost_ICustomTypeDescriptorGetEvents_InvokeAttributeArray_ReturnsExpected(Attribute[] attributes) 2701public void AxHost_ICustomTypeDescriptorGetEvents_InvokeAttributeArrayWithHandle_ReturnsExpected(Attribute[] attributes) 2874yield return new object[] { Array.Empty<Attribute>() }; 2882public void AxHost_ICustomTypeDescriptorGetProperties_InvokeAttributeArray_ReturnsExpected(Attribute[] attributes) 2900public void AxHost_ICustomTypeDescriptorGetProperties_InvokeAttributeArrayWithHandle_ReturnsExpected(Attribute[] attributes)
System\Windows\Forms\BinaryFormat\WinFormsBinaryFormattedObjectTests.cs (1)
21private static readonly Attribute[] s_visible = [DesignerSerializationVisibilityAttribute.Visible];
System\Windows\Forms\ComponentModel\Com2Interop\COM2FontConverterTests.cs (4)
20Array.Empty<Attribute>(), 101: base(default, "Foo", Array.Empty<Attribute>(), default, default, default, default) 130public EventDescriptorCollection GetEvents(Attribute[]? attributes) => throw new NotImplementedException(); 134public PropertyDescriptorCollection GetProperties(Attribute[]? attributes) => throw new NotImplementedException();
System\Windows\Forms\Design\PropertyTabTests.cs (4)
164yield return new object[] { mockContext.Object, new(), Array.Empty<Attribute>() }; 169public void PropertyTab_GetProperties_InvokeWithAttributes_ReturnsExpected(ITypeDescriptorContext context, object component, Attribute[] attributes) 190public Func<object, Attribute[], PropertyDescriptorCollection> GetPropertiesAction { get; set; } 192public override PropertyDescriptorCollection GetProperties(object component, Attribute[] attributes)
System\Windows\Forms\ListBindingHelperTests.cs (3)
740public CustomPropertyDescriptor(string name, Attribute[] attrs) : base(name, attrs) 849public EventDescriptorCollection GetEvents(Attribute[] attributes) 896public PropertyDescriptorCollection GetProperties(Attribute[] attributes)
System\Windows\Forms\PropertyGrid.PropertyTabCollectionTests.cs (2)
69public override PropertyDescriptorCollection GetProperties(object component, Attribute[] attributes) => TypeDescriptor.GetProperties(component, attributes); 71public override PropertyDescriptorCollection GetProperties(ITypeDescriptorContext context, object component, Attribute[] attributes) => TypeDescriptor.GetProperties(component, attributes);
System\Windows\Forms\PropertyGridInternal\AccessibleObjects\PropertyDescriptorGridEntry.PropertyDescriptorGridEntryAccessibleObjectTests.cs (2)
139public CustomPropertyDescriptor(string name, Attribute[] attrs) 172: base(ownerGrid, parent, new CustomPropertyDescriptor("Test", Array.Empty<Attribute>()), hide)
System\Windows\Forms\PropertyGridInternal\PropertiesTabTests.cs (3)
90PropertyDescriptorCollection properties = tab.GetProperties(new ClassWithDefaultProperty(), Array.Empty<Attribute>()); 174PropertyDescriptorCollection properties = tab.GetProperties(null, new ClassWithDefaultProperty(), Array.Empty<Attribute>()); 231public override PropertyDescriptorCollection GetProperties(ITypeDescriptorContext context, object value, Attribute[] attributes)
System\Windows\Forms\PropertyGridTests.cs (1)
2380public override PropertyDescriptorCollection GetProperties(object component, Attribute[] attributes) => throw new NotImplementedException();
System.Xaml (16)
System\Windows\Markup\PropertyDefinition.cs (3)
15private IList<Attribute> _attributes; 25public IList<Attribute> Attributes => _attributes ??= new List<Attribute>();
System\Xaml\MS\Impl\XmlNsInfo.cs (12)
170Attribute[] attributes; 171attributes = Attribute.GetCustomAttributes(assembly, typeof(XmlnsDefinitionAttribute)); 172foreach (Attribute attr in attributes) 255Attribute[] attributes = Attribute.GetCustomAttributes(assembly, typeof(InternalsVisibleToAttribute)); 311Attribute[] attributes = Attribute.GetCustomAttributes(assembly, typeof(XmlnsCompatibleWithAttribute)); 312foreach (Attribute attr in attributes) 362Attribute[] attributes = Attribute.GetCustomAttributes(assembly, typeof(XmlnsPrefixAttribute)); 363foreach (Attribute attr in attributes) 410Attribute.GetCustomAttribute(assembly, typeof(RootNamespaceAttribute));
System\Xaml\XamlLanguage.cs (1)
91new Lazy<XamlType>(() => GetXamlType(typeof(List<Attribute>)));