85 references to Enum
dotnet-svcutil-lib (6)
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapTypeAttribute.cs (1)
13[AttributeUsage(AttributeTargets.Class | AttributeTargets.Enum | AttributeTargets.Interface | AttributeTargets.Struct)]
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\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.Runtime.Serialization\System\Runtime\Serialization\DataContractAttribute.cs (1)
7[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum, Inherited = false, AllowMultiple = false)]
FrameworkFork\System.ServiceModel\Internals\System\Runtime\Fx.cs (1)
885AttributeTargets.Struct | AttributeTargets.Enum | AttributeTargets.Constructor | AttributeTargets.Method |
illink (1)
ILLink.RoslynAnalyzer (1)
src\tools\illink\src\ILLink.Shared\ClosedAttribute.cs (1)
9 [AttributeUsage (AttributeTargets.Enum)]
Microsoft.AspNetCore.Mvc.Core (1)
ModelBinderAttribute.cs (1)
22AttributeTargets.Enum |
Microsoft.Build.Tasks.CodeAnalysis (1)
src\Dependencies\Contracts\ExperimentalAttribute.cs (1)
32AttributeTargets.Enum |
Microsoft.CodeAnalysis (2)
Symbols\Attributes\AttributeUsageInfo.cs (2)
24Enum = AttributeTargets.Enum, 217case AttributeTargets.Enum: return nameof(CodeAnalysisResources.Enum1);
Microsoft.CodeAnalysis.CodeStyle (1)
src\Dependencies\Contracts\ExperimentalAttribute.cs (1)
32AttributeTargets.Enum |
Microsoft.CodeAnalysis.CSharp (2)
Symbols\Source\SourceNamedTypeSymbol.cs (1)
1952const AttributeTargets expectedTargets = AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Interface | AttributeTargets.Enum | AttributeTargets.Delegate;
Symbols\Symbol_Attributes.cs (1)
77return AttributeTargets.Enum;
Microsoft.CodeAnalysis.ExpressionEvaluator.FunctionResolver (1)
src\Dependencies\Contracts\ExperimentalAttribute.cs (1)
32AttributeTargets.Enum |
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider (1)
src\Dependencies\Contracts\ExperimentalAttribute.cs (1)
32AttributeTargets.Enum |
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider.Utilities (1)
src\Dependencies\Contracts\ExperimentalAttribute.cs (1)
32AttributeTargets.Enum |
Microsoft.CodeAnalysis.InteractiveHost (1)
src\Dependencies\Contracts\ExperimentalAttribute.cs (1)
32AttributeTargets.Enum |
Microsoft.CodeAnalysis.Threading.Package (1)
src\Dependencies\Contracts\ExperimentalAttribute.cs (1)
32AttributeTargets.Enum |
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
src\Dependencies\Contracts\ExperimentalAttribute.cs (1)
32AttributeTargets.Enum |
Microsoft.CommonLanguageServerProtocol.Framework.Package (1)
src\Dependencies\Contracts\ExperimentalAttribute.cs (1)
32AttributeTargets.Enum |
Microsoft.Extensions.AsyncState (1)
src\LegacySupport\ExperimentalAttribute\ExperimentalAttribute.cs (1)
15AttributeTargets.Enum |
Microsoft.Extensions.Caching.Hybrid (1)
src\LegacySupport\ExperimentalAttribute\ExperimentalAttribute.cs (1)
15AttributeTargets.Enum |
Microsoft.Extensions.Compliance.Redaction (1)
src\LegacySupport\ExperimentalAttribute\ExperimentalAttribute.cs (1)
15AttributeTargets.Enum |
Microsoft.Extensions.Options.Contextual (1)
src\LegacySupport\ExperimentalAttribute\ExperimentalAttribute.cs (1)
15AttributeTargets.Enum |
Microsoft.Extensions.Telemetry (1)
src\LegacySupport\ExperimentalAttribute\ExperimentalAttribute.cs (1)
15AttributeTargets.Enum |
Microsoft.Interop.ComInterfaceGenerator (3)
src\libraries\System.Private.CoreLib\src\System\Runtime\Versioning\PlatformAttributes.cs (3)
55AttributeTargets.Enum | 86AttributeTargets.Enum | 121AttributeTargets.Enum |
Microsoft.Interop.JavaScript.JSImportGenerator (3)
src\libraries\System.Private.CoreLib\src\System\Runtime\Versioning\PlatformAttributes.cs (3)
55AttributeTargets.Enum | 86AttributeTargets.Enum | 121AttributeTargets.Enum |
Microsoft.Interop.LibraryImportGenerator (3)
src\libraries\System.Private.CoreLib\src\System\Runtime\Versioning\PlatformAttributes.cs (3)
55AttributeTargets.Enum | 86AttributeTargets.Enum | 121AttributeTargets.Enum |
Microsoft.Interop.LibraryImportGenerator.Downlevel (3)
src\libraries\System.Private.CoreLib\src\System\Runtime\Versioning\PlatformAttributes.cs (3)
55AttributeTargets.Enum | 86AttributeTargets.Enum | 121AttributeTargets.Enum |
Microsoft.Interop.SourceGeneration (3)
src\libraries\System.Private.CoreLib\src\System\Runtime\Versioning\PlatformAttributes.cs (3)
55AttributeTargets.Enum | 86AttributeTargets.Enum | 121AttributeTargets.Enum |
Microsoft.ML.Core (1)
BestFriendAttribute.cs (1)
24| AttributeTargets.Method | AttributeTargets.Interface | AttributeTargets.Enum | AttributeTargets.Delegate, AllowMultiple = false, Inherited = false)]
Microsoft.ML.CpuMath (1)
src\Microsoft.ML.Core\BestFriendAttribute.cs (1)
24| AttributeTargets.Method | AttributeTargets.Interface | AttributeTargets.Enum | AttributeTargets.Delegate, AllowMultiple = false, Inherited = false)]
PresentationCore (1)
System\Windows\LocalizabilityAttribute.cs (1)
23| AttributeTargets.Enum
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)]
Replay (1)
src\Dependencies\Contracts\ExperimentalAttribute.cs (1)
32AttributeTargets.Enum |
SemanticSearch.BuildTask (1)
src\Dependencies\Contracts\ExperimentalAttribute.cs (1)
32AttributeTargets.Enum |
System.Drawing.Common (3)
src\Common\src\PlatformAttributes.cs (3)
57AttributeTargets.Enum | 90AttributeTargets.Enum | 127AttributeTargets.Enum |
System.Net.Quic (1)
System\Net\Quic\Interop\msquic.cs (1)
95[AttributeUsage(AttributeTargets.Enum | AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.ReturnValue, AllowMultiple = false, Inherited = true)]
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 (22)
src\libraries\System.Private.CoreLib\src\System\AttributeTargets.cs (1)
30All = Assembly | Module | Class | Struct | Enum | Constructor |
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\libraries\System.Private.CoreLib\src\System\Diagnostics\CodeAnalysis\ExperimentalAttribute.cs (1)
17AttributeTargets.Enum |
src\libraries\System.Private.CoreLib\src\System\Diagnostics\DebuggerDisplayAttribute.cs (1)
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\FlagsAttribute.cs (1)
13[AttributeUsage(AttributeTargets.Enum, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\ObsoleteAttribute.cs (1)
9[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum |
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\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\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\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\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\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\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\libraries\System.Private.CoreLib\src\System\Runtime\Versioning\ComponentGuaranteesAttribute.cs (1)
9AttributeTargets.Enum | AttributeTargets.Method | AttributeTargets.Property |
src\libraries\System.Private.CoreLib\src\System\Runtime\Versioning\PlatformAttributes.cs (3)
55AttributeTargets.Enum | 86AttributeTargets.Enum | 121AttributeTargets.Enum |
src\libraries\System.Private.CoreLib\src\System\Runtime\Versioning\RequiresPreviewFeaturesAttribute.cs (1)
12AttributeTargets.Enum |
src\libraries\System.Private.CoreLib\src\System\Security\SecurityCriticalAttribute.cs (1)
10AttributeTargets.Enum |
src\libraries\System.Private.CoreLib\src\System\Security\SecuritySafeCriticalAttribute.cs (1)
9AttributeTargets.Enum |
src\libraries\System.Private.CoreLib\src\System\Security\SecurityTreatAsSafeAttribute.cs (1)
10AttributeTargets.Enum |
src\libraries\System.Private.CoreLib\src\System\SerializableAttribute.cs (1)
8[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum | AttributeTargets.Delegate, Inherited = false)]
System.Private.Xml (4)
System\Xml\Serialization\SoapTypeAttribute.cs (1)
9[AttributeUsage(AttributeTargets.Class | AttributeTargets.Enum | AttributeTargets.Interface | AttributeTargets.Struct)]
System\Xml\Serialization\XmlRootAttribute.cs (1)
18[AttributeUsage(AttributeTargets.ReturnValue | AttributeTargets.Class | AttributeTargets.Enum | 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 & 0x00000002) != 0) result |= AttributeTargets.Enum;
System.Runtime.CompilerServices.VisualC (2)
System\Runtime\CompilerServices\Attributes.cs (2)
96[AttributeUsage(AttributeTargets.Enum)] 114[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum | AttributeTargets.Interface, AllowMultiple = true, Inherited = false)]
System.Runtime.InteropServices (1)
System\Runtime\InteropServices\TypeLibTypeAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface | AttributeTargets.Enum | AttributeTargets.Struct, Inherited = false)]
System.Runtime.Serialization.Primitives (1)
System\Runtime\Serialization\DataContractAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum, Inherited = false, AllowMultiple = false)]
System.Text.Json (1)
System\Text\Json\Serialization\Attributes\JsonConverterAttribute.cs (1)
18[AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface | AttributeTargets.Struct | AttributeTargets.Enum | AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = false)]