191 references to Interface
Aspire.Hosting (1)
Ats\AspireExportAttribute.cs (1)
84AttributeTargets.Method | AttributeTargets.Class | AttributeTargets.Interface | AttributeTargets.Assembly | AttributeTargets.Property,
Aspire.Hosting.RemoteHost.Tests (1)
ThirdPartyAtsAttributes.cs (1)
12AttributeTargets.Method | AttributeTargets.Class | AttributeTargets.Interface | AttributeTargets.Assembly | AttributeTargets.Property,
dotnet-svcutil-lib (10)
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapIncludeAttribute.cs (1)
13[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Interface | AttributeTargets.Method, AllowMultiple = true)]
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapTypeAttribute.cs (1)
13[AttributeUsage(AttributeTargets.Class | AttributeTargets.Enum | AttributeTargets.Interface | AttributeTargets.Struct)]
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlIncludeAttribute.cs (1)
13[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Interface | AttributeTargets.Method, AllowMultiple = true)]
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlRootAttribute.cs (1)
15[AttributeUsage(AttributeTargets.ReturnValue | AttributeTargets.Class | AttributeTargets.Enum | AttributeTargets.Interface | AttributeTargets.Struct)]
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaProviderAttribute.cs (1)
15[AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface | AttributeTargets.Struct)]
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializerAssemblyAttribute.cs (1)
14[AttributeUsage(AttributeTargets.Class | AttributeTargets.Enum | AttributeTargets.Interface | AttributeTargets.Struct, AllowMultiple = false)]
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlTypeAttribute.cs (1)
13[AttributeUsage(AttributeTargets.Class | AttributeTargets.Enum | AttributeTargets.Interface | AttributeTargets.Struct)]
FrameworkFork\System.ServiceModel\Internals\System\Runtime\Fx.cs (1)
886AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Event | AttributeTargets.Interface |
FrameworkFork\System.ServiceModel\System\ServiceModel\ServiceModelAttributeTargets.cs (2)
9public const AttributeTargets ServiceContract = AttributeTargets.Interface | AttributeTargets.Class; 17public const AttributeTargets ClientBehavior = AttributeTargets.Interface;
Microsoft.CodeAnalysis (4)
ImplementationIsObsoleteAttribute.cs (1)
7[AttributeUsage(AttributeTargets.Interface, AllowMultiple = false)]
InternalImplementationOnlyAttribute.cs (1)
11[AttributeUsage(AttributeTargets.Interface, AllowMultiple = false)]
Symbols\Attributes\AttributeUsageInfo.cs (2)
30Interface = AttributeTargets.Interface, 221case AttributeTargets.Interface: return nameof(CodeAnalysisResources.Interface1);
Microsoft.CodeAnalysis.Analyzers (2)
src\roslyn\src\Dependencies\Contracts\CollectionBuilderAttribute.cs (1)
11[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Interface)]
src\roslyn\src\Dependencies\Contracts\ExperimentalAttribute.cs (1)
40AttributeTargets.Interface |
Microsoft.CodeAnalysis.AnalyzerUtilities (2)
src\roslyn\src\Dependencies\Contracts\CollectionBuilderAttribute.cs (1)
11[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Interface)]
src\roslyn\src\Dependencies\Contracts\ExperimentalAttribute.cs (1)
40AttributeTargets.Interface |
Microsoft.CodeAnalysis.CodeStyle (2)
src\roslyn\src\Dependencies\Contracts\CollectionBuilderAttribute.cs (1)
11[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Interface)]
src\roslyn\src\Dependencies\Contracts\ExperimentalAttribute.cs (1)
40AttributeTargets.Interface |
Microsoft.CodeAnalysis.CSharp (4)
Symbols\Source\SourceNamedTypeSymbol.cs (1)
2117const AttributeTargets expectedTargets = AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Interface | AttributeTargets.Enum | AttributeTargets.Delegate;
Symbols\Symbol_Attributes.cs (1)
80return AttributeTargets.Interface;
Symbols\Synthesized\SynthesizedEmbeddedExtensionMarkerNameAttributeSymbol.cs (1)
59AttributeTargets.Field | AttributeTargets.Event | AttributeTargets.Interface | AttributeTargets.Delegate,
Symbols\Synthesized\SynthesizedEmbeddedNullableContextAttributeSymbol.cs (1)
55AttributeTargets.Class | AttributeTargets.Delegate | AttributeTargets.Interface | AttributeTargets.Method | AttributeTargets.Struct,
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (2)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\CSharpSyntaxContext.cs (2)
535SyntaxKind.TypeKeyword => AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum | AttributeTargets.Interface | AttributeTargets.Delegate, 555InterfaceDeclarationSyntax => AttributeTargets.Interface,
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\CSharpSyntaxContext.cs (2)
535SyntaxKind.TypeKeyword => AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum | AttributeTargets.Interface | AttributeTargets.Delegate, 555InterfaceDeclarationSyntax => AttributeTargets.Interface,
Microsoft.CodeAnalysis.Extensions.Package (2)
src\roslyn\src\Dependencies\Contracts\CollectionBuilderAttribute.cs (1)
11[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Interface)]
src\roslyn\src\Dependencies\Contracts\ExperimentalAttribute.cs (1)
40AttributeTargets.Interface |
Microsoft.CodeAnalysis.ResxSourceGenerator (2)
src\roslyn\src\Dependencies\Contracts\CollectionBuilderAttribute.cs (1)
11[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Interface)]
src\roslyn\src\Dependencies\Contracts\ExperimentalAttribute.cs (1)
40AttributeTargets.Interface |
Microsoft.Extensions.AI (3)
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\ExperimentalAttribute\ExperimentalAttribute.cs (1)
16AttributeTargets.Interface |
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\SkipLocalsInitAttribute\SkipLocalsInitAttribute.cs (1)
30| AttributeTargets.Interface
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\TrimAttributes\DynamicallyAccessedMembersAttribute.cs (1)
40AttributeTargets.Class | AttributeTargets.Interface | AttributeTargets.Struct,
Microsoft.Extensions.AI.Abstractions (3)
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\ExperimentalAttribute\ExperimentalAttribute.cs (1)
16AttributeTargets.Interface |
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\SkipLocalsInitAttribute\SkipLocalsInitAttribute.cs (1)
30| AttributeTargets.Interface
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\TrimAttributes\DynamicallyAccessedMembersAttribute.cs (1)
40AttributeTargets.Class | AttributeTargets.Interface | AttributeTargets.Struct,
Microsoft.Extensions.AsyncState (3)
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\ExperimentalAttribute\ExperimentalAttribute.cs (1)
16AttributeTargets.Interface |
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\SkipLocalsInitAttribute\SkipLocalsInitAttribute.cs (1)
30| AttributeTargets.Interface
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\TrimAttributes\DynamicallyAccessedMembersAttribute.cs (1)
40AttributeTargets.Class | AttributeTargets.Interface | AttributeTargets.Struct,
Microsoft.Extensions.Compliance.Abstractions (1)
Classification\DataClassificationAttribute.cs (1)
17| AttributeTargets.Interface
Microsoft.Extensions.Compliance.Redaction (3)
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\ExperimentalAttribute\ExperimentalAttribute.cs (1)
16AttributeTargets.Interface |
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\SkipLocalsInitAttribute\SkipLocalsInitAttribute.cs (1)
30| AttributeTargets.Interface
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\TrimAttributes\DynamicallyAccessedMembersAttribute.cs (1)
40AttributeTargets.Class | AttributeTargets.Interface | AttributeTargets.Struct,
Microsoft.Extensions.Compliance.Testing (3)
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\ExperimentalAttribute\ExperimentalAttribute.cs (1)
16AttributeTargets.Interface |
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\SkipLocalsInitAttribute\SkipLocalsInitAttribute.cs (1)
30| AttributeTargets.Interface
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\TrimAttributes\DynamicallyAccessedMembersAttribute.cs (1)
40AttributeTargets.Class | AttributeTargets.Interface | AttributeTargets.Struct,
Microsoft.Extensions.DataIngestion.Abstractions (2)
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\SkipLocalsInitAttribute\SkipLocalsInitAttribute.cs (1)
30| AttributeTargets.Interface
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\TrimAttributes\DynamicallyAccessedMembersAttribute.cs (1)
40AttributeTargets.Class | AttributeTargets.Interface | AttributeTargets.Struct,
Microsoft.Extensions.DependencyInjection.AutoActivation (2)
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\SkipLocalsInitAttribute\SkipLocalsInitAttribute.cs (1)
30| AttributeTargets.Interface
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\TrimAttributes\DynamicallyAccessedMembersAttribute.cs (1)
40AttributeTargets.Class | AttributeTargets.Interface | AttributeTargets.Struct,
Microsoft.Extensions.Diagnostics.HealthChecks.Common (2)
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\SkipLocalsInitAttribute\SkipLocalsInitAttribute.cs (1)
30| AttributeTargets.Interface
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\TrimAttributes\DynamicallyAccessedMembersAttribute.cs (1)
40AttributeTargets.Class | AttributeTargets.Interface | AttributeTargets.Struct,
Microsoft.Extensions.Diagnostics.Probes (3)
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\ExperimentalAttribute\ExperimentalAttribute.cs (1)
16AttributeTargets.Interface |
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\SkipLocalsInitAttribute\SkipLocalsInitAttribute.cs (1)
30| AttributeTargets.Interface
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\TrimAttributes\DynamicallyAccessedMembersAttribute.cs (1)
40AttributeTargets.Class | AttributeTargets.Interface | AttributeTargets.Struct,
Microsoft.Extensions.Diagnostics.ResourceMonitoring (7)
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\ExperimentalAttribute\ExperimentalAttribute.cs (1)
16AttributeTargets.Interface |
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\ObsoleteAttribute\ObsoleteAttribute.cs (1)
22AttributeTargets.Interface | AttributeTargets.Constructor | AttributeTargets.Method |
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\SkipLocalsInitAttribute\SkipLocalsInitAttribute.cs (1)
30| AttributeTargets.Interface
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\TrimAttributes\DynamicallyAccessedMembersAttribute.cs (1)
40AttributeTargets.Class | AttributeTargets.Interface | AttributeTargets.Struct,
PlatformAttributes.cs (3)
55AttributeTargets.Interface | 81AttributeTargets.Interface | 111AttributeTargets.Interface |
Microsoft.Extensions.Diagnostics.Testing (3)
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\ExperimentalAttribute\ExperimentalAttribute.cs (1)
16AttributeTargets.Interface |
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\SkipLocalsInitAttribute\SkipLocalsInitAttribute.cs (1)
30| AttributeTargets.Interface
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\TrimAttributes\DynamicallyAccessedMembersAttribute.cs (1)
40AttributeTargets.Class | AttributeTargets.Interface | AttributeTargets.Struct,
Microsoft.Extensions.Http.Diagnostics (1)
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\SkipLocalsInitAttribute\SkipLocalsInitAttribute.cs (1)
30| AttributeTargets.Interface
Microsoft.Extensions.Http.Resilience (3)
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\ExperimentalAttribute\ExperimentalAttribute.cs (1)
16AttributeTargets.Interface |
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\SkipLocalsInitAttribute\SkipLocalsInitAttribute.cs (1)
30| AttributeTargets.Interface
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\TrimAttributes\DynamicallyAccessedMembersAttribute.cs (1)
40AttributeTargets.Class | AttributeTargets.Interface | AttributeTargets.Struct,
Microsoft.Extensions.ServiceDiscovery (2)
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\SkipLocalsInitAttribute\SkipLocalsInitAttribute.cs (1)
30| AttributeTargets.Interface
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\TrimAttributes\DynamicallyAccessedMembersAttribute.cs (1)
40AttributeTargets.Class | AttributeTargets.Interface | AttributeTargets.Struct,
Microsoft.Extensions.ServiceDiscovery.Abstractions (2)
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\SkipLocalsInitAttribute\SkipLocalsInitAttribute.cs (1)
30| AttributeTargets.Interface
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\TrimAttributes\DynamicallyAccessedMembersAttribute.cs (1)
40AttributeTargets.Class | AttributeTargets.Interface | AttributeTargets.Struct,
Microsoft.Extensions.Telemetry (4)
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\ExperimentalAttribute\ExperimentalAttribute.cs (1)
16AttributeTargets.Interface |
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\ObsoleteAttribute\ObsoleteAttribute.cs (1)
22AttributeTargets.Interface | AttributeTargets.Constructor | AttributeTargets.Method |
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\SkipLocalsInitAttribute\SkipLocalsInitAttribute.cs (1)
30| AttributeTargets.Interface
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\TrimAttributes\DynamicallyAccessedMembersAttribute.cs (1)
40AttributeTargets.Class | AttributeTargets.Interface | AttributeTargets.Struct,
Microsoft.Extensions.TimeProvider.Testing (2)
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\SkipLocalsInitAttribute\SkipLocalsInitAttribute.cs (1)
30| AttributeTargets.Interface
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\TrimAttributes\DynamicallyAccessedMembersAttribute.cs (1)
40AttributeTargets.Class | AttributeTargets.Interface | AttributeTargets.Struct,
Microsoft.Extensions.VectorData.ConformanceTests (2)
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\SkipLocalsInitAttribute\SkipLocalsInitAttribute.cs (1)
30| AttributeTargets.Interface
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\TrimAttributes\DynamicallyAccessedMembersAttribute.cs (1)
40AttributeTargets.Class | AttributeTargets.Interface | AttributeTargets.Struct,
Microsoft.Gen.BuildMetadata (1)
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\ExperimentalAttribute\ExperimentalAttribute.cs (1)
16AttributeTargets.Interface |
Microsoft.Interop.ComInterfaceGenerator (3)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\Versioning\PlatformAttributes.cs (3)
58AttributeTargets.Interface | 89AttributeTargets.Interface | 124AttributeTargets.Interface |
Microsoft.Interop.JavaScript.JSImportGenerator (3)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\Versioning\PlatformAttributes.cs (3)
58AttributeTargets.Interface | 89AttributeTargets.Interface | 124AttributeTargets.Interface |
Microsoft.Interop.LibraryImportGenerator (3)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\Versioning\PlatformAttributes.cs (3)
58AttributeTargets.Interface | 89AttributeTargets.Interface | 124AttributeTargets.Interface |
Microsoft.Interop.LibraryImportGenerator.Downlevel (3)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\Versioning\PlatformAttributes.cs (3)
58AttributeTargets.Interface | 89AttributeTargets.Interface | 124AttributeTargets.Interface |
Microsoft.Interop.SourceGeneration (3)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\Versioning\PlatformAttributes.cs (3)
58AttributeTargets.Interface | 89AttributeTargets.Interface | 124AttributeTargets.Interface |
Microsoft.ML.Core (2)
BestFriendAttribute.cs (1)
24| AttributeTargets.Method | AttributeTargets.Interface | AttributeTargets.Enum | AttributeTargets.Delegate, AllowMultiple = false, Inherited = false)]
EntryPoints\ModuleArgs.cs (1)
82[AttributeUsage(AttributeTargets.Interface)]
Microsoft.ML.CpuMath (1)
src\Microsoft.ML.Core\BestFriendAttribute.cs (1)
24| AttributeTargets.Method | AttributeTargets.Interface | AttributeTargets.Enum | AttributeTargets.Delegate, AllowMultiple = false, Inherited = false)]
Microsoft.Private.Windows.Core (9)
_generated\295\System.Diagnostics.CodeAnalysis.ExperimentalAttribute.g.cs (1)
28global::System.AttributeTargets.Interface |
_generated\307\System.Runtime.CompilerServices.AsyncMethodBuilderAttribute.g.cs (1)
18global::System.AttributeTargets.Interface |
_generated\309\System.Runtime.CompilerServices.CollectionBuilderAttribute.g.cs (1)
13global::System.AttributeTargets.Interface,
_generated\318\System.Runtime.CompilerServices.SkipLocalsInitAttribute.g.cs (1)
17global::System.AttributeTargets.Interface |
_generated\319\System.Runtime.Versioning.RequiresPreviewFeaturesAttribute.g.cs (1)
14global::System.AttributeTargets.Interface |
src\winforms\src\Microsoft.Private.Windows.Polyfills\System\Diagnostics\CodeAnalysis\DynamicallyAccessedMembersAttribute.cs (1)
37AttributeTargets.Class | AttributeTargets.Interface | AttributeTargets.Struct,
src\winforms\src\Microsoft.Private.Windows.Polyfills\System\Runtime\Versioning\PlatformAttributes.cs (3)
61AttributeTargets.Interface | 93AttributeTargets.Interface | 140AttributeTargets.Interface |
PresentationFramework (1)
MS\Internal\WindowsRuntime\Generated\WinRT\Attributes.cs (1)
36[AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface | AttributeTargets.Delegate | AttributeTargets.Struct | AttributeTargets.Enum, Inherited = false, AllowMultiple = false)]
Roslyn.Diagnostics.Analyzers (2)
src\roslyn\src\Dependencies\Contracts\CollectionBuilderAttribute.cs (1)
11[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Interface)]
src\roslyn\src\Dependencies\Contracts\ExperimentalAttribute.cs (1)
40AttributeTargets.Interface |
Roslyn.Diagnostics.CSharp.Analyzers (2)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\CSharpSyntaxContext.cs (2)
535SyntaxKind.TypeKeyword => AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum | AttributeTargets.Interface | AttributeTargets.Delegate, 555InterfaceDeclarationSyntax => AttributeTargets.Interface,
System.ComponentModel.Composition (3)
System\ComponentModel\Composition\ExportMetadataAttribute.cs (1)
10[AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface | AttributeTargets.Property | AttributeTargets.Method | AttributeTargets.Field,
System\ComponentModel\Composition\InheritedExportAttribute.cs (1)
11[AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface, AllowMultiple = true, Inherited = true)]
System\ComponentModel\Composition\MetadataViewImplementationAttribute.cs (1)
9[AttributeUsage(AttributeTargets.Interface, AllowMultiple = false, Inherited = false)]
System.ComponentModel.Primitives (2)
System\ComponentModel\Design\Serialization\DesignerSerializerAttribute.cs (1)
11[AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface, AllowMultiple = true, Inherited = true)]
System\ComponentModel\DesignerAttribute.cs (1)
11[AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface, AllowMultiple = true, Inherited = true)]
System.ComponentModel.TypeConverter (2)
System\ComponentModel\Design\Serialization\RootDesignerSerializerAttribute.cs (1)
11[AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface, AllowMultiple = true, Inherited = true)]
System\ComponentModel\DesignTimeVisibleAttribute.cs (1)
14[AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface)]
System.Composition.AttributedModel (1)
System\Composition\ExportMetadataAttribute.cs (1)
10[AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface | AttributeTargets.Property,
System.ObjectModel (1)
System\Windows\Markup\ValueSerializerAttribute.cs (1)
15[AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface | AttributeTargets.Struct | AttributeTargets.Enum | AttributeTargets.Property | AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
System.Private.CoreLib (37)
src\runtime\src\libraries\System.Private.CoreLib\src\System\AttributeTargets.cs (1)
31Method | Property | Field | Event | Interface | Parameter |
src\runtime\src\libraries\System.Private.CoreLib\src\System\ComponentModel\EditorBrowsableAttribute.cs (1)
8[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum | AttributeTargets.Constructor | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Event | AttributeTargets.Delegate | AttributeTargets.Interface)]
src\runtime\src\libraries\System.Private.CoreLib\src\System\Diagnostics\CodeAnalysis\DynamicallyAccessedMembersAttribute.cs (1)
34AttributeTargets.Class | AttributeTargets.Interface | AttributeTargets.Struct,
src\runtime\src\libraries\System.Private.CoreLib\src\System\Diagnostics\CodeAnalysis\ExcludeFromCodeCoverageAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Constructor | AttributeTargets.Event | AttributeTargets.Interface | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Struct, Inherited = false, AllowMultiple = false)]
src\runtime\src\libraries\System.Private.CoreLib\src\System\Diagnostics\CodeAnalysis\ExperimentalAttribute.cs (1)
23AttributeTargets.Interface |
src\runtime\src\libraries\System.Private.CoreLib\src\System\Diagnostics\Contracts\Contracts.cs (1)
42[AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface | AttributeTargets.Delegate, AllowMultiple = false, Inherited = false)]
src\runtime\src\libraries\System.Private.CoreLib\src\System\Diagnostics\StackTraceHiddenAttribute.cs (1)
10[AttributeUsage(AttributeTargets.Class | AttributeTargets.Constructor | AttributeTargets.Interface | AttributeTargets.Method | AttributeTargets.Struct, Inherited = false)]
src\runtime\src\libraries\System.Private.CoreLib\src\System\ObsoleteAttribute.cs (1)
10AttributeTargets.Interface | AttributeTargets.Constructor | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Event | AttributeTargets.Delegate,
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\DefaultMemberAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Interface)]
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\ObfuscationAttribute.cs (1)
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\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\AsyncMethodBuilderAttribute.cs (1)
11[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Interface | AttributeTargets.Delegate | AttributeTargets.Enum | AttributeTargets.Method, Inherited = false, AllowMultiple = false)]
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\CollectionBuilderAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Interface, Inherited = false)]
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\ExtensionMarkerAttribute.cs (1)
13[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Event | AttributeTargets.Interface | AttributeTargets.Delegate, Inherited = false)]
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\IntrinsicAttribute.cs (1)
9[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Method | AttributeTargets.Constructor | AttributeTargets.Field | AttributeTargets.Interface, Inherited = false)]
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\NullableContextAttribute.cs (1)
13[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Method | AttributeTargets.Interface | AttributeTargets.Delegate, Inherited = false)]
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\SkipLocalsInitAttribute.cs (1)
23| AttributeTargets.Interface
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\TypeForwardedFromAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum | AttributeTargets.Interface | AttributeTargets.Delegate, Inherited = false, AllowMultiple = false)]
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\ConstrainedExecution\ReliabilityContractAttribute.cs (1)
10[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Constructor | AttributeTargets.Method | AttributeTargets.Interface /* | AttributeTargets.Delegate*/, Inherited = false)]
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\BestFitMappingAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Interface | AttributeTargets.Class | AttributeTargets.Struct, Inherited = false)]
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\CoClassAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Interface, Inherited = false)]
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\ComEventInterfaceAttribute.cs (1)
9[AttributeUsage(AttributeTargets.Interface, Inherited = false)]
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\ComImportAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface, Inherited = false)]
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\ComVisibleAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Interface | AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Delegate | AttributeTargets.Enum | AttributeTargets.Field | AttributeTargets.Method | AttributeTargets.Property, Inherited = false)]
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\GuidAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Interface | AttributeTargets.Class | AttributeTargets.Enum | AttributeTargets.Struct | AttributeTargets.Delegate, Inherited = false)]
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\IDynamicInterfaceCastable.cs (1)
58[AttributeUsage(AttributeTargets.Interface, AllowMultiple = false, Inherited = false)]
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\InterfaceTypeAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Interface, Inherited = false)]
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\Marshalling\NativeMarshallingAttribute.cs (1)
15[AttributeUsage(AttributeTargets.Struct | AttributeTargets.Class | AttributeTargets.Enum | AttributeTargets.Interface | AttributeTargets.Delegate)]
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\TypeIdentifierAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Interface | AttributeTargets.Enum | AttributeTargets.Struct | AttributeTargets.Delegate, AllowMultiple = false, Inherited = false)]
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\Versioning\ComponentGuaranteesAttribute.cs (1)
8AttributeTargets.Struct | AttributeTargets.Interface | AttributeTargets.Delegate |
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\Versioning\PlatformAttributes.cs (3)
58AttributeTargets.Interface | 89AttributeTargets.Interface | 124AttributeTargets.Interface |
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\Versioning\RequiresPreviewFeaturesAttribute.cs (1)
9AttributeTargets.Interface |
src\runtime\src\libraries\System.Private.CoreLib\src\System\Security\SecurityCriticalAttribute.cs (1)
14AttributeTargets.Interface |
src\runtime\src\libraries\System.Private.CoreLib\src\System\Security\SecuritySafeCriticalAttribute.cs (1)
13AttributeTargets.Interface |
src\runtime\src\libraries\System.Private.CoreLib\src\System\Security\SecurityTreatAsSafeAttribute.cs (1)
14AttributeTargets.Interface |
src\runtime\src\libraries\System.Private.CoreLib\src\System\Security\SuppressUnmanagedCodeSecurityAttribute.cs (1)
7[AttributeUsage(AttributeTargets.Method | AttributeTargets.Class | AttributeTargets.Interface | AttributeTargets.Delegate, AllowMultiple = true, Inherited = false)]
System.Private.StackTraceMetadata (1)
src\runtime\src\coreclr\nativeaot\Runtime.Base\src\System\Runtime\CompilerServices\IntrinsicAttribute.cs (1)
7[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Method | AttributeTargets.Constructor | AttributeTargets.Field | AttributeTargets.Interface, Inherited = false)]
System.Private.TypeLoader (1)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\IntrinsicAttribute.cs (1)
9[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Method | AttributeTargets.Constructor | AttributeTargets.Field | AttributeTargets.Interface, Inherited = false)]
System.Private.Xml (7)
System\Xml\Serialization\SoapIncludeAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Interface | AttributeTargets.Method, AllowMultiple = true)]
System\Xml\Serialization\SoapTypeAttribute.cs (1)
9[AttributeUsage(AttributeTargets.Class | AttributeTargets.Enum | AttributeTargets.Interface | AttributeTargets.Struct)]
System\Xml\Serialization\XmlIncludeAttribute.cs (1)
11[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Interface | AttributeTargets.Method, AllowMultiple = true)]
System\Xml\Serialization\XmlRootAttribute.cs (1)
18[AttributeUsage(AttributeTargets.ReturnValue | AttributeTargets.Class | AttributeTargets.Enum | AttributeTargets.Interface | AttributeTargets.Struct)]
System\Xml\Serialization\XmlSchemaProviderAttribute.cs (1)
12[AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface | AttributeTargets.Struct)]
System\Xml\Serialization\XmlSerializerAssemblyAttribute.cs (1)
8[AttributeUsage(AttributeTargets.Class | AttributeTargets.Enum | AttributeTargets.Interface | AttributeTargets.Struct, AllowMultiple = false)]
System\Xml\Serialization\XmlTypeAttribute.cs (1)
12[AttributeUsage(AttributeTargets.Class | AttributeTargets.Enum | AttributeTargets.Interface | AttributeTargets.Struct)]
System.Reflection.Metadata (1)
System\Reflection\Metadata\TypeSystem\CustomAttribute.cs (1)
181if ((rawValue & 0x00000010) != 0) result |= AttributeTargets.Interface;
System.Runtime.CompilerServices.VisualC (1)
System\Runtime\CompilerServices\Attributes.cs (1)
114[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum | AttributeTargets.Interface, AllowMultiple = true, Inherited = false)]
System.Runtime.InteropServices (5)
System\Runtime\InteropServices\AutomationProxyAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Interface, Inherited = false)]
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\TypeLibImportClassAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Interface, Inherited = false)]
System\Runtime\InteropServices\TypeLibTypeAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface | AttributeTargets.Enum | AttributeTargets.Struct, Inherited = false)]
System.ServiceModel.Primitives (3)
Internals\System\Runtime\Fx.cs (1)
872AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Event | AttributeTargets.Interface |
System\ServiceModel\ServiceModelAttributeTargets.cs (2)
10public const AttributeTargets ServiceContract = AttributeTargets.Interface | AttributeTargets.Class; 18public const AttributeTargets ClientBehavior = AttributeTargets.Interface;
System.Text.Json (7)
System\Text\Json\Serialization\Attributes\JsonConverterAttribute.cs (1)
18[AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface | AttributeTargets.Struct | AttributeTargets.Enum | AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = false)]
System\Text\Json\Serialization\Attributes\JsonDerivedTypeAttribute.cs (1)
9[AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface, AllowMultiple = true, Inherited = false)]
System\Text\Json\Serialization\Attributes\JsonIgnoreAttribute.cs (1)
11[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Interface | AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = false)]
System\Text\Json\Serialization\Attributes\JsonNamingPolicyAttribute.cs (1)
18AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Interface |
System\Text\Json\Serialization\Attributes\JsonObjectCreationHandlingAttribute.cs (1)
31[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Interface, AllowMultiple = false)]
System\Text\Json\Serialization\Attributes\JsonPolymorphicAttribute.cs (1)
11[AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface, AllowMultiple = false, Inherited = false)]
System\Text\Json\Serialization\Attributes\JsonUnmappedMemberHandlingAttribute.cs (1)
10[AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface | AttributeTargets.Struct,
System.Windows.Forms.Design (1)
System\ComponentModel\Design\ProjectTargetFrameworkAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface | AttributeTargets.Struct)]