55 references to Delegate
dotnet-svcutil-lib (1)
FrameworkFork\System.ServiceModel\Internals\System\Runtime\Fx.cs (1)
887AttributeTargets.Delegate, AllowMultiple = false, Inherited = false)]
Microsoft.AspNetCore.Http.Extensions (1)
TagsAttribute.cs (1)
18[AttributeUsage(AttributeTargets.Method | AttributeTargets.Delegate | AttributeTargets.Class, Inherited = false, AllowMultiple = false)]
Microsoft.AspNetCore.Routing (3)
EndpointGroupNameAttribute.cs (1)
9[AttributeUsage(AttributeTargets.Method | AttributeTargets.Delegate | AttributeTargets.Class, Inherited = false, AllowMultiple = false)]
EndpointNameAttribute.cs (1)
15[AttributeUsage(AttributeTargets.Method | AttributeTargets.Delegate, Inherited = false, AllowMultiple = false)]
ExcludeFromDescriptionAttribute.cs (1)
13[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method | AttributeTargets.Delegate, AllowMultiple = false, Inherited = true)]
Microsoft.Build.Tasks.CodeAnalysis (1)
src\Dependencies\Contracts\ExperimentalAttribute.cs (1)
39AttributeTargets.Delegate, Inherited = false)]
Microsoft.CodeAnalysis (2)
Symbols\Attributes\AttributeUsageInfo.cs (2)
32Delegate = AttributeTargets.Delegate, 216case AttributeTargets.Delegate: return nameof(CodeAnalysisResources.Delegate1);
Microsoft.CodeAnalysis.CodeStyle (1)
src\Dependencies\Contracts\ExperimentalAttribute.cs (1)
39AttributeTargets.Delegate, Inherited = false)]
Microsoft.CodeAnalysis.CSharp (4)
Symbols\Source\SourceDelegateMethodSymbol.cs (1)
201return System.AttributeTargets.Delegate;
Symbols\Source\SourceNamedTypeSymbol.cs (1)
1952const AttributeTargets expectedTargets = AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Interface | AttributeTargets.Enum | AttributeTargets.Delegate;
Symbols\Symbol_Attributes.cs (1)
74return AttributeTargets.Delegate;
Symbols\Synthesized\SynthesizedEmbeddedNullableContextAttributeSymbol.cs (1)
55AttributeTargets.Class | AttributeTargets.Delegate | AttributeTargets.Interface | AttributeTargets.Method | AttributeTargets.Struct,
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (1)
Attributes\AttributeTests_NullableContext.cs (1)
212var expectedTargets = AttributeTargets.Class | AttributeTargets.Delegate | AttributeTargets.Interface | AttributeTargets.Method | AttributeTargets.Struct;
Microsoft.CodeAnalysis.ExpressionEvaluator.FunctionResolver (1)
src\Dependencies\Contracts\ExperimentalAttribute.cs (1)
39AttributeTargets.Delegate, Inherited = false)]
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider (1)
src\Dependencies\Contracts\ExperimentalAttribute.cs (1)
39AttributeTargets.Delegate, Inherited = false)]
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider.Utilities (1)
src\Dependencies\Contracts\ExperimentalAttribute.cs (1)
39AttributeTargets.Delegate, Inherited = false)]
Microsoft.CodeAnalysis.InteractiveHost (1)
src\Dependencies\Contracts\ExperimentalAttribute.cs (1)
39AttributeTargets.Delegate, Inherited = false)]
Microsoft.CodeAnalysis.Threading.Package (1)
src\Dependencies\Contracts\ExperimentalAttribute.cs (1)
39AttributeTargets.Delegate, Inherited = false)]
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
src\Dependencies\Contracts\ExperimentalAttribute.cs (1)
39AttributeTargets.Delegate, Inherited = false)]
Microsoft.CommonLanguageServerProtocol.Framework.Package (1)
src\Dependencies\Contracts\ExperimentalAttribute.cs (1)
39AttributeTargets.Delegate, Inherited = false)]
Microsoft.Extensions.AsyncState (1)
src\LegacySupport\ExperimentalAttribute\ExperimentalAttribute.cs (1)
17AttributeTargets.Delegate |
Microsoft.Extensions.Caching.Hybrid (1)
src\LegacySupport\ExperimentalAttribute\ExperimentalAttribute.cs (1)
17AttributeTargets.Delegate |
Microsoft.Extensions.Compliance.Redaction (1)
src\LegacySupport\ExperimentalAttribute\ExperimentalAttribute.cs (1)
17AttributeTargets.Delegate |
Microsoft.Extensions.Options.Contextual (1)
src\LegacySupport\ExperimentalAttribute\ExperimentalAttribute.cs (1)
17AttributeTargets.Delegate |
Microsoft.Extensions.Telemetry (1)
src\LegacySupport\ExperimentalAttribute\ExperimentalAttribute.cs (1)
17AttributeTargets.Delegate |
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)]
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)
39AttributeTargets.Delegate, Inherited = false)]
SemanticSearch.BuildTask (1)
src\Dependencies\Contracts\ExperimentalAttribute.cs (1)
39AttributeTargets.Delegate, Inherited = false)]
System.Private.CoreLib (23)
src\libraries\System.Private.CoreLib\src\System\AttributeTargets.cs (1)
32Delegate | ReturnValue | GenericParameter
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)
24AttributeTargets.Delegate, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Contracts\Contracts.cs (2)
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)]
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\ObsoleteAttribute.cs (1)
10AttributeTargets.Interface | AttributeTargets.Constructor | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Event | AttributeTargets.Delegate,
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\NullableContextAttribute.cs (1)
13[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Method | AttributeTargets.Interface | AttributeTargets.Delegate, Inherited = 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\InteropServices\UnmanagedFunctionPointerAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Delegate, AllowMultiple = false, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Runtime\Versioning\ComponentGuaranteesAttribute.cs (1)
8AttributeTargets.Struct | AttributeTargets.Interface | AttributeTargets.Delegate |
src\libraries\System.Private.CoreLib\src\System\Runtime\Versioning\RequiresPreviewFeaturesAttribute.cs (1)
10AttributeTargets.Delegate |
src\libraries\System.Private.CoreLib\src\System\Security\SecurityCriticalAttribute.cs (1)
15AttributeTargets.Delegate,
src\libraries\System.Private.CoreLib\src\System\Security\SecuritySafeCriticalAttribute.cs (1)
14AttributeTargets.Delegate,
src\libraries\System.Private.CoreLib\src\System\Security\SecurityTreatAsSafeAttribute.cs (1)
15AttributeTargets.Delegate,
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)]
src\libraries\System.Private.CoreLib\src\System\SerializableAttribute.cs (1)
8[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum | AttributeTargets.Delegate, Inherited = false)]
System.Reflection.Metadata (1)
System\Reflection\Metadata\TypeSystem\CustomAttribute.cs (1)
180if ((rawValue & 0x00000001) != 0) result |= AttributeTargets.Delegate;