4828 references to AttributeTargets
ApiExplorerWebSite (1)
PassThruAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Method)]
ApplicationModelWebSite (2)
Conventions\CloneActionAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
Conventions\MultipleAreasAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
Aspire.Azure.AI.OpenAI (2)
src\Components\Common\ConfigurationSchemaAttributes.cs (2)
9[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)] 38[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = false)]
Aspire.Azure.Data.Tables (2)
src\Components\Common\ConfigurationSchemaAttributes.cs (2)
9[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)] 38[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = false)]
Aspire.Azure.Messaging.EventHubs (2)
src\Components\Common\ConfigurationSchemaAttributes.cs (2)
9[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)] 38[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = false)]
Aspire.Azure.Messaging.ServiceBus (2)
src\Components\Common\ConfigurationSchemaAttributes.cs (2)
9[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)] 38[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = false)]
Aspire.Azure.Messaging.WebPubSub (2)
src\Components\Common\ConfigurationSchemaAttributes.cs (2)
9[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)] 38[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = false)]
Aspire.Azure.Search.Documents (2)
src\Components\Common\ConfigurationSchemaAttributes.cs (2)
9[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)] 38[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = false)]
Aspire.Azure.Security.KeyVault (2)
src\Components\Common\ConfigurationSchemaAttributes.cs (2)
9[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)] 38[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = false)]
Aspire.Azure.Storage.Blobs (2)
src\Components\Common\ConfigurationSchemaAttributes.cs (2)
9[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)] 38[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = false)]
Aspire.Azure.Storage.Queues (2)
src\Components\Common\ConfigurationSchemaAttributes.cs (2)
9[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)] 38[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = false)]
Aspire.Components.Common.Tests (6)
RequiresDockerAttribute.cs (2)
9[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = false)]
RequiresSSLCertificateAttribute.cs (2)
9[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = false)]
RequiresToolsAttribute.cs (2)
9[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = false)]
Aspire.Dashboard.Components.Tests (5)
tests\Shared\Logging\LogLevelAttribute.cs (3)
6[AttributeUsage(AttributeTargets.Method | AttributeTargets.Class | AttributeTargets.Assembly, AllowMultiple = false)]
UseCultureAttribute.cs (2)
15[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
Aspire.Dashboard.Tests (3)
tests\Shared\Logging\LogLevelAttribute.cs (3)
6[AttributeUsage(AttributeTargets.Method | AttributeTargets.Class | AttributeTargets.Assembly, AllowMultiple = false)]
Aspire.Elastic.Clients.Elasticsearch (2)
src\Components\Common\ConfigurationSchemaAttributes.cs (2)
9[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)] 38[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = false)]
Aspire.Hosting (2)
ApplicationModel\EndpointNameAttribute.cs (1)
18[AttributeUsage(AttributeTargets.Parameter, AllowMultiple = false)]
ApplicationModel\ResourceNameAttribute.cs (1)
18[AttributeUsage(AttributeTargets.Parameter, AllowMultiple = false)]
Aspire.Hosting.Analyzers (25)
src\Shared\NullableAttributes.cs (25)
11[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property, Inherited = false)] 16[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property, Inherited = false)] 21[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, Inherited = false)] 26[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, Inherited = false)] 31[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 45[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 59[AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, AllowMultiple = true, Inherited = false)] 73[AttributeUsage(AttributeTargets.Method, Inherited = false)] 78[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 96[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, Inherited = false, AllowMultiple = true)] 116[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, Inherited = false, AllowMultiple = true)]
Aspire.Hosting.Testing.Tests (3)
tests\Shared\Logging\LogLevelAttribute.cs (3)
6[AttributeUsage(AttributeTargets.Method | AttributeTargets.Class | AttributeTargets.Assembly, AllowMultiple = false)]
Aspire.Hosting.Tests (3)
tests\Shared\Logging\LogLevelAttribute.cs (3)
6[AttributeUsage(AttributeTargets.Method | AttributeTargets.Class | AttributeTargets.Assembly, AllowMultiple = false)]
Aspire.Microsoft.Azure.Cosmos (2)
src\Components\Common\ConfigurationSchemaAttributes.cs (2)
9[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)] 38[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = false)]
Aspire.Microsoft.Data.SqlClient (2)
src\Components\Common\ConfigurationSchemaAttributes.cs (2)
9[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)] 38[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = false)]
Aspire.Microsoft.EntityFrameworkCore.Cosmos (2)
src\Components\Common\ConfigurationSchemaAttributes.cs (2)
9[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)] 38[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = false)]
Aspire.Microsoft.EntityFrameworkCore.SqlServer (2)
src\Components\Common\ConfigurationSchemaAttributes.cs (2)
9[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)] 38[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = false)]
Aspire.Milvus.Client (2)
src\Components\Common\ConfigurationSchemaAttributes.cs (2)
9[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)] 38[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = false)]
Aspire.MongoDB.Driver (2)
src\Components\Common\ConfigurationSchemaAttributes.cs (2)
9[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)] 38[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = false)]
Aspire.MySqlConnector (2)
src\Components\Common\ConfigurationSchemaAttributes.cs (2)
9[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)] 38[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = false)]
Aspire.NATS.Net (2)
src\Components\Common\ConfigurationSchemaAttributes.cs (2)
9[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)] 38[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = false)]
Aspire.Npgsql (2)
src\Components\Common\ConfigurationSchemaAttributes.cs (2)
9[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)] 38[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = false)]
Aspire.Npgsql.EntityFrameworkCore.PostgreSQL (2)
src\Components\Common\ConfigurationSchemaAttributes.cs (2)
9[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)] 38[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = false)]
Aspire.OpenAI (2)
src\Components\Common\ConfigurationSchemaAttributes.cs (2)
9[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)] 38[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = false)]
Aspire.Oracle.EntityFrameworkCore (2)
src\Components\Common\ConfigurationSchemaAttributes.cs (2)
9[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)] 38[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = false)]
Aspire.Playground.Tests (9)
tests\Aspire.Components.Common.Tests\RequiresDockerAttribute.cs (2)
9[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = false)]
tests\Aspire.Components.Common.Tests\RequiresSSLCertificateAttribute.cs (2)
9[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = false)]
tests\Aspire.Components.Common.Tests\RequiresToolsAttribute.cs (2)
9[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = false)]
tests\Shared\Logging\LogLevelAttribute.cs (3)
6[AttributeUsage(AttributeTargets.Method | AttributeTargets.Class | AttributeTargets.Assembly, AllowMultiple = false)]
Aspire.Pomelo.EntityFrameworkCore.MySql (2)
src\Components\Common\ConfigurationSchemaAttributes.cs (2)
9[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)] 38[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = false)]
Aspire.Qdrant.Client (2)
src\Components\Common\ConfigurationSchemaAttributes.cs (2)
9[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)] 38[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = false)]
Aspire.RabbitMQ.Client (2)
src\Components\Common\ConfigurationSchemaAttributes.cs (2)
9[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)] 38[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = false)]
Aspire.Seq (2)
src\Components\Common\ConfigurationSchemaAttributes.cs (2)
9[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)] 38[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = false)]
Aspire.StackExchange.Redis (2)
src\Components\Common\ConfigurationSchemaAttributes.cs (2)
9[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)] 38[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = false)]
Aspire.StackExchange.Redis.DistributedCaching (2)
src\Components\Common\ConfigurationSchemaAttributes.cs (2)
9[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)] 38[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = false)]
Aspire.StackExchange.Redis.OutputCaching (2)
src\Components\Common\ConfigurationSchemaAttributes.cs (2)
9[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)] 38[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = false)]
BasicTestApp (1)
FormsTest\CustomFieldCssClassProvider.cs (1)
39[AttributeUsage(AttributeTargets.Property)]
BasicWebSite (2)
VndErrorAttribute.cs (2)
8[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method)]
BuildActionTelemetryTable (4)
src\Dependencies\Contracts\NonCopyableAttribute.cs (2)
9[AttributeUsage(AttributeTargets.Struct | AttributeTargets.GenericParameter)]
src\Dependencies\Contracts\NonDefaultableAttribute.cs (2)
9[AttributeUsage(AttributeTargets.Struct | AttributeTargets.GenericParameter)]
CodeStyleConfigFileGenerator (4)
src\Dependencies\Contracts\NonCopyableAttribute.cs (2)
9[AttributeUsage(AttributeTargets.Struct | AttributeTargets.GenericParameter)]
src\Dependencies\Contracts\NonDefaultableAttribute.cs (2)
9[AttributeUsage(AttributeTargets.Struct | AttributeTargets.GenericParameter)]
ConfigurationSchemaGenerator.Tests (2)
src\Components\Common\ConfigurationSchemaAttributes.cs (2)
9[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)] 38[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = false)]
CorsWebSite (2)
Filters\AllRequestsBlockingAuthorizationFilter.cs (2)
9[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
dotnet-openapi (1)
Internal\OpenapiDependencyAttribute.cs (1)
11[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)]
dotnet-svcutil-lib (171)
FrameworkFork\Microsoft.CodeDom\Compiler\GeneratedCodeAttribute.cs (1)
9[AttributeUsage(AttributeTargets.All, Inherited = false, AllowMultiple = false)]
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapAttributeAttribute.cs (4)
13[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Parameter | AttributeTargets.ReturnValue)]
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapElementAttribute.cs (4)
13[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Parameter | AttributeTargets.ReturnValue)]
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapEnumAttribute.cs (1)
13[AttributeUsage(AttributeTargets.Field)]
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapIgnoreAttribute.cs (4)
13[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Parameter | AttributeTargets.ReturnValue)]
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapIncludeAttribute.cs (4)
13[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Interface | AttributeTargets.Method, AllowMultiple = true)]
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapTypeAttribute.cs (4)
13[AttributeUsage(AttributeTargets.Class | AttributeTargets.Enum | AttributeTargets.Interface | AttributeTargets.Struct)]
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlAnyAttributeAttribute.cs (4)
14[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Parameter | AttributeTargets.ReturnValue, AllowMultiple = false)]
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlAnyElementAttribute.cs (4)
14[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Parameter | AttributeTargets.ReturnValue, AllowMultiple = true)]
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlArrayAttribute.cs (4)
14[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Parameter | AttributeTargets.ReturnValue, AllowMultiple = false)]
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlArrayItemAttribute.cs (4)
14[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Parameter | AttributeTargets.ReturnValue, AllowMultiple = true)]
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlAttributeAttribute.cs (4)
14[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Parameter | AttributeTargets.ReturnValue)]
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlChoiceIdentifierAttribute.cs (4)
15[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Parameter | AttributeTargets.ReturnValue, AllowMultiple = false)]
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlElementAttribute.cs (4)
14[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Parameter | AttributeTargets.ReturnValue, AllowMultiple = true)]
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlEnumAttribute.cs (1)
13[AttributeUsage(AttributeTargets.Field)]
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlIgnoreAttribute.cs (4)
13[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Parameter | AttributeTargets.ReturnValue)]
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlIncludeAttribute.cs (4)
13[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Interface | AttributeTargets.Method, AllowMultiple = true)]
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlNamespaceDeclarationsAttribute.cs (4)
14[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Parameter | AttributeTargets.ReturnValue, AllowMultiple = false)]
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlRootAttribute.cs (5)
15[AttributeUsage(AttributeTargets.ReturnValue | AttributeTargets.Class | AttributeTargets.Enum | AttributeTargets.Interface | AttributeTargets.Struct)]
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaProviderAttribute.cs (3)
15[AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface | AttributeTargets.Struct)]
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializerAssemblyAttribute.cs (4)
14[AttributeUsage(AttributeTargets.Class | AttributeTargets.Enum | AttributeTargets.Interface | AttributeTargets.Struct, AllowMultiple = false)]
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializerVersionAttribute.cs (1)
15[AttributeUsage(AttributeTargets.Assembly)]
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlTextAttribute.cs (4)
13[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Parameter | AttributeTargets.ReturnValue)]
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlTypeAttribute.cs (4)
13[AttributeUsage(AttributeTargets.Class | AttributeTargets.Enum | AttributeTargets.Interface | AttributeTargets.Struct)]
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\CollectionDataContractAttribute.cs (2)
7[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct, Inherited = false, AllowMultiple = false)]
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\ContractNamespaceAttribute.cs (2)
10[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Module, Inherited = false, AllowMultiple = true)]
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\DataContractAttribute.cs (3)
7[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum, Inherited = false, AllowMultiple = false)]
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\DataMemberAttribute.cs (2)
7[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property, Inherited = false, AllowMultiple = false)]
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\EnumMemberAttribute.cs (1)
7[AttributeUsage(AttributeTargets.Field, Inherited = false, AllowMultiple = false)]
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\IgnoreDataMemberAttribute.cs (2)
7[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property, Inherited = false, AllowMultiple = false)]
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\KnownTypeAttribute.cs (2)
7[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct, Inherited = true, AllowMultiple = true)]
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\OnDeserializedAttribute.cs (1)
9[AttributeUsage(AttributeTargets.Method, Inherited = false)]
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\OnDeserializingAttribute.cs (1)
9[AttributeUsage(AttributeTargets.Method, Inherited = false)]
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\OnSerializedAttribute.cs (1)
9[AttributeUsage(AttributeTargets.Method, Inherited = false)]
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\OnSerializingAttribute.cs (1)
9[AttributeUsage(AttributeTargets.Method, Inherited = false)]
FrameworkFork\System.ServiceModel\Internals\System\Runtime\Fx.cs (42)
529[AttributeUsage(AttributeTargets.Method | AttributeTargets.Constructor | AttributeTargets.Property | AttributeTargets.Class, 545[AttributeUsage(AttributeTargets.Method | AttributeTargets.Constructor, 562[AttributeUsage(AttributeTargets.Field)] 605[AttributeUsage(AttributeTargets.Field)] 638[AttributeUsage(AttributeTargets.Field)] 690[AttributeUsage(AttributeTargets.Field | AttributeTargets.Method | AttributeTargets.Constructor, 723[AttributeUsage(AttributeTargets.Field | AttributeTargets.Class, Inherited = false)] 739[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct, Inherited = true)] 763[AttributeUsage(AttributeTargets.Method | AttributeTargets.Constructor, Inherited = false)] 782[AttributeUsage(AttributeTargets.Method | AttributeTargets.Constructor, Inherited = false)] 791[AttributeUsage(AttributeTargets.Method | AttributeTargets.Constructor, Inherited = false)] 802[AttributeUsage(AttributeTargets.Method | AttributeTargets.Constructor, 842[AttributeUsage(AttributeTargets.Method | AttributeTargets.Constructor, Inherited = false)] 854[AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = true)] 863[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Struct, AllowMultiple = false, Inherited = false)] 884[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Module | AttributeTargets.Class | 885AttributeTargets.Struct | AttributeTargets.Enum | AttributeTargets.Constructor | AttributeTargets.Method | 886AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Event | AttributeTargets.Interface | 887AttributeTargets.Delegate, AllowMultiple = false, Inherited = false)]
FrameworkFork\System.ServiceModel\System\ServiceModel\CallbackBehaviorAttribute.cs (1)
11[AttributeUsage(AttributeTargets.Class)]
FrameworkFork\System.ServiceModel\System\ServiceModel\ServiceModelAttributeTargets.cs (23)
9public const AttributeTargets ServiceContract = AttributeTargets.Interface | AttributeTargets.Class; 10public const AttributeTargets OperationContract = AttributeTargets.Method; 11public const AttributeTargets MessageContract = AttributeTargets.Class | AttributeTargets.Struct; 12public const AttributeTargets MessageMember = AttributeTargets.Property | AttributeTargets.Field; 13public const AttributeTargets Parameter = AttributeTargets.ReturnValue | AttributeTargets.Parameter; 15public const AttributeTargets ServiceBehavior = AttributeTargets.Class; 16public const AttributeTargets CallbackBehavior = AttributeTargets.Class; 17public const AttributeTargets ClientBehavior = AttributeTargets.Interface; 18public const AttributeTargets ContractBehavior = ServiceBehavior | ClientBehavior; 19public const AttributeTargets OperationBehavior = AttributeTargets.Method;
FrameworkFork\System.Web.Services\Services\Description\XmlFormatExtensionAttribute.cs (1)
13[AttributeUsage(AttributeTargets.Class)]
FrameworkFork\System.Web.Services\Services\Description\XmlFormatExtensionPointAttribute.cs (1)
13[AttributeUsage(AttributeTargets.Class)]
FrameworkFork\System.Web.Services\Services\Description\XmlFormatExtensionPrefixAttribute.cs (1)
13[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
IIS.FunctionalTests (25)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\RequiresEnvironmentVariableAttribute.cs (3)
10[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Method)]
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\RequiresIISAttribute.cs (3)
14[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Method)]
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\RequiresNewHandler.cs (3)
9[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Method)]
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\RequiresNewShim.cs (3)
9[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Method)]
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\SkipIfDebugAttribute.cs (3)
10[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Method)]
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\SkipIfNotAdminAttribute.cs (3)
10[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Method)]
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\SkipVSTSAttribute.cs (3)
10[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Method)]
src\Shared\TransportTestHelpers\HttpSysHttp3SupportedAttribute.cs (2)
10[AttributeUsage(AttributeTargets.Method | AttributeTargets.Class, AllowMultiple = false)]
src\Shared\TransportTestHelpers\MsQuicSupportedAttribute.cs (2)
9[AttributeUsage(AttributeTargets.Method | AttributeTargets.Class, AllowMultiple = false)]
IIS.LongTests (21)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\RequiresEnvironmentVariableAttribute.cs (3)
10[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Method)]
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\RequiresIISAttribute.cs (3)
14[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Method)]
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\RequiresNewHandler.cs (3)
9[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Method)]
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\RequiresNewShim.cs (3)
9[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Method)]
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\SkipIfDebugAttribute.cs (3)
10[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Method)]
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\SkipIfNotAdminAttribute.cs (3)
10[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Method)]
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\SkipVSTSAttribute.cs (3)
10[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Method)]
IIS.Microbenchmarks (4)
src\Shared\BenchmarkRunner\AspNetCoreBenchmarkAttribute.cs (2)
10[AttributeUsage(AttributeTargets.Class | AttributeTargets.Assembly)]
src\Shared\BenchmarkRunner\ParameterizedJobConfigAttribute.cs (2)
8[AttributeUsage(AttributeTargets.Class | AttributeTargets.Assembly)]
IIS.NewHandler.FunctionalTests (21)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\RequiresEnvironmentVariableAttribute.cs (3)
10[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Method)]
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\RequiresIISAttribute.cs (3)
14[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Method)]
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\RequiresNewHandler.cs (3)
9[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Method)]
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\RequiresNewShim.cs (3)
9[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Method)]
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\SkipIfDebugAttribute.cs (3)
10[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Method)]
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\SkipIfNotAdminAttribute.cs (3)
10[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Method)]
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\SkipVSTSAttribute.cs (3)
10[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Method)]
IIS.NewShim.FunctionalTests (21)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\RequiresEnvironmentVariableAttribute.cs (3)
10[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Method)]
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\RequiresIISAttribute.cs (3)
14[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Method)]
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\RequiresNewHandler.cs (3)
9[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Method)]
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\RequiresNewShim.cs (3)
9[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Method)]
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\SkipIfDebugAttribute.cs (3)
10[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Method)]
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\SkipIfNotAdminAttribute.cs (3)
10[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Method)]
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\SkipVSTSAttribute.cs (3)
10[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Method)]
IIS.ShadowCopy.Tests (21)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\RequiresEnvironmentVariableAttribute.cs (3)
10[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Method)]
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\RequiresIISAttribute.cs (3)
14[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Method)]
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\RequiresNewHandler.cs (3)
9[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Method)]
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\RequiresNewShim.cs (3)
9[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Method)]
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\SkipIfDebugAttribute.cs (3)
10[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Method)]
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\SkipIfNotAdminAttribute.cs (3)
10[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Method)]
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\SkipVSTSAttribute.cs (3)
10[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Method)]
IIS.Tests (3)
Utilities\SkipIfHostableWebCoreNotAvailibleAttribute.cs (3)
10[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Method)]
IISExpress.FunctionalTests (21)
RequiresIISAttribute.cs (3)
10[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Method)]
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\RequiresEnvironmentVariableAttribute.cs (3)
10[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Method)]
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\RequiresNewHandler.cs (3)
9[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Method)]
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\RequiresNewShim.cs (3)
9[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Method)]
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\SkipIfDebugAttribute.cs (3)
10[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Method)]
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\SkipIfNotAdminAttribute.cs (3)
10[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Method)]
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\SkipVSTSAttribute.cs (3)
10[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Method)]
illink (5)
ILLink.RoslynAnalyzer (26)
NullableAttributes.cs (25)
11 [AttributeUsage (AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property, Inherited = false)] 15 [AttributeUsage (AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property, Inherited = false)] 19 [AttributeUsage (AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, Inherited = false)] 23 [AttributeUsage (AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, Inherited = false)] 27 [AttributeUsage (AttributeTargets.Parameter, Inherited = false)] 41 [AttributeUsage (AttributeTargets.Parameter, Inherited = false)] 55 [AttributeUsage (AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, AllowMultiple = true, Inherited = false)] 69 [AttributeUsage (AttributeTargets.Method, Inherited = false)] 73 [AttributeUsage (AttributeTargets.Parameter, Inherited = false)] 92 [AttributeUsage (AttributeTargets.Method | AttributeTargets.Property, Inherited = false, AllowMultiple = true)] 112 [AttributeUsage (AttributeTargets.Method | AttributeTargets.Property, Inherited = false, AllowMultiple = true)]
src\tools\illink\src\ILLink.Shared\ClosedAttribute.cs (1)
9 [AttributeUsage (AttributeTargets.Enum)]
Infrastructure.Common (7)
xunit\ConditionAttribute.cs (1)
21[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
xunit\FailFastAfterAttribute.cs (3)
6[AttributeUsage(AttributeTargets.Method | AttributeTargets.Class | AttributeTargets.Assembly, AllowMultiple = false)]
xunit\IssueAttribute.cs (1)
23[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
xunit\WcfFactAttribute.cs (1)
12[AttributeUsage(AttributeTargets.Method, AllowMultiple = false)]
xunit\WcfTheoryAttribute.cs (1)
12[AttributeUsage(AttributeTargets.Method, AllowMultiple = false)]
InMemory.FunctionalTests (2)
src\Servers\Kestrel\shared\test\TransportTestHelpers\TlsAlpnSupportedAttribute.cs (2)
6[AttributeUsage(AttributeTargets.Method | AttributeTargets.Class, AllowMultiple = false)]
Interop.FunctionalTests (6)
SkipOnArchitectureAttribute.cs (2)
11[AttributeUsage(AttributeTargets.Method | AttributeTargets.Class, AllowMultiple = false)]
src\Servers\Kestrel\shared\test\TransportTestHelpers\TlsAlpnSupportedAttribute.cs (2)
6[AttributeUsage(AttributeTargets.Method | AttributeTargets.Class, AllowMultiple = false)]
src\Shared\TransportTestHelpers\MsQuicSupportedAttribute.cs (2)
9[AttributeUsage(AttributeTargets.Method | AttributeTargets.Class, AllowMultiple = false)]
Microsoft.AspNetCore.Analyzers (25)
src\Shared\Nullable\NullableAttributes.cs (25)
11[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property, Inherited = false)] 21[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property, Inherited = false)] 31[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, Inherited = false)] 41[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, Inherited = false)] 51[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 70[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 89[AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, AllowMultiple = true, Inherited = false)] 108[AttributeUsage(AttributeTargets.Method, Inherited = false)] 118[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 141[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, Inherited = false, AllowMultiple = true)] 166[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, Inherited = false, AllowMultiple = true)]
Microsoft.AspNetCore.Antiforgery (2)
RequireAntiforgeryTokenAttribute.cs (2)
10[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method)]
Microsoft.AspNetCore.App.Analyzers (25)
src\Shared\Nullable\NullableAttributes.cs (25)
11[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property, Inherited = false)] 21[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property, Inherited = false)] 31[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, Inherited = false)] 41[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, Inherited = false)] 51[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 70[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 89[AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, AllowMultiple = true, Inherited = false)] 108[AttributeUsage(AttributeTargets.Method, Inherited = false)] 118[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 141[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, Inherited = false, AllowMultiple = true)] 166[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, Inherited = false, AllowMultiple = true)]
Microsoft.AspNetCore.App.Analyzers.Test (1)
TestDataAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)]
Microsoft.AspNetCore.App.SourceGenerators (25)
src\Shared\Nullable\NullableAttributes.cs (25)
11[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property, Inherited = false)] 21[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property, Inherited = false)] 31[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, Inherited = false)] 41[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, Inherited = false)] 51[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 70[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 89[AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, AllowMultiple = true, Inherited = false)] 108[AttributeUsage(AttributeTargets.Method, Inherited = false)] 118[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 141[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, Inherited = false, AllowMultiple = true)] 166[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, Inherited = false, AllowMultiple = true)]
Microsoft.AspNetCore.App.UnitTests (1)
TestDataAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)]
Microsoft.AspNetCore.Authorization (30)
AllowAnonymousAttribute.cs (2)
12[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
AuthorizeAttribute.cs (2)
13[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = true, Inherited = true)]
src\Shared\CallerArgument\CallerArgumentExpressionAttribute.cs (1)
9[AttributeUsage(AttributeTargets.Parameter, AllowMultiple = false, Inherited = false)]
src\Shared\Nullable\NullableAttributes.cs (25)
11[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property, Inherited = false)] 21[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property, Inherited = false)] 31[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, Inherited = false)] 41[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, Inherited = false)] 51[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 70[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 89[AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, AllowMultiple = true, Inherited = false)] 108[AttributeUsage(AttributeTargets.Method, Inherited = false)] 118[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 141[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, Inherited = false, AllowMultiple = true)] 166[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, Inherited = false, AllowMultiple = true)]
Microsoft.AspNetCore.Components (13)
BindElementAttribute.cs (1)
9[AttributeUsage(AttributeTargets.Class, AllowMultiple = true, Inherited = true)]
CascadingParameterAttribute.cs (1)
11[AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = true)]
CascadingTypeParameterAttribute.cs (1)
11[AttributeUsage(AttributeTargets.Class, AllowMultiple = true, Inherited = false)]
EditorRequiredAttribute.cs (1)
13[AttributeUsage(AttributeTargets.Property, AllowMultiple = false)]
EventHandlerAttribute.cs (1)
9[AttributeUsage(AttributeTargets.Class, AllowMultiple = true, Inherited = true)]
InjectAttribute.cs (1)
10[AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = true)]
LayoutAttribute.cs (1)
12[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
ParameterAttribute.cs (1)
11[AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = true)]
RenderModeAttribute.cs (1)
13[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
RouteAttribute.cs (1)
11[AttributeUsage(AttributeTargets.Class, AllowMultiple = true, Inherited = false)]
Routing\ExcludeFromInteractiveRoutingAttribute.cs (1)
13[AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
StreamRenderingAttribute.cs (1)
15[AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
SupplyParameterFromQueryAttribute.cs (1)
10[AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = true)]
Microsoft.AspNetCore.Components.Analyzers (25)
src\Shared\Nullable\NullableAttributes.cs (25)
11[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property, Inherited = false)] 21[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property, Inherited = false)] 31[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, Inherited = false)] 41[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, Inherited = false)] 51[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 70[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 89[AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, AllowMultiple = true, Inherited = false)] 108[AttributeUsage(AttributeTargets.Method, Inherited = false)] 118[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 141[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, Inherited = false, AllowMultiple = true)] 166[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, Inherited = false, AllowMultiple = true)]
Microsoft.AspNetCore.Components.Endpoints (1)
Builder\RazorComponentApplicationAttribute.cs (1)
12[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = false)]
Microsoft.AspNetCore.Components.Performance (4)
src\Shared\BenchmarkRunner\AspNetCoreBenchmarkAttribute.cs (2)
10[AttributeUsage(AttributeTargets.Class | AttributeTargets.Assembly)]
src\Shared\BenchmarkRunner\ParameterizedJobConfigAttribute.cs (2)
8[AttributeUsage(AttributeTargets.Class | AttributeTargets.Assembly)]
Microsoft.AspNetCore.Components.Server (1)
BlazorPack\NonDefaultHubProtocolAttribute.cs (1)
7[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
Microsoft.AspNetCore.Components.Tests (12)
CascadingParameterTest.cs (2)
1021[AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = true)] 1026[AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = true)]
EventCallbackFactoryBinderExtensionsTest.cs (10)
349var value = AttributeTargets.All; 351Action<AttributeTargets> setter = (_) => value = _; 355var expectedValue = AttributeTargets.Class; 368var value = (AttributeTargets?)AttributeTargets.All; 370Action<AttributeTargets?> setter = (_) => value = _; 374var expectedValue = AttributeTargets.Class;
Microsoft.AspNetCore.Components.Web (2)
BindInputElementAttribute.cs (1)
11[AttributeUsage(AttributeTargets.Class, AllowMultiple = true, Inherited = true)]
SupplyParameterFromFormAttribute.cs (1)
10[AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = true)]
Microsoft.AspNetCore.ConcurrencyLimiter.Microbenchmarks (4)
src\Shared\BenchmarkRunner\AspNetCoreBenchmarkAttribute.cs (2)
10[AttributeUsage(AttributeTargets.Class | AttributeTargets.Assembly)]
src\Shared\BenchmarkRunner\ParameterizedJobConfigAttribute.cs (2)
8[AttributeUsage(AttributeTargets.Class | AttributeTargets.Assembly)]
Microsoft.AspNetCore.Cors (4)
DisableCorsAttribute.cs (2)
10[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = false, Inherited = false)]
EnableCorsAttribute.cs (2)
11[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
Microsoft.AspNetCore.Cryptography.Internal (25)
src\Shared\Nullable\NullableAttributes.cs (25)
11[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property, Inherited = false)] 21[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property, Inherited = false)] 31[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, Inherited = false)] 41[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, Inherited = false)] 51[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 70[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 89[AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, AllowMultiple = true, Inherited = false)] 108[AttributeUsage(AttributeTargets.Method, Inherited = false)] 118[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 141[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, Inherited = false, AllowMultiple = true)] 166[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, Inherited = false, AllowMultiple = true)]
Microsoft.AspNetCore.Cryptography.KeyDerivation (1)
src\Shared\CallerArgument\CallerArgumentExpressionAttribute.cs (1)
9[AttributeUsage(AttributeTargets.Parameter, AllowMultiple = false, Inherited = false)]
Microsoft.AspNetCore.DataProtection (1)
ApplyPolicyAttribute.cs (1)
11[AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = false)]
Microsoft.AspNetCore.DataProtection.Extensions (45)
src\Shared\CallerArgument\CallerArgumentExpressionAttribute.cs (1)
9[AttributeUsage(AttributeTargets.Parameter, AllowMultiple = false, Inherited = false)]
src\Shared\Nullable\NullableAttributes.cs (25)
11[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property, Inherited = false)] 21[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property, Inherited = false)] 31[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, Inherited = false)] 41[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, Inherited = false)] 51[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 70[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 89[AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, AllowMultiple = true, Inherited = false)] 108[AttributeUsage(AttributeTargets.Method, Inherited = false)] 118[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 141[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, Inherited = false, AllowMultiple = true)] 166[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, Inherited = false, AllowMultiple = true)]
src\Shared\TrimmingAttributes.cs (19)
16[AttributeUsage(AttributeTargets.Method | AttributeTargets.Constructor | AttributeTargets.Class, Inherited = false)] 53[AttributeUsage(AttributeTargets.Method | AttributeTargets.Constructor | AttributeTargets.Class, Inherited = false)] 89[AttributeUsage(AttributeTargets.All, Inherited = false, AllowMultiple = true)] 168AttributeTargets.Constructor | AttributeTargets.Field | AttributeTargets.Method, 308AttributeTargets.Field | AttributeTargets.ReturnValue | AttributeTargets.GenericParameter | 309AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.Method | 310AttributeTargets.Class | AttributeTargets.Interface | AttributeTargets.Struct,
Microsoft.AspNetCore.DataProtection.Extensions.Tests (1)
X509StoreIsAvailableAttribute.cs (1)
10[AttributeUsage(AttributeTargets.Method)]
Microsoft.AspNetCore.Grpc.Microbenchmarks (4)
src\Shared\BenchmarkRunner\AspNetCoreBenchmarkAttribute.cs (2)
10[AttributeUsage(AttributeTargets.Class | AttributeTargets.Assembly)]
src\Shared\BenchmarkRunner\ParameterizedJobConfigAttribute.cs (2)
8[AttributeUsage(AttributeTargets.Class | AttributeTargets.Assembly)]
Microsoft.AspNetCore.Hosting.Abstractions (1)
HostingStartupAttribute.cs (1)
11[AttributeUsage(AttributeTargets.Assembly, Inherited = false, AllowMultiple = true)]
Microsoft.AspNetCore.Http (4)
Timeouts\DisableRequestTimeoutAttribute.cs (2)
14[AttributeUsage(AttributeTargets.Method | AttributeTargets.Class)]
Timeouts\RequestTimeoutAttribute.cs (2)
12[AttributeUsage(AttributeTargets.Method | AttributeTargets.Class)]
Microsoft.AspNetCore.Http.Abstractions (1)
AsParametersAttribute.cs (1)
12AttributeTargets.Parameter,
Microsoft.AspNetCore.Http.Abstractions.Microbenchmarks (4)
src\Shared\BenchmarkRunner\AspNetCoreBenchmarkAttribute.cs (2)
10[AttributeUsage(AttributeTargets.Class | AttributeTargets.Assembly)]
src\Shared\BenchmarkRunner\ParameterizedJobConfigAttribute.cs (2)
8[AttributeUsage(AttributeTargets.Class | AttributeTargets.Assembly)]
Microsoft.AspNetCore.Http.Extensions (7)
DisableHttpMetricsAttribute.cs (2)
12[AttributeUsage(AttributeTargets.Method | AttributeTargets.Class)]
EndpointDescriptionAttribute.cs (1)
16[AttributeUsage(AttributeTargets.Method, Inherited = false, AllowMultiple = false)]
EndpointSummaryAttribute.cs (1)
13[AttributeUsage(AttributeTargets.Method, Inherited = false, AllowMultiple = false)]
TagsAttribute.cs (3)
18[AttributeUsage(AttributeTargets.Method | AttributeTargets.Delegate | AttributeTargets.Class, Inherited = false, AllowMultiple = false)]
Microsoft.AspNetCore.Http.Extensions.Tests (4)
PropertyAsParameterInfoTests.cs (4)
214[AttributeUsage(AttributeTargets.Property | AttributeTargets.Parameter, Inherited = true)] 218[AttributeUsage(AttributeTargets.Property | AttributeTargets.Parameter, Inherited = true)]
Microsoft.AspNetCore.Http.Microbenchmarks (4)
src\Shared\BenchmarkRunner\AspNetCoreBenchmarkAttribute.cs (2)
10[AttributeUsage(AttributeTargets.Class | AttributeTargets.Assembly)]
src\Shared\BenchmarkRunner\ParameterizedJobConfigAttribute.cs (2)
8[AttributeUsage(AttributeTargets.Class | AttributeTargets.Assembly)]
Microsoft.AspNetCore.Http.RequestDelegateGenerator (25)
src\Shared\Nullable\NullableAttributes.cs (25)
11[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property, Inherited = false)] 21[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property, Inherited = false)] 31[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, Inherited = false)] 41[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, Inherited = false)] 51[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 70[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 89[AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, AllowMultiple = true, Inherited = false)] 108[AttributeUsage(AttributeTargets.Method, Inherited = false)] 118[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 141[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, Inherited = false, AllowMultiple = true)] 166[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, Inherited = false, AllowMultiple = true)]
Microsoft.AspNetCore.Http.ValidationsGenerator (25)
src\Shared\Nullable\NullableAttributes.cs (25)
11[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property, Inherited = false)] 21[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property, Inherited = false)] 31[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, Inherited = false)] 41[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, Inherited = false)] 51[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 70[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 89[AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, AllowMultiple = true, Inherited = false)] 108[AttributeUsage(AttributeTargets.Method, Inherited = false)] 118[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 141[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, Inherited = false, AllowMultiple = true)] 166[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, Inherited = false, AllowMultiple = true)]
Microsoft.AspNetCore.HttpLogging (2)
HttpLoggingAttribute.cs (2)
9[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
Microsoft.AspNetCore.Identity (3)
IdentityApiEndpointRouteBuilderExtensions.cs (3)
476[AttributeUsage(AttributeTargets.Parameter)] 481[AttributeUsage(AttributeTargets.Parameter)] 486[AttributeUsage(AttributeTargets.Parameter)]
Microsoft.AspNetCore.Identity.EntityFrameworkCore.Test (1)
src\Identity\test\Shared\PriorityOrderer.cs (1)
15[AttributeUsage(AttributeTargets.Method, AllowMultiple = false)]
Microsoft.AspNetCore.Identity.InMemory.Test (1)
src\Identity\test\Shared\PriorityOrderer.cs (1)
15[AttributeUsage(AttributeTargets.Method, AllowMultiple = false)]
Microsoft.AspNetCore.Identity.Test (1)
src\Identity\test\Shared\PriorityOrderer.cs (1)
15[AttributeUsage(AttributeTargets.Method, AllowMultiple = false)]
Microsoft.AspNetCore.Identity.UI (2)
IdentityDefaultUIAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = false)]
UIFrameworkAttribute.cs (1)
9[AttributeUsage(AttributeTargets.Assembly, Inherited = false, AllowMultiple = false)]
Microsoft.AspNetCore.InternalTesting (47)
CollectDumpAttribute.cs (1)
18[AttributeUsage(AttributeTargets.Method, AllowMultiple = false)]
Logging\LogLevelAttribute.cs (3)
8[AttributeUsage(AttributeTargets.Method | AttributeTargets.Class | AttributeTargets.Assembly, AllowMultiple = false)]
RepeatAttribute.cs (3)
14[AttributeUsage(AttributeTargets.Method | AttributeTargets.Class | AttributeTargets.Assembly, AllowMultiple = false)]
ReplaceCulture.cs (1)
14[AttributeUsage(AttributeTargets.Method)]
RetryAttribute.cs (3)
14[AttributeUsage(AttributeTargets.Method | AttributeTargets.Class | AttributeTargets.Assembly, AllowMultiple = false)]
ShortClassNameAttribute.cs (2)
13[AttributeUsage(AttributeTargets.Class | AttributeTargets.Assembly, AllowMultiple = false)]
TestFrameworkFileLoggerAttribute.cs (1)
8[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = false)]
TestOutputDirectoryAttribute.cs (1)
8[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = false, Inherited = true)]
UseCultureAttribute.cs (2)
10[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method)]
xunit\AssemblyFixtureAttribute.cs (1)
8[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)]
xunit\ConditionalFactAttribute.cs (1)
10[AttributeUsage(AttributeTargets.Method, AllowMultiple = false)]
xunit\ConditionalTheoryAttribute.cs (1)
10[AttributeUsage(AttributeTargets.Method, AllowMultiple = false)]
xunit\DockerOnlyAttribute.cs (1)
11[AttributeUsage(AttributeTargets.Method, Inherited = true, AllowMultiple = false)]
xunit\EnvironmentVariableSkipConditionAttribute.cs (3)
13[AttributeUsage(AttributeTargets.Method | AttributeTargets.Class | AttributeTargets.Assembly, AllowMultiple = true)]
xunit\FrameworkSkipConditionAttribute.cs (1)
8[AttributeUsage(AttributeTargets.Method, AllowMultiple = false)]
xunit\MaximumOSVersionAttribute.cs (3)
13[AttributeUsage(AttributeTargets.Method | AttributeTargets.Class | AttributeTargets.Assembly, AllowMultiple = true)]
xunit\MinimumOsVersionAttribute.cs (3)
13[AttributeUsage(AttributeTargets.Method | AttributeTargets.Class | AttributeTargets.Assembly, AllowMultiple = true)]
xunit\OSSkipConditionAttribute.cs (3)
9[AttributeUsage(AttributeTargets.Method | AttributeTargets.Class | AttributeTargets.Assembly, AllowMultiple = true)]
xunit\QuarantinedTestAttribute.cs (3)
39[AttributeUsage(AttributeTargets.Method | AttributeTargets.Class | AttributeTargets.Assembly)]
xunit\RemoteExecutionSupportedAttribute.cs (3)
12[AttributeUsage(AttributeTargets.Method | AttributeTargets.Class | AttributeTargets.Assembly, AllowMultiple = true)]
xunit\SkipNonHelix.cs (2)
11[AttributeUsage(AttributeTargets.Method | AttributeTargets.Class, AllowMultiple = false)]
xunit\SkipOnAlpineAttribute.cs (1)
14[AttributeUsage(AttributeTargets.Method)]
xunit\SkipOnCIAttribute.cs (2)
11[AttributeUsage(AttributeTargets.Method | AttributeTargets.Class, AllowMultiple = false)]
xunit\SkipOnHelixAttribute.cs (2)
14[AttributeUsage(AttributeTargets.Method | AttributeTargets.Class, AllowMultiple = false)]
Microsoft.AspNetCore.JsonPatch (45)
src\Shared\CallerArgument\CallerArgumentExpressionAttribute.cs (1)
9[AttributeUsage(AttributeTargets.Parameter, AllowMultiple = false, Inherited = false)]
src\Shared\Nullable\NullableAttributes.cs (25)
11[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property, Inherited = false)] 21[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property, Inherited = false)] 31[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, Inherited = false)] 41[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, Inherited = false)] 51[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 70[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 89[AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, AllowMultiple = true, Inherited = false)] 108[AttributeUsage(AttributeTargets.Method, Inherited = false)] 118[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 141[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, Inherited = false, AllowMultiple = true)] 166[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, Inherited = false, AllowMultiple = true)]
src\Shared\TrimmingAttributes.cs (19)
16[AttributeUsage(AttributeTargets.Method | AttributeTargets.Constructor | AttributeTargets.Class, Inherited = false)] 53[AttributeUsage(AttributeTargets.Method | AttributeTargets.Constructor | AttributeTargets.Class, Inherited = false)] 89[AttributeUsage(AttributeTargets.All, Inherited = false, AllowMultiple = true)] 168AttributeTargets.Constructor | AttributeTargets.Field | AttributeTargets.Method, 308AttributeTargets.Field | AttributeTargets.ReturnValue | AttributeTargets.GenericParameter | 309AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.Method | 310AttributeTargets.Class | AttributeTargets.Interface | AttributeTargets.Struct,
Microsoft.AspNetCore.Mvc.Analyzers (25)
src\Shared\Nullable\NullableAttributes.cs (25)
11[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property, Inherited = false)] 21[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property, Inherited = false)] 31[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, Inherited = false)] 41[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, Inherited = false)] 51[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 70[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 89[AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, AllowMultiple = true, Inherited = false)] 108[AttributeUsage(AttributeTargets.Method, Inherited = false)] 118[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 141[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, Inherited = false, AllowMultiple = true)] 166[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, Inherited = false, AllowMultiple = true)]
Microsoft.AspNetCore.Mvc.Api.Analyzers (25)
src\Shared\Nullable\NullableAttributes.cs (25)
11[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property, Inherited = false)] 21[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property, Inherited = false)] 31[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, Inherited = false)] 41[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, Inherited = false)] 51[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 70[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 89[AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, AllowMultiple = true, Inherited = false)] 108[AttributeUsage(AttributeTargets.Method, Inherited = false)] 118[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 141[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, Inherited = false, AllowMultiple = true)] 166[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, Inherited = false, AllowMultiple = true)]
Microsoft.AspNetCore.Mvc.Core (102)
AcceptVerbsAttribute.cs (1)
13[AttributeUsage(AttributeTargets.Method, AllowMultiple = true, Inherited = true)]
ActionConstraints\ActionMethodSelectorAttribute.cs (1)
13[AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
ActionContextAttribute.cs (1)
11[AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = true)]
ActionNameAttribute.cs (1)
9[AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
ApiControllerAttribute.cs (2)
19[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
ApiConventionMethodAttribute.cs (1)
20[AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
ApiConventionTypeAttribute.cs (2)
27[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class, AllowMultiple = true, Inherited = true)]
ApiExplorer\ApiConventionNameMatchAttribute.cs (2)
15[AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Method, AllowMultiple = false, Inherited = false)]
ApiExplorer\ApiConventionTypeMatchAttribute.cs (1)
15[AttributeUsage(AttributeTargets.Parameter, AllowMultiple = false, Inherited = false)]
ApiExplorerSettingsAttribute.cs (2)
12[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
ApplicationParts\ApplicationPartAttribute.cs (1)
14[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)]
ApplicationParts\ProvideApplicationPartFactoryAttribute.cs (1)
9[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = false)]
ApplicationParts\RelatedAssemblyAttribute.cs (1)
14[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)]
AreaAttribute.cs (2)
11[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
BindAttribute.cs (2)
13[AttributeUsage(AttributeTargets.Class | AttributeTargets.Parameter, AllowMultiple = false, Inherited = true)]
BindPropertiesAttribute.cs (1)
9[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
BindPropertyAttribute.cs (1)
19[AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = true)]
ConsumesAttribute.cs (2)
20[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
ControllerAttribute.cs (1)
11[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
ControllerContextAttribute.cs (1)
11[AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = true)]
DisableRequestSizeLimitAttribute.cs (2)
17[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
Filters\ActionFilterAttribute.cs (2)
13[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = true, Inherited = true)]
Filters\ExceptionFilterAttribute.cs (2)
10[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = true, Inherited = true)]
Filters\MiddlewareFilterAttribute.cs (2)
13[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = true, Inherited = true)]
Filters\ResultFilterAttribute.cs (2)
11[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = true, Inherited = true)]
FormatFilterAttribute.cs (2)
14[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
FromBodyAttribute.cs (2)
40[AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Property, AllowMultiple = false, Inherited = true)]
FromFormAttribute.cs (2)
28[AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Property, AllowMultiple = false, Inherited = true)]
FromHeaderAttribute.cs (2)
27[AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Property, AllowMultiple = false, Inherited = true)]
FromQueryAttribute.cs (2)
27[AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Property, AllowMultiple = false, Inherited = true)]
FromRouteAttribute.cs (2)
27[AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Property, AllowMultiple = false, Inherited = true)]
FromServicesAttribute.cs (2)
25[AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Property, AllowMultiple = false, Inherited = true)]
Infrastructure\ActionResultObjectValueAttribute.cs (2)
37[AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Property, AllowMultiple = false, Inherited = false)]
Infrastructure\ActionResultStatusCodeAttribute.cs (1)
28[AttributeUsage(AttributeTargets.Parameter, AllowMultiple = false, Inherited = false)]
Infrastructure\DefaultStatusCodeAttribute.cs (2)
21[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
ModelBinderAttribute.cs (5)
15AttributeTargets.Parameter | 18AttributeTargets.Property | 21AttributeTargets.Class | 22AttributeTargets.Enum | 23AttributeTargets.Struct,
ModelBinding\BindingBehaviorAttribute.cs (3)
11[AttributeUsage(AttributeTargets.Class | AttributeTargets.Property | AttributeTargets.Parameter, AllowMultiple = false, Inherited = true)]
ModelBinding\BindNeverAttribute.cs (3)
13[AttributeUsage(AttributeTargets.Class | AttributeTargets.Property | AttributeTargets.Parameter, AllowMultiple = false, Inherited = true)]
ModelBinding\BindRequiredAttribute.cs (3)
13[AttributeUsage(AttributeTargets.Class | AttributeTargets.Property | AttributeTargets.Parameter, AllowMultiple = false, Inherited = true)]
ModelBinding\Validation\ValidateNeverAttribute.cs (3)
14[AttributeUsage(AttributeTargets.Class | AttributeTargets.Property | AttributeTargets.Parameter, AllowMultiple = false, Inherited = true)]
ModelMetadataTypeAttribute.cs (1)
9[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
NonActionAttribute.cs (1)
9[AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
NonControllerAttribute.cs (1)
10[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
NonViewComponentAttribute.cs (1)
10[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
ProducesAttribute.cs (2)
18[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
ProducesDefaultResponseTypeAttribute.cs (1)
12[AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
ProducesErrorResponseTypeAttribute.cs (3)
18[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
ProducesResponseTypeAttribute.cs (2)
14[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = true, Inherited = true)]
RequestFormLimitsAttribute.cs (2)
15[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
RequestSizeLimitAttribute.cs (2)
13[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
RequireHttpsAttribute.cs (2)
14[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, Inherited = true, AllowMultiple = false)]
ResponseCacheAttribute.cs (2)
15[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
RouteAttribute.cs (2)
12[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = true, Inherited = true)]
Routing\HttpMethodAttribute.cs (1)
12[AttributeUsage(AttributeTargets.Method, AllowMultiple = true, Inherited = true)]
Routing\RouteValueAttribute.cs (2)
21[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = true, Inherited = true)]
ServiceFilterAttribute.cs (2)
22[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = true, Inherited = true)]
TypeFilterAttribute.cs (2)
24[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = true, Inherited = true)]
Microsoft.AspNetCore.Mvc.Core.Test (9)
ApplicationModels\ControllerActionDescriptorProviderTests.cs (4)
1898[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, Inherited = true, AllowMultiple = true)] 1913[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, Inherited = true, AllowMultiple = true)]
ApplicationModels\DefaultApplicationModelProviderTest.cs (4)
1878[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, Inherited = true, AllowMultiple = true)] 1893[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, Inherited = true, AllowMultiple = true)]
ModelBinding\Metadata\DefaultModelMetadataProviderTest.cs (1)
458[AttributeUsage(AttributeTargets.All, AllowMultiple = true)]
Microsoft.AspNetCore.Mvc.DataAnnotations (2)
HiddenInputAttribute.cs (2)
15[AttributeUsage(AttributeTargets.Class | AttributeTargets.Property, AllowMultiple = false, Inherited = true)]
Microsoft.AspNetCore.Mvc.Razor (2)
Compilation\RazorViewAttribute.cs (1)
10[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)]
Internal\RazorInjectAttribute.cs (1)
13[AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = true)]
Microsoft.AspNetCore.Mvc.RazorPages (3)
Infrastructure\PageModelAttribute.cs (1)
10[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
NonHandlerAttribute.cs (1)
9[AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
PageContextAttribute.cs (1)
10[AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = true)]
Microsoft.AspNetCore.Mvc.Testing (1)
WebApplicationFactoryContentRootAttribute.cs (1)
20[AttributeUsage(AttributeTargets.Assembly, Inherited = false, AllowMultiple = true)]
Microsoft.AspNetCore.Mvc.Testing.Tasks (25)
src\Shared\Nullable\NullableAttributes.cs (25)
11[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property, Inherited = false)] 21[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property, Inherited = false)] 31[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, Inherited = false)] 41[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, Inherited = false)] 51[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 70[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 89[AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, AllowMultiple = true, Inherited = false)] 108[AttributeUsage(AttributeTargets.Method, Inherited = false)] 118[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 141[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, Inherited = false, AllowMultiple = true)] 166[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, Inherited = false, AllowMultiple = true)]
Microsoft.AspNetCore.Mvc.ViewFeatures (19)
AutoValidateAntiforgeryTokenAttribute.cs (2)
22[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
IgnoreAntiforgeryTokenAttribute.cs (2)
12[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
PageRemoteAttribute.cs (1)
19[AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = true)]
RemoteAttribute.cs (1)
18[AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = true)]
RemoteAttributeBase.cs (1)
25[AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = true)]
SaveTempDataAttribute.cs (2)
15[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
SkipStatusCodePagesAttribute.cs (2)
13[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
TempDataAttribute.cs (1)
15[AttributeUsage(AttributeTargets.Property, Inherited = true, AllowMultiple = false)]
ValidateAntiForgeryTokenAttribute.cs (2)
21[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
ViewComponentAttribute.cs (1)
10[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
ViewComponents\ViewComponentContextAttribute.cs (1)
11[AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = true)]
ViewContextAttribute.cs (1)
11[AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = true)]
ViewDataAttribute.cs (1)
15[AttributeUsage(AttributeTargets.Property, Inherited = true, AllowMultiple = false)]
ViewDataDictionaryAttribute.cs (1)
11[AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = true)]
Microsoft.AspNetCore.OpenApi.Microbenchmarks (4)
src\Shared\BenchmarkRunner\AspNetCoreBenchmarkAttribute.cs (2)
10[AttributeUsage(AttributeTargets.Class | AttributeTargets.Assembly)]
src\Shared\BenchmarkRunner\ParameterizedJobConfigAttribute.cs (2)
8[AttributeUsage(AttributeTargets.Class | AttributeTargets.Assembly)]
Microsoft.AspNetCore.OpenApi.SourceGenerators (25)
src\Shared\Nullable\NullableAttributes.cs (25)
11[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property, Inherited = false)] 21[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property, Inherited = false)] 31[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, Inherited = false)] 41[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, Inherited = false)] 51[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 70[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 89[AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, AllowMultiple = true, Inherited = false)] 108[AttributeUsage(AttributeTargets.Method, Inherited = false)] 118[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 141[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, Inherited = false, AllowMultiple = true)] 166[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, Inherited = false, AllowMultiple = true)]
Microsoft.AspNetCore.OutputCaching (2)
OutputCacheAttribute.cs (2)
12[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
Microsoft.AspNetCore.OutputCaching.Microbenchmarks (4)
src\Shared\BenchmarkRunner\AspNetCoreBenchmarkAttribute.cs (2)
10[AttributeUsage(AttributeTargets.Class | AttributeTargets.Assembly)]
src\Shared\BenchmarkRunner\ParameterizedJobConfigAttribute.cs (2)
8[AttributeUsage(AttributeTargets.Class | AttributeTargets.Assembly)]
Microsoft.AspNetCore.RateLimiting (4)
DisableRateLimitingAttribute.cs (2)
12[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
EnableRateLimitingAttribute.cs (2)
13[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
Microsoft.AspNetCore.Razor (5)
TagHelpers\HtmlAttributeNameAttribute.cs (1)
9[AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = false)]
TagHelpers\HtmlAttributeNotBoundAttribute.cs (1)
9[AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = false)]
TagHelpers\HtmlTargetElementAttribute.cs (1)
9[AttributeUsage(AttributeTargets.Class, AllowMultiple = true, Inherited = false)]
TagHelpers\OutputElementHintAttribute.cs (1)
9[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = false)]
TagHelpers\RestrictChildrenAttribute.cs (1)
12[AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = false)]
Microsoft.AspNetCore.Razor.Runtime (7)
Hosting\RazorCompiledItemAttribute.cs (2)
9[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class, AllowMultiple = true, Inherited = false)]
Hosting\RazorCompiledItemMetadataAttribute.cs (1)
9[AttributeUsage(AttributeTargets.Class, AllowMultiple = true, Inherited = true)]
Hosting\RazorConfigurationNameAttribute.cs (1)
14[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = false, Inherited = false)]
Hosting\RazorExtensionAssemblyNameAttribute.cs (1)
14[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true, Inherited = false)]
Hosting\RazorLanguageVersionAttribute.cs (1)
14[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = false, Inherited = false)]
Hosting\RazorSourceChecksumAttribute.cs (1)
19[AttributeUsage(AttributeTargets.Class, AllowMultiple = true, Inherited = true)]
Microsoft.AspNetCore.RequestDecompression.Microbenchmarks (4)
src\Shared\BenchmarkRunner\AspNetCoreBenchmarkAttribute.cs (2)
10[AttributeUsage(AttributeTargets.Class | AttributeTargets.Assembly)]
src\Shared\BenchmarkRunner\ParameterizedJobConfigAttribute.cs (2)
8[AttributeUsage(AttributeTargets.Class | AttributeTargets.Assembly)]
Microsoft.AspNetCore.ResponseCaching.Microbenchmarks (4)
src\Shared\BenchmarkRunner\AspNetCoreBenchmarkAttribute.cs (2)
10[AttributeUsage(AttributeTargets.Class | AttributeTargets.Assembly)]
src\Shared\BenchmarkRunner\ParameterizedJobConfigAttribute.cs (2)
8[AttributeUsage(AttributeTargets.Class | AttributeTargets.Assembly)]
Microsoft.AspNetCore.ResponseCompression.Microbenchmarks (4)
src\Shared\BenchmarkRunner\AspNetCoreBenchmarkAttribute.cs (2)
10[AttributeUsage(AttributeTargets.Class | AttributeTargets.Assembly)]
src\Shared\BenchmarkRunner\ParameterizedJobConfigAttribute.cs (2)
8[AttributeUsage(AttributeTargets.Class | AttributeTargets.Assembly)]
Microsoft.AspNetCore.Routing (10)
EndpointGroupNameAttribute.cs (3)
9[AttributeUsage(AttributeTargets.Method | AttributeTargets.Delegate | AttributeTargets.Class, Inherited = false, AllowMultiple = false)]
EndpointNameAttribute.cs (2)
15[AttributeUsage(AttributeTargets.Method | AttributeTargets.Delegate, Inherited = false, AllowMultiple = false)]
ExcludeFromDescriptionAttribute.cs (3)
13[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method | AttributeTargets.Delegate, AllowMultiple = false, Inherited = true)]
HostAttribute.cs (2)
14[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = false, Inherited = false)]
Microsoft.AspNetCore.Routing.FunctionalTests (1)
MinimalFormTests.cs (1)
765[AttributeUsage(AttributeTargets.Parameter)]
Microsoft.AspNetCore.Routing.Microbenchmarks (4)
src\Shared\BenchmarkRunner\AspNetCoreBenchmarkAttribute.cs (2)
10[AttributeUsage(AttributeTargets.Class | AttributeTargets.Assembly)]
src\Shared\BenchmarkRunner\ParameterizedJobConfigAttribute.cs (2)
8[AttributeUsage(AttributeTargets.Class | AttributeTargets.Assembly)]
Microsoft.AspNetCore.Routing.Tests (2)
Builder\RouteHandlerEndpointRouteBuilderExtensionsTest.cs (2)
320[AttributeUsage(AttributeTargets.Parameter)] 384[AttributeUsage(AttributeTargets.Parameter)]
Microsoft.AspNetCore.Security.Microbenchmarks (4)
src\Shared\BenchmarkRunner\AspNetCoreBenchmarkAttribute.cs (2)
10[AttributeUsage(AttributeTargets.Class | AttributeTargets.Assembly)]
src\Shared\BenchmarkRunner\ParameterizedJobConfigAttribute.cs (2)
8[AttributeUsage(AttributeTargets.Class | AttributeTargets.Assembly)]
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (5)
DelegateSupportedConditionAttribute.cs (1)
8[AttributeUsage(AttributeTargets.Method, AllowMultiple = false)]
src\Shared\TransportTestHelpers\HttpSysHttp3SupportedAttribute.cs (2)
10[AttributeUsage(AttributeTargets.Method | AttributeTargets.Class, AllowMultiple = false)]
src\Shared\TransportTestHelpers\MsQuicSupportedAttribute.cs (2)
9[AttributeUsage(AttributeTargets.Method | AttributeTargets.Class, AllowMultiple = false)]
Microsoft.AspNetCore.Server.HttpSys.Microbenchmarks (4)
src\Shared\BenchmarkRunner\AspNetCoreBenchmarkAttribute.cs (2)
10[AttributeUsage(AttributeTargets.Class | AttributeTargets.Assembly)]
src\Shared\BenchmarkRunner\ParameterizedJobConfigAttribute.cs (2)
8[AttributeUsage(AttributeTargets.Class | AttributeTargets.Assembly)]
Microsoft.AspNetCore.Server.HttpSys.NonHelixTests (1)
DelegateSupportedConditionAttribute.cs (1)
8[AttributeUsage(AttributeTargets.Method, AllowMultiple = false)]
Microsoft.AspNetCore.Server.IntegrationTesting (5)
xunit\SkipIfEnvironmentVariableNotEnabled.cs (1)
12[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
xunit\SkipIfIISExpressSchemaMissingInProcessAttribute.cs (3)
8[AttributeUsage(AttributeTargets.Method | AttributeTargets.Assembly | AttributeTargets.Class)]
xunit\SkipOn32BitOSAttribute.cs (1)
12[AttributeUsage(AttributeTargets.Method, AllowMultiple = false)]
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (4)
src\Shared\BenchmarkRunner\AspNetCoreBenchmarkAttribute.cs (2)
10[AttributeUsage(AttributeTargets.Class | AttributeTargets.Assembly)]
src\Shared\BenchmarkRunner\ParameterizedJobConfigAttribute.cs (2)
8[AttributeUsage(AttributeTargets.Class | AttributeTargets.Assembly)]
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests (3)
SkipOnMarinerAttribute.cs (1)
9[AttributeUsage(AttributeTargets.Method)]
src\Shared\TransportTestHelpers\MsQuicSupportedAttribute.cs (2)
9[AttributeUsage(AttributeTargets.Method | AttributeTargets.Class, AllowMultiple = false)]
Microsoft.AspNetCore.Shared.Tests (1)
PropertyActivatorTest.cs (1)
177[AttributeUsage(AttributeTargets.Property)]
Microsoft.AspNetCore.SignalR.Client.SourceGenerator (25)
src\Shared\Nullable\NullableAttributes.cs (25)
11[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property, Inherited = false)] 21[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property, Inherited = false)] 31[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, Inherited = false)] 41[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, Inherited = false)] 51[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 70[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 89[AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, AllowMultiple = true, Inherited = false)] 108[AttributeUsage(AttributeTargets.Method, Inherited = false)] 118[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 141[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, Inherited = false, AllowMultiple = true)] 166[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, Inherited = false, AllowMultiple = true)]
Microsoft.AspNetCore.SignalR.Client.Tests (2)
HubClientProxyGeneratorTests.cs (1)
12[AttributeUsage(AttributeTargets.Method)]
HubServerProxyGeneratorTests.cs (1)
15[AttributeUsage(AttributeTargets.Method)]
Microsoft.AspNetCore.SignalR.Core (1)
HubMethodNameAttribute.cs (1)
9[AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
Microsoft.AspNetCore.SignalR.Microbenchmarks (4)
src\Shared\BenchmarkRunner\AspNetCoreBenchmarkAttribute.cs (2)
10[AttributeUsage(AttributeTargets.Class | AttributeTargets.Assembly)]
src\Shared\BenchmarkRunner\ParameterizedJobConfigAttribute.cs (2)
8[AttributeUsage(AttributeTargets.Class | AttributeTargets.Assembly)]
Microsoft.AspNetCore.SignalR.Protocols.NewtonsoftJson (44)
src\Shared\Nullable\NullableAttributes.cs (25)
11[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property, Inherited = false)] 21[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property, Inherited = false)] 31[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, Inherited = false)] 41[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, Inherited = false)] 51[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 70[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 89[AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, AllowMultiple = true, Inherited = false)] 108[AttributeUsage(AttributeTargets.Method, Inherited = false)] 118[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 141[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, Inherited = false, AllowMultiple = true)] 166[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, Inherited = false, AllowMultiple = true)]
src\Shared\TrimmingAttributes.cs (19)
16[AttributeUsage(AttributeTargets.Method | AttributeTargets.Constructor | AttributeTargets.Class, Inherited = false)] 53[AttributeUsage(AttributeTargets.Method | AttributeTargets.Constructor | AttributeTargets.Class, Inherited = false)] 89[AttributeUsage(AttributeTargets.All, Inherited = false, AllowMultiple = true)] 168AttributeTargets.Constructor | AttributeTargets.Field | AttributeTargets.Method, 308AttributeTargets.Field | AttributeTargets.ReturnValue | AttributeTargets.GenericParameter | 309AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.Method | 310AttributeTargets.Class | AttributeTargets.Interface | AttributeTargets.Struct,
Microsoft.AspNetCore.SignalR.StackExchangeRedis.Tests (1)
SkipIfDockerNotPresentAttribute.cs (1)
9[AttributeUsage(AttributeTargets.Method, AllowMultiple = false)]
Microsoft.AspNetCore.SignalR.Tests (2)
AddSignalRTests.cs (1)
368[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
HubConnectionHandlerTestUtils\Hubs.cs (1)
1353[AttributeUsage(AttributeTargets.Parameter, AllowMultiple = false, Inherited = true)]
Microsoft.AspNetCore.SignalR.Tests.Utils (3)
WebSocketsSupportedConditionAttribute.cs (3)
8[AttributeUsage(AttributeTargets.Method | AttributeTargets.Class | AttributeTargets.Assembly, AllowMultiple = true)]
Microsoft.AspNetCore.WebSockets.ConformanceTests (1)
SkipIfWsTestNotPresentAttribute.cs (1)
9[AttributeUsage(AttributeTargets.Method, AllowMultiple = false)]
Microsoft.AspNetCore.WebSockets.Microbenchmarks (4)
src\Shared\BenchmarkRunner\AspNetCoreBenchmarkAttribute.cs (2)
10[AttributeUsage(AttributeTargets.Class | AttributeTargets.Assembly)]
src\Shared\BenchmarkRunner\ParameterizedJobConfigAttribute.cs (2)
8[AttributeUsage(AttributeTargets.Class | AttributeTargets.Assembly)]
Microsoft.AspNetCore.WebUtilities.Microbenchmarks (4)
src\Shared\BenchmarkRunner\AspNetCoreBenchmarkAttribute.cs (2)
10[AttributeUsage(AttributeTargets.Class | AttributeTargets.Assembly)]
src\Shared\BenchmarkRunner\ParameterizedJobConfigAttribute.cs (2)
8[AttributeUsage(AttributeTargets.Class | AttributeTargets.Assembly)]
Microsoft.Bcl.AsyncInterfaces (5)
src\libraries\System.Private.CoreLib\src\System\Diagnostics\CodeAnalysis\NullableAttributes.cs (4)
131[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, Inherited = false, AllowMultiple = true)] 156[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, Inherited = false, AllowMultiple = true)]
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\LibraryImportAttribute.cs (1)
16[AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = false)]
Microsoft.Bcl.Numerics (5)
src\libraries\System.Private.CoreLib\src\System\Diagnostics\CodeAnalysis\NullableAttributes.cs (4)
131[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, Inherited = false, AllowMultiple = true)] 156[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, Inherited = false, AllowMultiple = true)]
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\LibraryImportAttribute.cs (1)
16[AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = false)]
Microsoft.Build.Framework (40)
LoadInSeparateAppDomainAttribute.cs (1)
14[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
OutputAttribute.cs (1)
16[AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = false)]
Polyfills\CallerArgumentExpressionAttribute.cs (1)
7[AttributeUsage(AttributeTargets.Parameter, AllowMultiple = false, Inherited = false)]
Polyfills\NullableAttributes.cs (25)
14[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property, Inherited = false)] 18[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property, Inherited = false)] 22[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, Inherited = false)] 26[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, Inherited = false)] 30[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 44[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 58[AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, AllowMultiple = true, Inherited = false)] 72[AttributeUsage(AttributeTargets.Method, Inherited = false)] 76[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 95[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, Inherited = false, AllowMultiple = true)] 115[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, Inherited = false, AllowMultiple = true)]
Polyfills\StringSyntaxAttribute.cs (3)
8[AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Field | AttributeTargets.Property, AllowMultiple = false, Inherited = false)]
RequiredAttribute.cs (1)
14[AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = false)]
RequiredRuntimeAttribute.cs (1)
17[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = false)]
RunInMTAAttribute.cs (1)
14[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = false)]
RunInSTAAttribute.cs (1)
14[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = false)]
SupportedOSPlatform.cs (5)
12[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property)] 19[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Class)]
Microsoft.Build.Tasks.CodeAnalysis (29)
src\Compilers\Core\Portable\CommitHashAttribute.cs (1)
9[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = false)]
src\Dependencies\Contracts\CollectionBuilderAttribute.cs (3)
9[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Interface)]
src\Dependencies\Contracts\CompilerFeatureRequiredAttribute.cs (1)
23[AttributeUsage(AttributeTargets.All, AllowMultiple = true, Inherited = false)]
src\Dependencies\Contracts\ExperimentalAttribute.cs (12)
28[AttributeUsage(AttributeTargets.Assembly | 29AttributeTargets.Module | 30AttributeTargets.Class | 31AttributeTargets.Struct | 32AttributeTargets.Enum | 33AttributeTargets.Constructor | 34AttributeTargets.Method | 35AttributeTargets.Property | 36AttributeTargets.Field | 37AttributeTargets.Event | 38AttributeTargets.Interface | 39AttributeTargets.Delegate, Inherited = false)]
src\Dependencies\Contracts\InterpolatedStringHandlerArgumentAttribute.cs (1)
18[AttributeUsage(AttributeTargets.Parameter, AllowMultiple = false, Inherited = false)]
src\Dependencies\Contracts\InterpolatedStringHandlerAttribute.cs (2)
18[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct, AllowMultiple = false, Inherited = false)]
src\Dependencies\Contracts\NonCopyableAttribute.cs (2)
9[AttributeUsage(AttributeTargets.Struct | AttributeTargets.GenericParameter)]
src\Dependencies\Contracts\NonDefaultableAttribute.cs (2)
9[AttributeUsage(AttributeTargets.Struct | AttributeTargets.GenericParameter)]
src\Dependencies\Contracts\RequiredMemberAttribute.cs (4)
21[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Field | AttributeTargets.Property, AllowMultiple = false, Inherited = false)]
src\Dependencies\Contracts\SetsRequiredMembersAttribute.cs (1)
25[AttributeUsage(AttributeTargets.Constructor, AllowMultiple = false, Inherited = false)]
Microsoft.Build.Tasks.CodeAnalysis.UnitTests (1)
TestUtilities\DotNetSdkVersionAttribute.cs (1)
13[AttributeUsage(AttributeTargets.Assembly)]
Microsoft.Build.Tasks.Core (2)
System.Design.cs (2)
15[AttributeUsage(AttributeTargets.All)] 50[AttributeUsage(AttributeTargets.All)]
Microsoft.Build.UnitTests.Shared (2)
ArtifactsLocationAttribute.cs (1)
6[System.AttributeUsage(System.AttributeTargets.Assembly)]
BootstrapLocationAttribute.cs (1)
8[System.AttributeUsage(System.AttributeTargets.Assembly)]
Microsoft.Cci.Extensions (1)
Differs\ExportDifferenceRuleAttribute.cs (1)
13[AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
Microsoft.CodeAnalysis (59)
CommitHashAttribute.cs (1)
9[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = false)]
DiagnosticAnalyzer\DiagnosticAnalyzerAttribute.cs (1)
12[AttributeUsage(AttributeTargets.Class)]
ImplementationIsObsoleteAttribute.cs (1)
7[AttributeUsage(AttributeTargets.Interface, AllowMultiple = false)]
InternalImplementationOnlyAttribute.cs (1)
11[AttributeUsage(AttributeTargets.Interface, AllowMultiple = false)]
MetadataReader\PEModule.cs (1)
1563usageInfo = new AttributeUsageInfo((AttributeTargets)validOn, allowMultiple, inherited);
PerformanceSensitiveAttribute.cs (4)
19[AttributeUsage(AttributeTargets.Constructor | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = true, Inherited = false)]
SourceGeneration\GeneratorAttribute.cs (1)
11[AttributeUsage(AttributeTargets.Class)]
src\Dependencies\Contracts\NonCopyableAttribute.cs (2)
9[AttributeUsage(AttributeTargets.Struct | AttributeTargets.GenericParameter)]
src\Dependencies\Contracts\NonDefaultableAttribute.cs (2)
9[AttributeUsage(AttributeTargets.Struct | AttributeTargets.GenericParameter)]
src\Dependencies\PooledObjects\PooledDelegates.cs (1)
450[AttributeUsage(AttributeTargets.Struct)]
Symbols\Attributes\AttributeUsageInfo.cs (38)
20Assembly = AttributeTargets.Assembly, 21Module = AttributeTargets.Module, 22Class = AttributeTargets.Class, 23Struct = AttributeTargets.Struct, 24Enum = AttributeTargets.Enum, 25Constructor = AttributeTargets.Constructor, 26Method = AttributeTargets.Method, 27Property = AttributeTargets.Property, 28Field = AttributeTargets.Field, 29Event = AttributeTargets.Event, 30Interface = AttributeTargets.Interface, 31Parameter = AttributeTargets.Parameter, 32Delegate = AttributeTargets.Delegate, 33ReturnValue = AttributeTargets.ReturnValue, 34GenericParameter = AttributeTargets.GenericParameter, 35All = AttributeTargets.All, 53internal static readonly AttributeUsageInfo Default = new AttributeUsageInfo(validTargets: AttributeTargets.All, allowMultiple: false, inherited: true); 57internal AttributeUsageInfo(AttributeTargets validTargets, bool allowMultiple, bool inherited) 82internal AttributeTargets ValidTargets 86return (AttributeTargets)(_flags & PackedAttributeUsage.All); 141return value != 0 && (value & (int)~AttributeTargets.All) == 0; 159builder.Add(GetErrorDisplayNameResourceId((AttributeTargets)(1 << flag))); 209private static string GetErrorDisplayNameResourceId(AttributeTargets target) 213case AttributeTargets.Assembly: return nameof(CodeAnalysisResources.Assembly); 214case AttributeTargets.Class: return nameof(CodeAnalysisResources.Class1); 215case AttributeTargets.Constructor: return nameof(CodeAnalysisResources.Constructor); 216case AttributeTargets.Delegate: return nameof(CodeAnalysisResources.Delegate1); 217case AttributeTargets.Enum: return nameof(CodeAnalysisResources.Enum1); 218case AttributeTargets.Event: return nameof(CodeAnalysisResources.Event1); 219case AttributeTargets.Field: return nameof(CodeAnalysisResources.Field); 220case AttributeTargets.GenericParameter: return nameof(CodeAnalysisResources.TypeParameter); 221case AttributeTargets.Interface: return nameof(CodeAnalysisResources.Interface1); 222case AttributeTargets.Method: return nameof(CodeAnalysisResources.Method); 223case AttributeTargets.Module: return nameof(CodeAnalysisResources.Module); 224case AttributeTargets.Parameter: return nameof(CodeAnalysisResources.Parameter); 225case AttributeTargets.Property: return nameof(CodeAnalysisResources.Property); 226case AttributeTargets.ReturnValue: return nameof(CodeAnalysisResources.Return1); 227case AttributeTargets.Struct: return nameof(CodeAnalysisResources.Struct1);
Symbols\Attributes\CommonAttributeData.cs (2)
579var validOn = (AttributeTargets)positionalArg.ValueInternal;
Symbols\Attributes\MarshalAsAttributeDecoder.cs (4)
20internal static void Decode(ref DecodeWellKnownAttributeArguments<TAttributeSyntax, TAttributeData, TAttributeLocation> arguments, AttributeTargets target, CommonMessageProvider messageProvider) 43if (target != AttributeTargets.Field) 59if (target != AttributeTargets.Field) 71if (target == AttributeTargets.Field)
Microsoft.CodeAnalysis.CodeStyle (34)
PerformanceSensitiveAttribute.cs (4)
19[AttributeUsage(AttributeTargets.Constructor | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = true, Inherited = false)]
src\Dependencies\Contracts\CollectionBuilderAttribute.cs (3)
9[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Interface)]
src\Dependencies\Contracts\CompilerFeatureRequiredAttribute.cs (1)
23[AttributeUsage(AttributeTargets.All, AllowMultiple = true, Inherited = false)]
src\Dependencies\Contracts\ExperimentalAttribute.cs (12)
28[AttributeUsage(AttributeTargets.Assembly | 29AttributeTargets.Module | 30AttributeTargets.Class | 31AttributeTargets.Struct | 32AttributeTargets.Enum | 33AttributeTargets.Constructor | 34AttributeTargets.Method | 35AttributeTargets.Property | 36AttributeTargets.Field | 37AttributeTargets.Event | 38AttributeTargets.Interface | 39AttributeTargets.Delegate, Inherited = false)]
src\Dependencies\Contracts\InterpolatedStringHandlerArgumentAttribute.cs (1)
18[AttributeUsage(AttributeTargets.Parameter, AllowMultiple = false, Inherited = false)]
src\Dependencies\Contracts\InterpolatedStringHandlerAttribute.cs (2)
18[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct, AllowMultiple = false, Inherited = false)]
src\Dependencies\Contracts\NonCopyableAttribute.cs (2)
9[AttributeUsage(AttributeTargets.Struct | AttributeTargets.GenericParameter)]
src\Dependencies\Contracts\NonDefaultableAttribute.cs (2)
9[AttributeUsage(AttributeTargets.Struct | AttributeTargets.GenericParameter)]
src\Dependencies\Contracts\RequiredMemberAttribute.cs (4)
21[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Field | AttributeTargets.Property, AllowMultiple = false, Inherited = false)]
src\Dependencies\Contracts\SetsRequiredMembersAttribute.cs (1)
25[AttributeUsage(AttributeTargets.Constructor, AllowMultiple = false, Inherited = false)]
src\Dependencies\PooledObjects\PooledDelegates.cs (1)
450[AttributeUsage(AttributeTargets.Struct)]
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\RestrictedInternalsVisibleToAttribute.cs (1)
9[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)]
Microsoft.CodeAnalysis.CodeStyle.UnitTestUtilities (3)
src\Features\TestUtilities\Utilities\StringSyntaxAttribute.cs (3)
9[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter, AllowMultiple = false, Inherited = false)]
Microsoft.CodeAnalysis.Collections.Package (4)
src\Dependencies\Contracts\NonCopyableAttribute.cs (2)
9[AttributeUsage(AttributeTargets.Struct | AttributeTargets.GenericParameter)]
src\Dependencies\Contracts\NonDefaultableAttribute.cs (2)
9[AttributeUsage(AttributeTargets.Struct | AttributeTargets.GenericParameter)]
Microsoft.CodeAnalysis.Contracts.Package (4)
NonCopyableAttribute.cs (2)
9[AttributeUsage(AttributeTargets.Struct | AttributeTargets.GenericParameter)]
NonDefaultableAttribute.cs (2)
9[AttributeUsage(AttributeTargets.Struct | AttributeTargets.GenericParameter)]
Microsoft.CodeAnalysis.CSharp (55)
Lowering\ClosureConversion\LambdaCapturedVariable.cs (1)
193(attributeType.GetAttributeUsageInfo().ValidTargets & System.AttributeTargets.Field) != 0)
Lowering\StateMachineRewriter\StateMachineFieldSymbol.cs (1)
108(attributeType.GetAttributeUsageInfo().ValidTargets & System.AttributeTargets.Field) != 0)
Symbols\Compilation_WellKnownMembers.cs (1)
811internal SynthesizedAttributeData? SynthesizeAttributeUsageAttribute(AttributeTargets targets, bool allowMultiple, bool inherited)
Symbols\Source\FieldSymbolWithAttributesAndModifiers.cs (1)
203MarshalAsAttributeDecoder<FieldWellKnownAttributeData, AttributeSyntax, CSharpAttributeData, AttributeLocation>.Decode(ref arguments, AttributeTargets.Field, MessageProvider.Instance);
Symbols\Source\SourceComplexParameterSymbol.cs (1)
778MarshalAsAttributeDecoder<ParameterWellKnownAttributeData, AttributeSyntax, CSharpAttributeData, AttributeLocation>.Decode(ref arguments, AttributeTargets.Parameter, MessageProvider.Instance);
Symbols\Source\SourceDelegateMethodSymbol.cs (2)
199internal sealed override System.AttributeTargets GetAttributeTarget() 201return System.AttributeTargets.Delegate;
Symbols\Source\SourceMethodSymbolWithAttributes.cs (1)
789MarshalAsAttributeDecoder<ReturnTypeWellKnownAttributeData, AttributeSyntax, CSharpAttributeData, AttributeLocation>.Decode(ref arguments, AttributeTargets.ReturnValue, MessageProvider.Instance);
Symbols\Source\SourceNamedTypeSymbol.cs (6)
1952const AttributeTargets expectedTargets = AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Interface | AttributeTargets.Enum | AttributeTargets.Delegate;
Symbols\Symbol_Attributes.cs (18)
44internal virtual AttributeTargets GetAttributeTarget() 49return AttributeTargets.Assembly; 52return AttributeTargets.Field; 60return AttributeTargets.Constructor; 63return AttributeTargets.Method; 71return AttributeTargets.Class; 74return AttributeTargets.Delegate; 77return AttributeTargets.Enum; 80return AttributeTargets.Interface; 83return AttributeTargets.Struct; 86return AttributeTargets.GenericParameter; 95return AttributeTargets.Module; 98return AttributeTargets.Parameter; 101return AttributeTargets.Property; 104return AttributeTargets.Event; 107return AttributeTargets.GenericParameter; 907AttributeTargets attributeTarget; 912attributeTarget = AttributeTargets.ReturnValue;
Symbols\Synthesized\Records\SynthesizedPrimaryConstructorParameterBackingFieldSymbol.cs (1)
75(attributeType.GetAttributeUsageInfo().ValidTargets & System.AttributeTargets.Field) != 0)
Symbols\Synthesized\SynthesizedEmbeddedLifetimeAnnotationAttributeSymbol.cs (1)
31new AttributeUsageInfo(AttributeTargets.Parameter, allowMultiple: false, inherited: false);
Symbols\Synthesized\SynthesizedEmbeddedNativeIntegerAttributeSymbol.cs (7)
67AttributeTargets.Class | AttributeTargets.Event | AttributeTargets.Field | AttributeTargets.GenericParameter | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue,
Symbols\Synthesized\SynthesizedEmbeddedNullableAttributeSymbol.cs (7)
71AttributeTargets.Class | AttributeTargets.Event | AttributeTargets.Field | AttributeTargets.GenericParameter | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue,
Symbols\Synthesized\SynthesizedEmbeddedNullableContextAttributeSymbol.cs (5)
55AttributeTargets.Class | AttributeTargets.Delegate | AttributeTargets.Interface | AttributeTargets.Method | AttributeTargets.Struct,
Symbols\Synthesized\SynthesizedEmbeddedNullablePublicOnlyAttributeSymbol.cs (1)
54return new AttributeUsageInfo(AttributeTargets.Module, allowMultiple: false, inherited: false);
Symbols\Synthesized\SynthesizedEmbeddedRefSafetyRulesAttributeSymbol.cs (1)
49return new AttributeUsageInfo(AttributeTargets.Module, allowMultiple: false, inherited: false);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (28)
Attributes\AttributeTests.cs (2)
4086attr.VerifyValue(0, TypedConstantKind.Enum, (int)(AttributeTargets.Field | AttributeTargets.Event));
Attributes\AttributeTests_NativeInteger.cs (8)
1468var expectedTargets = 1469AttributeTargets.Class | 1470AttributeTargets.Event | 1471AttributeTargets.Field | 1472AttributeTargets.GenericParameter | 1473AttributeTargets.Parameter | 1474AttributeTargets.Property | 1475AttributeTargets.ReturnValue;
Attributes\AttributeTests_Nullable.cs (8)
4978var expectedTargets = AttributeTargets.Class | AttributeTargets.Event | AttributeTargets.Field | AttributeTargets.GenericParameter | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue;
Attributes\AttributeTests_NullableContext.cs (6)
212var expectedTargets = AttributeTargets.Class | AttributeTargets.Delegate | AttributeTargets.Interface | AttributeTargets.Method | AttributeTargets.Struct;
Attributes\AttributeTests_NullablePublicOnly.cs (1)
509Assert.Equal(AttributeTargets.Module, attributeUsage.ValidTargets);
Attributes\AttributeTests_WellKnownAttributes.cs (3)
5156attrSym.VerifyValue(0, TypedConstantKind.Enum, (int)AttributeTargets.Class); 5162attrSym.VerifyValue(0, TypedConstantKind.Enum, (int)AttributeTargets.Class); 5168Assert.Equal(AttributeTargets.Class, attributeUsage.ValidTargets);
Microsoft.CodeAnalysis.CSharp.ExpressionEvaluator.ResultProvider (3)
src\ExpressionEvaluator\CSharp\Source\ResultProvider\Helpers\Placeholders.cs (3)
23[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = false, Inherited = false)]
Microsoft.CodeAnalysis.CSharp.Features (1)
Completion\CompletionProviders\DeclarationName\ExportDeclarationNameRecommenderAttribute.cs (1)
11[AttributeUsage(AttributeTargets.Class)]
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (3)
src\Features\TestUtilities\Utilities\StringSyntaxAttribute.cs (3)
9[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter, AllowMultiple = false, Inherited = false)]
Microsoft.CodeAnalysis.EditorFeatures (6)
ExportContentTypeLanguageServiceAttribute.cs (1)
15[AttributeUsage(AttributeTargets.Class)]
Extensibility\Commands\ExportInteractiveCommandAttribute.cs (1)
14[AttributeUsage(AttributeTargets.Class)]
Extensibility\Completion\ExportCompletionProviderAttribute.cs (1)
14[AttributeUsage(AttributeTargets.Class)]
ExternalAccess\VSTypeScript\Api\ExportTypeScriptLspRequestHandlerProviderAttribute.cs (1)
11[AttributeUsage(AttributeTargets.Class), MetadataAttribute]
ExternalAccess\VSTypeScript\Api\VSTypeScriptMethodAttribute.cs (1)
12[AttributeUsage(AttributeTargets.Class)]
Tags\ExportImageIdServiceAttribute.cs (1)
17[AttributeUsage(AttributeTargets.Class)]
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (2)
Threading\WpfFactAttribute.cs (1)
13[AttributeUsage(AttributeTargets.Method, AllowMultiple = false)]
Threading\WpfTheoryAttribute.cs (1)
13[AttributeUsage(AttributeTargets.Method, AllowMultiple = false)]
Microsoft.CodeAnalysis.ExpressionEvaluator.FunctionResolver (28)
src\Dependencies\Contracts\CollectionBuilderAttribute.cs (3)
9[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Interface)]
src\Dependencies\Contracts\CompilerFeatureRequiredAttribute.cs (1)
23[AttributeUsage(AttributeTargets.All, AllowMultiple = true, Inherited = false)]
src\Dependencies\Contracts\ExperimentalAttribute.cs (12)
28[AttributeUsage(AttributeTargets.Assembly | 29AttributeTargets.Module | 30AttributeTargets.Class | 31AttributeTargets.Struct | 32AttributeTargets.Enum | 33AttributeTargets.Constructor | 34AttributeTargets.Method | 35AttributeTargets.Property | 36AttributeTargets.Field | 37AttributeTargets.Event | 38AttributeTargets.Interface | 39AttributeTargets.Delegate, Inherited = false)]
src\Dependencies\Contracts\InterpolatedStringHandlerArgumentAttribute.cs (1)
18[AttributeUsage(AttributeTargets.Parameter, AllowMultiple = false, Inherited = false)]
src\Dependencies\Contracts\InterpolatedStringHandlerAttribute.cs (2)
18[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct, AllowMultiple = false, Inherited = false)]
src\Dependencies\Contracts\NonCopyableAttribute.cs (2)
9[AttributeUsage(AttributeTargets.Struct | AttributeTargets.GenericParameter)]
src\Dependencies\Contracts\NonDefaultableAttribute.cs (2)
9[AttributeUsage(AttributeTargets.Struct | AttributeTargets.GenericParameter)]
src\Dependencies\Contracts\RequiredMemberAttribute.cs (4)
21[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Field | AttributeTargets.Property, AllowMultiple = false, Inherited = false)]
src\Dependencies\Contracts\SetsRequiredMembersAttribute.cs (1)
25[AttributeUsage(AttributeTargets.Constructor, AllowMultiple = false, Inherited = false)]
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider (28)
src\Dependencies\Contracts\CollectionBuilderAttribute.cs (3)
9[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Interface)]
src\Dependencies\Contracts\CompilerFeatureRequiredAttribute.cs (1)
23[AttributeUsage(AttributeTargets.All, AllowMultiple = true, Inherited = false)]
src\Dependencies\Contracts\ExperimentalAttribute.cs (12)
28[AttributeUsage(AttributeTargets.Assembly | 29AttributeTargets.Module | 30AttributeTargets.Class | 31AttributeTargets.Struct | 32AttributeTargets.Enum | 33AttributeTargets.Constructor | 34AttributeTargets.Method | 35AttributeTargets.Property | 36AttributeTargets.Field | 37AttributeTargets.Event | 38AttributeTargets.Interface | 39AttributeTargets.Delegate, Inherited = false)]
src\Dependencies\Contracts\InterpolatedStringHandlerArgumentAttribute.cs (1)
18[AttributeUsage(AttributeTargets.Parameter, AllowMultiple = false, Inherited = false)]
src\Dependencies\Contracts\InterpolatedStringHandlerAttribute.cs (2)
18[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct, AllowMultiple = false, Inherited = false)]
src\Dependencies\Contracts\NonCopyableAttribute.cs (2)
9[AttributeUsage(AttributeTargets.Struct | AttributeTargets.GenericParameter)]
src\Dependencies\Contracts\NonDefaultableAttribute.cs (2)
9[AttributeUsage(AttributeTargets.Struct | AttributeTargets.GenericParameter)]
src\Dependencies\Contracts\RequiredMemberAttribute.cs (4)
21[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Field | AttributeTargets.Property, AllowMultiple = false, Inherited = false)]
src\Dependencies\Contracts\SetsRequiredMembersAttribute.cs (1)
25[AttributeUsage(AttributeTargets.Constructor, AllowMultiple = false, Inherited = false)]
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider.Utilities (32)
Debugger\Engine\DkmContinueCorruptingException.cs (2)
22[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method)]
Debugger\Engine\DkmReportNonFatalWatsonExceptionAttribute.cs (2)
18[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = true)]
src\Dependencies\Contracts\CollectionBuilderAttribute.cs (3)
9[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Interface)]
src\Dependencies\Contracts\CompilerFeatureRequiredAttribute.cs (1)
23[AttributeUsage(AttributeTargets.All, AllowMultiple = true, Inherited = false)]
src\Dependencies\Contracts\ExperimentalAttribute.cs (12)
28[AttributeUsage(AttributeTargets.Assembly | 29AttributeTargets.Module | 30AttributeTargets.Class | 31AttributeTargets.Struct | 32AttributeTargets.Enum | 33AttributeTargets.Constructor | 34AttributeTargets.Method | 35AttributeTargets.Property | 36AttributeTargets.Field | 37AttributeTargets.Event | 38AttributeTargets.Interface | 39AttributeTargets.Delegate, Inherited = false)]
src\Dependencies\Contracts\InterpolatedStringHandlerArgumentAttribute.cs (1)
18[AttributeUsage(AttributeTargets.Parameter, AllowMultiple = false, Inherited = false)]
src\Dependencies\Contracts\InterpolatedStringHandlerAttribute.cs (2)
18[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct, AllowMultiple = false, Inherited = false)]
src\Dependencies\Contracts\NonCopyableAttribute.cs (2)
9[AttributeUsage(AttributeTargets.Struct | AttributeTargets.GenericParameter)]
src\Dependencies\Contracts\NonDefaultableAttribute.cs (2)
9[AttributeUsage(AttributeTargets.Struct | AttributeTargets.GenericParameter)]
src\Dependencies\Contracts\RequiredMemberAttribute.cs (4)
21[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Field | AttributeTargets.Property, AllowMultiple = false, Inherited = false)]
src\Dependencies\Contracts\SetsRequiredMembersAttribute.cs (1)
25[AttributeUsage(AttributeTargets.Constructor, AllowMultiple = false, Inherited = false)]
Microsoft.CodeAnalysis.ExternalAccess.AspNetCore (3)
EmbeddedLanguages\BraceMatching\ExportAspNetCoreEmbeddedLanguageBraceMatcherAttribute.cs (1)
14[AttributeUsage(AttributeTargets.Class, Inherited = false)]
EmbeddedLanguages\Classification\ExportAspNetCoreEmbeddedLanguageClassifierAttribute.cs (1)
14[AttributeUsage(AttributeTargets.Class, Inherited = false)]
EmbeddedLanguages\DocumentHighlighting\ExportAspNetCoreEmbeddedLanguageClassifierAttribute.cs (1)
14[AttributeUsage(AttributeTargets.Class, Inherited = false)]
Microsoft.CodeAnalysis.ExternalAccess.Razor (2)
Cohost\ExportCohostLspServiceFactoryAttribute.cs (1)
11[AttributeUsage(AttributeTargets.Class), MetadataAttribute]
Cohost\ExportCohostStatelessLspServiceAttribute.cs (1)
11[AttributeUsage(AttributeTargets.Class), MetadataAttribute]
Microsoft.CodeAnalysis.ExternalAccess.Xaml (3)
External\ExportXamlLspServiceFactoryAttribute.cs (1)
14[AttributeUsage(AttributeTargets.Class, AllowMultiple = false), MetadataAttribute]
External\ExportXamlStatelessLspServiceAttribute.cs (1)
14[AttributeUsage(AttributeTargets.Class), MetadataAttribute]
External\XamlCommandAttribute.cs (1)
12[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
Microsoft.CodeAnalysis.Features (17)
BraceCompletion\ExportBraceCompletionServiceAttribute.cs (1)
11[AttributeUsage(AttributeTargets.Class)]
BraceMatching\ExportBraceMatcherAttribute.cs (1)
13[AttributeUsage(AttributeTargets.Class)]
CodeFixes\Suppression\ExportConfigurationFixProviderAttribute.cs (1)
16[AttributeUsage(AttributeTargets.Class)]
Completion\ExportArgumentProviderAttribute.cs (1)
11[AttributeUsage(AttributeTargets.Class)]
Completion\ExportCompletionProviderAttribute.cs (1)
15[AttributeUsage(AttributeTargets.Class, Inherited = false)]
Diagnostics\LanguageServer\LspBuildOnlyDiagnosticsAttribute.cs (1)
12[AttributeUsage(AttributeTargets.Class)]
EmbeddedLanguages\ExportEmbeddedLanguageFeatureServiceAttribute.cs (1)
14[AttributeUsage(AttributeTargets.Class)]
ExternalAccess\UnitTesting\SolutionCrawler\ExportUnitTestingIncrementalAnalyzerProviderAttribute.cs (1)
13[AttributeUsage(AttributeTargets.Class)]
Formatting\ExportNewDocumentFormattingProviderAttribute.cs (1)
11[AttributeUsage(AttributeTargets.Class)]
Highlighting\ExportHighlighterAttribute.cs (1)
14[AttributeUsage(AttributeTargets.Class)]
Intents\IntentProviderAttribute.cs (1)
11[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
MetadataAsSource\ExportMetadataAsSourceFileProvider.cs (1)
15[AttributeUsage(AttributeTargets.Class)]
Options\EditorConfig\EditorConfigOptionsEnumeratorAttribute.cs (1)
11[AttributeUsage(AttributeTargets.Class)]
Organizing\Organizers\ExportSyntaxNodeOrganizerAttribute.cs (1)
13[AttributeUsage(AttributeTargets.Class)]
QuickInfo\ExportQuickInfoProviderAttribute.cs (1)
15[AttributeUsage(AttributeTargets.Class)]
SignatureHelp\ExportSignatureHelpProviderAttribute.cs (1)
11[AttributeUsage(AttributeTargets.Class)]
Snippets\ExportSnippetProviderAttribute.cs (1)
12[AttributeUsage(AttributeTargets.Class)]
Microsoft.CodeAnalysis.Features.Test.Utilities (3)
Utilities\StringSyntaxAttribute.cs (3)
9[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter, AllowMultiple = false, Inherited = false)]
Microsoft.CodeAnalysis.InteractiveHost (32)
PerformanceSensitiveAttribute.cs (4)
19[AttributeUsage(AttributeTargets.Constructor | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = true, Inherited = false)]
src\Dependencies\Contracts\CollectionBuilderAttribute.cs (3)
9[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Interface)]
src\Dependencies\Contracts\CompilerFeatureRequiredAttribute.cs (1)
23[AttributeUsage(AttributeTargets.All, AllowMultiple = true, Inherited = false)]
src\Dependencies\Contracts\ExperimentalAttribute.cs (12)
28[AttributeUsage(AttributeTargets.Assembly | 29AttributeTargets.Module | 30AttributeTargets.Class | 31AttributeTargets.Struct | 32AttributeTargets.Enum | 33AttributeTargets.Constructor | 34AttributeTargets.Method | 35AttributeTargets.Property | 36AttributeTargets.Field | 37AttributeTargets.Event | 38AttributeTargets.Interface | 39AttributeTargets.Delegate, Inherited = false)]
src\Dependencies\Contracts\InterpolatedStringHandlerArgumentAttribute.cs (1)
18[AttributeUsage(AttributeTargets.Parameter, AllowMultiple = false, Inherited = false)]
src\Dependencies\Contracts\InterpolatedStringHandlerAttribute.cs (2)
18[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct, AllowMultiple = false, Inherited = false)]
src\Dependencies\Contracts\NonCopyableAttribute.cs (2)
9[AttributeUsage(AttributeTargets.Struct | AttributeTargets.GenericParameter)]
src\Dependencies\Contracts\NonDefaultableAttribute.cs (2)
9[AttributeUsage(AttributeTargets.Struct | AttributeTargets.GenericParameter)]
src\Dependencies\Contracts\RequiredMemberAttribute.cs (4)
21[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Field | AttributeTargets.Property, AllowMultiple = false, Inherited = false)]
src\Dependencies\Contracts\SetsRequiredMembersAttribute.cs (1)
25[AttributeUsage(AttributeTargets.Constructor, AllowMultiple = false, Inherited = false)]
Microsoft.CodeAnalysis.LanguageServer.Protocol (11)
Handler\Commands\ProvidesCommandAttribute.cs (1)
11[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
LspServices\ExportCSharpVisualBasicLspServiceFactoryAttribute.cs (1)
13[AttributeUsage(AttributeTargets.Class, AllowMultiple = false), MetadataAttribute]
LspServices\ExportCSharpVisualBasicStatelessLspServiceAttribute.cs (1)
10[AttributeUsage(AttributeTargets.Class, AllowMultiple = false), MetadataAttribute]
LspServices\ExportLspServiceFactoryAttribute.cs (1)
17[AttributeUsage(AttributeTargets.Class, AllowMultiple = false), MetadataAttribute]
LspServices\ExportStatelessLspServiceAttribute.cs (2)
17[AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface, AllowMultiple = false), MetadataAttribute]
Protocol\Converters\KindAttribute.cs (2)
13[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct, AllowMultiple = false, Inherited = false)]
src\LanguageServer\Microsoft.CommonLanguageServerProtocol.Framework\LanguageServerEndpointAttribute.cs (3)
15[AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface | AttributeTargets.Method, AllowMultiple = false)]
Microsoft.CodeAnalysis.PooledObjects.Package (1)
PooledDelegates.cs (1)
450[AttributeUsage(AttributeTargets.Struct)]
Microsoft.CodeAnalysis.Test.Utilities (8)
Assert\UseCultureAttribute.cs (2)
26[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
Assert\WorkItemAttribute.cs (2)
14[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = true)]
CompilerTraitAttribute.cs (2)
14[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = true)]
ModuleInitializerAttribute.cs (1)
9[AttributeUsage(AttributeTargets.Method, AllowMultiple = false)]
RunInSinglePartitionAssemblyAttribute.cs (1)
16[AttributeUsage(AttributeTargets.Assembly)]
Microsoft.CodeAnalysis.Threading.Package (29)
src\Dependencies\Contracts\CollectionBuilderAttribute.cs (3)
9[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Interface)]
src\Dependencies\Contracts\CompilerFeatureRequiredAttribute.cs (1)
23[AttributeUsage(AttributeTargets.All, AllowMultiple = true, Inherited = false)]
src\Dependencies\Contracts\ExperimentalAttribute.cs (12)
28[AttributeUsage(AttributeTargets.Assembly | 29AttributeTargets.Module | 30AttributeTargets.Class | 31AttributeTargets.Struct | 32AttributeTargets.Enum | 33AttributeTargets.Constructor | 34AttributeTargets.Method | 35AttributeTargets.Property | 36AttributeTargets.Field | 37AttributeTargets.Event | 38AttributeTargets.Interface | 39AttributeTargets.Delegate, Inherited = false)]
src\Dependencies\Contracts\InterpolatedStringHandlerArgumentAttribute.cs (1)
18[AttributeUsage(AttributeTargets.Parameter, AllowMultiple = false, Inherited = false)]
src\Dependencies\Contracts\InterpolatedStringHandlerAttribute.cs (2)
18[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct, AllowMultiple = false, Inherited = false)]
src\Dependencies\Contracts\NonCopyableAttribute.cs (2)
9[AttributeUsage(AttributeTargets.Struct | AttributeTargets.GenericParameter)]
src\Dependencies\Contracts\NonDefaultableAttribute.cs (2)
9[AttributeUsage(AttributeTargets.Struct | AttributeTargets.GenericParameter)]
src\Dependencies\Contracts\RequiredMemberAttribute.cs (4)
21[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Field | AttributeTargets.Property, AllowMultiple = false, Inherited = false)]
src\Dependencies\Contracts\SetsRequiredMembersAttribute.cs (1)
25[AttributeUsage(AttributeTargets.Constructor, AllowMultiple = false, Inherited = false)]
src\Dependencies\PooledObjects\PooledDelegates.cs (1)
450[AttributeUsage(AttributeTargets.Struct)]
Microsoft.CodeAnalysis.VisualBasic (3)
Symbols\Source\SourcePropertySymbol.vb (1)
596Decode(arguments, AttributeTargets.Field, MessageProvider.Instance)
Symbols\Source\SynthesizedFieldSymbol.vb (1)
67(attributeType.GetAttributeUsageInfo().ValidTargets And System.AttributeTargets.Field) <> 0 Then
Symbols\SynthesizedSymbols\SynthesizedBackingFieldBase.vb (1)
129(attributeType.GetAttributeUsageInfo().ValidTargets And System.AttributeTargets.Field) <> 0 Then
Microsoft.CodeAnalysis.Workspaces (22)
CodeCleanup\Providers\ExportCodeCleanupProvider.cs (1)
15[AttributeUsage(AttributeTargets.Class)]
CodeFixes\ExportCodeFixProviderAttribute.cs (1)
17[AttributeUsage(AttributeTargets.Class, Inherited = false)]
CodeRefactorings\ExportCodeRefactoringProviderAttribute.cs (1)
16[AttributeUsage(AttributeTargets.Class, Inherited = false)]
ExtensionOrderAttribute.cs (1)
13[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
Log\InteractionClass.cs (1)
31[AttributeUsage(AttributeTargets.Field, AllowMultiple = false, Inherited = false)]
PerformanceSensitiveAttribute.cs (4)
19[AttributeUsage(AttributeTargets.Constructor | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = true, Inherited = false)]
Remote\ExportRemoteServiceCallbackDispatcherAttribute.cs (1)
11[AttributeUsage(AttributeTargets.Class)]
src\Dependencies\Contracts\NonCopyableAttribute.cs (2)
9[AttributeUsage(AttributeTargets.Struct | AttributeTargets.GenericParameter)]
src\Dependencies\Contracts\NonDefaultableAttribute.cs (2)
9[AttributeUsage(AttributeTargets.Struct | AttributeTargets.GenericParameter)]
src\Dependencies\PooledObjects\PooledDelegates.cs (1)
450[AttributeUsage(AttributeTargets.Struct)]
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\RestrictedInternalsVisibleToAttribute.cs (1)
9[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)]
Workspace\Host\EventListener\ExportEventListenerAttribute.cs (1)
14[AttributeUsage(AttributeTargets.Class)]
Workspace\Host\Mef\ExportDynamicFileInfoProviderAttribute.cs (1)
17[AttributeUsage(AttributeTargets.Class)]
Workspace\Host\Mef\ExportLanguageServiceAttribute.cs (1)
21[AttributeUsage(AttributeTargets.Class)]
Workspace\Host\Mef\ExportLanguageServiceFactoryAttribute.cs (1)
21[AttributeUsage(AttributeTargets.Class)]
Workspace\Host\Mef\ExportWorkspaceServiceAttribute.cs (1)
20[AttributeUsage(AttributeTargets.Class)]
Workspace\Host\Mef\ExportWorkspaceServiceFactoryAttribute.cs (1)
20[AttributeUsage(AttributeTargets.Class)]
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (30)
src\Compilers\Core\Portable\InternalUtilities\PerformanceSensitiveAttribute.cs (4)
19[AttributeUsage(AttributeTargets.Constructor | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = true, Inherited = false)]
src\Dependencies\Contracts\CollectionBuilderAttribute.cs (3)
9[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Interface)]
src\Dependencies\Contracts\CompilerFeatureRequiredAttribute.cs (1)
23[AttributeUsage(AttributeTargets.All, AllowMultiple = true, Inherited = false)]
src\Dependencies\Contracts\ExperimentalAttribute.cs (12)
28[AttributeUsage(AttributeTargets.Assembly | 29AttributeTargets.Module | 30AttributeTargets.Class | 31AttributeTargets.Struct | 32AttributeTargets.Enum | 33AttributeTargets.Constructor | 34AttributeTargets.Method | 35AttributeTargets.Property | 36AttributeTargets.Field | 37AttributeTargets.Event | 38AttributeTargets.Interface | 39AttributeTargets.Delegate, Inherited = false)]
src\Dependencies\Contracts\NonCopyableAttribute.cs (2)
9[AttributeUsage(AttributeTargets.Struct | AttributeTargets.GenericParameter)]
src\Dependencies\Contracts\NonDefaultableAttribute.cs (2)
9[AttributeUsage(AttributeTargets.Struct | AttributeTargets.GenericParameter)]
src\Dependencies\Contracts\RequiredMemberAttribute.cs (4)
21[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Field | AttributeTargets.Property, AllowMultiple = false, Inherited = false)]
src\Dependencies\Contracts\SetsRequiredMembersAttribute.cs (1)
25[AttributeUsage(AttributeTargets.Constructor, AllowMultiple = false, Inherited = false)]
src\Dependencies\PooledObjects\PooledDelegates.cs (1)
450[AttributeUsage(AttributeTargets.Struct)]
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (2)
MEF\UseExportProviderAttribute.cs (2)
44[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
Microsoft.CommonLanguageServerProtocol.Framework.Package (31)
LanguageServerEndpointAttribute.cs (3)
15[AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface | AttributeTargets.Method, AllowMultiple = false)]
src\Dependencies\Contracts\CollectionBuilderAttribute.cs (3)
9[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Interface)]
src\Dependencies\Contracts\CompilerFeatureRequiredAttribute.cs (1)
23[AttributeUsage(AttributeTargets.All, AllowMultiple = true, Inherited = false)]
src\Dependencies\Contracts\ExperimentalAttribute.cs (12)
28[AttributeUsage(AttributeTargets.Assembly | 29AttributeTargets.Module | 30AttributeTargets.Class | 31AttributeTargets.Struct | 32AttributeTargets.Enum | 33AttributeTargets.Constructor | 34AttributeTargets.Method | 35AttributeTargets.Property | 36AttributeTargets.Field | 37AttributeTargets.Event | 38AttributeTargets.Interface | 39AttributeTargets.Delegate, Inherited = false)]
src\Dependencies\Contracts\InterpolatedStringHandlerArgumentAttribute.cs (1)
18[AttributeUsage(AttributeTargets.Parameter, AllowMultiple = false, Inherited = false)]
src\Dependencies\Contracts\InterpolatedStringHandlerAttribute.cs (2)
18[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct, AllowMultiple = false, Inherited = false)]
src\Dependencies\Contracts\NonCopyableAttribute.cs (2)
9[AttributeUsage(AttributeTargets.Struct | AttributeTargets.GenericParameter)]
src\Dependencies\Contracts\NonDefaultableAttribute.cs (2)
9[AttributeUsage(AttributeTargets.Struct | AttributeTargets.GenericParameter)]
src\Dependencies\Contracts\RequiredMemberAttribute.cs (4)
21[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Field | AttributeTargets.Property, AllowMultiple = false, Inherited = false)]
src\Dependencies\Contracts\SetsRequiredMembersAttribute.cs (1)
25[AttributeUsage(AttributeTargets.Constructor, AllowMultiple = false, Inherited = false)]
Microsoft.DotNet.SwaggerGenerator.CodeGenerator (2)
HelperFactory.cs (2)
17[AttributeUsage(AttributeTargets.Method)] 23[AttributeUsage(AttributeTargets.Method)]
Microsoft.DotNet.XUnitExtensions (27)
Attributes\ActiveIssueAttribute.cs (3)
13[AttributeUsage(AttributeTargets.Method | AttributeTargets.Class | AttributeTargets.Assembly, AllowMultiple = true)]
Attributes\ConditionalClassAttribute.cs (1)
11[AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
Attributes\ConditionalFactAttribute.cs (1)
11[AttributeUsage(AttributeTargets.Method, AllowMultiple = false)]
Attributes\ConditionalTheoryAttribute.cs (1)
11[AttributeUsage(AttributeTargets.Method, AllowMultiple = false)]
Attributes\OuterLoopAttribute.cs (2)
13[AttributeUsage(AttributeTargets.Method | AttributeTargets.Class, AllowMultiple = true)]
Attributes\ParallelTheoryAttribute.cs (1)
13[AttributeUsage(AttributeTargets.Method, AllowMultiple = false)]
Attributes\PlatformSpecificAttribute.cs (2)
13[AttributeUsage(AttributeTargets.Method | AttributeTargets.Class, AllowMultiple = false)]
Attributes\SkipOnCIAttribute.cs (3)
10[AttributeUsage(AttributeTargets.Method | AttributeTargets.Class | AttributeTargets.Assembly, AllowMultiple = false)]
Attributes\SkipOnCoreClrAttribute.cs (3)
10[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = true, Inherited = true)]
Attributes\SkipOnMonoAttribute.cs (3)
10[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
Attributes\SkipOnPlatformAttribute.cs (3)
10[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = true, Inherited = true)]
Attributes\SkipOnTargetFrameworkAttribute.cs (2)
13[AttributeUsage(AttributeTargets.Method | AttributeTargets.Class, AllowMultiple = true)]
Attributes\TestCategoryAttribute.cs (2)
13[AttributeUsage(AttributeTargets.Method | AttributeTargets.Class, AllowMultiple = true)]
Microsoft.Extensions.AI.Integration.Tests (26)
src\LegacySupport\CallerAttributes\CallerArgumentExpressionAttribute.cs (1)
15[AttributeUsage(AttributeTargets.Parameter, AllowMultiple = false, Inherited = false)]
src\LegacySupport\DiagnosticAttributes\NullableAttributes.cs (25)
24[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property, Inherited = false)] 31[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property, Inherited = false)] 38[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, Inherited = false)] 45[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, Inherited = false)] 52[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 67[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 82[AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, AllowMultiple = true, Inherited = false)] 97[AttributeUsage(AttributeTargets.Method, Inherited = false)] 104[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 121[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, Inherited = false, AllowMultiple = true)] 142[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, Inherited = false, AllowMultiple = true)]
Microsoft.Extensions.AmbientMetadata.Application (57)
src\LegacySupport\CallerAttributes\CallerArgumentExpressionAttribute.cs (1)
15[AttributeUsage(AttributeTargets.Parameter, AllowMultiple = false, Inherited = false)]
src\LegacySupport\DiagnosticAttributes\NullableAttributes.cs (25)
24[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property, Inherited = false)] 31[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property, Inherited = false)] 38[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, Inherited = false)] 45[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, Inherited = false)] 52[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 67[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 82[AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, AllowMultiple = true, Inherited = false)] 97[AttributeUsage(AttributeTargets.Method, Inherited = false)] 104[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 121[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, Inherited = false, AllowMultiple = true)] 142[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, Inherited = false, AllowMultiple = true)]
src\LegacySupport\SkipLocalsInitAttribute\SkipLocalsInitAttribute.cs (8)
27[AttributeUsage(AttributeTargets.Module 28| AttributeTargets.Class 29| AttributeTargets.Struct 30| AttributeTargets.Interface 31| AttributeTargets.Constructor 32| AttributeTargets.Method 33| AttributeTargets.Property 34| AttributeTargets.Event, Inherited = false)]
src\LegacySupport\TrimAttributes\DynamicallyAccessedMembersAttribute.cs (9)
38AttributeTargets.Field | AttributeTargets.ReturnValue | AttributeTargets.GenericParameter | 39AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.Method | 40AttributeTargets.Class | AttributeTargets.Interface | AttributeTargets.Struct,
src\LegacySupport\TrimAttributes\DynamicDependencyAttribute.cs (3)
23AttributeTargets.Constructor | AttributeTargets.Field | AttributeTargets.Method,
src\LegacySupport\TrimAttributes\RequiresAssemblyFilesAttribute.cs (4)
19[AttributeUsage(AttributeTargets.Constructor | 20AttributeTargets.Event | 21AttributeTargets.Method | 22AttributeTargets.Property,
src\LegacySupport\TrimAttributes\RequiresDynamicCodeAttribute.cs (3)
23[AttributeUsage(AttributeTargets.Method | AttributeTargets.Constructor | AttributeTargets.Class, Inherited = false)]
src\LegacySupport\TrimAttributes\RequiresUnreferencedCodeAttribute.cs (3)
24[AttributeUsage(AttributeTargets.Method | AttributeTargets.Constructor | AttributeTargets.Class, Inherited = false)]
src\LegacySupport\TrimAttributes\UnconditionalSuppressMessageAttribute.cs (1)
24[AttributeUsage(AttributeTargets.All, Inherited = false, AllowMultiple = true)]
Microsoft.Extensions.AsyncState (68)
src\LegacySupport\CallerAttributes\CallerArgumentExpressionAttribute.cs (1)
15[AttributeUsage(AttributeTargets.Parameter, AllowMultiple = false, Inherited = false)]
src\LegacySupport\DiagnosticAttributes\NullableAttributes.cs (25)
24[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property, Inherited = false)] 31[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property, Inherited = false)] 38[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, Inherited = false)] 45[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, Inherited = false)] 52[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 67[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 82[AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, AllowMultiple = true, Inherited = false)] 97[AttributeUsage(AttributeTargets.Method, Inherited = false)] 104[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 121[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, Inherited = false, AllowMultiple = true)] 142[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, Inherited = false, AllowMultiple = true)]
src\LegacySupport\ExperimentalAttribute\ExperimentalAttribute.cs (11)
13AttributeTargets.Class | 14AttributeTargets.Struct | 15AttributeTargets.Enum | 16AttributeTargets.Interface | 17AttributeTargets.Delegate | 18AttributeTargets.Method | 19AttributeTargets.Constructor | 20AttributeTargets.Property | 21AttributeTargets.Field | 22AttributeTargets.Event | 23AttributeTargets.Assembly)]
src\LegacySupport\SkipLocalsInitAttribute\SkipLocalsInitAttribute.cs (8)
27[AttributeUsage(AttributeTargets.Module 28| AttributeTargets.Class 29| AttributeTargets.Struct 30| AttributeTargets.Interface 31| AttributeTargets.Constructor 32| AttributeTargets.Method 33| AttributeTargets.Property 34| AttributeTargets.Event, Inherited = false)]
src\LegacySupport\TrimAttributes\DynamicallyAccessedMembersAttribute.cs (9)
38AttributeTargets.Field | AttributeTargets.ReturnValue | AttributeTargets.GenericParameter | 39AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.Method | 40AttributeTargets.Class | AttributeTargets.Interface | AttributeTargets.Struct,
src\LegacySupport\TrimAttributes\DynamicDependencyAttribute.cs (3)
23AttributeTargets.Constructor | AttributeTargets.Field | AttributeTargets.Method,
src\LegacySupport\TrimAttributes\RequiresAssemblyFilesAttribute.cs (4)
19[AttributeUsage(AttributeTargets.Constructor | 20AttributeTargets.Event | 21AttributeTargets.Method | 22AttributeTargets.Property,
src\LegacySupport\TrimAttributes\RequiresDynamicCodeAttribute.cs (3)
23[AttributeUsage(AttributeTargets.Method | AttributeTargets.Constructor | AttributeTargets.Class, Inherited = false)]
src\LegacySupport\TrimAttributes\RequiresUnreferencedCodeAttribute.cs (3)
24[AttributeUsage(AttributeTargets.Method | AttributeTargets.Constructor | AttributeTargets.Class, Inherited = false)]
src\LegacySupport\TrimAttributes\UnconditionalSuppressMessageAttribute.cs (1)
24[AttributeUsage(AttributeTargets.All, Inherited = false, AllowMultiple = true)]
Microsoft.Extensions.Caching.Hybrid (68)
src\LegacySupport\CallerAttributes\CallerArgumentExpressionAttribute.cs (1)
15[AttributeUsage(AttributeTargets.Parameter, AllowMultiple = false, Inherited = false)]
src\LegacySupport\DiagnosticAttributes\NullableAttributes.cs (25)
24[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property, Inherited = false)] 31[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property, Inherited = false)] 38[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, Inherited = false)] 45[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, Inherited = false)] 52[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 67[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 82[AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, AllowMultiple = true, Inherited = false)] 97[AttributeUsage(AttributeTargets.Method, Inherited = false)] 104[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 121[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, Inherited = false, AllowMultiple = true)] 142[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, Inherited = false, AllowMultiple = true)]
src\LegacySupport\ExperimentalAttribute\ExperimentalAttribute.cs (11)
13AttributeTargets.Class | 14AttributeTargets.Struct | 15AttributeTargets.Enum | 16AttributeTargets.Interface | 17AttributeTargets.Delegate | 18AttributeTargets.Method | 19AttributeTargets.Constructor | 20AttributeTargets.Property | 21AttributeTargets.Field | 22AttributeTargets.Event | 23AttributeTargets.Assembly)]
src\LegacySupport\SkipLocalsInitAttribute\SkipLocalsInitAttribute.cs (8)
27[AttributeUsage(AttributeTargets.Module 28| AttributeTargets.Class 29| AttributeTargets.Struct 30| AttributeTargets.Interface 31| AttributeTargets.Constructor 32| AttributeTargets.Method 33| AttributeTargets.Property 34| AttributeTargets.Event, Inherited = false)]
src\LegacySupport\TrimAttributes\DynamicallyAccessedMembersAttribute.cs (9)
38AttributeTargets.Field | AttributeTargets.ReturnValue | AttributeTargets.GenericParameter | 39AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.Method | 40AttributeTargets.Class | AttributeTargets.Interface | AttributeTargets.Struct,
src\LegacySupport\TrimAttributes\DynamicDependencyAttribute.cs (3)
23AttributeTargets.Constructor | AttributeTargets.Field | AttributeTargets.Method,
src\LegacySupport\TrimAttributes\RequiresAssemblyFilesAttribute.cs (4)
19[AttributeUsage(AttributeTargets.Constructor | 20AttributeTargets.Event | 21AttributeTargets.Method | 22AttributeTargets.Property,
src\LegacySupport\TrimAttributes\RequiresDynamicCodeAttribute.cs (3)
23[AttributeUsage(AttributeTargets.Method | AttributeTargets.Constructor | AttributeTargets.Class, Inherited = false)]
src\LegacySupport\TrimAttributes\RequiresUnreferencedCodeAttribute.cs (3)
24[AttributeUsage(AttributeTargets.Method | AttributeTargets.Constructor | AttributeTargets.Class, Inherited = false)]
src\LegacySupport\TrimAttributes\UnconditionalSuppressMessageAttribute.cs (1)
24[AttributeUsage(AttributeTargets.All, Inherited = false, AllowMultiple = true)]
Microsoft.Extensions.Caching.MicroBenchmarks (25)
src\Shared\Nullable\NullableAttributes.cs (25)
11[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property, Inherited = false)] 21[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property, Inherited = false)] 31[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, Inherited = false)] 41[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, Inherited = false)] 51[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 70[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 89[AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, AllowMultiple = true, Inherited = false)] 108[AttributeUsage(AttributeTargets.Method, Inherited = false)] 118[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 141[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, Inherited = false, AllowMultiple = true)] 166[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, Inherited = false, AllowMultiple = true)]
Microsoft.Extensions.Caching.SqlServer (26)
src\Shared\CallerArgument\CallerArgumentExpressionAttribute.cs (1)
9[AttributeUsage(AttributeTargets.Parameter, AllowMultiple = false, Inherited = false)]
src\Shared\Nullable\NullableAttributes.cs (25)
11[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property, Inherited = false)] 21[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property, Inherited = false)] 31[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, Inherited = false)] 41[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, Inherited = false)] 51[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 70[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 89[AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, AllowMultiple = true, Inherited = false)] 108[AttributeUsage(AttributeTargets.Method, Inherited = false)] 118[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 141[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, Inherited = false, AllowMultiple = true)] 166[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, Inherited = false, AllowMultiple = true)]
Microsoft.Extensions.Compliance.Abstractions (8)
Classification\DataClassificationAttribute.cs (8)
12AttributeTargets.Field 13| AttributeTargets.Property 14| AttributeTargets.Parameter 15| AttributeTargets.Class 16| AttributeTargets.Struct 17| AttributeTargets.Interface 18| AttributeTargets.ReturnValue 19| AttributeTargets.GenericParameter,
Microsoft.Extensions.Compliance.Redaction (77)
src\LegacySupport\CallerAttributes\CallerArgumentExpressionAttribute.cs (1)
15[AttributeUsage(AttributeTargets.Parameter, AllowMultiple = false, Inherited = false)]
src\LegacySupport\DiagnosticAttributes\NullableAttributes.cs (25)
24[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property, Inherited = false)] 31[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property, Inherited = false)] 38[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, Inherited = false)] 45[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, Inherited = false)] 52[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 67[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 82[AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, AllowMultiple = true, Inherited = false)] 97[AttributeUsage(AttributeTargets.Method, Inherited = false)] 104[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 121[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, Inherited = false, AllowMultiple = true)] 142[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, Inherited = false, AllowMultiple = true)]
src\LegacySupport\ExperimentalAttribute\ExperimentalAttribute.cs (11)
13AttributeTargets.Class | 14AttributeTargets.Struct | 15AttributeTargets.Enum | 16AttributeTargets.Interface | 17AttributeTargets.Delegate | 18AttributeTargets.Method | 19AttributeTargets.Constructor | 20AttributeTargets.Property | 21AttributeTargets.Field | 22AttributeTargets.Event | 23AttributeTargets.Assembly)]
src\LegacySupport\SkipLocalsInitAttribute\SkipLocalsInitAttribute.cs (8)
27[AttributeUsage(AttributeTargets.Module 28| AttributeTargets.Class 29| AttributeTargets.Struct 30| AttributeTargets.Interface 31| AttributeTargets.Constructor 32| AttributeTargets.Method 33| AttributeTargets.Property 34| AttributeTargets.Event, Inherited = false)]
src\LegacySupport\StringSyntaxAttribute\StringSyntaxAttribute.cs (3)
12[AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Field | AttributeTargets.Property, AllowMultiple = false, Inherited = false)]
src\LegacySupport\TrimAttributes\DynamicallyAccessedMembersAttribute.cs (9)
38AttributeTargets.Field | AttributeTargets.ReturnValue | AttributeTargets.GenericParameter | 39AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.Method | 40AttributeTargets.Class | AttributeTargets.Interface | AttributeTargets.Struct,
src\LegacySupport\TrimAttributes\DynamicDependencyAttribute.cs (3)
23AttributeTargets.Constructor | AttributeTargets.Field | AttributeTargets.Method,
src\LegacySupport\TrimAttributes\RequiresAssemblyFilesAttribute.cs (4)
19[AttributeUsage(AttributeTargets.Constructor | 20AttributeTargets.Event | 21AttributeTargets.Method | 22AttributeTargets.Property,
src\LegacySupport\TrimAttributes\RequiresDynamicCodeAttribute.cs (3)
23[AttributeUsage(AttributeTargets.Method | AttributeTargets.Constructor | AttributeTargets.Class, Inherited = false)]
src\LegacySupport\TrimAttributes\RequiresUnreferencedCodeAttribute.cs (3)
24[AttributeUsage(AttributeTargets.Method | AttributeTargets.Constructor | AttributeTargets.Class, Inherited = false)]
src\LegacySupport\TrimAttributes\UnconditionalSuppressMessageAttribute.cs (1)
24[AttributeUsage(AttributeTargets.All, Inherited = false, AllowMultiple = true)]
src\Shared\Data.Validation\LengthAttribute.cs (3)
27[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter, AllowMultiple = false)]
src\Shared\Data.Validation\TimeSpanAttribute.cs (3)
21[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter, AllowMultiple = false)]
Microsoft.Extensions.Configuration.Abstractions (1)
ConfigurationKeyNameAttribute.cs (1)
11[AttributeUsage(AttributeTargets.Property)]
Microsoft.Extensions.Configuration.KeyPerFile (25)
src\Shared\Nullable\NullableAttributes.cs (25)
11[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property, Inherited = false)] 21[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property, Inherited = false)] 31[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, Inherited = false)] 41[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, Inherited = false)] 51[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 70[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 89[AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, AllowMultiple = true, Inherited = false)] 108[AttributeUsage(AttributeTargets.Method, Inherited = false)] 118[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 141[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, Inherited = false, AllowMultiple = true)] 166[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, Inherited = false, AllowMultiple = true)]
Microsoft.Extensions.Configuration.UserSecrets (1)
UserSecretsIdAttribute.cs (1)
16[AttributeUsage(AttributeTargets.Assembly, Inherited = false, AllowMultiple = false)]
Microsoft.Extensions.DependencyInjection.Abstractions (3)
ActivatorUtilitiesConstructorAttribute.cs (1)
11[AttributeUsage(AttributeTargets.All)]
FromKeyedServicesAttribute.cs (1)
11[AttributeUsage(AttributeTargets.Parameter)]
ServiceKeyAttribute.cs (1)
11[AttributeUsage(AttributeTargets.Parameter)]
Microsoft.Extensions.Diagnostics.HealthChecks.Tests (25)
src\Shared\Nullable\NullableAttributes.cs (25)
11[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property, Inherited = false)] 21[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property, Inherited = false)] 31[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, Inherited = false)] 41[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, Inherited = false)] 51[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 70[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 89[AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, AllowMultiple = true, Inherited = false)] 108[AttributeUsage(AttributeTargets.Method, Inherited = false)] 118[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 141[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, Inherited = false, AllowMultiple = true)] 166[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, Inherited = false, AllowMultiple = true)]
Microsoft.Extensions.Diagnostics.Probes (6)
src\Shared\Data.Validation\LengthAttribute.cs (3)
27[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter, AllowMultiple = false)]
src\Shared\Data.Validation\TimeSpanAttribute.cs (3)
21[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter, AllowMultiple = false)]
Microsoft.Extensions.Diagnostics.ResourceMonitoring (6)
src\Shared\Data.Validation\LengthAttribute.cs (3)
27[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter, AllowMultiple = false)]
src\Shared\Data.Validation\TimeSpanAttribute.cs (3)
21[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter, AllowMultiple = false)]
Microsoft.Extensions.Http.Diagnostics (34)
src\LegacySupport\CallerAttributes\CallerArgumentExpressionAttribute.cs (1)
15[AttributeUsage(AttributeTargets.Parameter, AllowMultiple = false, Inherited = false)]
src\LegacySupport\DiagnosticAttributes\NullableAttributes.cs (25)
24[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property, Inherited = false)] 31[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property, Inherited = false)] 38[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, Inherited = false)] 45[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, Inherited = false)] 52[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 67[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 82[AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, AllowMultiple = true, Inherited = false)] 97[AttributeUsage(AttributeTargets.Method, Inherited = false)] 104[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 121[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, Inherited = false, AllowMultiple = true)] 142[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, Inherited = false, AllowMultiple = true)]
src\LegacySupport\SkipLocalsInitAttribute\SkipLocalsInitAttribute.cs (8)
27[AttributeUsage(AttributeTargets.Module 28| AttributeTargets.Class 29| AttributeTargets.Struct 30| AttributeTargets.Interface 31| AttributeTargets.Constructor 32| AttributeTargets.Method 33| AttributeTargets.Property 34| AttributeTargets.Event, Inherited = false)]
Microsoft.Extensions.Http.Polly (25)
src\Shared\Nullable\NullableAttributes.cs (25)
11[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property, Inherited = false)] 21[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property, Inherited = false)] 31[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, Inherited = false)] 41[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, Inherited = false)] 51[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 70[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 89[AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, AllowMultiple = true, Inherited = false)] 108[AttributeUsage(AttributeTargets.Method, Inherited = false)] 118[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 141[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, Inherited = false, AllowMultiple = true)] 166[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, Inherited = false, AllowMultiple = true)]
Microsoft.Extensions.Http.Resilience (6)
src\Shared\Data.Validation\LengthAttribute.cs (3)
27[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter, AllowMultiple = false)]
src\Shared\Data.Validation\TimeSpanAttribute.cs (3)
21[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter, AllowMultiple = false)]
Microsoft.Extensions.Identity.Core (46)
PersonalDataAttribute.cs (1)
11[AttributeUsage(AttributeTargets.Property)]
src\Shared\CallerArgument\CallerArgumentExpressionAttribute.cs (1)
9[AttributeUsage(AttributeTargets.Parameter, AllowMultiple = false, Inherited = false)]
src\Shared\Nullable\NullableAttributes.cs (25)
11[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property, Inherited = false)] 21[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property, Inherited = false)] 31[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, Inherited = false)] 41[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, Inherited = false)] 51[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 70[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 89[AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, AllowMultiple = true, Inherited = false)] 108[AttributeUsage(AttributeTargets.Method, Inherited = false)] 118[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 141[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, Inherited = false, AllowMultiple = true)] 166[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, Inherited = false, AllowMultiple = true)]
src\Shared\TrimmingAttributes.cs (19)
16[AttributeUsage(AttributeTargets.Method | AttributeTargets.Constructor | AttributeTargets.Class, Inherited = false)] 53[AttributeUsage(AttributeTargets.Method | AttributeTargets.Constructor | AttributeTargets.Class, Inherited = false)] 89[AttributeUsage(AttributeTargets.All, Inherited = false, AllowMultiple = true)] 168AttributeTargets.Constructor | AttributeTargets.Field | AttributeTargets.Method, 308AttributeTargets.Field | AttributeTargets.ReturnValue | AttributeTargets.GenericParameter | 309AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.Method | 310AttributeTargets.Class | AttributeTargets.Interface | AttributeTargets.Struct,
Microsoft.Extensions.Identity.Stores (45)
src\Shared\CallerArgument\CallerArgumentExpressionAttribute.cs (1)
9[AttributeUsage(AttributeTargets.Parameter, AllowMultiple = false, Inherited = false)]
src\Shared\Nullable\NullableAttributes.cs (25)
11[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property, Inherited = false)] 21[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property, Inherited = false)] 31[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, Inherited = false)] 41[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, Inherited = false)] 51[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 70[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 89[AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, AllowMultiple = true, Inherited = false)] 108[AttributeUsage(AttributeTargets.Method, Inherited = false)] 118[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 141[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, Inherited = false, AllowMultiple = true)] 166[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, Inherited = false, AllowMultiple = true)]
src\Shared\TrimmingAttributes.cs (19)
16[AttributeUsage(AttributeTargets.Method | AttributeTargets.Constructor | AttributeTargets.Class, Inherited = false)] 53[AttributeUsage(AttributeTargets.Method | AttributeTargets.Constructor | AttributeTargets.Class, Inherited = false)] 89[AttributeUsage(AttributeTargets.All, Inherited = false, AllowMultiple = true)] 168AttributeTargets.Constructor | AttributeTargets.Field | AttributeTargets.Method, 308AttributeTargets.Field | AttributeTargets.ReturnValue | AttributeTargets.GenericParameter | 309AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.Method | 310AttributeTargets.Class | AttributeTargets.Interface | AttributeTargets.Struct,
Microsoft.Extensions.Localization (28)
ResourceLocationAttribute.cs (1)
12[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = false, Inherited = false)]
RootNamespaceAttribute.cs (1)
13[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = false, Inherited = false)]
src\Shared\CallerArgument\CallerArgumentExpressionAttribute.cs (1)
9[AttributeUsage(AttributeTargets.Parameter, AllowMultiple = false, Inherited = false)]
src\Shared\Nullable\NullableAttributes.cs (25)
11[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property, Inherited = false)] 21[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property, Inherited = false)] 31[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, Inherited = false)] 41[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, Inherited = false)] 51[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 70[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 89[AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, AllowMultiple = true, Inherited = false)] 108[AttributeUsage(AttributeTargets.Method, Inherited = false)] 118[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 141[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, Inherited = false, AllowMultiple = true)] 166[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, Inherited = false, AllowMultiple = true)]
Microsoft.Extensions.Logging (1)
ProviderAliasAttribute.cs (1)
11[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = false)]
Microsoft.Extensions.Logging.Abstractions (1)
LoggerMessageAttribute.cs (1)
31[AttributeUsage(AttributeTargets.Method)]
Microsoft.Extensions.Logging.AzureAppServices (1)
src\Shared\CallerArgument\CallerArgumentExpressionAttribute.cs (1)
9[AttributeUsage(AttributeTargets.Parameter, AllowMultiple = false, Inherited = false)]
Microsoft.Extensions.Logging.Generators (25)
src\libraries\System.Private.CoreLib\src\System\Diagnostics\CodeAnalysis\NullableAttributes.cs (25)
8[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property, Inherited = false)] 17[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property, Inherited = false)] 26[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, Inherited = false)] 35[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, Inherited = false)] 44[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 63[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 82[AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, AllowMultiple = true, Inherited = false)] 101[AttributeUsage(AttributeTargets.Method, Inherited = false)] 110[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 131[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, Inherited = false, AllowMultiple = true)] 156[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, Inherited = false, AllowMultiple = true)]
Microsoft.Extensions.ObjectPool.Microbenchmark (4)
src\Shared\BenchmarkRunner\AspNetCoreBenchmarkAttribute.cs (2)
10[AttributeUsage(AttributeTargets.Class | AttributeTargets.Assembly)]
src\Shared\BenchmarkRunner\ParameterizedJobConfigAttribute.cs (2)
8[AttributeUsage(AttributeTargets.Class | AttributeTargets.Assembly)]
Microsoft.Extensions.Options (6)
OptionsValidatorAttribute.cs (2)
12[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct)]
ValidateEnumeratedItemsAttribute.cs (2)
13[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field)]
ValidateObjectMembersAttribute.cs (2)
12[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field)]
Microsoft.Extensions.Options.Contextual (70)
OptionsContextAttribute.cs (2)
12[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct, Inherited = false, AllowMultiple = false)]
src\LegacySupport\CallerAttributes\CallerArgumentExpressionAttribute.cs (1)
15[AttributeUsage(AttributeTargets.Parameter, AllowMultiple = false, Inherited = false)]
src\LegacySupport\DiagnosticAttributes\NullableAttributes.cs (25)
24[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property, Inherited = false)] 31[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property, Inherited = false)] 38[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, Inherited = false)] 45[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, Inherited = false)] 52[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 67[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 82[AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, AllowMultiple = true, Inherited = false)] 97[AttributeUsage(AttributeTargets.Method, Inherited = false)] 104[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 121[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, Inherited = false, AllowMultiple = true)] 142[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, Inherited = false, AllowMultiple = true)]
src\LegacySupport\ExperimentalAttribute\ExperimentalAttribute.cs (11)
13AttributeTargets.Class | 14AttributeTargets.Struct | 15AttributeTargets.Enum | 16AttributeTargets.Interface | 17AttributeTargets.Delegate | 18AttributeTargets.Method | 19AttributeTargets.Constructor | 20AttributeTargets.Property | 21AttributeTargets.Field | 22AttributeTargets.Event | 23AttributeTargets.Assembly)]
src\LegacySupport\SkipLocalsInitAttribute\SkipLocalsInitAttribute.cs (8)
27[AttributeUsage(AttributeTargets.Module 28| AttributeTargets.Class 29| AttributeTargets.Struct 30| AttributeTargets.Interface 31| AttributeTargets.Constructor 32| AttributeTargets.Method 33| AttributeTargets.Property 34| AttributeTargets.Event, Inherited = false)]
src\LegacySupport\TrimAttributes\DynamicallyAccessedMembersAttribute.cs (9)
38AttributeTargets.Field | AttributeTargets.ReturnValue | AttributeTargets.GenericParameter | 39AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.Method | 40AttributeTargets.Class | AttributeTargets.Interface | AttributeTargets.Struct,
src\LegacySupport\TrimAttributes\DynamicDependencyAttribute.cs (3)
23AttributeTargets.Constructor | AttributeTargets.Field | AttributeTargets.Method,
src\LegacySupport\TrimAttributes\RequiresAssemblyFilesAttribute.cs (4)
19[AttributeUsage(AttributeTargets.Constructor | 20AttributeTargets.Event | 21AttributeTargets.Method | 22AttributeTargets.Property,
src\LegacySupport\TrimAttributes\RequiresDynamicCodeAttribute.cs (3)
23[AttributeUsage(AttributeTargets.Method | AttributeTargets.Constructor | AttributeTargets.Class, Inherited = false)]
src\LegacySupport\TrimAttributes\RequiresUnreferencedCodeAttribute.cs (3)
24[AttributeUsage(AttributeTargets.Method | AttributeTargets.Constructor | AttributeTargets.Class, Inherited = false)]
src\LegacySupport\TrimAttributes\UnconditionalSuppressMessageAttribute.cs (1)
24[AttributeUsage(AttributeTargets.All, Inherited = false, AllowMultiple = true)]
Microsoft.Extensions.Options.SourceGeneration (25)
src\libraries\System.Private.CoreLib\src\System\Diagnostics\CodeAnalysis\NullableAttributes.cs (25)
8[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property, Inherited = false)] 17[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property, Inherited = false)] 26[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, Inherited = false)] 35[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, Inherited = false)] 44[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 63[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 82[AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, AllowMultiple = true, Inherited = false)] 101[AttributeUsage(AttributeTargets.Method, Inherited = false)] 110[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 131[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, Inherited = false, AllowMultiple = true)] 156[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, Inherited = false, AllowMultiple = true)]
Microsoft.Extensions.Resilience (57)
src\LegacySupport\CallerAttributes\CallerArgumentExpressionAttribute.cs (1)
15[AttributeUsage(AttributeTargets.Parameter, AllowMultiple = false, Inherited = false)]
src\LegacySupport\DiagnosticAttributes\NullableAttributes.cs (25)
24[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property, Inherited = false)] 31[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property, Inherited = false)] 38[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, Inherited = false)] 45[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, Inherited = false)] 52[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 67[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 82[AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, AllowMultiple = true, Inherited = false)] 97[AttributeUsage(AttributeTargets.Method, Inherited = false)] 104[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 121[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, Inherited = false, AllowMultiple = true)] 142[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, Inherited = false, AllowMultiple = true)]
src\LegacySupport\SkipLocalsInitAttribute\SkipLocalsInitAttribute.cs (8)
27[AttributeUsage(AttributeTargets.Module 28| AttributeTargets.Class 29| AttributeTargets.Struct 30| AttributeTargets.Interface 31| AttributeTargets.Constructor 32| AttributeTargets.Method 33| AttributeTargets.Property 34| AttributeTargets.Event, Inherited = false)]
src\LegacySupport\TrimAttributes\DynamicallyAccessedMembersAttribute.cs (9)
38AttributeTargets.Field | AttributeTargets.ReturnValue | AttributeTargets.GenericParameter | 39AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.Method | 40AttributeTargets.Class | AttributeTargets.Interface | AttributeTargets.Struct,
src\LegacySupport\TrimAttributes\DynamicDependencyAttribute.cs (3)
23AttributeTargets.Constructor | AttributeTargets.Field | AttributeTargets.Method,
src\LegacySupport\TrimAttributes\RequiresAssemblyFilesAttribute.cs (4)
19[AttributeUsage(AttributeTargets.Constructor | 20AttributeTargets.Event | 21AttributeTargets.Method | 22AttributeTargets.Property,
src\LegacySupport\TrimAttributes\RequiresDynamicCodeAttribute.cs (3)
23[AttributeUsage(AttributeTargets.Method | AttributeTargets.Constructor | AttributeTargets.Class, Inherited = false)]
src\LegacySupport\TrimAttributes\RequiresUnreferencedCodeAttribute.cs (3)
24[AttributeUsage(AttributeTargets.Method | AttributeTargets.Constructor | AttributeTargets.Class, Inherited = false)]
src\LegacySupport\TrimAttributes\UnconditionalSuppressMessageAttribute.cs (1)
24[AttributeUsage(AttributeTargets.All, Inherited = false, AllowMultiple = true)]
Microsoft.Extensions.Telemetry (74)
src\LegacySupport\CallerAttributes\CallerArgumentExpressionAttribute.cs (1)
15[AttributeUsage(AttributeTargets.Parameter, AllowMultiple = false, Inherited = false)]
src\LegacySupport\DiagnosticAttributes\NullableAttributes.cs (25)
24[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property, Inherited = false)] 31[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property, Inherited = false)] 38[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, Inherited = false)] 45[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, Inherited = false)] 52[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 67[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 82[AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, AllowMultiple = true, Inherited = false)] 97[AttributeUsage(AttributeTargets.Method, Inherited = false)] 104[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 121[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, Inherited = false, AllowMultiple = true)] 142[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, Inherited = false, AllowMultiple = true)]
src\LegacySupport\ExperimentalAttribute\ExperimentalAttribute.cs (11)
13AttributeTargets.Class | 14AttributeTargets.Struct | 15AttributeTargets.Enum | 16AttributeTargets.Interface | 17AttributeTargets.Delegate | 18AttributeTargets.Method | 19AttributeTargets.Constructor | 20AttributeTargets.Property | 21AttributeTargets.Field | 22AttributeTargets.Event | 23AttributeTargets.Assembly)]
src\LegacySupport\SkipLocalsInitAttribute\SkipLocalsInitAttribute.cs (8)
27[AttributeUsage(AttributeTargets.Module 28| AttributeTargets.Class 29| AttributeTargets.Struct 30| AttributeTargets.Interface 31| AttributeTargets.Constructor 32| AttributeTargets.Method 33| AttributeTargets.Property 34| AttributeTargets.Event, Inherited = false)]
src\LegacySupport\TrimAttributes\DynamicallyAccessedMembersAttribute.cs (9)
38AttributeTargets.Field | AttributeTargets.ReturnValue | AttributeTargets.GenericParameter | 39AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.Method | 40AttributeTargets.Class | AttributeTargets.Interface | AttributeTargets.Struct,
src\LegacySupport\TrimAttributes\DynamicDependencyAttribute.cs (3)
23AttributeTargets.Constructor | AttributeTargets.Field | AttributeTargets.Method,
src\LegacySupport\TrimAttributes\RequiresAssemblyFilesAttribute.cs (4)
19[AttributeUsage(AttributeTargets.Constructor | 20AttributeTargets.Event | 21AttributeTargets.Method | 22AttributeTargets.Property,
src\LegacySupport\TrimAttributes\RequiresDynamicCodeAttribute.cs (3)
23[AttributeUsage(AttributeTargets.Method | AttributeTargets.Constructor | AttributeTargets.Class, Inherited = false)]
src\LegacySupport\TrimAttributes\RequiresUnreferencedCodeAttribute.cs (3)
24[AttributeUsage(AttributeTargets.Method | AttributeTargets.Constructor | AttributeTargets.Class, Inherited = false)]
src\LegacySupport\TrimAttributes\UnconditionalSuppressMessageAttribute.cs (1)
24[AttributeUsage(AttributeTargets.All, Inherited = false, AllowMultiple = true)]
src\Shared\Data.Validation\LengthAttribute.cs (3)
27[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter, AllowMultiple = false)]
src\Shared\Data.Validation\TimeSpanAttribute.cs (3)
21[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter, AllowMultiple = false)]
Microsoft.Extensions.Telemetry.Abstractions (14)
Logging\LogPropertiesAttribute.cs (2)
16[AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Property)]
Logging\LogPropertyIgnoreAttribute.cs (1)
14[AttributeUsage(AttributeTargets.Property)]
Logging\TagNameAttribute.cs (2)
16[AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Property)]
Logging\TagProviderAttribute.cs (2)
14[AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Property)]
Metrics\CounterAttribute.cs (1)
31[AttributeUsage(AttributeTargets.Method)]
Metrics\CounterAttributeT.cs (1)
37[AttributeUsage(AttributeTargets.Method)]
Metrics\GaugeAttribute.cs (1)
31[AttributeUsage(AttributeTargets.Method)]
Metrics\HistogramAttribute.cs (1)
31[AttributeUsage(AttributeTargets.Method)]
Metrics\HistogramAttributeT.cs (1)
37[AttributeUsage(AttributeTargets.Method)]
Metrics\TagNameAttribute.cs (2)
28[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property)]
Microsoft.Gen.ContextualOptions.Generated.Tests (2)
test\Generators\Microsoft.Gen.ContextualOptions\TestClasses\ClassWithNoAttribute.cs (2)
13[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct, Inherited = false, AllowMultiple = false)]
Microsoft.Interop.ComInterfaceGenerator (65)
src\libraries\System.Private.CoreLib\src\System\Diagnostics\CodeAnalysis\NullableAttributes.cs (25)
8[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property, Inherited = false)] 17[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property, Inherited = false)] 26[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, Inherited = false)] 35[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, Inherited = false)] 44[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 63[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 82[AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, AllowMultiple = true, Inherited = false)] 101[AttributeUsage(AttributeTargets.Method, Inherited = false)] 110[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 131[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, Inherited = false, AllowMultiple = true)] 156[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, Inherited = false, AllowMultiple = true)]
src\libraries\System.Private.CoreLib\src\System\Runtime\Versioning\PlatformAttributes.cs (40)
28[AttributeUsage(AttributeTargets.Assembly, 52[AttributeUsage(AttributeTargets.Assembly | 53AttributeTargets.Class | 54AttributeTargets.Constructor | 55AttributeTargets.Enum | 56AttributeTargets.Event | 57AttributeTargets.Field | 58AttributeTargets.Interface | 59AttributeTargets.Method | 60AttributeTargets.Module | 61AttributeTargets.Property | 62AttributeTargets.Struct, 83[AttributeUsage(AttributeTargets.Assembly | 84AttributeTargets.Class | 85AttributeTargets.Constructor | 86AttributeTargets.Enum | 87AttributeTargets.Event | 88AttributeTargets.Field | 89AttributeTargets.Interface | 90AttributeTargets.Method | 91AttributeTargets.Module | 92AttributeTargets.Property | 93AttributeTargets.Struct, 118[AttributeUsage(AttributeTargets.Assembly | 119AttributeTargets.Class | 120AttributeTargets.Constructor | 121AttributeTargets.Enum | 122AttributeTargets.Event | 123AttributeTargets.Field | 124AttributeTargets.Interface | 125AttributeTargets.Method | 126AttributeTargets.Module | 127AttributeTargets.Property | 128AttributeTargets.Struct, 158[AttributeUsage(AttributeTargets.Field | 159AttributeTargets.Method | 160AttributeTargets.Property, 184[AttributeUsage(AttributeTargets.Field | 185AttributeTargets.Method | 186AttributeTargets.Property,
Microsoft.Interop.JavaScript.JSImportGenerator (65)
src\libraries\System.Private.CoreLib\src\System\Diagnostics\CodeAnalysis\NullableAttributes.cs (25)
8[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property, Inherited = false)] 17[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property, Inherited = false)] 26[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, Inherited = false)] 35[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, Inherited = false)] 44[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 63[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 82[AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, AllowMultiple = true, Inherited = false)] 101[AttributeUsage(AttributeTargets.Method, Inherited = false)] 110[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 131[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, Inherited = false, AllowMultiple = true)] 156[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, Inherited = false, AllowMultiple = true)]
src\libraries\System.Private.CoreLib\src\System\Runtime\Versioning\PlatformAttributes.cs (40)
28[AttributeUsage(AttributeTargets.Assembly, 52[AttributeUsage(AttributeTargets.Assembly | 53AttributeTargets.Class | 54AttributeTargets.Constructor | 55AttributeTargets.Enum | 56AttributeTargets.Event | 57AttributeTargets.Field | 58AttributeTargets.Interface | 59AttributeTargets.Method | 60AttributeTargets.Module | 61AttributeTargets.Property | 62AttributeTargets.Struct, 83[AttributeUsage(AttributeTargets.Assembly | 84AttributeTargets.Class | 85AttributeTargets.Constructor | 86AttributeTargets.Enum | 87AttributeTargets.Event | 88AttributeTargets.Field | 89AttributeTargets.Interface | 90AttributeTargets.Method | 91AttributeTargets.Module | 92AttributeTargets.Property | 93AttributeTargets.Struct, 118[AttributeUsage(AttributeTargets.Assembly | 119AttributeTargets.Class | 120AttributeTargets.Constructor | 121AttributeTargets.Enum | 122AttributeTargets.Event | 123AttributeTargets.Field | 124AttributeTargets.Interface | 125AttributeTargets.Method | 126AttributeTargets.Module | 127AttributeTargets.Property | 128AttributeTargets.Struct, 158[AttributeUsage(AttributeTargets.Field | 159AttributeTargets.Method | 160AttributeTargets.Property, 184[AttributeUsage(AttributeTargets.Field | 185AttributeTargets.Method | 186AttributeTargets.Property,
Microsoft.Interop.LibraryImportGenerator (65)
src\libraries\System.Private.CoreLib\src\System\Diagnostics\CodeAnalysis\NullableAttributes.cs (25)
8[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property, Inherited = false)] 17[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property, Inherited = false)] 26[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, Inherited = false)] 35[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, Inherited = false)] 44[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 63[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 82[AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, AllowMultiple = true, Inherited = false)] 101[AttributeUsage(AttributeTargets.Method, Inherited = false)] 110[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 131[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, Inherited = false, AllowMultiple = true)] 156[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, Inherited = false, AllowMultiple = true)]
src\libraries\System.Private.CoreLib\src\System\Runtime\Versioning\PlatformAttributes.cs (40)
28[AttributeUsage(AttributeTargets.Assembly, 52[AttributeUsage(AttributeTargets.Assembly | 53AttributeTargets.Class | 54AttributeTargets.Constructor | 55AttributeTargets.Enum | 56AttributeTargets.Event | 57AttributeTargets.Field | 58AttributeTargets.Interface | 59AttributeTargets.Method | 60AttributeTargets.Module | 61AttributeTargets.Property | 62AttributeTargets.Struct, 83[AttributeUsage(AttributeTargets.Assembly | 84AttributeTargets.Class | 85AttributeTargets.Constructor | 86AttributeTargets.Enum | 87AttributeTargets.Event | 88AttributeTargets.Field | 89AttributeTargets.Interface | 90AttributeTargets.Method | 91AttributeTargets.Module | 92AttributeTargets.Property | 93AttributeTargets.Struct, 118[AttributeUsage(AttributeTargets.Assembly | 119AttributeTargets.Class | 120AttributeTargets.Constructor | 121AttributeTargets.Enum | 122AttributeTargets.Event | 123AttributeTargets.Field | 124AttributeTargets.Interface | 125AttributeTargets.Method | 126AttributeTargets.Module | 127AttributeTargets.Property | 128AttributeTargets.Struct, 158[AttributeUsage(AttributeTargets.Field | 159AttributeTargets.Method | 160AttributeTargets.Property, 184[AttributeUsage(AttributeTargets.Field | 185AttributeTargets.Method | 186AttributeTargets.Property,
Microsoft.Interop.LibraryImportGenerator.Downlevel (65)
src\libraries\System.Private.CoreLib\src\System\Diagnostics\CodeAnalysis\NullableAttributes.cs (25)
8[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property, Inherited = false)] 17[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property, Inherited = false)] 26[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, Inherited = false)] 35[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, Inherited = false)] 44[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 63[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 82[AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, AllowMultiple = true, Inherited = false)] 101[AttributeUsage(AttributeTargets.Method, Inherited = false)] 110[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 131[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, Inherited = false, AllowMultiple = true)] 156[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, Inherited = false, AllowMultiple = true)]
src\libraries\System.Private.CoreLib\src\System\Runtime\Versioning\PlatformAttributes.cs (40)
28[AttributeUsage(AttributeTargets.Assembly, 52[AttributeUsage(AttributeTargets.Assembly | 53AttributeTargets.Class | 54AttributeTargets.Constructor | 55AttributeTargets.Enum | 56AttributeTargets.Event | 57AttributeTargets.Field | 58AttributeTargets.Interface | 59AttributeTargets.Method | 60AttributeTargets.Module | 61AttributeTargets.Property | 62AttributeTargets.Struct, 83[AttributeUsage(AttributeTargets.Assembly | 84AttributeTargets.Class | 85AttributeTargets.Constructor | 86AttributeTargets.Enum | 87AttributeTargets.Event | 88AttributeTargets.Field | 89AttributeTargets.Interface | 90AttributeTargets.Method | 91AttributeTargets.Module | 92AttributeTargets.Property | 93AttributeTargets.Struct, 118[AttributeUsage(AttributeTargets.Assembly | 119AttributeTargets.Class | 120AttributeTargets.Constructor | 121AttributeTargets.Enum | 122AttributeTargets.Event | 123AttributeTargets.Field | 124AttributeTargets.Interface | 125AttributeTargets.Method | 126AttributeTargets.Module | 127AttributeTargets.Property | 128AttributeTargets.Struct, 158[AttributeUsage(AttributeTargets.Field | 159AttributeTargets.Method | 160AttributeTargets.Property, 184[AttributeUsage(AttributeTargets.Field | 185AttributeTargets.Method | 186AttributeTargets.Property,
Microsoft.Interop.SourceGeneration (71)
src\libraries\System.Private.CoreLib\src\System\Diagnostics\CodeAnalysis\NullableAttributes.cs (25)
8[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property, Inherited = false)] 17[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property, Inherited = false)] 26[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, Inherited = false)] 35[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, Inherited = false)] 44[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 63[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 82[AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, AllowMultiple = true, Inherited = false)] 101[AttributeUsage(AttributeTargets.Method, Inherited = false)] 110[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 131[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, Inherited = false, AllowMultiple = true)] 156[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, Inherited = false, AllowMultiple = true)]
src\libraries\System.Private.CoreLib\src\System\Diagnostics\CodeAnalysis\SetsRequiredMembersAttribute.cs (1)
10[AttributeUsage(AttributeTargets.Constructor, AllowMultiple = false, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\CompilerFeatureRequiredAttribute.cs (1)
9[AttributeUsage(AttributeTargets.All, AllowMultiple = true, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\RequiredMemberAttribute.cs (4)
9[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Field | AttributeTargets.Property, AllowMultiple = false, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Runtime\Versioning\PlatformAttributes.cs (40)
28[AttributeUsage(AttributeTargets.Assembly, 52[AttributeUsage(AttributeTargets.Assembly | 53AttributeTargets.Class | 54AttributeTargets.Constructor | 55AttributeTargets.Enum | 56AttributeTargets.Event | 57AttributeTargets.Field | 58AttributeTargets.Interface | 59AttributeTargets.Method | 60AttributeTargets.Module | 61AttributeTargets.Property | 62AttributeTargets.Struct, 83[AttributeUsage(AttributeTargets.Assembly | 84AttributeTargets.Class | 85AttributeTargets.Constructor | 86AttributeTargets.Enum | 87AttributeTargets.Event | 88AttributeTargets.Field | 89AttributeTargets.Interface | 90AttributeTargets.Method | 91AttributeTargets.Module | 92AttributeTargets.Property | 93AttributeTargets.Struct, 118[AttributeUsage(AttributeTargets.Assembly | 119AttributeTargets.Class | 120AttributeTargets.Constructor | 121AttributeTargets.Enum | 122AttributeTargets.Event | 123AttributeTargets.Field | 124AttributeTargets.Interface | 125AttributeTargets.Method | 126AttributeTargets.Module | 127AttributeTargets.Property | 128AttributeTargets.Struct, 158[AttributeUsage(AttributeTargets.Field | 159AttributeTargets.Method | 160AttributeTargets.Property, 184[AttributeUsage(AttributeTargets.Field | 185AttributeTargets.Method | 186AttributeTargets.Property,
Microsoft.JSInterop (1)
JSInvokableAttribute.cs (1)
11[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
Microsoft.Maui (3)
Attributes\MissingMapperAttribute.cs (1)
6 [AttributeUsage(AttributeTargets.All, AllowMultiple = true)]
Attributes\PortHandlerAttribute.cs (1)
6 [AttributeUsage(AttributeTargets.All, AllowMultiple = true)]
HotReload\OnHotReloadAttribute.cs (1)
4 [AttributeUsage(AttributeTargets.Method)]
Microsoft.Maui.Controls (19)
ContentPropertyAttribute.cs (1)
16 [AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
DependencyAttribute.cs (1)
8 [AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)]
ExportEffectAttribute.cs (1)
10 [AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)]
ExportFontAttribute.cs (1)
7 [AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)]
HandlerAttribute.cs (1)
9 [AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)]
IMarkupExtension.cs (2)
17 [AttributeUsage(AttributeTargets.Class, Inherited = false)] 22 [AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
Internals\PreserveAttribute.cs (1)
8 [AttributeUsage(AttributeTargets.All)]
ParameterAttribute.cs (1)
6 [AttributeUsage(AttributeTargets.Parameter)]
ProvideCompiledAttribute.cs (1)
9 [AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
RenderWithAttribute.cs (1)
8 [AttributeUsage(AttributeTargets.Class)]
ResolutionGroupNameAttribute.cs (1)
7 [AttributeUsage(AttributeTargets.Assembly)]
RuntimeNamePropertyAttribute.cs (1)
6 [AttributeUsage(AttributeTargets.Class)]
Shell\QueryPropertyAttribute.cs (1)
8 [AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
StyleSheets\StylePropertyAttribute.cs (1)
7 [AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true, Inherited = true)]
Visuals\VisualAttribute.cs (1)
8 [AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)]
Xaml\XamlResourceIdAttribute.cs (1)
10 [AttributeUsage(AttributeTargets.Assembly, Inherited = false, AllowMultiple = true)]
XmlnsDefinitionAttribute.cs (1)
8 [AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)]
XmlnsPrefixAttribute.cs (1)
7 [AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)]
Microsoft.Maui.Controls.Compatibility (3)
ExportRendererAttribute.cs (3)
6 [AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)] 18 [AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)] 26 [AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)]
Microsoft.Maui.Controls.SourceGen (1)
src\Controls\src\Core\XmlnsDefinitionAttribute.cs (1)
8 [AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)]
Microsoft.Maui.Controls.Xaml (4)
XamlCompilationAttribute.cs (3)
14 [AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Module | AttributeTargets.Class, Inherited = false)]
XamlFilePathAttribute.cs (1)
8 [AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = false)]
Microsoft.Maui.Graphics (2)
XmlnsDefinitionAttribute.cs (1)
6 [AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)]
XmlnsPrefixAttribute.cs (1)
5 [AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)]
Microsoft.ML.Core (40)
BestFriendAttribute.cs (10)
23[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Constructor 24| AttributeTargets.Method | AttributeTargets.Interface | AttributeTargets.Enum | AttributeTargets.Delegate, AllowMultiple = false, Inherited = false)] 35[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = false, Inherited = false)]
CommandLine\ArgumentAttribute.cs (1)
16[AttributeUsage(AttributeTargets.Field)]
CommandLine\DefaultArgumentAttribute.cs (1)
16[AttributeUsage(AttributeTargets.Field)]
CommandLine\EnumValueDisplayAttribute.cs (1)
12[AttributeUsage(AttributeTargets.Field)]
CommandLine\HideEnumValueAttribute.cs (1)
12[AttributeUsage(AttributeTargets.Field)]
ComponentModel\ExtensionBaseAttribute.cs (1)
12[AttributeUsage(AttributeTargets.Class)]
ComponentModel\LoadableClassAttribute.cs (1)
19[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)]
EntryPoints\EntryPointModuleAttribute.cs (1)
17[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)]
EntryPoints\ModuleArgs.cs (15)
24[AttributeUsage(AttributeTargets.Class)] 82[AttributeUsage(AttributeTargets.Interface)] 97[AttributeUsage(AttributeTargets.Class)] 111[AttributeUsage(AttributeTargets.Field)] 135[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property)] 141[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property)] 318[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property)] 404[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property)] 455[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property)] 506[AttributeUsage(AttributeTargets.Method)]
SearchSpace\BoolearnChoiceAttribute.cs (2)
12[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, Inherited = false, AllowMultiple = false)]
SearchSpace\ChoiceAttribute.cs (2)
14[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, Inherited = false, AllowMultiple = false)]
SearchSpace\NestOptionAttribute.cs (2)
12[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, Inherited = false, AllowMultiple = false)]
SearchSpace\RangeAttribute.cs (2)
12[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, Inherited = false, AllowMultiple = false)]
Microsoft.ML.CpuMath (10)
src\Microsoft.ML.Core\BestFriendAttribute.cs (10)
23[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Constructor 24| AttributeTargets.Method | AttributeTargets.Interface | AttributeTargets.Enum | AttributeTargets.Delegate, AllowMultiple = false, Inherited = false)] 35[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = false, Inherited = false)]
Microsoft.ML.Data (16)
Data\SchemaDefinition.cs (10)
20[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property, AllowMultiple = false, Inherited = true)] 57[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property, AllowMultiple = false, Inherited = true)] 103[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property, AllowMultiple = false, Inherited = true)] 124[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property, AllowMultiple = false, Inherited = true)] 133[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property, AllowMultiple = false, Inherited = true)]
DataLoadSave\Database\LoadColumnNameAttribute.cs (2)
14[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property, AllowMultiple = false, Inherited = true)]
DataLoadSave\Text\LoadColumnAttribute.cs (2)
14[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property, AllowMultiple = false, Inherited = true)]
Deprecated\TGUIAttribute.cs (1)
12[AttributeUsage(AttributeTargets.Field)]
Scorers\PredictionTransformer.cs (1)
846[AttributeUsage(AttributeTargets.Class)]
Microsoft.ML.DataView (2)
DataViewType.cs (2)
475[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property, AllowMultiple = false, Inherited = true)]
Microsoft.ML.PerformanceTests (1)
Helpers\CIBenchmark.cs (1)
12[AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
Microsoft.ML.TestFrameworkCommon (2)
Attributes\EnvironmentSpecificFactAttribute.cs (1)
13[AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
Attributes\EnvironmentSpecificTheoryAttribute.cs (1)
13[AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
Microsoft.ML.TorchSharp (5)
Utils\IntrinsicAttribute.cs (5)
14[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Method | AttributeTargets.Constructor | AttributeTargets.Field, Inherited = false)]
Microsoft.ML.Transforms (1)
CustomMappingFactory.cs (1)
12[AttributeUsage(AttributeTargets.Class)]
Microsoft.TestUtilities (5)
XUnit\ConditionalFactAttribute.cs (1)
12[AttributeUsage(AttributeTargets.Method, AllowMultiple = false)]
XUnit\ConditionalTheoryAttribute.cs (1)
12[AttributeUsage(AttributeTargets.Method, AllowMultiple = false)]
XUnit\OSSkipConditionAttribute.cs (3)
14[AttributeUsage(AttributeTargets.Method | AttributeTargets.Class | AttributeTargets.Assembly, AllowMultiple = true)]
Microsoft.VisualBasic.Core (9)
Microsoft\VisualBasic\ComClassAttribute.vb (1)
11<AttributeUsage(AttributeTargets.Class, Inherited:=False, AllowMultiple:=False)>
Microsoft\VisualBasic\CompilerServices\DesignerGeneratedAttribute.vb (1)
20<AttributeUsage(AttributeTargets.Class, AllowMultiple:=False, Inherited:=False)>
Microsoft\VisualBasic\CompilerServices\OptionCompareAttribute.vb (1)
18<AttributeUsage(AttributeTargets.Parameter, Inherited:=False, AllowMultiple:=False)>
Microsoft\VisualBasic\CompilerServices\OptionTextAttribute.vb (1)
17<AttributeUsage(AttributeTargets.Class, Inherited:=False, AllowMultiple:=False)>
Microsoft\VisualBasic\CompilerServices\StandardModuleAttribute.vb (1)
18<AttributeUsage(AttributeTargets.Class, Inherited:=False, AllowMultiple:=False)>
Microsoft\VisualBasic\HideModuleNameAttribute.vb (1)
16<AttributeUsage(AttributeTargets.Class, AllowMultiple:=False, Inherited:=False)>
Microsoft\VisualBasic\MyGroupCollectionAttribute.vb (1)
19<AttributeUsage(AttributeTargets.Class, AllowMultiple:=False, Inherited:=False)> _
Microsoft\VisualBasic\VBFixedArrayAttribute.vb (1)
11<AttributeUsage(AttributeTargets.Field, Inherited:=False, AllowMultiple:=False)>
Microsoft\VisualBasic\VBFixedStringAttribute.vb (1)
11<AttributeUsage(AttributeTargets.Field, Inherited:=False, AllowMultiple:=False)> _
Microsoft.VisualStudio.LanguageServices (1)
Options\ExportVisualStudioStorageReadFallbackAttribute.cs (1)
16[AttributeUsage(AttributeTargets.Class)]
Microsoft.VisualStudio.LanguageServices.Xaml (1)
Implementation\LanguageServer\ExportStatelessXamlLspServiceAttribute.cs (1)
12[AttributeUsage(AttributeTargets.Class), MetadataAttribute]
Microsoft.Web.Xdt.Extensions (1)
src\Shared\CallerArgument\CallerArgumentExpressionAttribute.cs (1)
9[AttributeUsage(AttributeTargets.Parameter, AllowMultiple = false, Inherited = false)]
MSBuildTaskHost (35)
CallerArgumentExpressionAttribute.cs (1)
7[AttributeUsage(AttributeTargets.Parameter, AllowMultiple = false, Inherited = false)]
NullableAttributes.cs (25)
14[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property, Inherited = false)] 18[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property, Inherited = false)] 22[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, Inherited = false)] 26[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, Inherited = false)] 30[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 44[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 58[AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, AllowMultiple = true, Inherited = false)] 72[AttributeUsage(AttributeTargets.Method, Inherited = false)] 76[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 95[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, Inherited = false, AllowMultiple = true)] 115[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, Inherited = false, AllowMultiple = true)]
RunInSTAAttribute.cs (1)
14[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = false)]
StringSyntaxAttribute.cs (3)
8[AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Field | AttributeTargets.Property, AllowMultiple = false, Inherited = false)]
SupportedOSPlatform.cs (5)
12[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property)] 19[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Class)]
mscorlib (1)
src\libraries\shims\mscorlib\ref\mscorlib.cs (1)
59[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.AttributeTargets))]
Mvc.RoutingWebSite (1)
HttpMergeAttribute.cs (1)
8[AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
netstandard (1)
netstandard.cs (1)
52[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.AttributeTargets))]
PresentationCore (7)
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\CommonDependencyPropertyAttribute.cs (1)
19[AttributeUsage(AttributeTargets.Field)]
System\Windows\LocalizabilityAttribute.cs (5)
20AttributeTargets.Class 21| AttributeTargets.Property 22| AttributeTargets.Field 23| AttributeTargets.Enum 24| AttributeTargets.Struct,
System\Windows\Resources\AssemblyAssociatedContentFileAttribute.cs (1)
19[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)]
PresentationFramework (18)
MS\Internal\Controls\CustomCategoryAttribute.cs (3)
13[AttributeUsage(AttributeTargets.Field | AttributeTargets.Method | AttributeTargets.Property)]
MS\Internal\WindowsRuntime\Generated\WinRT\Attributes.cs (7)
9[AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = false)] 21[AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = false)] 36[AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface | AttributeTargets.Delegate | AttributeTargets.Struct | AttributeTargets.Enum, Inherited = false, AllowMultiple = false)]
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\CommonDependencyPropertyAttribute.cs (1)
19[AttributeUsage(AttributeTargets.Field)]
System\Windows\AttachedPropertyBrowsableForChildrenAttribute.cs (1)
17[AttributeUsage(AttributeTargets.Method, AllowMultiple = false)]
System\Windows\Data\ValueConversionAttribute.cs (1)
35[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
System\Windows\Documents\TextElementEditingBehaviorAttribute.cs (1)
10[AttributeUsage(AttributeTargets.Class)]
System\Windows\StyleTypedPropertyAttribute.cs (1)
11[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
System\Windows\TemplatePartAttribute.cs (1)
14[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
System\Windows\TemplateVisualStateAttribute.cs (1)
11[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
System\Windows\ThemeInfoAttribute.cs (1)
13[AttributeUsage(AttributeTargets.Assembly)]
RazorPagesWebSite (1)
ModelWithPageFilter.cs (1)
25[AttributeUsage(AttributeTargets.Class)]
Replay (29)
src\Compilers\Core\Portable\CommitHashAttribute.cs (1)
9[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = false)]
src\Dependencies\Contracts\CollectionBuilderAttribute.cs (3)
9[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Interface)]
src\Dependencies\Contracts\CompilerFeatureRequiredAttribute.cs (1)
23[AttributeUsage(AttributeTargets.All, AllowMultiple = true, Inherited = false)]
src\Dependencies\Contracts\ExperimentalAttribute.cs (12)
28[AttributeUsage(AttributeTargets.Assembly | 29AttributeTargets.Module | 30AttributeTargets.Class | 31AttributeTargets.Struct | 32AttributeTargets.Enum | 33AttributeTargets.Constructor | 34AttributeTargets.Method | 35AttributeTargets.Property | 36AttributeTargets.Field | 37AttributeTargets.Event | 38AttributeTargets.Interface | 39AttributeTargets.Delegate, Inherited = false)]
src\Dependencies\Contracts\InterpolatedStringHandlerArgumentAttribute.cs (1)
18[AttributeUsage(AttributeTargets.Parameter, AllowMultiple = false, Inherited = false)]
src\Dependencies\Contracts\InterpolatedStringHandlerAttribute.cs (2)
18[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct, AllowMultiple = false, Inherited = false)]
src\Dependencies\Contracts\NonCopyableAttribute.cs (2)
9[AttributeUsage(AttributeTargets.Struct | AttributeTargets.GenericParameter)]
src\Dependencies\Contracts\NonDefaultableAttribute.cs (2)
9[AttributeUsage(AttributeTargets.Struct | AttributeTargets.GenericParameter)]
src\Dependencies\Contracts\RequiredMemberAttribute.cs (4)
21[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Field | AttributeTargets.Property, AllowMultiple = false, Inherited = false)]
src\Dependencies\Contracts\SetsRequiredMembersAttribute.cs (1)
25[AttributeUsage(AttributeTargets.Constructor, AllowMultiple = false, Inherited = false)]
SemanticSearch.BuildTask (28)
src\Dependencies\Contracts\CollectionBuilderAttribute.cs (3)
9[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Interface)]
src\Dependencies\Contracts\CompilerFeatureRequiredAttribute.cs (1)
23[AttributeUsage(AttributeTargets.All, AllowMultiple = true, Inherited = false)]
src\Dependencies\Contracts\ExperimentalAttribute.cs (12)
28[AttributeUsage(AttributeTargets.Assembly | 29AttributeTargets.Module | 30AttributeTargets.Class | 31AttributeTargets.Struct | 32AttributeTargets.Enum | 33AttributeTargets.Constructor | 34AttributeTargets.Method | 35AttributeTargets.Property | 36AttributeTargets.Field | 37AttributeTargets.Event | 38AttributeTargets.Interface | 39AttributeTargets.Delegate, Inherited = false)]
src\Dependencies\Contracts\InterpolatedStringHandlerArgumentAttribute.cs (1)
18[AttributeUsage(AttributeTargets.Parameter, AllowMultiple = false, Inherited = false)]
src\Dependencies\Contracts\InterpolatedStringHandlerAttribute.cs (2)
18[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct, AllowMultiple = false, Inherited = false)]
src\Dependencies\Contracts\NonCopyableAttribute.cs (2)
9[AttributeUsage(AttributeTargets.Struct | AttributeTargets.GenericParameter)]
src\Dependencies\Contracts\NonDefaultableAttribute.cs (2)
9[AttributeUsage(AttributeTargets.Struct | AttributeTargets.GenericParameter)]
src\Dependencies\Contracts\RequiredMemberAttribute.cs (4)
21[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Field | AttributeTargets.Property, AllowMultiple = false, Inherited = false)]
src\Dependencies\Contracts\SetsRequiredMembersAttribute.cs (1)
25[AttributeUsage(AttributeTargets.Constructor, AllowMultiple = false, Inherited = false)]
Shared (66)
Data.Validation\LengthAttribute.cs (3)
27[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter, AllowMultiple = false)]
Data.Validation\TimeSpanAttribute.cs (3)
21[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter, AllowMultiple = false)]
src\LegacySupport\CallerAttributes\CallerArgumentExpressionAttribute.cs (1)
15[AttributeUsage(AttributeTargets.Parameter, AllowMultiple = false, Inherited = false)]
src\LegacySupport\DiagnosticAttributes\NullableAttributes.cs (25)
24[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property, Inherited = false)] 31[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property, Inherited = false)] 38[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, Inherited = false)] 45[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, Inherited = false)] 52[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 67[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 82[AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, AllowMultiple = true, Inherited = false)] 97[AttributeUsage(AttributeTargets.Method, Inherited = false)] 104[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 121[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, Inherited = false, AllowMultiple = true)] 142[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, Inherited = false, AllowMultiple = true)]
src\LegacySupport\SkipLocalsInitAttribute\SkipLocalsInitAttribute.cs (8)
27[AttributeUsage(AttributeTargets.Module 28| AttributeTargets.Class 29| AttributeTargets.Struct 30| AttributeTargets.Interface 31| AttributeTargets.Constructor 32| AttributeTargets.Method 33| AttributeTargets.Property 34| AttributeTargets.Event, Inherited = false)]
src\LegacySupport\StringSyntaxAttribute\StringSyntaxAttribute.cs (3)
12[AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Field | AttributeTargets.Property, AllowMultiple = false, Inherited = false)]
src\LegacySupport\TrimAttributes\DynamicallyAccessedMembersAttribute.cs (9)
38AttributeTargets.Field | AttributeTargets.ReturnValue | AttributeTargets.GenericParameter | 39AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.Method | 40AttributeTargets.Class | AttributeTargets.Interface | AttributeTargets.Struct,
src\LegacySupport\TrimAttributes\DynamicDependencyAttribute.cs (3)
23AttributeTargets.Constructor | AttributeTargets.Field | AttributeTargets.Method,
src\LegacySupport\TrimAttributes\RequiresAssemblyFilesAttribute.cs (4)
19[AttributeUsage(AttributeTargets.Constructor | 20AttributeTargets.Event | 21AttributeTargets.Method | 22AttributeTargets.Property,
src\LegacySupport\TrimAttributes\RequiresDynamicCodeAttribute.cs (3)
23[AttributeUsage(AttributeTargets.Method | AttributeTargets.Constructor | AttributeTargets.Class, Inherited = false)]
src\LegacySupport\TrimAttributes\RequiresUnreferencedCodeAttribute.cs (3)
24[AttributeUsage(AttributeTargets.Method | AttributeTargets.Constructor | AttributeTargets.Class, Inherited = false)]
src\LegacySupport\TrimAttributes\UnconditionalSuppressMessageAttribute.cs (1)
24[AttributeUsage(AttributeTargets.All, Inherited = false, AllowMultiple = true)]
Sockets.BindTests (7)
src\Servers\Kestrel\shared\test\TransportTestHelpers\HostNameIsReachableAttribute.cs (1)
12[AttributeUsage(AttributeTargets.Method, AllowMultiple = false)]
src\Servers\Kestrel\shared\test\TransportTestHelpers\IPv6SupportedConditionAttribute.cs (1)
11[AttributeUsage(AttributeTargets.Method, AllowMultiple = false)]
src\Servers\Kestrel\shared\test\TransportTestHelpers\NamedPipesSupportedAttribute.cs (3)
6[AttributeUsage(AttributeTargets.Method | AttributeTargets.Class | AttributeTargets.Assembly, AllowMultiple = false)]
src\Servers\Kestrel\shared\test\TransportTestHelpers\TlsAlpnSupportedAttribute.cs (2)
6[AttributeUsage(AttributeTargets.Method | AttributeTargets.Class, AllowMultiple = false)]
Sockets.FunctionalTests (7)
src\Servers\Kestrel\shared\test\TransportTestHelpers\HostNameIsReachableAttribute.cs (1)
12[AttributeUsage(AttributeTargets.Method, AllowMultiple = false)]
src\Servers\Kestrel\shared\test\TransportTestHelpers\IPv6SupportedConditionAttribute.cs (1)
11[AttributeUsage(AttributeTargets.Method, AllowMultiple = false)]
src\Servers\Kestrel\shared\test\TransportTestHelpers\NamedPipesSupportedAttribute.cs (3)
6[AttributeUsage(AttributeTargets.Method | AttributeTargets.Class | AttributeTargets.Assembly, AllowMultiple = false)]
src\Servers\Kestrel\shared\test\TransportTestHelpers\TlsAlpnSupportedAttribute.cs (2)
6[AttributeUsage(AttributeTargets.Method | AttributeTargets.Class, AllowMultiple = false)]
System.Collections.Immutable (4)
src\libraries\Common\src\System\Runtime\Versioning\NonVersionableAttribute.cs (4)
24[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Method | AttributeTargets.Constructor,
System.ComponentModel.Annotations (97)
System\ComponentModel\DataAnnotations\AllowedValuesAttribute.cs (3)
10[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter,
System\ComponentModel\DataAnnotations\AssociationAttribute.cs (2)
11[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property, AllowMultiple = false,
System\ComponentModel\DataAnnotations\Base64StringAttribute.cs (3)
15[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter, AllowMultiple = false)]
System\ComponentModel\DataAnnotations\CompareAttribute.cs (1)
11[AttributeUsage(AttributeTargets.Property, AllowMultiple = false)]
System\ComponentModel\DataAnnotations\ConcurrencyCheckAttribute.cs (2)
10[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = false, Inherited = true)]
System\ComponentModel\DataAnnotations\CreditCardAttribute.cs (3)
6[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter, AllowMultiple = false)]
System\ComponentModel\DataAnnotations\CustomValidationAttribute.cs (5)
56AttributeTargets.Class | AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Method | 57AttributeTargets.Parameter, AllowMultiple = true)]
System\ComponentModel\DataAnnotations\DataTypeAttribute.cs (4)
14AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Method | AttributeTargets.Parameter,
System\ComponentModel\DataAnnotations\DeniedValuesAttribute.cs (3)
10[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter,
System\ComponentModel\DataAnnotations\DisplayAttribute.cs (5)
15AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Method | AttributeTargets.Class,
System\ComponentModel\DataAnnotations\DisplayColumnAttribute.cs (1)
10[AttributeUsage(AttributeTargets.Class, Inherited = true, AllowMultiple = false)]
System\ComponentModel\DataAnnotations\DisplayFormatAttribute.cs (2)
12[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = false)]
System\ComponentModel\DataAnnotations\EditableAttribute.cs (2)
16[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property, AllowMultiple = false, Inherited = true)]
System\ComponentModel\DataAnnotations\EmailAddressAttribute.cs (3)
6[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter,
System\ComponentModel\DataAnnotations\EnumDataTypeAttribute.cs (4)
10AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Method | AttributeTargets.Parameter,
System\ComponentModel\DataAnnotations\FileExtensionsAttribute.cs (3)
11[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter,
System\ComponentModel\DataAnnotations\FilterUIHintAttribute.cs (2)
12[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = false)]
System\ComponentModel\DataAnnotations\KeyAttribute.cs (2)
9[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = false, Inherited = true)]
System\ComponentModel\DataAnnotations\LengthAttribute.cs (3)
12[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter, AllowMultiple = false)]
System\ComponentModel\DataAnnotations\MaxLengthAttribute.cs (3)
15[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter,
System\ComponentModel\DataAnnotations\MetadataTypeAttribute.cs (1)
12[AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
System\ComponentModel\DataAnnotations\MinLengthAttribute.cs (3)
12[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter,
System\ComponentModel\DataAnnotations\PhoneAttribute.cs (3)
6[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter,
System\ComponentModel\DataAnnotations\RangeAttribute.cs (3)
12[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter,
System\ComponentModel\DataAnnotations\RegularExpressionAttribute.cs (3)
13[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter,
System\ComponentModel\DataAnnotations\RequiredAttribute.cs (3)
9[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter,
System\ComponentModel\DataAnnotations\ScaffoldColumnAttribute.cs (2)
6[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = false)]
System\ComponentModel\DataAnnotations\Schema\ColumnAttribute.cs (2)
12[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = false)]
System\ComponentModel\DataAnnotations\Schema\ComplexTypeAttribute.cs (1)
12[AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
System\ComponentModel\DataAnnotations\Schema\DatabaseGeneratedAttribute.cs (2)
9[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = false)]
System\ComponentModel\DataAnnotations\Schema\ForeignKeyAttribute.cs (2)
13[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = false)]
System\ComponentModel\DataAnnotations\Schema\InversePropertyAttribute.cs (2)
11[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = false)]
System\ComponentModel\DataAnnotations\Schema\NotMappedAttribute.cs (3)
9[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Class, AllowMultiple = false)]
System\ComponentModel\DataAnnotations\Schema\TableAttribute.cs (1)
12[AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
System\ComponentModel\DataAnnotations\StringLengthAttribute.cs (3)
11[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter,
System\ComponentModel\DataAnnotations\TimestampAttribute.cs (2)
9[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = false, Inherited = true)]
System\ComponentModel\DataAnnotations\UIHintAttribute.cs (2)
15[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = true)]
System\ComponentModel\DataAnnotations\UrlAttribute.cs (3)
6[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter,
System.ComponentModel.Composition (24)
System\ComponentModel\Composition\CatalogReflectionContextAttribute.cs (1)
13[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = false, Inherited = true)]
System\ComponentModel\Composition\ExportAttribute.cs (4)
11[AttributeUsage(AttributeTargets.Class | AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Method,
System\ComponentModel\Composition\ExportMetadataAttribute.cs (5)
10[AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface | AttributeTargets.Property | AttributeTargets.Method | AttributeTargets.Field,
System\ComponentModel\Composition\ImportAttribute.cs (3)
12[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter,
System\ComponentModel\Composition\ImportingConstructorAttribute.cs (1)
16[AttributeUsage(AttributeTargets.Constructor, AllowMultiple = false, Inherited = false)]
System\ComponentModel\Composition\ImportManyAttribute.cs (3)
12[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter,
System\ComponentModel\Composition\InheritedExportAttribute.cs (2)
11[AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface, AllowMultiple = true, Inherited = true)]
System\ComponentModel\Composition\MetadataAttributeAttribute.cs (1)
10[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
System\ComponentModel\Composition\MetadataViewImplementationAttribute.cs (1)
9[AttributeUsage(AttributeTargets.Interface, AllowMultiple = false, Inherited = false)]
System\ComponentModel\Composition\PartCreationPolicyAttribute.cs (1)
9[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = false)]
System\ComponentModel\Composition\PartMetadataAttribute.cs (1)
10[AttributeUsage(AttributeTargets.Class, AllowMultiple = true, Inherited = false)]
System\ComponentModel\Composition\PartNotDiscoverableAttribute.cs (1)
10[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = false)]
System.ComponentModel.Primitives (26)
System\ComponentModel\BrowsableAttribute.cs (1)
12[AttributeUsage(AttributeTargets.All)]
System\ComponentModel\CategoryAttribute.cs (1)
12[AttributeUsage(AttributeTargets.All)]
System\ComponentModel\DescriptionAttribute.cs (1)
11[AttributeUsage(AttributeTargets.All)]
System\ComponentModel\Design\Serialization\DesignerSerializerAttribute.cs (2)
11[AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface, AllowMultiple = true, Inherited = true)]
System\ComponentModel\DesignerAttribute.cs (2)
11[AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface, AllowMultiple = true, Inherited = true)]
System\ComponentModel\DesignerCategoryAttribute.cs (1)
11[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
System\ComponentModel\DesignerSerializationVisibilityAttribute.cs (4)
12[AttributeUsage(AttributeTargets.Property | AttributeTargets.Method | AttributeTargets.Field | AttributeTargets.Event)]
System\ComponentModel\DesignOnlyAttribute.cs (1)
11[AttributeUsage(AttributeTargets.All)]
System\ComponentModel\DisplayNameAttribute.cs (4)
12[AttributeUsage(AttributeTargets.Property | AttributeTargets.Event | AttributeTargets.Class | AttributeTargets.Method)]
System\ComponentModel\EditorAttribute.cs (1)
11[AttributeUsage(AttributeTargets.All, AllowMultiple = true, Inherited = true)]
System\ComponentModel\ImmutableObjectAttribute.cs (1)
11[AttributeUsage(AttributeTargets.All)]
System\ComponentModel\InitializationEventAttribute.cs (1)
9[AttributeUsage(AttributeTargets.Class)]
System\ComponentModel\LocalizableAttribute.cs (1)
11[AttributeUsage(AttributeTargets.All)]
System\ComponentModel\MergablePropertyAttribute.cs (1)
12[AttributeUsage(AttributeTargets.All)]
System\ComponentModel\NotifyParentPropertyAttribute.cs (1)
12[AttributeUsage(AttributeTargets.Property)]
System\ComponentModel\ParenthesizePropertyNameAttribute.cs (1)
12[AttributeUsage(AttributeTargets.All)]
System\ComponentModel\ReadOnlyAttribute.cs (1)
12[AttributeUsage(AttributeTargets.All)]
System\ComponentModel\RefreshPropertiesAttribute.cs (1)
11[AttributeUsage(AttributeTargets.All)]
System.ComponentModel.TypeConverter (33)
System\ComponentModel\AmbientValueAttribute.cs (1)
14[AttributeUsage(AttributeTargets.All)]
System\ComponentModel\AttributeProviderAttribute.cs (1)
8[AttributeUsage(AttributeTargets.Property)]
System\ComponentModel\BindableAttribute.cs (1)
11[AttributeUsage(AttributeTargets.All)]
System\ComponentModel\ComplexBindingPropertiesAttribute.cs (1)
11[AttributeUsage(AttributeTargets.Class)]
System\ComponentModel\DataObjectAttribute.cs (1)
8[AttributeUsage(AttributeTargets.Class)]
System\ComponentModel\DataObjectFieldAttribute.cs (1)
12[AttributeUsage(AttributeTargets.Property)]
System\ComponentModel\DataObjectMethodAttribute.cs (1)
8[AttributeUsage(AttributeTargets.Method)]
System\ComponentModel\DefaultBindingPropertyAttribute.cs (1)
11[AttributeUsage(AttributeTargets.Class)]
System\ComponentModel\DefaultEventAttribute.cs (1)
11[AttributeUsage(AttributeTargets.Class)]
System\ComponentModel\DefaultPropertyAttribute.cs (1)
11[AttributeUsage(AttributeTargets.Class)]
System\ComponentModel\Design\HelpKeywordAttribute.cs (1)
44[AttributeUsage(AttributeTargets.All, AllowMultiple = false, Inherited = false)]
System\ComponentModel\Design\PropertyTabAttribute.cs (1)
14[AttributeUsage(AttributeTargets.All)]
System\ComponentModel\Design\Serialization\DefaultSerializationProviderAttribute.cs (1)
13[AttributeUsage(AttributeTargets.Class, Inherited = false)]
System\ComponentModel\Design\Serialization\RootDesignerSerializerAttribute.cs (2)
11[AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface, AllowMultiple = true, Inherited = true)]
System\ComponentModel\DesignTimeVisibleAttribute.cs (2)
14[AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface)]
System\ComponentModel\ExtenderProvidedPropertyAttribute.cs (1)
13[AttributeUsage(AttributeTargets.All)]
System\ComponentModel\InheritanceAttribute.cs (3)
12[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Event)]
System\ComponentModel\InstallerTypeAttribute.cs (1)
11[AttributeUsage(AttributeTargets.Class)]
System\ComponentModel\LicenseProviderAttribute.cs (1)
12[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = false)]
System\ComponentModel\ListBindableAttribute.cs (1)
8[AttributeUsage(AttributeTargets.All)]
System\ComponentModel\LookupBindingPropertiesAttribute.cs (1)
11[AttributeUsage(AttributeTargets.Class)]
System\ComponentModel\PasswordPropertyTextAttribute.cs (1)
13[AttributeUsage(AttributeTargets.All)]
System\ComponentModel\ProvidePropertyAttribute.cs (1)
11[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
System\ComponentModel\RecommendedAsConfigurableAttribute.cs (1)
11[AttributeUsage(AttributeTargets.Property)]
System\ComponentModel\RunInstallerAttribute.cs (1)
12[AttributeUsage(AttributeTargets.Class)]
System\ComponentModel\SettingsBindableAttribute.cs (1)
12[AttributeUsage(AttributeTargets.Property)]
System\ComponentModel\ToolboxItemAttribute.cs (1)
12[AttributeUsage(AttributeTargets.All)]
System\ComponentModel\ToolboxItemFilterAttribute.cs (1)
43[AttributeUsage(AttributeTargets.Class, AllowMultiple = true, Inherited = true)]
System\Timers\TimersDescriptionAttribute.cs (1)
14[AttributeUsage(AttributeTargets.All)]
System.Composition.AttributedModel (18)
System\Composition\ExportAttribute.cs (2)
11[AttributeUsage(AttributeTargets.Class | AttributeTargets.Property,
System\Composition\ExportMetadataAttribute.cs (3)
10[AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface | AttributeTargets.Property,
System\Composition\ImportAttribute.cs (2)
11[AttributeUsage(AttributeTargets.Property | AttributeTargets.Parameter,
System\Composition\ImportingConstructorAttribute.cs (1)
14[AttributeUsage(AttributeTargets.Constructor, AllowMultiple = false, Inherited = false)]
System\Composition\ImportManyAttribute.cs (2)
11[AttributeUsage(AttributeTargets.Property | AttributeTargets.Parameter,
System\Composition\ImportMetadataConstraintAttribute.cs (1)
9[AttributeUsage(AttributeTargets.Property, Inherited = false)]
System\Composition\MetadataAttributeAttribute.cs (1)
10[AttributeUsage(AttributeTargets.Class,
System\Composition\OnImportsSatisfiedAttribute.cs (1)
11[AttributeUsage(AttributeTargets.Method, Inherited = false)]
System\Composition\PartMetadataAttribute.cs (1)
9[AttributeUsage(AttributeTargets.Class, AllowMultiple = true, Inherited = false)]
System\Composition\PartNotDiscoverableAttribute.cs (1)
9[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = false)]
System\Composition\SharedAttribute.cs (1)
15[AttributeUsage(AttributeTargets.Class, Inherited = false)]
System\Composition\SharingBoundaryAttribute.cs (2)
19[AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Property, Inherited = false)]
System.Configuration.ConfigurationManager (28)
System\Configuration\ApplicationScopedSettingAttribute.cs (1)
9[AttributeUsage(AttributeTargets.Property)]
System\Configuration\CallbackValidatorAttribute.cs (1)
8[AttributeUsage(AttributeTargets.Property)]
System\Configuration\ConfigurationCollectionAttribute.cs (2)
10[AttributeUsage(AttributeTargets.Property | AttributeTargets.Class)]
System\Configuration\ConfigurationPropertyAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Property)]
System\Configuration\ConfigurationValidatorAttribute.cs (1)
8[AttributeUsage(AttributeTargets.Property)]
System\Configuration\DefaultSettingValueAttribute.cs (1)
12[AttributeUsage(AttributeTargets.Property)]
System\Configuration\IntegerValidatorAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Property)]
System\Configuration\LongValidatorAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Property)]
System\Configuration\NoSettingsVersionUpgradeAttribute.cs (1)
10[AttributeUsage(AttributeTargets.Property)]
System\Configuration\PositiveTimeSpanValidatorAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Property)]
System\Configuration\RegexStringValidatorAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Property)]
System\Configuration\SettingAttribute.cs (1)
11[AttributeUsage(AttributeTargets.Property)]
System\Configuration\SettingsDescriptionAttribute.cs (1)
9[AttributeUsage(AttributeTargets.Property)]
System\Configuration\SettingsGroupDescriptionAttribute.cs (1)
9[AttributeUsage(AttributeTargets.Class)]
System\Configuration\SettingsGroupNameAttribute.cs (1)
9[AttributeUsage(AttributeTargets.Class)]
System\Configuration\SettingsManageabilityAttribute.cs (2)
9[AttributeUsage(AttributeTargets.Class | AttributeTargets.Property)]
System\Configuration\SettingsProviderAttribute.cs (2)
9[AttributeUsage(AttributeTargets.Class | AttributeTargets.Property)]
System\Configuration\SettingsSerializeAsAttribute.cs (2)
9[AttributeUsage(AttributeTargets.Class | AttributeTargets.Property)]
System\Configuration\SpecialSettingAttribute.cs (2)
11[AttributeUsage(AttributeTargets.Class | AttributeTargets.Property)]
System\Configuration\StringValidatorAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Property)]
System\Configuration\SubclassTypeValidatorAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Property)]
System\Configuration\TimeSpanValidatorAttribute.cs (1)
8[AttributeUsage(AttributeTargets.Property)]
System\Configuration\UserScopedSettingAttribute.cs (1)
9[AttributeUsage(AttributeTargets.Property)]
System.Data.Common (2)
System\Data\Common\DbProviderSpecificTypePropertyAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = true)]
System\Data\DataSysAttribute.cs (1)
13[AttributeUsage(AttributeTargets.All)]
System.Diagnostics.Process (1)
System\Diagnostics\MonitoringDescriptionAttribute.cs (1)
14[AttributeUsage(AttributeTargets.All)]
System.Diagnostics.TraceSource (7)
System\Diagnostics\SwitchAttribute.cs (6)
10[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Constructor | 11AttributeTargets.Event | AttributeTargets.Method | AttributeTargets.Property)]
System\Diagnostics\SwitchLevelAttribute.cs (1)
8[AttributeUsage(AttributeTargets.Class)]
System.DirectoryServices.AccountManagement (3)
artifacts\obj\System.DirectoryServices.AccountManagement\Debug\net10.0\System.DirectoryServices.AccountManagement.notsupported.cs (3)
92[System.AttributeUsageAttribute(System.AttributeTargets.Class, AllowMultiple=true)] 99[System.AttributeUsageAttribute(System.AttributeTargets.Property, AllowMultiple=true)] 106[System.AttributeUsageAttribute(System.AttributeTargets.Class, AllowMultiple=true)]
System.Drawing.Common (44)
Special\RequiresUnreferencedCodeAttribute.cs (3)
16[AttributeUsage(AttributeTargets.Method | AttributeTargets.Constructor | AttributeTargets.Class, Inherited = false)]
Special\UnconditionalSuppressMessageAttribute.cs (1)
16[AttributeUsage(AttributeTargets.All, Inherited = false, AllowMultiple = true)]
src\Common\src\PlatformAttributes.cs (40)
27[AttributeUsage(AttributeTargets.Assembly, 54[AttributeUsage(AttributeTargets.Assembly | 55AttributeTargets.Class | 56AttributeTargets.Constructor | 57AttributeTargets.Enum | 58AttributeTargets.Event | 59AttributeTargets.Field | 60AttributeTargets.Interface | 61AttributeTargets.Method | 62AttributeTargets.Module | 63AttributeTargets.Property | 64AttributeTargets.Struct, 87[AttributeUsage(AttributeTargets.Assembly | 88AttributeTargets.Class | 89AttributeTargets.Constructor | 90AttributeTargets.Enum | 91AttributeTargets.Event | 92AttributeTargets.Field | 93AttributeTargets.Interface | 94AttributeTargets.Method | 95AttributeTargets.Module | 96AttributeTargets.Property | 97AttributeTargets.Struct, 124[AttributeUsage(AttributeTargets.Assembly | 125AttributeTargets.Class | 126AttributeTargets.Constructor | 127AttributeTargets.Enum | 128AttributeTargets.Event | 129AttributeTargets.Field | 130AttributeTargets.Interface | 131AttributeTargets.Method | 132AttributeTargets.Module | 133AttributeTargets.Property | 134AttributeTargets.Struct, 169[AttributeUsage(AttributeTargets.Field | 170AttributeTargets.Method | 171AttributeTargets.Property, 198[AttributeUsage(AttributeTargets.Field | 199AttributeTargets.Method | 200AttributeTargets.Property,
System.Linq.Expressions (6)
System\Runtime\CompilerServices\DynamicAttribute.cs (6)
11[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue | AttributeTargets.Class | AttributeTargets.Struct)]
System.Net.Quic (5)
System\Net\Quic\Interop\msquic.cs (5)
95[AttributeUsage(AttributeTargets.Enum | AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.ReturnValue, AllowMultiple = false, Inherited = true)]
System.ObjectModel (8)
System\ComponentModel\TypeConverterAttribute.cs (1)
12[AttributeUsage(AttributeTargets.All)]
System\ComponentModel\TypeDescriptionProviderAttribute.cs (1)
8[AttributeUsage(AttributeTargets.Class, Inherited = true)]
System\Windows\Markup\ValueSerializerAttribute.cs (6)
15[AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface | AttributeTargets.Struct | AttributeTargets.Enum | AttributeTargets.Property | AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
System.Private.CoreLib (557)
src\libraries\Common\src\System\Runtime\Versioning\NonVersionableAttribute.cs (4)
24[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Method | AttributeTargets.Constructor,
src\libraries\System.Private.CoreLib\src\System\Attribute.cs (1)
11[AttributeUsage(AttributeTargets.All, Inherited = true, AllowMultiple = false)]
src\libraries\System.Private.CoreLib\src\System\AttributeUsageAttribute.cs (6)
9[AttributeUsage(AttributeTargets.Class, Inherited = true)] 12private readonly AttributeTargets _attributeTarget; 16internal static readonly AttributeUsageAttribute Default = new AttributeUsageAttribute(AttributeTargets.All); 18public AttributeUsageAttribute(AttributeTargets validOn) 24internal AttributeUsageAttribute(AttributeTargets validOn, bool allowMultiple, bool inherited) 31public AttributeTargets ValidOn => _attributeTarget;
src\libraries\System.Private.CoreLib\src\System\CLSCompliantAttribute.cs (1)
9[AttributeUsage(AttributeTargets.All, Inherited = true, AllowMultiple = false)]
src\libraries\System.Private.CoreLib\src\System\CodeDom\Compiler\GeneratedCodeAttribute.cs (1)
6[AttributeUsage(AttributeTargets.All, Inherited = false, AllowMultiple = false)]
src\libraries\System.Private.CoreLib\src\System\ComponentModel\DefaultValueAttribute.cs (1)
15[AttributeUsage(AttributeTargets.All)]
src\libraries\System.Private.CoreLib\src\System\ComponentModel\EditorBrowsableAttribute.cs (10)
8[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum | AttributeTargets.Constructor | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Event | AttributeTargets.Delegate | AttributeTargets.Interface)]
src\libraries\System.Private.CoreLib\src\System\Context.cs (1)
39[AttributeUsage(AttributeTargets.Field, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Diagnostics\CodeAnalysis\ConstantExpectedAttribute.cs (1)
12[AttributeUsage(AttributeTargets.Parameter, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Diagnostics\CodeAnalysis\DynamicallyAccessedMembersAttribute.cs (9)
29AttributeTargets.Field | AttributeTargets.ReturnValue | AttributeTargets.GenericParameter | 30AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.Method | 31AttributeTargets.Class | AttributeTargets.Interface | AttributeTargets.Struct,
src\libraries\System.Private.CoreLib\src\System\Diagnostics\CodeAnalysis\DynamicDependencyAttribute.cs (3)
14AttributeTargets.Constructor | AttributeTargets.Field | AttributeTargets.Method,
src\libraries\System.Private.CoreLib\src\System\Diagnostics\CodeAnalysis\ExcludeFromCodeCoverageAttribute.cs (7)
6[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Constructor | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Event, Inherited = false, AllowMultiple = false)]
src\libraries\System.Private.CoreLib\src\System\Diagnostics\CodeAnalysis\ExperimentalAttribute.cs (12)
13[AttributeUsage(AttributeTargets.Assembly | 14AttributeTargets.Module | 15AttributeTargets.Class | 16AttributeTargets.Struct | 17AttributeTargets.Enum | 18AttributeTargets.Constructor | 19AttributeTargets.Method | 20AttributeTargets.Property | 21AttributeTargets.Field | 22AttributeTargets.Event | 23AttributeTargets.Interface | 24AttributeTargets.Delegate, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Diagnostics\CodeAnalysis\FeatureGuardAttribute.cs (1)
15[AttributeUsage(AttributeTargets.Property, Inherited = false, AllowMultiple = true)]
src\libraries\System.Private.CoreLib\src\System\Diagnostics\CodeAnalysis\FeatureSwitchDefinitionAttribute.cs (1)
14[AttributeUsage(AttributeTargets.Property, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Diagnostics\CodeAnalysis\NullableAttributes.cs (25)
8[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property, Inherited = false)] 17[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property, Inherited = false)] 26[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, Inherited = false)] 35[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, Inherited = false)] 44[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 63[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 82[AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, AllowMultiple = true, Inherited = false)] 101[AttributeUsage(AttributeTargets.Method, Inherited = false)] 110[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 131[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, Inherited = false, AllowMultiple = true)] 156[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, Inherited = false, AllowMultiple = true)]
src\libraries\System.Private.CoreLib\src\System\Diagnostics\CodeAnalysis\RequiresAssemblyFilesAttribute.cs (4)
9[AttributeUsage(AttributeTargets.Constructor | 10AttributeTargets.Event | 11AttributeTargets.Method | 12AttributeTargets.Property,
src\libraries\System.Private.CoreLib\src\System\Diagnostics\CodeAnalysis\RequiresDynamicCodeAttribute.cs (3)
13[AttributeUsage(AttributeTargets.Method | AttributeTargets.Constructor | AttributeTargets.Class, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Diagnostics\CodeAnalysis\RequiresUnreferencedCodeAttribute.cs (3)
14[AttributeUsage(AttributeTargets.Method | AttributeTargets.Constructor | AttributeTargets.Class, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Diagnostics\CodeAnalysis\SetsRequiredMembersAttribute.cs (1)
10[AttributeUsage(AttributeTargets.Constructor, AllowMultiple = false, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Diagnostics\CodeAnalysis\StringSyntaxAttribute.cs (3)
7[AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Field | AttributeTargets.Property, AllowMultiple = false, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Diagnostics\CodeAnalysis\SuppressMessageAttribute.cs (1)
9[AttributeUsage(AttributeTargets.All, Inherited = false, AllowMultiple = true)]
src\libraries\System.Private.CoreLib\src\System\Diagnostics\CodeAnalysis\UnconditionalSuppressMessageAttribute.cs (1)
15[AttributeUsage(AttributeTargets.All, Inherited = false, AllowMultiple = true)]
src\libraries\System.Private.CoreLib\src\System\Diagnostics\CodeAnalysis\UnscopedRefAttribute.cs (3)
31AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Parameter,
src\libraries\System.Private.CoreLib\src\System\Diagnostics\ConditionalAttribute.cs (2)
6[AttributeUsage(AttributeTargets.Method | AttributeTargets.Class, AllowMultiple = true)]
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Contracts\Contracts.cs (25)
32[AttributeUsage(AttributeTargets.Constructor | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Event | AttributeTargets.Delegate | AttributeTargets.Class | AttributeTargets.Parameter, AllowMultiple = false, Inherited = true)] 42[AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface | AttributeTargets.Delegate, AllowMultiple = false, Inherited = false)] 59[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = false)] 81[AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = false)] 89[AttributeUsage(AttributeTargets.Assembly)] 98[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, AllowMultiple = false, Inherited = true)] 115[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Method | AttributeTargets.Constructor | AttributeTargets.Property)] 130[AttributeUsage(AttributeTargets.Field)] 147[AttributeUsage(AttributeTargets.Method, AllowMultiple = false)] 156[AttributeUsage(AttributeTargets.Method, AllowMultiple = false)] 165[AttributeUsage(AttributeTargets.All, AllowMultiple = true, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Diagnostics\DebuggableAttribute.cs (2)
14[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Module, AllowMultiple = false)]
src\libraries\System.Private.CoreLib\src\System\Diagnostics\DebuggerBrowsableAttribute.cs (2)
28[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property, AllowMultiple = false)]
src\libraries\System.Private.CoreLib\src\System\Diagnostics\DebuggerDisableUserUnhandledExceptionsAttribute.cs (1)
11[AttributeUsage(AttributeTargets.Method)]
src\libraries\System.Private.CoreLib\src\System\Diagnostics\DebuggerDisplayAttribute.cs (7)
15[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Delegate | AttributeTargets.Enum | AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Assembly, AllowMultiple = true)]
src\libraries\System.Private.CoreLib\src\System\Diagnostics\DebuggerHiddenAttribute.cs (3)
6[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Constructor, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Diagnostics\DebuggerNonUserCodeAttribute.cs (5)
6[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Constructor | AttributeTargets.Struct, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Diagnostics\DebuggerStepperBoundaryAttribute.cs (2)
7[AttributeUsage(AttributeTargets.Constructor | AttributeTargets.Method, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Diagnostics\DebuggerStepThroughAttribute.cs (4)
6[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Method | AttributeTargets.Constructor, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Diagnostics\DebuggerTypeProxyAttribute.cs (3)
8[AttributeUsage(AttributeTargets.Struct | AttributeTargets.Class | AttributeTargets.Assembly, AllowMultiple = true)]
src\libraries\System.Private.CoreLib\src\System\Diagnostics\DebuggerVisualizerAttribute.cs (3)
12[AttributeUsage(AttributeTargets.Struct | AttributeTargets.Class | AttributeTargets.Assembly, AllowMultiple = true)]
src\libraries\System.Private.CoreLib\src\System\Diagnostics\StackTraceHiddenAttribute.cs (4)
10[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method | AttributeTargets.Constructor | AttributeTargets.Struct, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\EventSource.cs (5)
182[AttributeUsage(AttributeTargets.Class)] 4970[AttributeUsage(AttributeTargets.Class)] 5015[AttributeUsage(AttributeTargets.Method)] 5083[AttributeUsage(AttributeTargets.Method)] 5106[AttributeUsage(AttributeTargets.Field)]
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\TraceLogging\EventDataAttribute.cs (2)
16[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\TraceLogging\EventFieldAttribute.cs (1)
34[AttributeUsage(AttributeTargets.Property)]
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\TraceLogging\EventIgnoreAttribute.cs (1)
13[AttributeUsage(AttributeTargets.Property)]
src\libraries\System.Private.CoreLib\src\System\FlagsAttribute.cs (1)
13[AttributeUsage(AttributeTargets.Enum, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\LoaderOptimizationAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Method)]
src\libraries\System.Private.CoreLib\src\System\NonSerializedAttribute.cs (1)
8[AttributeUsage(AttributeTargets.Field, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\ObsoleteAttribute.cs (10)
9[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum | 10AttributeTargets.Interface | AttributeTargets.Constructor | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Event | AttributeTargets.Delegate,
src\libraries\System.Private.CoreLib\src\System\ParamArrayAttribute.cs (1)
9[AttributeUsage(AttributeTargets.Parameter, Inherited = true, AllowMultiple = false)]
src\libraries\System.Private.CoreLib\src\System\Reflection\AssemblyAlgorithmIdAttribute.cs (1)
8[AttributeUsage(AttributeTargets.Assembly, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Reflection\AssemblyCompanyAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Assembly, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Reflection\AssemblyConfigurationAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Assembly, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Reflection\AssemblyCopyrightAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Assembly, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Reflection\AssemblyCultureAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Assembly, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Reflection\AssemblyDefaultAliasAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Assembly, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Reflection\AssemblyDelaySignAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Assembly, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Reflection\AssemblyDescriptionAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Assembly, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Reflection\AssemblyFileVersionAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Assembly, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Reflection\AssemblyFlagsAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Assembly, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Reflection\AssemblyInformationalVersionAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Assembly, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Reflection\AssemblyKeyFileAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Assembly, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Reflection\AssemblyKeyNameAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Assembly, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Reflection\AssemblyMetadataAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Reflection\AssemblyProductAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Assembly, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Reflection\AssemblySignatureKeyAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Assembly, Inherited = false, AllowMultiple = false)]
src\libraries\System.Private.CoreLib\src\System\Reflection\AssemblyTitleAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Assembly, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Reflection\AssemblyTrademarkAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Assembly, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Reflection\AssemblyVersionAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Assembly, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Reflection\DefaultMemberAttribute.cs (3)
6[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Interface)]
src\libraries\System.Private.CoreLib\src\System\Reflection\Metadata\MetadataUpdateHandlerAttribute.cs (1)
26[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)]
src\libraries\System.Private.CoreLib\src\System\Reflection\ObfuscateAssemblyAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = false, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Reflection\ObfuscationAttribute.cs (11)
6[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Method | AttributeTargets.Parameter | AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Event | AttributeTargets.Interface | AttributeTargets.Enum | AttributeTargets.Delegate,
src\libraries\System.Private.CoreLib\src\System\Resources\NeutralResourcesLanguageAttribute.cs (1)
8[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = false)]
src\libraries\System.Private.CoreLib\src\System\Resources\SatelliteContractVersionAttribute.cs (1)
11[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = false)]
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\AccessedThroughPropertyAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Field)]
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\AsyncIteratorStateMachineAttribute.cs (1)
7[AttributeUsage(AttributeTargets.Method, Inherited = false, AllowMultiple = false)]
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\AsyncMethodBuilderAttribute.cs (6)
11[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Interface | AttributeTargets.Delegate | AttributeTargets.Enum | AttributeTargets.Method, Inherited = false, AllowMultiple = false)]
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\AsyncStateMachineAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Method, Inherited = false, AllowMultiple = false)]
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\CallerArgumentExpressionAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Parameter, AllowMultiple = false, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\CallerFilePathAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Parameter, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\CallerLineNumberAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Parameter, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\CallerMemberNameAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Parameter, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\CollectionBuilderAttribute.cs (3)
6[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Interface, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\CompExactlyDependsOnAttribute.cs (2)
10[AttributeUsage(AttributeTargets.Method | AttributeTargets.Constructor, AllowMultiple = true, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\CompilationRelaxationsAttribute.cs (4)
6[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Module | AttributeTargets.Class | AttributeTargets.Method)]
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\CompilerFeatureRequiredAttribute.cs (1)
9[AttributeUsage(AttributeTargets.All, AllowMultiple = true, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\CompilerGeneratedAttribute.cs (1)
6[AttributeUsage(AttributeTargets.All, Inherited = true)]
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\CompilerGlobalScopeAttribute.cs (1)
8[AttributeUsage(AttributeTargets.Class)]
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\CreateNewOnMetadataUpdateAttribute.cs (2)
9[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct, AllowMultiple = false)]
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\CustomConstantAttribute.cs (2)
6[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\DateTimeConstantAttribute.cs (2)
6[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\DecimalConstantAttribute.cs (2)
8[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\DefaultDependencyAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Assembly)]
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\DependencyAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)]
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\DisablePrivateReflectionAttribute.cs (1)
7[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = false, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\DisableRuntimeMarshallingAttribute.cs (1)
23[AttributeUsage(AttributeTargets.Assembly, Inherited = false, AllowMultiple = false)]
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\DiscardableAttribute.cs (1)
7[AttributeUsage(AttributeTargets.All)]
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\EnumeratorCancellationAttribute.cs (1)
7[AttributeUsage(AttributeTargets.Parameter, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\ExtensionAttribute.cs (3)
9[AttributeUsage(AttributeTargets.Method | AttributeTargets.Class | AttributeTargets.Assembly)]
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\FixedAddressValueTypeAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Field)]
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\FixedBufferAttribute.cs (1)
9[AttributeUsage(AttributeTargets.Field, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\IndexerNameAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Property, Inherited = true)]
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\InlineArrayAttribute.cs (1)
25[AttributeUsage(AttributeTargets.Struct, AllowMultiple = false)]
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\InternalsVisibleToAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\InterpolatedStringHandlerArgumentAttribute.cs (1)
7[AttributeUsage(AttributeTargets.Parameter, AllowMultiple = false, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\InterpolatedStringHandlerAttribute.cs (2)
7[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct, AllowMultiple = false, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\IntrinsicAttribute.cs (5)
9[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Method | AttributeTargets.Constructor | AttributeTargets.Field, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\IsByRefLikeAttribute.cs (1)
13[AttributeUsage(AttributeTargets.Struct)]
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\IsReadOnlyAttribute.cs (1)
13[AttributeUsage(AttributeTargets.All, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\IsUnmanagedAttribute.cs (1)
13[AttributeUsage(AttributeTargets.All)]
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\IteratorStateMachineAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Method, Inherited = false, AllowMultiple = false)]
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\MetadataUpdateOriginalTypeAttribute.cs (2)
6[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct,
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\MethodImplAttribute.cs (2)
7[AttributeUsage(AttributeTargets.Method | AttributeTargets.Constructor, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\ModuleInitializerAttribute.cs (1)
26[AttributeUsage(AttributeTargets.Method, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\NullableAttribute.cs (7)
13[AttributeUsage(AttributeTargets.Class | AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Event | AttributeTargets.Parameter | AttributeTargets.ReturnValue | AttributeTargets.GenericParameter, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\NullableContextAttribute.cs (5)
13[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Method | AttributeTargets.Interface | AttributeTargets.Delegate, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\NullablePublicOnlyAttribute.cs (1)
13[AttributeUsage(AttributeTargets.Module, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\OverloadResolutionPriorityAttribute.cs (3)
9[AttributeUsage(AttributeTargets.Method | AttributeTargets.Constructor | AttributeTargets.Property, AllowMultiple = false, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\ParamCollectionAttribute.cs (1)
9[AttributeUsage(AttributeTargets.Parameter, Inherited = true, AllowMultiple = false)]
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\PreserveBaseOverridesAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\ReferenceAssemblyAttribute.cs (1)
9[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = false)]
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\RefSafetyRulesAttribute.cs (1)
10[AttributeUsage(AttributeTargets.Module, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\RequiredMemberAttribute.cs (4)
9[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Field | AttributeTargets.Property, AllowMultiple = false, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\RequiresLocationAttribute.cs (1)
13[AttributeUsage(AttributeTargets.Parameter, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\RuntimeCompatibilityAttribute.cs (1)
9[AttributeUsage(AttributeTargets.Assembly, Inherited = false, AllowMultiple = false)]
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\ScopedRefAttribute.cs (1)
13[AttributeUsage(AttributeTargets.Parameter, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\SkipLocalsInitAttribute.cs (8)
20[AttributeUsage(AttributeTargets.Module 21| AttributeTargets.Class 22| AttributeTargets.Struct 23| AttributeTargets.Interface 24| AttributeTargets.Constructor 25| AttributeTargets.Method 26| AttributeTargets.Property 27| AttributeTargets.Event, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\SpecialNameAttribute.cs (6)
6[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Event | AttributeTargets.Struct)]
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\StateMachineAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Method, Inherited = false, AllowMultiple = false)]
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\StringFreezingAttribute.cs (1)
8[AttributeUsage(AttributeTargets.Assembly, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\SuppressIldasmAttribute.cs (2)
7[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Module)]
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\TupleElementNamesAttribute.cs (7)
12[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue | AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Event)]
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\TypeForwardedFromAttribute.cs (5)
6[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum | AttributeTargets.Interface | AttributeTargets.Delegate, Inherited = false, AllowMultiple = false)]
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\TypeForwardedToAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\UnsafeAccessorAttribute.cs (1)
76[AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\UnsafeValueTypeAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Struct)]
src\libraries\System.Private.CoreLib\src\System\Runtime\ConstrainedExecution\PrePrepareMethodAttribute.cs (2)
7[AttributeUsage(AttributeTargets.Constructor | AttributeTargets.Method, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Runtime\ConstrainedExecution\ReliabilityContractAttribute.cs (6)
10[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Constructor | AttributeTargets.Method | AttributeTargets.Interface /* | AttributeTargets.Delegate*/, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Runtime\ExceptionServices\HandleProcessCorruptedStateExceptionsAttribute.cs (1)
8[AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\AllowReversePInvokeCallsAttribute.cs (1)
8[AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\BestFitMappingAttribute.cs (4)
6[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Interface | AttributeTargets.Class | AttributeTargets.Struct, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\ClassInterfaceAttribute.cs (2)
6[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\CoClassAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Interface, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\ComDefaultInterfaceAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Class, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\ComEventInterfaceAttribute.cs (1)
9[AttributeUsage(AttributeTargets.Interface, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\ComImportAttribute.cs (2)
6[AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\ComSourceInterfacesAttribute.cs (1)
8[AttributeUsage(AttributeTargets.Class, Inherited = true)]
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\ComVisibleAttribute.cs (9)
6[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Interface | AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Delegate | AttributeTargets.Enum | AttributeTargets.Field | AttributeTargets.Method | AttributeTargets.Property, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\DefaultCharSetAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Module, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\DefaultDllImportSearchPathsAttribute.cs (2)
6[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Method, AllowMultiple = false)]
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\DefaultParameterValueAttribute.cs (1)
12[AttributeUsage(AttributeTargets.Parameter)]
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\DispIdAttribute.cs (4)
6[AttributeUsage(AttributeTargets.Method | AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Event, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\DllImportAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Method, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\FieldOffsetAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Field, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\GuidAttribute.cs (6)
6[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Interface | AttributeTargets.Class | AttributeTargets.Enum | AttributeTargets.Struct | AttributeTargets.Delegate, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\IDynamicInterfaceCastable.cs (1)
58[AttributeUsage(AttributeTargets.Interface, AllowMultiple = false, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\InAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Parameter, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\InterfaceTypeAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Interface, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\LCIDConversionAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Method, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\LibraryImportAttribute.cs (1)
16[AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\MarshalAsAttribute.cs (3)
6[AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Field | AttributeTargets.ReturnValue, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\Marshalling\ContiguousCollectionMarshallerAttribute.cs (2)
9[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct)]
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\Marshalling\CustomMarshallerAttribute.cs (2)
9[AttributeUsage(AttributeTargets.Struct | AttributeTargets.Class, AllowMultiple = true)]
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\Marshalling\MarshalUsingAttribute.cs (2)
15[AttributeUsage(AttributeTargets.Parameter | AttributeTargets.ReturnValue, AllowMultiple = true)]
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\Marshalling\NativeMarshallingAttribute.cs (5)
15[AttributeUsage(AttributeTargets.Struct | AttributeTargets.Class | AttributeTargets.Enum | AttributeTargets.Interface | AttributeTargets.Delegate)]
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\ObjectiveC\ObjectiveCTrackedTypeAttribute.cs (1)
12[AttributeUsage(AttributeTargets.Class, Inherited = true, AllowMultiple = false)]
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\OptionalAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Parameter, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\OutAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Parameter, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\PreserveSigAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Method, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\ProgIdAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Class, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\StructLayoutAttribute.cs (2)
6[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\SuppressGCTransitionAttribute.cs (1)
60[AttributeUsage(AttributeTargets.Method, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\TypeIdentifierAttribute.cs (4)
6[AttributeUsage(AttributeTargets.Interface | AttributeTargets.Enum | AttributeTargets.Struct | AttributeTargets.Delegate, AllowMultiple = false, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\UnmanagedCallConvAttribute.cs (1)
10[AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\UnmanagedCallersOnlyAttribute.cs (1)
17[AttributeUsage(AttributeTargets.Method, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\UnmanagedFunctionPointerAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Delegate, AllowMultiple = false, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\WasmImportLinkageAttribute.cs (1)
12[AttributeUsage(AttributeTargets.Method, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Runtime\NgenServicingAttributes.cs (3)
6[AttributeUsage(AttributeTargets.Assembly, Inherited = false)] 17[AttributeUsage(AttributeTargets.Method | AttributeTargets.Constructor, AllowMultiple = false, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Runtime\Serialization\OnDeserializedAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Method, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Runtime\Serialization\OnDeserializingAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Method, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Runtime\Serialization\OnSerializedAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Method, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Runtime\Serialization\OnSerializingAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Method, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Runtime\Serialization\OptionalFieldAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Field, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Runtime\Versioning\ComponentGuaranteesAttribute.cs (11)
7[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Module | AttributeTargets.Class | 8AttributeTargets.Struct | AttributeTargets.Interface | AttributeTargets.Delegate | 9AttributeTargets.Enum | AttributeTargets.Method | AttributeTargets.Property | 10AttributeTargets.Constructor | AttributeTargets.Event,
src\libraries\System.Private.CoreLib\src\System\Runtime\Versioning\PlatformAttributes.cs (40)
28[AttributeUsage(AttributeTargets.Assembly, 52[AttributeUsage(AttributeTargets.Assembly | 53AttributeTargets.Class | 54AttributeTargets.Constructor | 55AttributeTargets.Enum | 56AttributeTargets.Event | 57AttributeTargets.Field | 58AttributeTargets.Interface | 59AttributeTargets.Method | 60AttributeTargets.Module | 61AttributeTargets.Property | 62AttributeTargets.Struct, 83[AttributeUsage(AttributeTargets.Assembly | 84AttributeTargets.Class | 85AttributeTargets.Constructor | 86AttributeTargets.Enum | 87AttributeTargets.Event | 88AttributeTargets.Field | 89AttributeTargets.Interface | 90AttributeTargets.Method | 91AttributeTargets.Module | 92AttributeTargets.Property | 93AttributeTargets.Struct, 118[AttributeUsage(AttributeTargets.Assembly | 119AttributeTargets.Class | 120AttributeTargets.Constructor | 121AttributeTargets.Enum | 122AttributeTargets.Event | 123AttributeTargets.Field | 124AttributeTargets.Interface | 125AttributeTargets.Method | 126AttributeTargets.Module | 127AttributeTargets.Property | 128AttributeTargets.Struct, 158[AttributeUsage(AttributeTargets.Field | 159AttributeTargets.Method | 160AttributeTargets.Property, 184[AttributeUsage(AttributeTargets.Field | 185AttributeTargets.Method | 186AttributeTargets.Property,
src\libraries\System.Private.CoreLib\src\System\Runtime\Versioning\RequiresPreviewFeaturesAttribute.cs (12)
6[AttributeUsage(AttributeTargets.Assembly | 7AttributeTargets.Module | 8AttributeTargets.Class | 9AttributeTargets.Interface | 10AttributeTargets.Delegate | 11AttributeTargets.Struct | 12AttributeTargets.Enum | 13AttributeTargets.Constructor | 14AttributeTargets.Method | 15AttributeTargets.Property | 16AttributeTargets.Field | 17AttributeTargets.Event, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Runtime\Versioning\ResourceConsumptionAttribute.cs (3)
8[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Constructor, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Runtime\Versioning\ResourceExposureAttribute.cs (4)
8[AttributeUsage(AttributeTargets.Method | AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Constructor, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Runtime\Versioning\TargetFrameworkAttribute.cs (1)
9[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = false, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Security\AllowPartiallyTrustedCallersAttribute.cs (1)
11[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = false, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Security\DynamicSecurityMethodAttribute.cs (2)
13[AttributeUsage(AttributeTargets.Method | AttributeTargets.Constructor, AllowMultiple = true, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Security\Permissions\CodeAccessSecurityAttribute.cs (1)
7[AttributeUsage((AttributeTargets)(109), AllowMultiple = true, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Security\Permissions\SecurityAttribute.cs (1)
7[AttributeUsage((AttributeTargets)(109), AllowMultiple = true, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Security\Permissions\SecurityPermissionAttribute.cs (1)
7[AttributeUsage((AttributeTargets)(109), AllowMultiple = true, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Security\SecurityCriticalAttribute.cs (9)
7[AttributeUsage(AttributeTargets.Assembly | 8AttributeTargets.Class | 9AttributeTargets.Struct | 10AttributeTargets.Enum | 11AttributeTargets.Constructor | 12AttributeTargets.Method | 13AttributeTargets.Field | 14AttributeTargets.Interface | 15AttributeTargets.Delegate,
src\libraries\System.Private.CoreLib\src\System\Security\SecurityRulesAttribute.cs (1)
7[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = false)]
src\libraries\System.Private.CoreLib\src\System\Security\SecuritySafeCriticalAttribute.cs (8)
7[AttributeUsage(AttributeTargets.Class | 8AttributeTargets.Struct | 9AttributeTargets.Enum | 10AttributeTargets.Constructor | 11AttributeTargets.Method | 12AttributeTargets.Field | 13AttributeTargets.Interface | 14AttributeTargets.Delegate,
src\libraries\System.Private.CoreLib\src\System\Security\SecurityTransparentAttribute.cs (1)
7[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = false, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Security\SecurityTreatAsSafeAttribute.cs (9)
7[AttributeUsage(AttributeTargets.Assembly | 8AttributeTargets.Class | 9AttributeTargets.Struct | 10AttributeTargets.Enum | 11AttributeTargets.Constructor | 12AttributeTargets.Method | 13AttributeTargets.Field | 14AttributeTargets.Interface | 15AttributeTargets.Delegate,
src\libraries\System.Private.CoreLib\src\System\Security\SuppressUnmanagedCodeSecurityAttribute.cs (4)
7[AttributeUsage(AttributeTargets.Method | AttributeTargets.Class | AttributeTargets.Interface | AttributeTargets.Delegate, AllowMultiple = true, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Security\UnverifiableCodeAttribute.cs (1)
8[AttributeUsage(AttributeTargets.Module, AllowMultiple = true, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\SerializableAttribute.cs (4)
8[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum | AttributeTargets.Delegate, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\ThreadAttributes.cs (2)
9[AttributeUsage(AttributeTargets.Method)] 20[AttributeUsage(AttributeTargets.Method)]
src\libraries\System.Private.CoreLib\src\System\ThreadStaticAttribute.cs (1)
9[AttributeUsage(AttributeTargets.Field, Inherited = false)]
System.Private.CoreLib.Generators (25)
src\libraries\System.Private.CoreLib\src\System\Diagnostics\CodeAnalysis\NullableAttributes.cs (25)
8[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property, Inherited = false)] 17[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property, Inherited = false)] 26[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, Inherited = false)] 35[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, Inherited = false)] 44[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 63[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 82[AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, AllowMultiple = true, Inherited = false)] 101[AttributeUsage(AttributeTargets.Method, Inherited = false)] 110[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 131[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, Inherited = false, AllowMultiple = true)] 156[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, Inherited = false, AllowMultiple = true)]
System.Private.Windows.Core.TestUtilities (6)
XUnit\SkipOnArchitectureAttribute.cs (2)
18[AttributeUsage(AttributeTargets.Method | AttributeTargets.Class, AllowMultiple = true, Inherited = true)]
XUnit\UseCultureAttribute.cs (2)
18[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
XUnit\UseDefaultXunitCultureAttribute.cs (2)
12[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
System.Private.Xml (83)
System\Xml\Serialization\SoapAttributeAttribute.cs (4)
9[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Parameter | AttributeTargets.ReturnValue)]
System\Xml\Serialization\SoapElementAttribute.cs (4)
9[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Parameter | AttributeTargets.ReturnValue)]
System\Xml\Serialization\SoapEnumAttribute.cs (1)
9[AttributeUsage(AttributeTargets.Field)]
System\Xml\Serialization\SoapIgnoreAttribute.cs (4)
8[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Parameter | AttributeTargets.ReturnValue)]
System\Xml\Serialization\SoapIncludeAttribute.cs (4)
6[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Interface | AttributeTargets.Method, AllowMultiple = true)]
System\Xml\Serialization\SoapTypeAttribute.cs (4)
9[AttributeUsage(AttributeTargets.Class | AttributeTargets.Enum | AttributeTargets.Interface | AttributeTargets.Struct)]
System\Xml\Serialization\XmlAnyAttributeAttribute.cs (4)
12[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Parameter | AttributeTargets.ReturnValue, AllowMultiple = false)]
System\Xml\Serialization\XmlAnyElementAttribute.cs (4)
13[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Parameter | AttributeTargets.ReturnValue, AllowMultiple = true)]
System\Xml\Serialization\XmlArrayAttribute.cs (4)
13[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Parameter | AttributeTargets.ReturnValue, AllowMultiple = false)]
System\Xml\Serialization\XmlArrayItemAttribute.cs (4)
13[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Parameter | AttributeTargets.ReturnValue, AllowMultiple = true)]
System\Xml\Serialization\XmlAttributeAttribute.cs (4)
13[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Parameter | AttributeTargets.ReturnValue)]
System\Xml\Serialization\XmlChoiceIdentifierAttribute.cs (4)
14[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Parameter | AttributeTargets.ReturnValue, AllowMultiple = false)]
System\Xml\Serialization\XmlElementAttribute.cs (4)
13[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Parameter | AttributeTargets.ReturnValue, AllowMultiple = true)]
System\Xml\Serialization\XmlEnumAttribute.cs (1)
11[AttributeUsage(AttributeTargets.Field)]
System\Xml\Serialization\XmlIgnoreAttribute.cs (4)
11[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Parameter | AttributeTargets.ReturnValue)]
System\Xml\Serialization\XmlIncludeAttribute.cs (4)
11[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Interface | AttributeTargets.Method, AllowMultiple = true)]
System\Xml\Serialization\XmlNamespaceDeclarationsAttribute.cs (4)
12[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Parameter | AttributeTargets.ReturnValue, AllowMultiple = false)]
System\Xml\Serialization\XmlRootAttribute.cs (5)
18[AttributeUsage(AttributeTargets.ReturnValue | AttributeTargets.Class | AttributeTargets.Enum | AttributeTargets.Interface | AttributeTargets.Struct)]
System\Xml\Serialization\XmlSchemaProviderAttribute.cs (3)
12[AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface | AttributeTargets.Struct)]
System\Xml\Serialization\XmlSerializerAssemblyAttribute.cs (4)
8[AttributeUsage(AttributeTargets.Class | AttributeTargets.Enum | AttributeTargets.Interface | AttributeTargets.Struct, AllowMultiple = false)]
System\Xml\Serialization\XmlSerializerVersionAttribute.cs (1)
8[AttributeUsage(AttributeTargets.Assembly)]
System\Xml\Serialization\XmlTextAttribute.cs (4)
12[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Parameter | AttributeTargets.ReturnValue)]
System\Xml\Serialization\XmlTypeAttribute.cs (4)
12[AttributeUsage(AttributeTargets.Class | AttributeTargets.Enum | AttributeTargets.Interface | AttributeTargets.Struct)]
System.Reflection.DispatchProxy (2)
src\libraries\Common\src\System\Reflection\Emit\IgnoreAccessChecksToAttributeBuilder.cs (2)
80c.GetParameters()[0].ParameterType == typeof(AttributeTargets)); 90new object[] { AttributeTargets.Assembly },
System.Reflection.Metadata (16)
System\Reflection\Metadata\TypeSystem\CustomAttribute.cs (16)
161AttributeTargets projectedValue = ProjectAttributeTargetValue(rawBlobReader.ReadUInt32()); 164projectedValue |= AttributeTargets.Constructor | AttributeTargets.Property; 170private static AttributeTargets ProjectAttributeTargetValue(uint rawValue) 175return AttributeTargets.All; 178AttributeTargets result = 0; 180if ((rawValue & 0x00000001) != 0) result |= AttributeTargets.Delegate; 181if ((rawValue & 0x00000002) != 0) result |= AttributeTargets.Enum; 182if ((rawValue & 0x00000004) != 0) result |= AttributeTargets.Event; 183if ((rawValue & 0x00000008) != 0) result |= AttributeTargets.Field; 184if ((rawValue & 0x00000010) != 0) result |= AttributeTargets.Interface; 186if ((rawValue & 0x00000040) != 0) result |= AttributeTargets.Method; 187if ((rawValue & 0x00000080) != 0) result |= AttributeTargets.Parameter; 188if ((rawValue & 0x00000100) != 0) result |= AttributeTargets.Property; 189if ((rawValue & 0x00000200) != 0) result |= AttributeTargets.Class; 190if ((rawValue & 0x00000400) != 0) result |= AttributeTargets.Struct;
System.Runtime (1)
artifacts\obj\System.Runtime\Debug\net10.0\System.Runtime.Forwards.cs (1)
47[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.AttributeTargets))]
System.Runtime.CompilerServices.VisualC (15)
System\Runtime\CompilerServices\Attributes.cs (15)
43[AttributeUsage(AttributeTargets.All)] 90[AttributeUsage(AttributeTargets.Struct)] 96[AttributeUsage(AttributeTargets.Enum)] 102[AttributeUsage(AttributeTargets.Struct, Inherited = true)] 108[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)] 114[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum | AttributeTargets.Interface, AllowMultiple = true, Inherited = false)] 122[AttributeUsage(AttributeTargets.Class | 123AttributeTargets.Constructor | 124AttributeTargets.Method | 125AttributeTargets.Field | 126AttributeTargets.Event | 127AttributeTargets.Property)]
System.Runtime.InteropServices (33)
System\Runtime\CompilerServices\IDispatchConstantAttribute.cs (2)
10[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter, Inherited = false)]
System\Runtime\CompilerServices\IUnknownConstantAttribute.cs (2)
8[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter, Inherited = false)]
System\Runtime\InteropServices\AutomationProxyAttribute.cs (3)
6[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Interface, Inherited = false)]
System\Runtime\InteropServices\ComAliasNameAttribute.cs (4)
6[AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.ReturnValue, Inherited = false)]
System\Runtime\InteropServices\ComCompatibleVersionAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Assembly, Inherited = false)]
System\Runtime\InteropServices\ComConversionLossAttribute.cs (1)
6[AttributeUsage(AttributeTargets.All, Inherited = false)]
System\Runtime\InteropServices\ComRegisterFunctionAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Method, Inherited = false)]
System\Runtime\InteropServices\ComUnregisterFunctionAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Method, Inherited = false)]
System\Runtime\InteropServices\ImportedFromTypeLibAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Assembly, Inherited = false)]
System\Runtime\InteropServices\ManagedToNativeComInteropStubAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Method, Inherited = false, AllowMultiple = false)]
System\Runtime\InteropServices\Marshalling\ComExposedClassAttribute.cs (1)
10[AttributeUsage(AttributeTargets.Class, Inherited = false)]
System\Runtime\InteropServices\Marshalling\ComImportInteropInterfaceDetailsStrategy.cs (3)
136new object[] { AttributeTargets.Assembly }, 164/// The <see cref="AttributeUsageAttribute(AttributeTargets)"/> constructor. 166private static readonly ConstructorInfo s_attributeUsageCtor = typeof(AttributeUsageAttribute).GetConstructor(new Type[] { typeof(AttributeTargets) })!;
System\Runtime\InteropServices\Marshalling\GeneratedComClassAttribute.cs (1)
12[AttributeUsage(AttributeTargets.Class)]
System\Runtime\InteropServices\Marshalling\GeneratedComInterfaceAttribute.cs (1)
9[AttributeUsage(AttributeTargets.Interface)]
System\Runtime\InteropServices\Marshalling\IUnknownDerivedAttribute.cs (1)
14[AttributeUsage(AttributeTargets.Interface, Inherited = false)]
System\Runtime\InteropServices\PrimaryInteropAssemblyAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Assembly, Inherited = false, AllowMultiple = true)]
System\Runtime\InteropServices\TypeLibFuncAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Method, Inherited = false)]
System\Runtime\InteropServices\TypeLibImportClassAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Interface, Inherited = false)]
System\Runtime\InteropServices\TypeLibTypeAttribute.cs (4)
6[AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface | AttributeTargets.Enum | AttributeTargets.Struct, Inherited = false)]
System\Runtime\InteropServices\TypeLibVarAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Field, Inherited = false)]
System\Runtime\InteropServices\TypeLibVersionAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Assembly, Inherited = false)]
System.Runtime.InteropServices.JavaScript (4)
artifacts\obj\System.Runtime.InteropServices.JavaScript\Debug\net10.0\System.Runtime.InteropServices.JavaScript.notsupported.cs (4)
9[System.AttributeUsageAttribute(AttributeTargets.Method, Inherited = false, AllowMultiple = false)] 19[System.AttributeUsageAttribute(AttributeTargets.Method, Inherited = false, AllowMultiple = false)] 26[System.AttributeUsageAttribute(AttributeTargets.Parameter | AttributeTargets.ReturnValue, Inherited = false, AllowMultiple = false)]
System.Runtime.Serialization.Primitives (14)
System\Runtime\Serialization\CollectionDataContractAttribute.cs (2)
6[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct, Inherited = false, AllowMultiple = false)]
System\Runtime\Serialization\ContractNamespaceAttribute.cs (2)
6[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Module, Inherited = false, AllowMultiple = true)]
System\Runtime\Serialization\DataContractAttribute.cs (3)
6[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum, Inherited = false, AllowMultiple = false)]
System\Runtime\Serialization\DataMemberAttribute.cs (2)
6[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property, Inherited = false, AllowMultiple = false)]
System\Runtime\Serialization\EnumMemberAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Field, Inherited = false, AllowMultiple = false)]
System\Runtime\Serialization\IgnoreDataMemberAttribute.cs (2)
6[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property, Inherited = false, AllowMultiple = false)]
System\Runtime\Serialization\KnownTypeAttribute.cs (2)
6[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct, Inherited = true, AllowMultiple = true)]
System.Security.Permissions (142)
System\Configuration\ConfigurationPermissionAttribute.cs (1)
12[AttributeUsage(AttributeTargets.All, AllowMultiple = true, Inherited = false)]
System\Data\Common\DBDataPermissionAttribute.cs (5)
11[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Constructor | AttributeTargets.Method,
System\Data\Odbc\OdbcPermissionAttribute.cs (5)
13[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Struct | 14AttributeTargets.Constructor | AttributeTargets.Method, AllowMultiple = true, Inherited = false)]
System\Data\OleDb\OleDbPermissionAttribute.cs (5)
13[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Struct | 14AttributeTargets.Constructor | AttributeTargets.Method, AllowMultiple = true, Inherited = false)]
System\Data\OracleClient\OraclePermissionAttribute.cs (5)
11[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Struct | 12AttributeTargets.Constructor | AttributeTargets.Method, AllowMultiple = true, Inherited = false)]
System\Data\SqlClient\SqlClientPermissionAttribute.cs (5)
13[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Constructor | AttributeTargets.Method,
System\Diagnostics\EventLogPermissionAttribute.cs (6)
12[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Struct 13| AttributeTargets.Constructor | AttributeTargets.Method | AttributeTargets.Event, AllowMultiple = true, Inherited = false)]
System\Diagnostics\PerformanceCounterPermissionAttribute.cs (6)
11[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Constructor | AttributeTargets.Method | AttributeTargets.Event,
System\DirectoryServices\DirectoryServicesPermissionAttribute.cs (6)
10[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Struct | 11AttributeTargets.Constructor | AttributeTargets.Method | AttributeTargets.Event,
System\Drawing\Printing\PrintingPermissionAttribute.cs (1)
11[AttributeUsage(AttributeTargets.All, AllowMultiple = true)]
System\Net\DnsPermissionAttribute.cs (5)
12[AttributeUsage(AttributeTargets.Method | AttributeTargets.Constructor | AttributeTargets.Class | 13AttributeTargets.Struct | AttributeTargets.Assembly, AllowMultiple = true, Inherited = false)]
System\Net\Mail\SmtpPermissionAttribute.cs (5)
12[AttributeUsage(AttributeTargets.Method | AttributeTargets.Constructor | AttributeTargets.Class | 13AttributeTargets.Struct | AttributeTargets.Assembly, AllowMultiple = true, Inherited = false)]
System\Net\NetworkInformation\NetworkInformationPermissionAttribute.cs (5)
12[AttributeUsage(AttributeTargets.Method | AttributeTargets.Constructor | AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Assembly, AllowMultiple = true, Inherited = false)]
System\Net\PeerToPeer\Collaboration\PeerCollaborationPermissionAttribute.cs (5)
12[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Struct | 13AttributeTargets.Constructor | AttributeTargets.Method, AllowMultiple = true, Inherited = false)]
System\Net\PeerToPeer\PnrpPermissionAttribute.cs (5)
12[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Struct | 13AttributeTargets.Constructor | AttributeTargets.Method, AllowMultiple = true, Inherited = false)]
System\Net\SocketPermissionAttribute.cs (5)
12[AttributeUsage(AttributeTargets.Method | AttributeTargets.Constructor | AttributeTargets.Class | 13AttributeTargets.Struct | AttributeTargets.Assembly, AllowMultiple = true, Inherited = false)]
System\Net\WebPermissionAttribute.cs (5)
12[AttributeUsage(AttributeTargets.Method | AttributeTargets.Constructor | AttributeTargets.Class | 13AttributeTargets.Struct | AttributeTargets.Assembly, AllowMultiple = true, Inherited = false)]
System\Security\Permissions\DataProtectionPermissionAttribute.cs (5)
9[AttributeUsage(AttributeTargets.Method | AttributeTargets.Constructor | AttributeTargets.Class 10| AttributeTargets.Struct | AttributeTargets.Assembly, AllowMultiple = true, Inherited = false)]
System\Security\Permissions\EnvironmentPermissionAttribute.cs (1)
9[AttributeUsage((AttributeTargets)(109), AllowMultiple = true, Inherited = false)]
System\Security\Permissions\FileDialogPermissionAttribute.cs (1)
9[AttributeUsage((AttributeTargets)(109), AllowMultiple = true, Inherited = false)]
System\Security\Permissions\FileIOPermissionAttribute.cs (5)
9[AttributeUsage(AttributeTargets.Method | AttributeTargets.Constructor | AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Assembly, AllowMultiple = true, Inherited = false)]
System\Security\Permissions\GacIdentityPermissionAttribute.cs (1)
9[AttributeUsage((AttributeTargets)(109), AllowMultiple = true, Inherited = false)]
System\Security\Permissions\HostProtectionAttribute.cs (1)
9[AttributeUsage((AttributeTargets)(4205), AllowMultiple = true, Inherited = false)]
System\Security\Permissions\IsolatedStorageFilePermissionAttribute.cs (5)
9[AttributeUsage(AttributeTargets.Method | AttributeTargets.Constructor 10| AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Assembly,
System\Security\Permissions\KeyContainerPermissionAttribute.cs (5)
9[AttributeUsage(AttributeTargets.Method | AttributeTargets.Constructor | AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Assembly, AllowMultiple = true, Inherited = false)]
System\Security\Permissions\MediaPermission.cs (5)
67[AttributeUsage(AttributeTargets.Method | AttributeTargets.Constructor | AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Assembly, AllowMultiple = true, Inherited = false)]
System\Security\Permissions\PermissionSetAttribute.cs (1)
9[AttributeUsage((AttributeTargets)(109), AllowMultiple = true, Inherited = false)]
System\Security\Permissions\PrincipalPermissionAttribute.cs (1)
9[AttributeUsage((AttributeTargets)(68), AllowMultiple = true, Inherited = false)]
System\Security\Permissions\PublisherIdentityPermissionAttribute.cs (1)
9[AttributeUsage((AttributeTargets)(109), AllowMultiple = true, Inherited = false)]
System\Security\Permissions\ReflectionPermissionAttribute.cs (1)
9[AttributeUsage((AttributeTargets)(109), AllowMultiple = true, Inherited = false)]
System\Security\Permissions\RegistryPermissionAttribute.cs (1)
9[AttributeUsage((AttributeTargets)(109), AllowMultiple = true, Inherited = false)]
System\Security\Permissions\SiteIdentityPermissionAttribute.cs (1)
9[AttributeUsage((AttributeTargets)(109), AllowMultiple = true, Inherited = false)]
System\Security\Permissions\StorePermissionAttribute.cs (5)
9[AttributeUsage(AttributeTargets.Method | AttributeTargets.Constructor | AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Assembly, AllowMultiple = true, Inherited = false)]
System\Security\Permissions\StrongNameIdentityPermissionAttribute.cs (1)
9[AttributeUsage((AttributeTargets)(109), AllowMultiple = true, Inherited = false)]
System\Security\Permissions\TypeDescriptorPermissionAttribute.cs (5)
9[AttributeUsage(AttributeTargets.Method | AttributeTargets.Constructor | AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Assembly, AllowMultiple = true, Inherited = false)]
System\Security\Permissions\UIPermissionAttribute.cs (1)
9[AttributeUsage((AttributeTargets)(109), AllowMultiple = true, Inherited = false)]
System\Security\Permissions\UrlIdentityPermissionAttribute.cs (1)
9[AttributeUsage((AttributeTargets)(109), AllowMultiple = true, Inherited = false)]
System\Security\Permissions\WebBrowserPermission.cs (5)
36[AttributeUsage(AttributeTargets.Method | AttributeTargets.Constructor | AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Assembly, AllowMultiple = true, Inherited = false)]
System\Security\Permissions\ZoneIdentityPermissionAttribute.cs (1)
9[AttributeUsage((AttributeTargets)(109), AllowMultiple = true, Inherited = false)]
System\ServiceProcess\ServiceControllerPermissionAttribute.cs (6)
12[AttributeUsage(AttributeTargets.Method | AttributeTargets.Constructor | AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Assembly | AttributeTargets.Event, AllowMultiple = true, Inherited = false)]
System\Transactions\DistributedTransactionPermissionAttribute.cs (1)
12[AttributeUsage(AttributeTargets.All, AllowMultiple = true)]
System\Web\AspNetHostingPermissionAttribute.cs (1)
12[AttributeUsage(AttributeTargets.All, AllowMultiple = true, Inherited = false)]
System.ServiceProcess.ServiceController (1)
artifacts\obj\System.ServiceProcess.ServiceController\Debug\net10.0\System.ServiceProcess.ServiceController.notsupported.cs (1)
104[System.AttributeUsageAttribute(System.AttributeTargets.All)]
System.Text.Json (38)
src\libraries\System.Text.Json\Common\JsonSerializableAttribute.cs (1)
14[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
src\libraries\System.Text.Json\Common\JsonSourceGenerationOptionsAttribute.cs (1)
9[AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
System\Text\Json\Serialization\Attributes\JsonConstructorAttribute.cs (1)
10[AttributeUsage(AttributeTargets.Constructor, AllowMultiple = false)]
System\Text\Json\Serialization\Attributes\JsonConverterAttribute.cs (6)
18[AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface | AttributeTargets.Struct | AttributeTargets.Enum | AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = false)]
System\Text\Json\Serialization\Attributes\JsonDerivedTypeAttribute.cs (2)
9[AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface, AllowMultiple = true, Inherited = false)]
System\Text\Json\Serialization\Attributes\JsonExtensionDataAttribute.cs (2)
28[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = false)]
System\Text\Json\Serialization\Attributes\JsonIgnoreAttribute.cs (2)
9[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = false)]
System\Text\Json\Serialization\Attributes\JsonIncludeAttribute.cs (2)
15[AttributeUsage(AttributeTargets.Property | System.AttributeTargets.Field, AllowMultiple = false)]
System\Text\Json\Serialization\Attributes\JsonNumberHandlingAttribute.cs (4)
10[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = false)]
System\Text\Json\Serialization\Attributes\JsonObjectCreationHandlingAttribute.cs (5)
31[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Interface, AllowMultiple = false)]
System\Text\Json\Serialization\Attributes\JsonPolymorphicAttribute.cs (2)
9[AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface, AllowMultiple = false, Inherited = false)]
System\Text\Json\Serialization\Attributes\JsonPropertyNameAttribute.cs (2)
10[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = false)]
System\Text\Json\Serialization\Attributes\JsonPropertyOrderAttribute.cs (2)
11[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = false)]
System\Text\Json\Serialization\Attributes\JsonRequiredAttribute.cs (2)
16[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = false)]
System\Text\Json\Serialization\Attributes\JsonUnmappedMemberHandlingAttribute.cs (3)
10[AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface | AttributeTargets.Struct,
System\Text\Json\Serialization\JsonStringEnumMemberNameAttribute.cs (1)
9[AttributeUsage(AttributeTargets.Field, AllowMultiple = false)]
System.Text.Json.SourceGeneration (33)
src\libraries\System.Private.CoreLib\src\System\Diagnostics\CodeAnalysis\NullableAttributes.cs (25)
8[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property, Inherited = false)] 17[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property, Inherited = false)] 26[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, Inherited = false)] 35[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, Inherited = false)] 44[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 63[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 82[AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, AllowMultiple = true, Inherited = false)] 101[AttributeUsage(AttributeTargets.Method, Inherited = false)] 110[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 131[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, Inherited = false, AllowMultiple = true)] 156[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, Inherited = false, AllowMultiple = true)]
src\libraries\System.Private.CoreLib\src\System\Diagnostics\CodeAnalysis\SetsRequiredMembersAttribute.cs (1)
10[AttributeUsage(AttributeTargets.Constructor, AllowMultiple = false, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\CompilerFeatureRequiredAttribute.cs (1)
9[AttributeUsage(AttributeTargets.All, AllowMultiple = true, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\RequiredMemberAttribute.cs (4)
9[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Field | AttributeTargets.Property, AllowMultiple = false, Inherited = false)]
src\libraries\System.Text.Json\Common\JsonSerializableAttribute.cs (1)
14[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
src\libraries\System.Text.Json\Common\JsonSourceGenerationOptionsAttribute.cs (1)
9[AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
System.Text.RegularExpressions (2)
System\Text\RegularExpressions\GeneratedRegexAttribute.cs (2)
24[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, AllowMultiple = false, Inherited = false)]
System.Text.RegularExpressions.Generator (25)
src\libraries\System.Private.CoreLib\src\System\Diagnostics\CodeAnalysis\NullableAttributes.cs (25)
8[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property, Inherited = false)] 17[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property, Inherited = false)] 26[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, Inherited = false)] 35[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, Inherited = false)] 44[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 63[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 82[AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, AllowMultiple = true, Inherited = false)] 101[AttributeUsage(AttributeTargets.Method, Inherited = false)] 110[AttributeUsage(AttributeTargets.Parameter, Inherited = false)] 131[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, Inherited = false, AllowMultiple = true)] 156[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, Inherited = false, AllowMultiple = true)]
System.Windows.Forms (10)
SRCategoryAttribute.cs (1)
8[AttributeUsage(AttributeTargets.All)]
SRDescriptionAttribute.cs (1)
8[AttributeUsage(AttributeTargets.All)]
System\Windows\Forms\ActiveX\AxHost.ClsidAttribute.cs (1)
8[AttributeUsage(AttributeTargets.Class, Inherited = false)]
System\Windows\Forms\ActiveX\AxHost.TypeLibraryTimeStampAttribute.cs (1)
10[AttributeUsage(AttributeTargets.Assembly, Inherited = false)]
System\Windows\Forms\Controls\Buttons\ApplicableToButtonAttribute.cs (1)
6[AttributeUsage(AttributeTargets.All)]
System\Windows\Forms\Controls\DataGridView\DataGridViewColumnDesignTimeVisibleAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Class)]
System\Windows\Forms\Controls\ImageList\RelatedImageListAttribute.cs (1)
10[AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = true)]
System\Windows\Forms\Design\ToolStripItemDesignerAvailabilityAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Class)]
System\Windows\Forms\Layout\DockingAttribute.cs (1)
9[AttributeUsage(AttributeTargets.Class)]
System\Windows\Forms\WinCategoryAttribute.cs (1)
11[AttributeUsage(AttributeTargets.All)]
System.Windows.Forms.Design (9)
SRCategoryAttribute.cs (1)
8[AttributeUsage(AttributeTargets.All)]
SRDescriptionAttribute.cs (1)
8[AttributeUsage(AttributeTargets.All)]
SRDisplayNameAttribute.cs (4)
7[AttributeUsage(AttributeTargets.Property | AttributeTargets.Event | AttributeTargets.Class | AttributeTargets.Method)]
System\ComponentModel\Design\ProjectTargetFrameworkAttribute.cs (3)
6[AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface | AttributeTargets.Struct)]
System.Windows.Forms.Tests (3)
System\Windows\Forms\AxHost.AxPropertyDescriptorTests.cs (1)
1368[AttributeUsage(AttributeTargets.All)]
System\Windows\Forms\AxHostTests.cs (2)
3110[AttributeUsage(AttributeTargets.All)] 3115[AttributeUsage(AttributeTargets.All)]
System.Xaml (27)
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\RuntimeIdentifierPropertyAttribute.cs (1)
32[AttributeUsage(AttributeTargets.Class)]
System\Windows\Markup\AcceptedMarkupExtensionExpressionTypeAttribute.cs (1)
8[AttributeUsage(AttributeTargets.Class, AllowMultiple=true, Inherited=true)]
System\Windows\Markup\AmbientAttribute.cs (3)
10[AttributeUsage(AttributeTargets.Property | AttributeTargets.Class | AttributeTargets.Method, Inherited=true)]
System\Windows\Markup\ConstructorArgumentAttribute.cs (1)
15[AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = false)]
System\Windows\Markup\ContentPropertyAttribute.cs (1)
13[AttributeUsage(AttributeTargets.Class, AllowMultiple=false, Inherited=true)]
System\Windows\Markup\ContentWrapperAttribute.cs (1)
14[AttributeUsage(AttributeTargets.Class, AllowMultiple = true, Inherited = true)]
System\Windows\Markup\DependsOnAttribute.cs (2)
18[AttributeUsage(AttributeTargets.Property | AttributeTargets.Method, AllowMultiple = true)]
System\Windows\Markup\DictionaryKeyPropertyAttribute.cs (1)
9[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
System\Windows\Markup\MarkupExtensionBracketCharactersAttribute.cs (1)
11[AttributeUsage(AttributeTargets.Property, AllowMultiple = true, Inherited = false)]
System\Windows\Markup\MarkupExtensionReturnTypeAttribute.cs (1)
10[AttributeUsage(AttributeTargets.Class, AllowMultiple=false, Inherited=true)]
System\Windows\Markup\NameScopePropertyAttribute.cs (1)
9[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
System\Windows\Markup\RootNamespaceAttribute.cs (1)
13[AttributeUsage(AttributeTargets.Assembly)]
System\Windows\Markup\TrimSurroundingWhitespaceAttribute.cs (1)
12[AttributeUsage(AttributeTargets.Class, AllowMultiple=false, Inherited=true)]
System\Windows\Markup\UidPropertyAttribute.cs (1)
22[AttributeUsage(AttributeTargets.Class, AllowMultiple=false)]
System\Windows\Markup\UsableDuringInitializationAttribute.cs (1)
7[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
System\Windows\Markup\WhitespaceSignificantCollectionAttribute.cs (1)
13[AttributeUsage(AttributeTargets.Class, AllowMultiple=false, Inherited=true)]
System\Windows\Markup\XamlDeferLoadAttribute.cs (2)
7[AttributeUsage(AttributeTargets.Property | AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
System\Windows\Markup\XamlSetMarkupExtensionAttribute.cs (1)
7[AttributeUsage(AttributeTargets.Class, Inherited=true, AllowMultiple=false)]
System\Windows\Markup\XamlSetTypeConverterAttribute.cs (1)
7[AttributeUsage(AttributeTargets.Class, Inherited = true, AllowMultiple = false)]
System\Windows\Markup\XmlLangPropertyAttribute.cs (1)
22[AttributeUsage(AttributeTargets.Class, AllowMultiple=false)]
System\Windows\Markup\XmlnsCompatibleWithAttribute.cs (1)
21[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)]
System\Windows\Markup\XmlnsDefinitionAttribute.cs (1)
34[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)]
System\Windows\Markup\XmlnsPrefixAttribute.cs (1)
29[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)]
System.Xaml.Tests (2)
System\Xaml\XamlSchemaContextTests.cs (1)
382{ typeof(XmlnsDefinitionAttribute), new Attribute[] { new AttributeUsageAttribute(AttributeTargets.All) } }
System\Xaml\XamlTypeTests.cs (1)
418{ typeof(XmlnsDefinitionAttribute), new Attribute[] { new AttributeUsageAttribute(AttributeTargets.All) } }
Xunit.NetCore.Extensions (1)
AssemblyFixtureSupport\AssemblyFixtureAttribute.cs (1)
10[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)]