89 references to Event
dotnet-svcutil-lib (1)
FrameworkFork\System.ServiceModel\Internals\System\Runtime\Fx.cs (1)
886AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Event | AttributeTargets.Interface |
Microsoft.Build.Tasks.CodeAnalysis (1)
src\Dependencies\Contracts\ExperimentalAttribute.cs (1)
37AttributeTargets.Event |
Microsoft.CodeAnalysis (2)
Symbols\Attributes\AttributeUsageInfo.cs (2)
29Event = AttributeTargets.Event, 218case AttributeTargets.Event: return nameof(CodeAnalysisResources.Event1);
Microsoft.CodeAnalysis.CodeStyle (1)
src\Dependencies\Contracts\ExperimentalAttribute.cs (1)
37AttributeTargets.Event |
Microsoft.CodeAnalysis.CSharp (3)
Symbols\Symbol_Attributes.cs (1)
104return AttributeTargets.Event;
Symbols\Synthesized\SynthesizedEmbeddedNativeIntegerAttributeSymbol.cs (1)
67AttributeTargets.Class | AttributeTargets.Event | AttributeTargets.Field | AttributeTargets.GenericParameter | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue,
Symbols\Synthesized\SynthesizedEmbeddedNullableAttributeSymbol.cs (1)
71AttributeTargets.Class | AttributeTargets.Event | AttributeTargets.Field | AttributeTargets.GenericParameter | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue,
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (3)
Attributes\AttributeTests.cs (1)
4086attr.VerifyValue(0, TypedConstantKind.Enum, (int)(AttributeTargets.Field | AttributeTargets.Event));
Attributes\AttributeTests_NativeInteger.cs (1)
1470AttributeTargets.Event |
Attributes\AttributeTests_Nullable.cs (1)
4978var expectedTargets = AttributeTargets.Class | AttributeTargets.Event | AttributeTargets.Field | AttributeTargets.GenericParameter | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue;
Microsoft.CodeAnalysis.ExpressionEvaluator.FunctionResolver (1)
src\Dependencies\Contracts\ExperimentalAttribute.cs (1)
37AttributeTargets.Event |
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider (1)
src\Dependencies\Contracts\ExperimentalAttribute.cs (1)
37AttributeTargets.Event |
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider.Utilities (1)
src\Dependencies\Contracts\ExperimentalAttribute.cs (1)
37AttributeTargets.Event |
Microsoft.CodeAnalysis.InteractiveHost (1)
src\Dependencies\Contracts\ExperimentalAttribute.cs (1)
37AttributeTargets.Event |
Microsoft.CodeAnalysis.Threading.Package (1)
src\Dependencies\Contracts\ExperimentalAttribute.cs (1)
37AttributeTargets.Event |
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
src\Dependencies\Contracts\ExperimentalAttribute.cs (1)
37AttributeTargets.Event |
Microsoft.CommonLanguageServerProtocol.Framework.Package (1)
src\Dependencies\Contracts\ExperimentalAttribute.cs (1)
37AttributeTargets.Event |
Microsoft.Extensions.AmbientMetadata.Application (2)
src\LegacySupport\SkipLocalsInitAttribute\SkipLocalsInitAttribute.cs (1)
34| AttributeTargets.Event, Inherited = false)]
src\LegacySupport\TrimAttributes\RequiresAssemblyFilesAttribute.cs (1)
20AttributeTargets.Event |
Microsoft.Extensions.AsyncState (3)
src\LegacySupport\ExperimentalAttribute\ExperimentalAttribute.cs (1)
22AttributeTargets.Event |
src\LegacySupport\SkipLocalsInitAttribute\SkipLocalsInitAttribute.cs (1)
34| AttributeTargets.Event, Inherited = false)]
src\LegacySupport\TrimAttributes\RequiresAssemblyFilesAttribute.cs (1)
20AttributeTargets.Event |
Microsoft.Extensions.Caching.Hybrid (3)
src\LegacySupport\ExperimentalAttribute\ExperimentalAttribute.cs (1)
22AttributeTargets.Event |
src\LegacySupport\SkipLocalsInitAttribute\SkipLocalsInitAttribute.cs (1)
34| AttributeTargets.Event, Inherited = false)]
src\LegacySupport\TrimAttributes\RequiresAssemblyFilesAttribute.cs (1)
20AttributeTargets.Event |
Microsoft.Extensions.Compliance.Redaction (3)
src\LegacySupport\ExperimentalAttribute\ExperimentalAttribute.cs (1)
22AttributeTargets.Event |
src\LegacySupport\SkipLocalsInitAttribute\SkipLocalsInitAttribute.cs (1)
34| AttributeTargets.Event, Inherited = false)]
src\LegacySupport\TrimAttributes\RequiresAssemblyFilesAttribute.cs (1)
20AttributeTargets.Event |
Microsoft.Extensions.Http.Diagnostics (1)
src\LegacySupport\SkipLocalsInitAttribute\SkipLocalsInitAttribute.cs (1)
34| AttributeTargets.Event, Inherited = false)]
Microsoft.Extensions.Options.Contextual (3)
src\LegacySupport\ExperimentalAttribute\ExperimentalAttribute.cs (1)
22AttributeTargets.Event |
src\LegacySupport\SkipLocalsInitAttribute\SkipLocalsInitAttribute.cs (1)
34| AttributeTargets.Event, Inherited = false)]
src\LegacySupport\TrimAttributes\RequiresAssemblyFilesAttribute.cs (1)
20AttributeTargets.Event |
Microsoft.Extensions.Resilience (2)
src\LegacySupport\SkipLocalsInitAttribute\SkipLocalsInitAttribute.cs (1)
34| AttributeTargets.Event, Inherited = false)]
src\LegacySupport\TrimAttributes\RequiresAssemblyFilesAttribute.cs (1)
20AttributeTargets.Event |
Microsoft.Extensions.Telemetry (3)
src\LegacySupport\ExperimentalAttribute\ExperimentalAttribute.cs (1)
22AttributeTargets.Event |
src\LegacySupport\SkipLocalsInitAttribute\SkipLocalsInitAttribute.cs (1)
34| AttributeTargets.Event, Inherited = false)]
src\LegacySupport\TrimAttributes\RequiresAssemblyFilesAttribute.cs (1)
20AttributeTargets.Event |
Microsoft.Interop.ComInterfaceGenerator (3)
src\libraries\System.Private.CoreLib\src\System\Runtime\Versioning\PlatformAttributes.cs (3)
56AttributeTargets.Event | 87AttributeTargets.Event | 122AttributeTargets.Event |
Microsoft.Interop.JavaScript.JSImportGenerator (3)
src\libraries\System.Private.CoreLib\src\System\Runtime\Versioning\PlatformAttributes.cs (3)
56AttributeTargets.Event | 87AttributeTargets.Event | 122AttributeTargets.Event |
Microsoft.Interop.LibraryImportGenerator (3)
src\libraries\System.Private.CoreLib\src\System\Runtime\Versioning\PlatformAttributes.cs (3)
56AttributeTargets.Event | 87AttributeTargets.Event | 122AttributeTargets.Event |
Microsoft.Interop.LibraryImportGenerator.Downlevel (3)
src\libraries\System.Private.CoreLib\src\System\Runtime\Versioning\PlatformAttributes.cs (3)
56AttributeTargets.Event | 87AttributeTargets.Event | 122AttributeTargets.Event |
Microsoft.Interop.SourceGeneration (3)
src\libraries\System.Private.CoreLib\src\System\Runtime\Versioning\PlatformAttributes.cs (3)
56AttributeTargets.Event | 87AttributeTargets.Event | 122AttributeTargets.Event |
Replay (1)
src\Dependencies\Contracts\ExperimentalAttribute.cs (1)
37AttributeTargets.Event |
SemanticSearch.BuildTask (1)
src\Dependencies\Contracts\ExperimentalAttribute.cs (1)
37AttributeTargets.Event |
Shared (2)
src\LegacySupport\SkipLocalsInitAttribute\SkipLocalsInitAttribute.cs (1)
34| AttributeTargets.Event, Inherited = false)]
src\LegacySupport\TrimAttributes\RequiresAssemblyFilesAttribute.cs (1)
20AttributeTargets.Event |
System.ComponentModel.Primitives (2)
System\ComponentModel\DesignerSerializationVisibilityAttribute.cs (1)
12[AttributeUsage(AttributeTargets.Property | AttributeTargets.Method | AttributeTargets.Field | AttributeTargets.Event)]
System\ComponentModel\DisplayNameAttribute.cs (1)
12[AttributeUsage(AttributeTargets.Property | AttributeTargets.Event | AttributeTargets.Class | AttributeTargets.Method)]
System.ComponentModel.TypeConverter (1)
System\ComponentModel\InheritanceAttribute.cs (1)
12[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Event)]
System.Diagnostics.TraceSource (1)
System\Diagnostics\SwitchAttribute.cs (1)
11AttributeTargets.Event | AttributeTargets.Method | AttributeTargets.Property)]
System.Drawing.Common (3)
src\Common\src\PlatformAttributes.cs (3)
58AttributeTargets.Event | 91AttributeTargets.Event | 128AttributeTargets.Event |
System.Private.CoreLib (18)
src\libraries\System.Private.CoreLib\src\System\AttributeTargets.cs (1)
31Method | Property | Field | Event | Interface | Parameter |
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\ExcludeFromCodeCoverageAttribute.cs (1)
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 (1)
22AttributeTargets.Event |
src\libraries\System.Private.CoreLib\src\System\Diagnostics\CodeAnalysis\RequiresAssemblyFilesAttribute.cs (1)
10AttributeTargets.Event |
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Contracts\Contracts.cs (1)
32[AttributeUsage(AttributeTargets.Constructor | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Event | AttributeTargets.Delegate | AttributeTargets.Class | AttributeTargets.Parameter, AllowMultiple = false, Inherited = 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\NullableAttribute.cs (1)
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\SkipLocalsInitAttribute.cs (1)
27| AttributeTargets.Event, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\SpecialNameAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Event | AttributeTargets.Struct)]
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\TupleElementNamesAttribute.cs (1)
12[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue | AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Event)]
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\DispIdAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Method | AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Event, Inherited = false)]
src\libraries\System.Private.CoreLib\src\System\Runtime\Versioning\ComponentGuaranteesAttribute.cs (1)
10AttributeTargets.Constructor | AttributeTargets.Event,
src\libraries\System.Private.CoreLib\src\System\Runtime\Versioning\PlatformAttributes.cs (3)
56AttributeTargets.Event | 87AttributeTargets.Event | 122AttributeTargets.Event |
src\libraries\System.Private.CoreLib\src\System\Runtime\Versioning\RequiresPreviewFeaturesAttribute.cs (1)
17AttributeTargets.Event, Inherited = false)]
System.Reflection.Metadata (1)
System\Reflection\Metadata\TypeSystem\CustomAttribute.cs (1)
182if ((rawValue & 0x00000004) != 0) result |= AttributeTargets.Event;
System.Runtime.CompilerServices.VisualC (1)
System\Runtime\CompilerServices\Attributes.cs (1)
126AttributeTargets.Event |
System.Security.Permissions (4)
System\Diagnostics\EventLogPermissionAttribute.cs (1)
13| AttributeTargets.Constructor | AttributeTargets.Method | AttributeTargets.Event, AllowMultiple = true, Inherited = false)]
System\Diagnostics\PerformanceCounterPermissionAttribute.cs (1)
11[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Constructor | AttributeTargets.Method | AttributeTargets.Event,
System\DirectoryServices\DirectoryServicesPermissionAttribute.cs (1)
11AttributeTargets.Constructor | AttributeTargets.Method | AttributeTargets.Event,
System\ServiceProcess\ServiceControllerPermissionAttribute.cs (1)
12[AttributeUsage(AttributeTargets.Method | AttributeTargets.Constructor | AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Assembly | AttributeTargets.Event, AllowMultiple = true, Inherited = false)]
System.Windows.Forms.Design (1)
SRDisplayNameAttribute.cs (1)
7[AttributeUsage(AttributeTargets.Property | AttributeTargets.Event | AttributeTargets.Class | AttributeTargets.Method)]