568 references to Field
Aspire.Hosting (1)
Ats\AspireValueAttribute.cs (1)
25[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property, Inherited = false, AllowMultiple = false)]
Aspire.Hosting.Analyzers (4)
src\Shared\NullableAttributes.cs (4)
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)]
Aspire.Hosting.Integration.Analyzers (4)
src\Shared\NullableAttributes.cs (4)
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)]
dotnet-Microsoft.XmlSerializer.Generator (4)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Diagnostics\CodeAnalysis\NullableAttributes.cs (4)
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)]
dotnet-svcutil-lib (25)
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapAttributeAttribute.cs (1)
13[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Parameter | AttributeTargets.ReturnValue)]
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapElementAttribute.cs (1)
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 (1)
13[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Parameter | AttributeTargets.ReturnValue)]
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlAnyAttributeAttribute.cs (1)
14[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Parameter | AttributeTargets.ReturnValue, AllowMultiple = false)]
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlAnyElementAttribute.cs (1)
14[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Parameter | AttributeTargets.ReturnValue, AllowMultiple = true)]
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlArrayAttribute.cs (1)
14[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Parameter | AttributeTargets.ReturnValue, AllowMultiple = false)]
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlArrayItemAttribute.cs (1)
14[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Parameter | AttributeTargets.ReturnValue, AllowMultiple = true)]
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlAttributeAttribute.cs (1)
14[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Parameter | AttributeTargets.ReturnValue)]
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlChoiceIdentifierAttribute.cs (1)
15[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Parameter | AttributeTargets.ReturnValue, AllowMultiple = false)]
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlElementAttribute.cs (1)
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 (1)
13[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Parameter | AttributeTargets.ReturnValue)]
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlNamespaceDeclarationsAttribute.cs (1)
14[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Parameter | AttributeTargets.ReturnValue, AllowMultiple = false)]
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlTextAttribute.cs (1)
13[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Parameter | AttributeTargets.ReturnValue)]
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\DataMemberAttribute.cs (1)
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 (1)
7[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property, Inherited = false, AllowMultiple = false)]
FrameworkFork\System.ServiceModel\Internals\System\Runtime\Fx.cs (6)
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)] 886AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Event | AttributeTargets.Interface |
FrameworkFork\System.ServiceModel\System\ServiceModel\ServiceModelAttributeTargets.cs (1)
12public const AttributeTargets MessageMember = AttributeTargets.Property | AttributeTargets.Field;
DotNetWatchTasks (1)
Utilities\RequiredMemberAttribute.cs (1)
12[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Field | AttributeTargets.Property, AllowMultiple = false, Inherited = false)]
EventSourceGenerator (4)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Diagnostics\CodeAnalysis\NullableAttributes.cs (4)
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)]
GenerateDocumentationAndConfigFiles (1)
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\PerformanceSensitiveAttribute.cs (1)
19[AttributeUsage(AttributeTargets.Constructor | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = true, Inherited = false)]
illink (1)
ILLink.RoslynAnalyzer (4)
NullableAttributes.cs (4)
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)]
Microsoft.AspNetCore.Analyzers (4)
src\aspnetcore\src\Shared\Nullable\NullableAttributes.cs (4)
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)]
Microsoft.AspNetCore.App.Analyzers (4)
src\aspnetcore\src\Shared\Nullable\NullableAttributes.cs (4)
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)]
Microsoft.AspNetCore.App.SourceGenerators (4)
src\aspnetcore\src\Shared\Nullable\NullableAttributes.cs (4)
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)]
Microsoft.AspNetCore.Components.AI.SourceGenerators (4)
src\aspnetcore\src\Shared\Nullable\NullableAttributes.cs (4)
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)]
Microsoft.AspNetCore.Components.Analyzers (4)
src\aspnetcore\src\Shared\Nullable\NullableAttributes.cs (4)
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)]
Microsoft.AspNetCore.Components.Testing.Generators (4)
src\aspnetcore\src\Shared\Nullable\NullableAttributes.cs (4)
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)]
Microsoft.AspNetCore.Components.Testing.NativeAot (4)
src\aspnetcore\src\Shared\Nullable\NullableAttributes.cs (4)
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)]
Microsoft.AspNetCore.Diagnostics.Middleware (1)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\Validators.g.cs (1)
244[global::System.AttributeUsage(global::System.AttributeTargets.Property | global::System.AttributeTargets.Field | global::System.AttributeTargets.Parameter, AllowMultiple = false)]
Microsoft.AspNetCore.HeaderParsing (1)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\Validators.g.cs (1)
57[global::System.AttributeUsage(global::System.AttributeTargets.Property | global::System.AttributeTargets.Field | global::System.AttributeTargets.Parameter, AllowMultiple = false)]
Microsoft.AspNetCore.Http.RequestDelegateGenerator (4)
src\aspnetcore\src\Shared\Nullable\NullableAttributes.cs (4)
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)]
Microsoft.AspNetCore.Mvc.Analyzers (4)
src\aspnetcore\src\Shared\Nullable\NullableAttributes.cs (4)
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)]
Microsoft.AspNetCore.Mvc.Testing.Tasks (4)
src\aspnetcore\src\Shared\Nullable\NullableAttributes.cs (4)
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)]
Microsoft.AspNetCore.OpenApi.SourceGenerators (4)
src\aspnetcore\src\Shared\Nullable\NullableAttributes.cs (4)
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)]
Microsoft.AspNetCore.SignalR.Client.SourceGenerator (4)
src\aspnetcore\src\Shared\Nullable\NullableAttributes.cs (4)
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)]
Microsoft.CodeAnalysis (6)
InternalUtilities\PerformanceSensitiveAttribute.cs (1)
19[AttributeUsage(AttributeTargets.Constructor | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = true, Inherited = false)]
Symbols\Attributes\AttributeUsageInfo.cs (2)
28Field = AttributeTargets.Field, 219case AttributeTargets.Field: return nameof(CodeAnalysisResources.Field);
Symbols\Attributes\MarshalAsAttributeDecoder.cs (3)
43if (target != AttributeTargets.Field) 59if (target != AttributeTargets.Field) 71if (target == AttributeTargets.Field)
Microsoft.CodeAnalysis.Analyzers (3)
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\PerformanceSensitiveAttribute.cs (1)
19[AttributeUsage(AttributeTargets.Constructor | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = true, Inherited = false)]
src\roslyn\src\Dependencies\Contracts\ExperimentalAttribute.cs (1)
38AttributeTargets.Field |
src\roslyn\src\Dependencies\Contracts\RequiredMemberAttribute.cs (1)
23[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Field | AttributeTargets.Property, AllowMultiple = false, Inherited = false)]
Microsoft.CodeAnalysis.AnalyzerUtilities (3)
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\PerformanceSensitiveAttribute.cs (1)
19[AttributeUsage(AttributeTargets.Constructor | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = true, Inherited = false)]
src\roslyn\src\Dependencies\Contracts\ExperimentalAttribute.cs (1)
38AttributeTargets.Field |
src\roslyn\src\Dependencies\Contracts\RequiredMemberAttribute.cs (1)
23[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Field | AttributeTargets.Property, AllowMultiple = false, Inherited = false)]
Microsoft.CodeAnalysis.CodeStyle (3)
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\PerformanceSensitiveAttribute.cs (1)
19[AttributeUsage(AttributeTargets.Constructor | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = true, Inherited = false)]
src\roslyn\src\Dependencies\Contracts\ExperimentalAttribute.cs (1)
38AttributeTargets.Field |
src\roslyn\src\Dependencies\Contracts\RequiredMemberAttribute.cs (1)
23[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Field | AttributeTargets.Property, AllowMultiple = false, Inherited = false)]
Microsoft.CodeAnalysis.CSharp (8)
Lowering\ClosureConversion\LambdaCapturedVariable.cs (1)
196(attributeType.GetAttributeUsageInfo().ValidTargets & System.AttributeTargets.Field) != 0)
Lowering\StateMachineRewriter\StateMachineFieldSymbol.cs (1)
111(attributeType.GetAttributeUsageInfo().ValidTargets & System.AttributeTargets.Field) != 0)
Symbols\Source\FieldSymbolWithAttributesAndModifiers.cs (1)
210MarshalAsAttributeDecoder<FieldWellKnownAttributeData, AttributeSyntax, CSharpAttributeData, AttributeLocation>.Decode(ref arguments, AttributeTargets.Field, MessageProvider.Instance);
Symbols\Symbol_Attributes.cs (1)
52return AttributeTargets.Field;
Symbols\Synthesized\Records\SynthesizedPrimaryConstructorParameterBackingFieldSymbol.cs (1)
78(attributeType.GetAttributeUsageInfo().ValidTargets & System.AttributeTargets.Field) != 0)
Symbols\Synthesized\SynthesizedEmbeddedExtensionMarkerNameAttributeSymbol.cs (1)
59AttributeTargets.Field | AttributeTargets.Event | AttributeTargets.Interface | AttributeTargets.Delegate,
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.CodeStyle.Fixes (2)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\CSharpSyntaxContext.cs (2)
537SyntaxKind.FieldKeyword => AttributeTargets.Field, 566FieldDeclarationSyntax => AttributeTargets.Field,
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\CSharpSyntaxContext.cs (2)
537SyntaxKind.FieldKeyword => AttributeTargets.Field, 566FieldDeclarationSyntax => AttributeTargets.Field,
Microsoft.CodeAnalysis.Extensions.Package (2)
src\roslyn\src\Dependencies\Contracts\ExperimentalAttribute.cs (1)
38AttributeTargets.Field |
src\roslyn\src\Dependencies\Contracts\RequiredMemberAttribute.cs (1)
23[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Field | AttributeTargets.Property, AllowMultiple = false, Inherited = false)]
Microsoft.CodeAnalysis.NetAnalyzers (1)
src\sdk\src\Microsoft.CodeAnalysis.NetAnalyzers\src\Utilities\Compiler\PerformanceSensitiveAttribute.cs (1)
20[AttributeUsage(AttributeTargets.Constructor | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = true, Inherited = false)]
Microsoft.CodeAnalysis.ResxSourceGenerator (3)
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\PerformanceSensitiveAttribute.cs (1)
19[AttributeUsage(AttributeTargets.Constructor | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = true, Inherited = false)]
src\roslyn\src\Dependencies\Contracts\ExperimentalAttribute.cs (1)
38AttributeTargets.Field |
src\roslyn\src\Dependencies\Contracts\RequiredMemberAttribute.cs (1)
23[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Field | AttributeTargets.Property, AllowMultiple = false, Inherited = false)]
Microsoft.CodeAnalysis.VisualBasic (3)
Symbols\Source\SourcePropertySymbol.vb (1)
597Decode(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 (2)
Log\InteractionClass.cs (1)
29[AttributeUsage(AttributeTargets.Field, AllowMultiple = false, Inherited = false)]
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\PerformanceSensitiveAttribute.cs (1)
19[AttributeUsage(AttributeTargets.Constructor | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = true, Inherited = false)]
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\PerformanceSensitiveAttribute.cs (1)
19[AttributeUsage(AttributeTargets.Constructor | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = true, Inherited = false)]
Microsoft.Diagnostics.DataContractReader.Contracts (1)
Contracts\StackWalk\Context\RegisterAttribute.cs (1)
24[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property)]
Microsoft.Extensions.AI (8)
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\DiagnosticAttributes\NullableAttributes.cs (4)
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)]
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\ExperimentalAttribute\ExperimentalAttribute.cs (1)
21AttributeTargets.Field |
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\StringSyntaxAttribute\StringSyntaxAttribute.cs (1)
12[AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Field | AttributeTargets.Property, AllowMultiple = false, Inherited = false)]
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\TrimAttributes\DynamicallyAccessedMembersAttribute.cs (1)
38AttributeTargets.Field | AttributeTargets.ReturnValue | AttributeTargets.GenericParameter |
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\TrimAttributes\DynamicDependencyAttribute.cs (1)
23AttributeTargets.Constructor | AttributeTargets.Field | AttributeTargets.Method,
Microsoft.Extensions.AI.Abstractions (9)
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\DiagnosticAttributes\NullableAttributes.cs (4)
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)]
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\ExperimentalAttribute\ExperimentalAttribute.cs (1)
21AttributeTargets.Field |
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\RequiredMemberAttribute\RequiredMemberAttribute.cs (1)
9[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Field | AttributeTargets.Property, AllowMultiple = false, Inherited = false)]
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\StringSyntaxAttribute\StringSyntaxAttribute.cs (1)
12[AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Field | AttributeTargets.Property, AllowMultiple = false, Inherited = false)]
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\TrimAttributes\DynamicallyAccessedMembersAttribute.cs (1)
38AttributeTargets.Field | AttributeTargets.ReturnValue | AttributeTargets.GenericParameter |
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\TrimAttributes\DynamicDependencyAttribute.cs (1)
23AttributeTargets.Constructor | AttributeTargets.Field | AttributeTargets.Method,
Microsoft.Extensions.AI.Abstractions.Tests (6)
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\DiagnosticAttributes\NullableAttributes.cs (4)
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)]
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\RequiredMemberAttribute\RequiredMemberAttribute.cs (1)
9[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Field | AttributeTargets.Property, AllowMultiple = false, Inherited = false)]
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\StringSyntaxAttribute\StringSyntaxAttribute.cs (1)
12[AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Field | AttributeTargets.Property, AllowMultiple = false, Inherited = false)]
Microsoft.Extensions.AsyncState (7)
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\DiagnosticAttributes\NullableAttributes.cs (4)
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)]
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\ExperimentalAttribute\ExperimentalAttribute.cs (1)
21AttributeTargets.Field |
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\TrimAttributes\DynamicallyAccessedMembersAttribute.cs (1)
38AttributeTargets.Field | AttributeTargets.ReturnValue | AttributeTargets.GenericParameter |
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\TrimAttributes\DynamicDependencyAttribute.cs (1)
23AttributeTargets.Constructor | AttributeTargets.Field | AttributeTargets.Method,
Microsoft.Extensions.Compliance.Abstractions (1)
Classification\DataClassificationAttribute.cs (1)
12AttributeTargets.Field
Microsoft.Extensions.Compliance.Redaction (10)
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\DiagnosticAttributes\NullableAttributes.cs (4)
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)]
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\ExperimentalAttribute\ExperimentalAttribute.cs (1)
21AttributeTargets.Field |
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\StringSyntaxAttribute\StringSyntaxAttribute.cs (1)
12[AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Field | AttributeTargets.Property, AllowMultiple = false, Inherited = false)]
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\TrimAttributes\DynamicallyAccessedMembersAttribute.cs (1)
38AttributeTargets.Field | AttributeTargets.ReturnValue | AttributeTargets.GenericParameter |
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\TrimAttributes\DynamicDependencyAttribute.cs (1)
23AttributeTargets.Constructor | AttributeTargets.Field | AttributeTargets.Method,
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\Data.Validation\LengthAttribute.cs (1)
27[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter, AllowMultiple = false)]
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\Data.Validation\TimeSpanAttribute.cs (1)
21[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter, AllowMultiple = false)]
Microsoft.Extensions.Compliance.Testing (8)
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\DiagnosticAttributes\NullableAttributes.cs (4)
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)]
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\ExperimentalAttribute\ExperimentalAttribute.cs (1)
21AttributeTargets.Field |
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\StringSyntaxAttribute\StringSyntaxAttribute.cs (1)
12[AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Field | AttributeTargets.Property, AllowMultiple = false, Inherited = false)]
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\TrimAttributes\DynamicallyAccessedMembersAttribute.cs (1)
38AttributeTargets.Field | AttributeTargets.ReturnValue | AttributeTargets.GenericParameter |
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\TrimAttributes\DynamicDependencyAttribute.cs (1)
23AttributeTargets.Constructor | AttributeTargets.Field | AttributeTargets.Method,
Microsoft.Extensions.Configuration.Binder.SourceGeneration (5)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Diagnostics\CodeAnalysis\NullableAttributes.cs (4)
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)]
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\RequiredMemberAttribute.cs (1)
9[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Field | AttributeTargets.Property, AllowMultiple = false, Inherited = false)]
Microsoft.Extensions.DataIngestion.Abstractions (6)
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\DiagnosticAttributes\NullableAttributes.cs (4)
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)]
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\TrimAttributes\DynamicallyAccessedMembersAttribute.cs (1)
38AttributeTargets.Field | AttributeTargets.ReturnValue | AttributeTargets.GenericParameter |
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\TrimAttributes\DynamicDependencyAttribute.cs (1)
23AttributeTargets.Constructor | AttributeTargets.Field | AttributeTargets.Method,
Microsoft.Extensions.DependencyInjection.AutoActivation (6)
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\DiagnosticAttributes\NullableAttributes.cs (4)
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)]
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\TrimAttributes\DynamicallyAccessedMembersAttribute.cs (1)
38AttributeTargets.Field | AttributeTargets.ReturnValue | AttributeTargets.GenericParameter |
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\TrimAttributes\DynamicDependencyAttribute.cs (1)
23AttributeTargets.Constructor | AttributeTargets.Field | AttributeTargets.Method,
Microsoft.Extensions.Diagnostics.HealthChecks.Common (6)
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\DiagnosticAttributes\NullableAttributes.cs (4)
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)]
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\TrimAttributes\DynamicallyAccessedMembersAttribute.cs (1)
38AttributeTargets.Field | AttributeTargets.ReturnValue | AttributeTargets.GenericParameter |
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\TrimAttributes\DynamicDependencyAttribute.cs (1)
23AttributeTargets.Constructor | AttributeTargets.Field | AttributeTargets.Method,
Microsoft.Extensions.Diagnostics.HealthChecks.ResourceUtilization (3)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\Validators.g.cs (1)
128[global::System.AttributeUsage(global::System.AttributeTargets.Property | global::System.AttributeTargets.Field | global::System.AttributeTargets.Parameter, AllowMultiple = false)]
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\Data.Validation\LengthAttribute.cs (1)
27[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter, AllowMultiple = false)]
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\Data.Validation\TimeSpanAttribute.cs (1)
21[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter, AllowMultiple = false)]
Microsoft.Extensions.Diagnostics.Probes (10)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\Validators.g.cs (1)
83[global::System.AttributeUsage(global::System.AttributeTargets.Property | global::System.AttributeTargets.Field | global::System.AttributeTargets.Parameter, AllowMultiple = false)]
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\DiagnosticAttributes\NullableAttributes.cs (4)
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)]
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\ExperimentalAttribute\ExperimentalAttribute.cs (1)
21AttributeTargets.Field |
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\TrimAttributes\DynamicallyAccessedMembersAttribute.cs (1)
38AttributeTargets.Field | AttributeTargets.ReturnValue | AttributeTargets.GenericParameter |
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\TrimAttributes\DynamicDependencyAttribute.cs (1)
23AttributeTargets.Constructor | AttributeTargets.Field | AttributeTargets.Method,
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\Data.Validation\LengthAttribute.cs (1)
27[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter, AllowMultiple = false)]
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\Data.Validation\TimeSpanAttribute.cs (1)
21[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter, AllowMultiple = false)]
Microsoft.Extensions.Diagnostics.ResourceMonitoring (15)
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\DiagnosticAttributes\NullableAttributes.cs (4)
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)]
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\ExperimentalAttribute\ExperimentalAttribute.cs (1)
21AttributeTargets.Field |
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\ObsoleteAttribute\ObsoleteAttribute.cs (1)
23AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Event |
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\TrimAttributes\DynamicallyAccessedMembersAttribute.cs (1)
38AttributeTargets.Field | AttributeTargets.ReturnValue | AttributeTargets.GenericParameter |
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\TrimAttributes\DynamicDependencyAttribute.cs (1)
23AttributeTargets.Constructor | AttributeTargets.Field | AttributeTargets.Method,
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\Data.Validation\LengthAttribute.cs (1)
27[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter, AllowMultiple = false)]
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\Data.Validation\TimeSpanAttribute.cs (1)
21[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter, AllowMultiple = false)]
PlatformAttributes.cs (5)
54AttributeTargets.Field | 80AttributeTargets.Field | 110AttributeTargets.Field | 140[AttributeUsage(AttributeTargets.Field | 161[AttributeUsage(AttributeTargets.Field |
Microsoft.Extensions.Diagnostics.Testing (7)
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\DiagnosticAttributes\NullableAttributes.cs (4)
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)]
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\ExperimentalAttribute\ExperimentalAttribute.cs (1)
21AttributeTargets.Field |
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\TrimAttributes\DynamicallyAccessedMembersAttribute.cs (1)
38AttributeTargets.Field | AttributeTargets.ReturnValue | AttributeTargets.GenericParameter |
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\TrimAttributes\DynamicDependencyAttribute.cs (1)
23AttributeTargets.Constructor | AttributeTargets.Field | AttributeTargets.Method,
Microsoft.Extensions.FileProviders.Embedded.Manifest.Task (4)
src\aspnetcore\src\Shared\Nullable\NullableAttributes.cs (4)
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)]
Microsoft.Extensions.Http.Diagnostics (5)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\Validators.g.cs (1)
131[global::System.AttributeUsage(global::System.AttributeTargets.Property | global::System.AttributeTargets.Field | global::System.AttributeTargets.Parameter, AllowMultiple = false)]
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\DiagnosticAttributes\NullableAttributes.cs (4)
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)]
Microsoft.Extensions.Http.Polly (4)
src\aspnetcore\src\Shared\Nullable\NullableAttributes.cs (4)
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)]
Microsoft.Extensions.Http.Resilience (10)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\Validators.g.cs (1)
785[global::System.AttributeUsage(global::System.AttributeTargets.Property | global::System.AttributeTargets.Field | global::System.AttributeTargets.Parameter, AllowMultiple = false)]
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\DiagnosticAttributes\NullableAttributes.cs (4)
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)]
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\ExperimentalAttribute\ExperimentalAttribute.cs (1)
21AttributeTargets.Field |
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\TrimAttributes\DynamicallyAccessedMembersAttribute.cs (1)
38AttributeTargets.Field | AttributeTargets.ReturnValue | AttributeTargets.GenericParameter |
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\TrimAttributes\DynamicDependencyAttribute.cs (1)
23AttributeTargets.Constructor | AttributeTargets.Field | AttributeTargets.Method,
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\Data.Validation\LengthAttribute.cs (1)
27[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter, AllowMultiple = false)]
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\Data.Validation\TimeSpanAttribute.cs (1)
21[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter, AllowMultiple = false)]
Microsoft.Extensions.Logging.Generators (5)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Diagnostics\CodeAnalysis\NullableAttributes.cs (4)
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)]
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\RequiredMemberAttribute.cs (1)
9[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Field | AttributeTargets.Property, AllowMultiple = false, Inherited = false)]
Microsoft.Extensions.Options (2)
ValidateEnumeratedItemsAttribute.cs (1)
13[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field)]
ValidateObjectMembersAttribute.cs (1)
12[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field)]
Microsoft.Extensions.ServiceDiscovery (6)
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\DiagnosticAttributes\NullableAttributes.cs (4)
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)]
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\TrimAttributes\DynamicallyAccessedMembersAttribute.cs (1)
38AttributeTargets.Field | AttributeTargets.ReturnValue | AttributeTargets.GenericParameter |
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\TrimAttributes\DynamicDependencyAttribute.cs (1)
23AttributeTargets.Constructor | AttributeTargets.Field | AttributeTargets.Method,
Microsoft.Extensions.ServiceDiscovery.Abstractions (6)
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\DiagnosticAttributes\NullableAttributes.cs (4)
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)]
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\TrimAttributes\DynamicallyAccessedMembersAttribute.cs (1)
38AttributeTargets.Field | AttributeTargets.ReturnValue | AttributeTargets.GenericParameter |
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\TrimAttributes\DynamicDependencyAttribute.cs (1)
23AttributeTargets.Constructor | AttributeTargets.Field | AttributeTargets.Method,
Microsoft.Extensions.Telemetry (11)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\Validators.g.cs (1)
139[global::System.AttributeUsage(global::System.AttributeTargets.Property | global::System.AttributeTargets.Field | global::System.AttributeTargets.Parameter, AllowMultiple = false)]
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\DiagnosticAttributes\NullableAttributes.cs (4)
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)]
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\ExperimentalAttribute\ExperimentalAttribute.cs (1)
21AttributeTargets.Field |
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\ObsoleteAttribute\ObsoleteAttribute.cs (1)
23AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Event |
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\TrimAttributes\DynamicallyAccessedMembersAttribute.cs (1)
38AttributeTargets.Field | AttributeTargets.ReturnValue | AttributeTargets.GenericParameter |
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\TrimAttributes\DynamicDependencyAttribute.cs (1)
23AttributeTargets.Constructor | AttributeTargets.Field | AttributeTargets.Method,
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\Data.Validation\LengthAttribute.cs (1)
27[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter, AllowMultiple = false)]
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\Data.Validation\TimeSpanAttribute.cs (1)
21[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter, AllowMultiple = false)]
Microsoft.Extensions.Telemetry.Abstractions (1)
Metrics\TagNameAttribute.cs (1)
28[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property)]
Microsoft.Extensions.TimeProvider.Testing (6)
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\DiagnosticAttributes\NullableAttributes.cs (4)
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)]
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\TrimAttributes\DynamicallyAccessedMembersAttribute.cs (1)
38AttributeTargets.Field | AttributeTargets.ReturnValue | AttributeTargets.GenericParameter |
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\TrimAttributes\DynamicDependencyAttribute.cs (1)
23AttributeTargets.Constructor | AttributeTargets.Field | AttributeTargets.Method,
Microsoft.Extensions.Validation.ValidationsGenerator (4)
src\aspnetcore\src\Shared\Nullable\NullableAttributes.cs (4)
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)]
Microsoft.Extensions.VectorData.Abstractions.Tests (5)
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\DiagnosticAttributes\NullableAttributes.cs (4)
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)]
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\RequiredMemberAttribute\RequiredMemberAttribute.cs (1)
9[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Field | AttributeTargets.Property, AllowMultiple = false, Inherited = false)]
Microsoft.Extensions.VectorData.ConformanceTests (6)
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\DiagnosticAttributes\NullableAttributes.cs (4)
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)]
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\TrimAttributes\DynamicallyAccessedMembersAttribute.cs (1)
38AttributeTargets.Field | AttributeTargets.ReturnValue | AttributeTargets.GenericParameter |
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\TrimAttributes\DynamicDependencyAttribute.cs (1)
23AttributeTargets.Constructor | AttributeTargets.Field | AttributeTargets.Method,
Microsoft.Gen.BuildMetadata (1)
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\ExperimentalAttribute\ExperimentalAttribute.cs (1)
21AttributeTargets.Field |
Microsoft.Interop.ComInterfaceGenerator (9)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Diagnostics\CodeAnalysis\NullableAttributes.cs (4)
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)]
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\Versioning\PlatformAttributes.cs (5)
57AttributeTargets.Field | 88AttributeTargets.Field | 123AttributeTargets.Field | 176[AttributeUsage(AttributeTargets.Field | 202[AttributeUsage(AttributeTargets.Field |
Microsoft.Interop.JavaScript.JSImportGenerator (9)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Diagnostics\CodeAnalysis\NullableAttributes.cs (4)
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)]
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\Versioning\PlatformAttributes.cs (5)
57AttributeTargets.Field | 88AttributeTargets.Field | 123AttributeTargets.Field | 176[AttributeUsage(AttributeTargets.Field | 202[AttributeUsage(AttributeTargets.Field |
Microsoft.Interop.LibraryImportGenerator (9)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Diagnostics\CodeAnalysis\NullableAttributes.cs (4)
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)]
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\Versioning\PlatformAttributes.cs (5)
57AttributeTargets.Field | 88AttributeTargets.Field | 123AttributeTargets.Field | 176[AttributeUsage(AttributeTargets.Field | 202[AttributeUsage(AttributeTargets.Field |
Microsoft.Interop.LibraryImportGenerator.Downlevel (9)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Diagnostics\CodeAnalysis\NullableAttributes.cs (4)
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)]
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\Versioning\PlatformAttributes.cs (5)
57AttributeTargets.Field | 88AttributeTargets.Field | 123AttributeTargets.Field | 176[AttributeUsage(AttributeTargets.Field | 202[AttributeUsage(AttributeTargets.Field |
Microsoft.Interop.SourceGeneration (10)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Diagnostics\CodeAnalysis\NullableAttributes.cs (4)
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)]
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\RequiredMemberAttribute.cs (1)
9[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Field | AttributeTargets.Property, AllowMultiple = false, Inherited = false)]
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\Versioning\PlatformAttributes.cs (5)
57AttributeTargets.Field | 88AttributeTargets.Field | 123AttributeTargets.Field | 176[AttributeUsage(AttributeTargets.Field | 202[AttributeUsage(AttributeTargets.Field |
Microsoft.ML.Core (15)
BestFriendAttribute.cs (1)
23[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Constructor
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)]
EntryPoints\ModuleArgs.cs (6)
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)]
SearchSpace\BoolearnChoiceAttribute.cs (1)
12[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, Inherited = false, AllowMultiple = false)]
SearchSpace\ChoiceAttribute.cs (1)
14[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, Inherited = false, AllowMultiple = false)]
SearchSpace\NestOptionAttribute.cs (1)
12[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, Inherited = false, AllowMultiple = false)]
SearchSpace\RangeAttribute.cs (1)
12[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, Inherited = false, AllowMultiple = false)]
Microsoft.ML.CpuMath (1)
src\Microsoft.ML.Core\BestFriendAttribute.cs (1)
23[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Constructor
Microsoft.ML.Data (8)
Data\SchemaDefinition.cs (5)
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 (1)
14[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property, AllowMultiple = false, Inherited = true)]
DataLoadSave\Text\LoadColumnAttribute.cs (1)
14[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property, AllowMultiple = false, Inherited = true)]
Deprecated\TGUIAttribute.cs (1)
12[AttributeUsage(AttributeTargets.Field)]
Microsoft.ML.DataView (1)
DataViewType.cs (1)
475[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property, AllowMultiple = false, Inherited = true)]
Microsoft.ML.TorchSharp (1)
Utils\IntrinsicAttribute.cs (1)
14[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Method | AttributeTargets.Constructor | AttributeTargets.Field, Inherited = false)]
Microsoft.Private.Windows.Core (15)
_generated\290\System.Diagnostics.CodeAnalysis.AllowNullAttribute.g.cs (1)
14global::System.AttributeTargets.Field |
_generated\292\System.Diagnostics.CodeAnalysis.DisallowNullAttribute.g.cs (1)
14global::System.AttributeTargets.Field |
_generated\295\System.Diagnostics.CodeAnalysis.ExperimentalAttribute.g.cs (1)
26global::System.AttributeTargets.Field |
_generated\296\System.Diagnostics.CodeAnalysis.MaybeNullAttribute.g.cs (1)
14global::System.AttributeTargets.Field |
_generated\300\System.Diagnostics.CodeAnalysis.NotNullAttribute.g.cs (1)
15global::System.AttributeTargets.Field |
_generated\304\System.Diagnostics.CodeAnalysis.StringSyntaxAttribute.g.cs (1)
15global::System.AttributeTargets.Field |
_generated\316\System.Runtime.CompilerServices.RequiredMemberAttribute.g.cs (1)
16global::System.AttributeTargets.Field |
_generated\319\System.Runtime.Versioning.RequiresPreviewFeaturesAttribute.g.cs (1)
21global::System.AttributeTargets.Field |
src\winforms\src\Microsoft.Private.Windows.Polyfills\System\Diagnostics\CodeAnalysis\DynamicallyAccessedMembersAttribute.cs (1)
35AttributeTargets.Field | AttributeTargets.ReturnValue | AttributeTargets.GenericParameter |
src\winforms\src\Microsoft.Private.Windows.Polyfills\System\Diagnostics\CodeAnalysis\DynamicDependencyAttribute.cs (1)
16AttributeTargets.Constructor | AttributeTargets.Field | AttributeTargets.Method,
src\winforms\src\Microsoft.Private.Windows.Polyfills\System\Runtime\Versioning\PlatformAttributes.cs (5)
60AttributeTargets.Field | 92AttributeTargets.Field | 139AttributeTargets.Field | 190[AttributeUsage(AttributeTargets.Field | 218[AttributeUsage(AttributeTargets.Field |
Microsoft.TestPlatform.CommunicationUtilities (1)
Messages\ProtocolVersionAttribute.cs (1)
10[AttributeUsage(AttributeTargets.Field)]
Microsoft.VisualBasic.Core (2)
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.TestPlatform.Extensions.Trx.TestLogger (3)
XML\Attributes.cs (3)
11[AttributeUsage(AttributeTargets.Field, AllowMultiple = false)] 41[AttributeUsage(AttributeTargets.Field, AllowMultiple = false)] 92[AttributeUsage(AttributeTargets.Field, AllowMultiple = false)]
PresentationCore (2)
src\wpf\src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\CommonDependencyPropertyAttribute.cs (1)
18[AttributeUsage(AttributeTargets.Field)]
System\Windows\LocalizabilityAttribute.cs (1)
21| AttributeTargets.Field
PresentationFramework (2)
MS\Internal\Controls\CustomCategoryAttribute.cs (1)
12[AttributeUsage(AttributeTargets.Field | AttributeTargets.Method | AttributeTargets.Property)]
src\wpf\src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\CommonDependencyPropertyAttribute.cs (1)
18[AttributeUsage(AttributeTargets.Field)]
Roslyn.Diagnostics.Analyzers (3)
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\PerformanceSensitiveAttribute.cs (1)
19[AttributeUsage(AttributeTargets.Constructor | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = true, Inherited = false)]
src\roslyn\src\Dependencies\Contracts\ExperimentalAttribute.cs (1)
38AttributeTargets.Field |
src\roslyn\src\Dependencies\Contracts\RequiredMemberAttribute.cs (1)
23[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Field | AttributeTargets.Property, AllowMultiple = false, Inherited = false)]
Roslyn.Diagnostics.CSharp.Analyzers (2)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\CSharpSyntaxContext.cs (2)
537SyntaxKind.FieldKeyword => AttributeTargets.Field, 566FieldDeclarationSyntax => AttributeTargets.Field,
Shared (2)
Data.Validation\LengthAttribute.cs (1)
27[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter, AllowMultiple = false)]
Data.Validation\TimeSpanAttribute.cs (1)
21[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter, AllowMultiple = false)]
System.ComponentModel.Annotations (33)
System\ComponentModel\DataAnnotations\AllowedValuesAttribute.cs (1)
10[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter,
System\ComponentModel\DataAnnotations\AssociationAttribute.cs (1)
11[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property, AllowMultiple = false,
System\ComponentModel\DataAnnotations\Base64StringAttribute.cs (1)
15[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter, AllowMultiple = false)]
System\ComponentModel\DataAnnotations\ConcurrencyCheckAttribute.cs (1)
10[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = false, Inherited = true)]
System\ComponentModel\DataAnnotations\CreditCardAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter, AllowMultiple = false)]
System\ComponentModel\DataAnnotations\CustomValidationAttribute.cs (1)
56AttributeTargets.Class | AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Method |
System\ComponentModel\DataAnnotations\DataTypeAttribute.cs (1)
14AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Method | AttributeTargets.Parameter,
System\ComponentModel\DataAnnotations\DeniedValuesAttribute.cs (1)
10[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter,
System\ComponentModel\DataAnnotations\DisplayAttribute.cs (1)
15AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Method | AttributeTargets.Class,
System\ComponentModel\DataAnnotations\DisplayFormatAttribute.cs (1)
12[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = false)]
System\ComponentModel\DataAnnotations\EditableAttribute.cs (1)
16[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property, AllowMultiple = false, Inherited = true)]
System\ComponentModel\DataAnnotations\EmailAddressAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter,
System\ComponentModel\DataAnnotations\EnumDataTypeAttribute.cs (1)
10AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Method | AttributeTargets.Parameter,
System\ComponentModel\DataAnnotations\FileExtensionsAttribute.cs (1)
11[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter,
System\ComponentModel\DataAnnotations\FilterUIHintAttribute.cs (1)
12[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = false)]
System\ComponentModel\DataAnnotations\KeyAttribute.cs (1)
9[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = false, Inherited = true)]
System\ComponentModel\DataAnnotations\LengthAttribute.cs (1)
12[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter, AllowMultiple = false)]
System\ComponentModel\DataAnnotations\MaxLengthAttribute.cs (1)
15[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter,
System\ComponentModel\DataAnnotations\MinLengthAttribute.cs (1)
12[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter,
System\ComponentModel\DataAnnotations\PhoneAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter,
System\ComponentModel\DataAnnotations\RangeAttribute.cs (1)
12[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter,
System\ComponentModel\DataAnnotations\RegularExpressionAttribute.cs (1)
13[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter,
System\ComponentModel\DataAnnotations\RequiredAttribute.cs (1)
9[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter,
System\ComponentModel\DataAnnotations\ScaffoldColumnAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = false)]
System\ComponentModel\DataAnnotations\Schema\ColumnAttribute.cs (1)
12[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = false)]
System\ComponentModel\DataAnnotations\Schema\DatabaseGeneratedAttribute.cs (1)
9[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = false)]
System\ComponentModel\DataAnnotations\Schema\ForeignKeyAttribute.cs (1)
13[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = false)]
System\ComponentModel\DataAnnotations\Schema\InversePropertyAttribute.cs (1)
11[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = false)]
System\ComponentModel\DataAnnotations\Schema\NotMappedAttribute.cs (1)
9[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Class, AllowMultiple = false)]
System\ComponentModel\DataAnnotations\StringLengthAttribute.cs (1)
11[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter,
System\ComponentModel\DataAnnotations\TimestampAttribute.cs (1)
9[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = false, Inherited = true)]
System\ComponentModel\DataAnnotations\UIHintAttribute.cs (1)
15[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = true)]
System\ComponentModel\DataAnnotations\UrlAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter,
System.ComponentModel.Composition (4)
System\ComponentModel\Composition\ExportAttribute.cs (1)
11[AttributeUsage(AttributeTargets.Class | AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Method,
System\ComponentModel\Composition\ExportMetadataAttribute.cs (1)
10[AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface | AttributeTargets.Property | AttributeTargets.Method | AttributeTargets.Field,
System\ComponentModel\Composition\ImportAttribute.cs (1)
12[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter,
System\ComponentModel\Composition\ImportManyAttribute.cs (1)
12[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter,
System.ComponentModel.Primitives (1)
System\ComponentModel\DesignerSerializationVisibilityAttribute.cs (1)
12[AttributeUsage(AttributeTargets.Property | AttributeTargets.Method | AttributeTargets.Field | AttributeTargets.Event)]
System.ComponentModel.TypeConverter (1)
System\ComponentModel\InheritanceAttribute.cs (1)
12[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Event)]
System.Linq.Expressions (1)
System\Runtime\CompilerServices\DynamicAttribute.cs (1)
11[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue | AttributeTargets.Class | AttributeTargets.Struct)]
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.Private.CoreLib (47)
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\Context.cs (1)
39[AttributeUsage(AttributeTargets.Field, Inherited = false)]
src\runtime\src\libraries\System.Private.CoreLib\src\System\Diagnostics\CodeAnalysis\DynamicallyAccessedMembersAttribute.cs (1)
32AttributeTargets.Field | AttributeTargets.ReturnValue | AttributeTargets.GenericParameter |
src\runtime\src\libraries\System.Private.CoreLib\src\System\Diagnostics\CodeAnalysis\DynamicDependencyAttribute.cs (1)
14AttributeTargets.Constructor | AttributeTargets.Field | AttributeTargets.Method,
src\runtime\src\libraries\System.Private.CoreLib\src\System\Diagnostics\CodeAnalysis\ExperimentalAttribute.cs (1)
21AttributeTargets.Field |
src\runtime\src\libraries\System.Private.CoreLib\src\System\Diagnostics\CodeAnalysis\NullableAttributes.cs (4)
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)]
src\runtime\src\libraries\System.Private.CoreLib\src\System\Diagnostics\CodeAnalysis\StringSyntaxAttribute.cs (1)
7[AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Field | AttributeTargets.Property, AllowMultiple = false, Inherited = false)]
src\runtime\src\libraries\System.Private.CoreLib\src\System\Diagnostics\Contracts\Contracts.cs (1)
130[AttributeUsage(AttributeTargets.Field)]
src\runtime\src\libraries\System.Private.CoreLib\src\System\Diagnostics\DebuggerBrowsableAttribute.cs (1)
28[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property, AllowMultiple = false)]
src\runtime\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\runtime\src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\EventSource.cs (1)
4497[AttributeUsage(AttributeTargets.Field)]
src\runtime\src\libraries\System.Private.CoreLib\src\System\NonSerializedAttribute.cs (1)
8[AttributeUsage(AttributeTargets.Field, 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\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\AccessedThroughPropertyAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Field)]
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\CustomConstantAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter, Inherited = false)]
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\DateTimeConstantAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter, Inherited = false)]
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\DecimalConstantAttribute.cs (1)
8[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter, 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\FixedAddressValueTypeAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Field)]
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\FixedBufferAttribute.cs (1)
9[AttributeUsage(AttributeTargets.Field, 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\NullableAttribute.cs (1)
13[AttributeUsage(AttributeTargets.Class | AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Event | AttributeTargets.Parameter | AttributeTargets.ReturnValue | AttributeTargets.GenericParameter, Inherited = false)]
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\RequiredMemberAttribute.cs (1)
9[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Field | AttributeTargets.Property, AllowMultiple = false, Inherited = false)]
src\runtime\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\runtime\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\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\DispIdAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Method | AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Event, Inherited = false)]
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\FieldOffsetAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Field, Inherited = false)]
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\MarshalAsAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Field | AttributeTargets.ReturnValue, Inherited = false)]
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\Serialization\OptionalFieldAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Field, Inherited = false)]
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\Versioning\PlatformAttributes.cs (5)
57AttributeTargets.Field | 88AttributeTargets.Field | 123AttributeTargets.Field | 176[AttributeUsage(AttributeTargets.Field | 202[AttributeUsage(AttributeTargets.Field |
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\Versioning\RequiresPreviewFeaturesAttribute.cs (1)
16AttributeTargets.Field |
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\Versioning\ResourceExposureAttribute.cs (1)
8[AttributeUsage(AttributeTargets.Method | AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Constructor, Inherited = false)]
src\runtime\src\libraries\System.Private.CoreLib\src\System\Security\SecurityCriticalAttribute.cs (1)
13AttributeTargets.Field |
src\runtime\src\libraries\System.Private.CoreLib\src\System\Security\SecuritySafeCriticalAttribute.cs (1)
12AttributeTargets.Field |
src\runtime\src\libraries\System.Private.CoreLib\src\System\Security\SecurityTreatAsSafeAttribute.cs (1)
13AttributeTargets.Field |
src\runtime\src\libraries\System.Private.CoreLib\src\System\ThreadStaticAttribute.cs (1)
9[AttributeUsage(AttributeTargets.Field, Inherited = false)]
System\Diagnostics\DataContractAttribute.cs (1)
12[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Field, Inherited = false)]
System.Private.CoreLib.Generators (4)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Diagnostics\CodeAnalysis\NullableAttributes.cs (4)
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)]
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 (15)
System\Xml\Serialization\SoapAttributeAttribute.cs (1)
9[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Parameter | AttributeTargets.ReturnValue)]
System\Xml\Serialization\SoapElementAttribute.cs (1)
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 (1)
8[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Parameter | AttributeTargets.ReturnValue)]
System\Xml\Serialization\XmlAnyAttributeAttribute.cs (1)
12[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Parameter | AttributeTargets.ReturnValue, AllowMultiple = false)]
System\Xml\Serialization\XmlAnyElementAttribute.cs (1)
13[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Parameter | AttributeTargets.ReturnValue, AllowMultiple = true)]
System\Xml\Serialization\XmlArrayAttribute.cs (1)
13[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Parameter | AttributeTargets.ReturnValue, AllowMultiple = false)]
System\Xml\Serialization\XmlArrayItemAttribute.cs (1)
13[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Parameter | AttributeTargets.ReturnValue, AllowMultiple = true)]
System\Xml\Serialization\XmlAttributeAttribute.cs (1)
13[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Parameter | AttributeTargets.ReturnValue)]
System\Xml\Serialization\XmlChoiceIdentifierAttribute.cs (1)
14[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Parameter | AttributeTargets.ReturnValue, AllowMultiple = false)]
System\Xml\Serialization\XmlElementAttribute.cs (1)
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 (1)
11[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Parameter | AttributeTargets.ReturnValue)]
System\Xml\Serialization\XmlNamespaceDeclarationsAttribute.cs (1)
12[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Parameter | AttributeTargets.ReturnValue, AllowMultiple = false)]
System\Xml\Serialization\XmlTextAttribute.cs (1)
12[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Parameter | AttributeTargets.ReturnValue)]
System.Reflection.Metadata (1)
System\Reflection\Metadata\TypeSystem\CustomAttribute.cs (1)
180if ((rawValue & 0x00000008) != 0) result |= AttributeTargets.Field;
System.Runtime.CompilerServices.VisualC (1)
System\Runtime\CompilerServices\Attributes.cs (1)
125AttributeTargets.Field |
System.Runtime.InteropServices (4)
System\Runtime\CompilerServices\IDispatchConstantAttribute.cs (1)
10[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter, Inherited = false)]
System\Runtime\CompilerServices\IUnknownConstantAttribute.cs (1)
8[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter, Inherited = false)]
System\Runtime\InteropServices\ComAliasNameAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.ReturnValue, Inherited = false)]
System\Runtime\InteropServices\TypeLibVarAttribute.cs (1)
6[AttributeUsage(AttributeTargets.Field, Inherited = false)]
System.Runtime.Serialization.Primitives (3)
System\Runtime\Serialization\DataMemberAttribute.cs (1)
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 (1)
6[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property, Inherited = false, AllowMultiple = false)]
System.ServiceModel.Primitives (8)
Internals\System\Runtime\Fx.cs (6)
613[AttributeUsage(AttributeTargets.Field)] 644[AttributeUsage(AttributeTargets.Field)] 664[AttributeUsage(AttributeTargets.Field)] 702[AttributeUsage(AttributeTargets.Field | AttributeTargets.Method | AttributeTargets.Constructor, 728[AttributeUsage(AttributeTargets.Field | AttributeTargets.Class, Inherited = false)] 872AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Event | AttributeTargets.Interface |
System\ServiceModel\PeerHopCountAttribute.cs (1)
10[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property, AllowMultiple = false, Inherited = false)]
System\ServiceModel\ServiceModelAttributeTargets.cs (1)
13public const AttributeTargets MessageMember = AttributeTargets.Property | AttributeTargets.Field;
System.Text.Json (11)
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\JsonExtensionDataAttribute.cs (1)
30[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = 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\JsonIncludeAttribute.cs (1)
15[AttributeUsage(AttributeTargets.Property | System.AttributeTargets.Field, AllowMultiple = false)]
System\Text\Json\Serialization\Attributes\JsonNamingPolicyAttribute.cs (1)
19AttributeTargets.Property | AttributeTargets.Field,
System\Text\Json\Serialization\Attributes\JsonNumberHandlingAttribute.cs (1)
10[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = false)]
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\JsonPropertyNameAttribute.cs (1)
10[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = false)]
System\Text\Json\Serialization\Attributes\JsonPropertyOrderAttribute.cs (1)
11[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = false)]
System\Text\Json\Serialization\Attributes\JsonRequiredAttribute.cs (1)
16[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = false)]
System\Text\Json\Serialization\JsonStringEnumMemberNameAttribute.cs (1)
9[AttributeUsage(AttributeTargets.Field, AllowMultiple = false)]
System.Text.Json.SourceGeneration (1)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\RequiredMemberAttribute.cs (1)
9[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Field | AttributeTargets.Property, AllowMultiple = false, Inherited = false)]
System.Text.RegularExpressions.Generator (4)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Diagnostics\CodeAnalysis\NullableAttributes.cs (4)
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)]