281 references to WellKnownTags
Microsoft.CodeAnalysis.EditorFeatures (20)
IntelliSense\AsyncCompletion\FilterSet.cs (20)
74NamespaceFilter = CreateCompletionFilterAndAddToBuilder(FeaturesResources.Namespaces, 'n', WellKnownTags.Namespace); 75ClassFilter = CreateCompletionFilterAndAddToBuilder(FeaturesResources.Classes, 'c', WellKnownTags.Class); 76ModuleFilter = CreateCompletionFilterAndAddToBuilder(FeaturesResources.Modules, 'u', WellKnownTags.Module); 77StructureFilter = CreateCompletionFilterAndAddToBuilder(FeaturesResources.Structures, 's', WellKnownTags.Structure); 78InterfaceFilter = CreateCompletionFilterAndAddToBuilder(FeaturesResources.Interfaces, 'i', WellKnownTags.Interface); 79EnumFilter = CreateCompletionFilterAndAddToBuilder(FeaturesResources.Enums, 'e', WellKnownTags.Enum); 80EnumMemberFilter = CreateCompletionFilterAndAddToBuilder(FeaturesResources.Enum_members, 'b', WellKnownTags.EnumMember); 81DelegateFilter = CreateCompletionFilterAndAddToBuilder(FeaturesResources.Delegates, 'd', WellKnownTags.Delegate); 82ConstantFilter = CreateCompletionFilterAndAddToBuilder(FeaturesResources.Constants, 'o', WellKnownTags.Constant); 83FieldFilter = CreateCompletionFilterAndAddToBuilder(FeaturesResources.Fields, 'f', WellKnownTags.Field); 84EventFilter = CreateCompletionFilterAndAddToBuilder(FeaturesResources.Events, 'v', WellKnownTags.Event); 85PropertyFilter = CreateCompletionFilterAndAddToBuilder(FeaturesResources.Properties, 'p', WellKnownTags.Property); 86MethodFilter = CreateCompletionFilterAndAddToBuilder(FeaturesResources.Methods, 'm', WellKnownTags.Method); 87ExtensionMethodFilter = CreateCompletionFilterAndAddToBuilder(FeaturesResources.Extension_methods, 'x', WellKnownTags.ExtensionMethod); 88OperatorFilter = CreateCompletionFilterAndAddToBuilder(FeaturesResources.Operators, 'r', WellKnownTags.Operator); 89LocalAndParameterFilter = CreateCompletionFilterAndAddToBuilder(FeaturesResources.Locals_and_parameters, 'l', WellKnownTags.Local, WellKnownTags.Parameter); 90KeywordFilter = CreateCompletionFilterAndAddToBuilder(FeaturesResources.Keywords, 'k', WellKnownTags.Keyword); 91SnippetFilter = CreateCompletionFilterAndAddToBuilder(FeaturesResources.Snippets, 't', WellKnownTags.Snippet); 92TargetTypedFilter = CreateCompletionFilterAndAddToBuilder(FeaturesResources.Target_type_matches, 'j', WellKnownTags.TargetTypeMatch);
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (12)
IntelliSense\CSharpCompletionCommandHandlerTests.vb (2)
4037Assert.True(state.GetSelectedItem().Tags.Contains(WellKnownTags.Warning)) 4046Assert.False(state.GetSelectedItem().Tags.Contains(WellKnownTags.Warning))
IntelliSense\IntellisenseQuickInfoBuilderTests.vb (6)
27ImmutableArray.Create(WellKnownTags.Method, WellKnownTags.Public), 119ImmutableArray.Create(WellKnownTags.Method, WellKnownTags.Public), 204ImmutableArray.Create(WellKnownTags.Method, WellKnownTags.Public),
IntelliSense\VisualBasicCompletionCommandHandlerTests.vb (4)
2191Assert.True(doubleItem.Tags.Contains(WellKnownTags.Keyword)) 2212Assert.True(doubleItems.Any(Function(c) c.Tags.Contains(WellKnownTags.Keyword))) 2213Assert.True(doubleItems.Any(Function(c) c.Tags.Contains(WellKnownTags.Class) AndAlso c.Tags.Contains(WellKnownTags.Internal)))
Microsoft.CodeAnalysis.Features (82)
Common\GlyphExtensions.cs (37)
43case WellKnownTags.Assembly: 46case WellKnownTags.File: 49case WellKnownTags.Project: 52case WellKnownTags.Class: 60case WellKnownTags.Constant: 68case WellKnownTags.Delegate: 76case WellKnownTags.Enum: 84case WellKnownTags.EnumMember: 92case WellKnownTags.Error: 95case WellKnownTags.Event: 103case WellKnownTags.ExtensionMethod: 111case WellKnownTags.Field: 119case WellKnownTags.Interface: 127case WellKnownTags.TargetTypeMatch: 130case WellKnownTags.Intrinsic: 133case WellKnownTags.Keyword: 136case WellKnownTags.Label: 139case WellKnownTags.Local: 142case WellKnownTags.Namespace: 145case WellKnownTags.Method: 153case WellKnownTags.Module: 161case WellKnownTags.Folder: 164case WellKnownTags.Operator: 167case WellKnownTags.Parameter: 170case WellKnownTags.Property: 178case WellKnownTags.RangeVariable: 181case WellKnownTags.Reference: 184case WellKnownTags.NuGet: 187case WellKnownTags.Structure: 195case WellKnownTags.TypeParameter: 198case WellKnownTags.Snippet: 201case WellKnownTags.Warning: 204case WellKnownTags.StatusInformation: 217case WellKnownTags.Public: 219case WellKnownTags.Protected: 221case WellKnownTags.Internal: 223case WellKnownTags.Private:
Completion\CommonCompletionItem.cs (1)
41tags = tags.Add(WellKnownTags.Warning);
Completion\CommonCompletionService.cs (2)
40=> item.Tags.Contains(WellKnownTags.Keyword); 43=> item.Tags.Contains(WellKnownTags.Snippet);
Completion\CompletionHelper.cs (1)
74=> item.Tags.Contains(WellKnownTags.Keyword);
Completion\CompletionItem.cs (1)
93/// Descriptive tags from <see cref="Tags.WellKnownTags"/>.
Completion\CompletionTags.cs (35)
20public const string Public = WellKnownTags.Public; 21public const string Protected = WellKnownTags.Protected; 22public const string Private = WellKnownTags.Private; 23public const string Internal = WellKnownTags.Internal; 26public const string File = WellKnownTags.File; 27public const string Project = WellKnownTags.Project; 28public const string Folder = WellKnownTags.Folder; 29public const string Assembly = WellKnownTags.Assembly; 32public const string Class = WellKnownTags.Class; 33public const string Constant = WellKnownTags.Constant; 34public const string Delegate = WellKnownTags.Delegate; 35public const string Enum = WellKnownTags.Enum; 36public const string EnumMember = WellKnownTags.EnumMember; 37public const string Event = WellKnownTags.Event; 38public const string ExtensionMethod = WellKnownTags.ExtensionMethod; 39public const string Field = WellKnownTags.Field; 40public const string Interface = WellKnownTags.Interface; 41public const string Intrinsic = WellKnownTags.Intrinsic; 42public const string Keyword = WellKnownTags.Keyword; 43public const string Label = WellKnownTags.Label; 44public const string Local = WellKnownTags.Local; 45public const string Namespace = WellKnownTags.Namespace; 46public const string Method = WellKnownTags.Method; 47public const string Module = WellKnownTags.Module; 48public const string Operator = WellKnownTags.Operator; 49public const string Parameter = WellKnownTags.Parameter; 50public const string Property = WellKnownTags.Property; 51public const string RangeVariable = WellKnownTags.RangeVariable; 52public const string Reference = WellKnownTags.Reference; 53public const string Structure = WellKnownTags.Structure; 54public const string TypeParameter = WellKnownTags.TypeParameter; 57public const string Snippet = WellKnownTags.Snippet; 58public const string Error = WellKnownTags.Error; 59public const string Warning = WellKnownTags.Warning; 60internal const string StatusInformation = WellKnownTags.StatusInformation;
Completion\Providers\AbstractSymbolCompletionProvider.cs (1)
144item = item.AddTag(WellKnownTags.TargetTypeMatch);
Completion\Providers\ImportCompletionProvider\ImportCompletionItem.cs (1)
84item = item.AddTag(WellKnownTags.TargetTypeMatch);
FindUsages\DefinitionItem.cs (1)
61/// Descriptive tags from <see cref="WellKnownTags"/>. These tags may influence how the
QuickInfo\QuickInfoItem.cs (1)
18/// Descriptive tags from the <see cref="Tags.WellKnownTags"/> type.
QuickInfo\QuickInfoUtilities.cs (1)
153tags = tags.Add(WellKnownTags.Warning);
Microsoft.CodeAnalysis.LanguageServer.Protocol (37)
Extensions\ProtocolConversions.cs (37)
45{ WellKnownTags.Public, LSP.CompletionItemKind.Keyword }, 46{ WellKnownTags.Protected, LSP.CompletionItemKind.Keyword }, 47{ WellKnownTags.Private, LSP.CompletionItemKind.Keyword }, 48{ WellKnownTags.Internal, LSP.CompletionItemKind.Keyword }, 49{ WellKnownTags.File, LSP.CompletionItemKind.File }, 50{ WellKnownTags.Project, LSP.CompletionItemKind.File }, 51{ WellKnownTags.Folder, LSP.CompletionItemKind.Folder }, 52{ WellKnownTags.Assembly, LSP.CompletionItemKind.File }, 53{ WellKnownTags.Class, LSP.CompletionItemKind.Class }, 54{ WellKnownTags.Constant, LSP.CompletionItemKind.Constant }, 55{ WellKnownTags.Delegate, LSP.CompletionItemKind.Delegate }, 56{ WellKnownTags.Enum, LSP.CompletionItemKind.Enum }, 57{ WellKnownTags.EnumMember, LSP.CompletionItemKind.EnumMember }, 58{ WellKnownTags.Event, LSP.CompletionItemKind.Event }, 59{ WellKnownTags.ExtensionMethod, LSP.CompletionItemKind.ExtensionMethod }, 60{ WellKnownTags.Field, LSP.CompletionItemKind.Field }, 61{ WellKnownTags.Interface, LSP.CompletionItemKind.Interface }, 62{ WellKnownTags.Intrinsic, LSP.CompletionItemKind.Text }, 63{ WellKnownTags.Keyword, LSP.CompletionItemKind.Keyword }, 64{ WellKnownTags.Label, LSP.CompletionItemKind.Text }, 65{ WellKnownTags.Local, LSP.CompletionItemKind.Variable }, 66{ WellKnownTags.Namespace, LSP.CompletionItemKind.Namespace }, 67{ WellKnownTags.Method, LSP.CompletionItemKind.Method }, 68{ WellKnownTags.Module, LSP.CompletionItemKind.Module }, 69{ WellKnownTags.Operator, LSP.CompletionItemKind.Operator }, 70{ WellKnownTags.Parameter, LSP.CompletionItemKind.Value }, 71{ WellKnownTags.Property, LSP.CompletionItemKind.Property }, 72{ WellKnownTags.RangeVariable, LSP.CompletionItemKind.Variable }, 73{ WellKnownTags.Reference, LSP.CompletionItemKind.Reference }, 74{ WellKnownTags.Structure, LSP.CompletionItemKind.Struct }, 75{ WellKnownTags.TypeParameter, LSP.CompletionItemKind.TypeParameter }, 76{ WellKnownTags.Snippet, LSP.CompletionItemKind.Snippet }, 77{ WellKnownTags.Error, LSP.CompletionItemKind.Text }, 78{ WellKnownTags.Warning, LSP.CompletionItemKind.Text }, 79{ WellKnownTags.StatusInformation, LSP.CompletionItemKind.Text }, 80{ WellKnownTags.AddReference, LSP.CompletionItemKind.Text }, 81{ WellKnownTags.NuGet, LSP.CompletionItemKind.Text }
Microsoft.CodeAnalysis.VisualBasic.Features (3)
Completion\CompletionProviders\EnumCompletionProvider.vb (1)
151item = item.AddTag(WellKnownTags.TargetTypeMatch).WithAdditionalFilterTexts(ImmutableArray.Create(symbols(0).Symbol.Name))
Completion\CompletionProviders\KeywordCompletionProvider.vb (1)
23Private Shared ReadOnly s_tags As ImmutableArray(Of String) = ImmutableArray.Create(WellKnownTags.Intrinsic)
Completion\VisualBasicCompletionService.vb (1)
98If keywordCompletionItem IsNot Nothing AndAlso keywordCompletionItem.Tags.Contains(WellKnownTags.Intrinsic) Then
Microsoft.CodeAnalysis.Workspaces (127)
CodeActions\CodeAction.cs (1)
81/// Descriptive tags from <see cref="WellKnownTags"/>.
Tags\WellKnownTags.cs (126)
62internal static readonly ImmutableArray<string> Assembly = ImmutableArray.Create(WellKnownTags.Assembly); 63internal static readonly ImmutableArray<string> ClassPublic = ImmutableArray.Create(WellKnownTags.Class, WellKnownTags.Public); 64internal static readonly ImmutableArray<string> ClassProtected = ImmutableArray.Create(WellKnownTags.Class, WellKnownTags.Protected); 65internal static readonly ImmutableArray<string> ClassPrivate = ImmutableArray.Create(WellKnownTags.Class, WellKnownTags.Private); 66internal static readonly ImmutableArray<string> ClassInternal = ImmutableArray.Create(WellKnownTags.Class, WellKnownTags.Internal); 67internal static readonly ImmutableArray<string> ConstantPublic = ImmutableArray.Create(WellKnownTags.Constant, WellKnownTags.Public); 68internal static readonly ImmutableArray<string> ConstantProtected = ImmutableArray.Create(WellKnownTags.Constant, WellKnownTags.Protected); 69internal static readonly ImmutableArray<string> ConstantPrivate = ImmutableArray.Create(WellKnownTags.Constant, WellKnownTags.Private); 70internal static readonly ImmutableArray<string> ConstantInternal = ImmutableArray.Create(WellKnownTags.Constant, WellKnownTags.Internal); 71internal static readonly ImmutableArray<string> DelegatePublic = ImmutableArray.Create(WellKnownTags.Delegate, WellKnownTags.Public); 72internal static readonly ImmutableArray<string> DelegateProtected = ImmutableArray.Create(WellKnownTags.Delegate, WellKnownTags.Protected); 73internal static readonly ImmutableArray<string> DelegatePrivate = ImmutableArray.Create(WellKnownTags.Delegate, WellKnownTags.Private); 74internal static readonly ImmutableArray<string> DelegateInternal = ImmutableArray.Create(WellKnownTags.Delegate, WellKnownTags.Internal); 75internal static readonly ImmutableArray<string> EnumPublic = ImmutableArray.Create(WellKnownTags.Enum, WellKnownTags.Public); 76internal static readonly ImmutableArray<string> EnumProtected = ImmutableArray.Create(WellKnownTags.Enum, WellKnownTags.Protected); 77internal static readonly ImmutableArray<string> EnumPrivate = ImmutableArray.Create(WellKnownTags.Enum, WellKnownTags.Private); 78internal static readonly ImmutableArray<string> EnumInternal = ImmutableArray.Create(WellKnownTags.Enum, WellKnownTags.Internal); 79internal static readonly ImmutableArray<string> EnumMemberPublic = ImmutableArray.Create(WellKnownTags.EnumMember, WellKnownTags.Public); 80internal static readonly ImmutableArray<string> EnumMemberProtected = ImmutableArray.Create(WellKnownTags.EnumMember, WellKnownTags.Protected); 81internal static readonly ImmutableArray<string> EnumMemberPrivate = ImmutableArray.Create(WellKnownTags.EnumMember, WellKnownTags.Private); 82internal static readonly ImmutableArray<string> EnumMemberInternal = ImmutableArray.Create(WellKnownTags.EnumMember, WellKnownTags.Internal); 83internal static readonly ImmutableArray<string> EventPublic = ImmutableArray.Create(WellKnownTags.Event, WellKnownTags.Public); 84internal static readonly ImmutableArray<string> EventProtected = ImmutableArray.Create(WellKnownTags.Event, WellKnownTags.Protected); 85internal static readonly ImmutableArray<string> EventPrivate = ImmutableArray.Create(WellKnownTags.Event, WellKnownTags.Private); 86internal static readonly ImmutableArray<string> EventInternal = ImmutableArray.Create(WellKnownTags.Event, WellKnownTags.Internal); 87internal static readonly ImmutableArray<string> ExtensionMethodPublic = ImmutableArray.Create(WellKnownTags.ExtensionMethod, WellKnownTags.Public); 88internal static readonly ImmutableArray<string> ExtensionMethodProtected = ImmutableArray.Create(WellKnownTags.ExtensionMethod, WellKnownTags.Protected); 89internal static readonly ImmutableArray<string> ExtensionMethodPrivate = ImmutableArray.Create(WellKnownTags.ExtensionMethod, WellKnownTags.Private); 90internal static readonly ImmutableArray<string> ExtensionMethodInternal = ImmutableArray.Create(WellKnownTags.ExtensionMethod, WellKnownTags.Internal); 91internal static readonly ImmutableArray<string> FieldPublic = ImmutableArray.Create(WellKnownTags.Field, WellKnownTags.Public); 92internal static readonly ImmutableArray<string> FieldProtected = ImmutableArray.Create(WellKnownTags.Field, WellKnownTags.Protected); 93internal static readonly ImmutableArray<string> FieldPrivate = ImmutableArray.Create(WellKnownTags.Field, WellKnownTags.Private); 94internal static readonly ImmutableArray<string> FieldInternal = ImmutableArray.Create(WellKnownTags.Field, WellKnownTags.Internal); 95internal static readonly ImmutableArray<string> InterfacePublic = ImmutableArray.Create(WellKnownTags.Interface, WellKnownTags.Public); 96internal static readonly ImmutableArray<string> InterfaceProtected = ImmutableArray.Create(WellKnownTags.Interface, WellKnownTags.Protected); 97internal static readonly ImmutableArray<string> InterfacePrivate = ImmutableArray.Create(WellKnownTags.Interface, WellKnownTags.Private); 98internal static readonly ImmutableArray<string> InterfaceInternal = ImmutableArray.Create(WellKnownTags.Interface, WellKnownTags.Internal); 99internal static readonly ImmutableArray<string> Intrinsic = ImmutableArray.Create(WellKnownTags.Intrinsic); 100internal static readonly ImmutableArray<string> Keyword = ImmutableArray.Create(WellKnownTags.Keyword); 101internal static readonly ImmutableArray<string> Label = ImmutableArray.Create(WellKnownTags.Label); 102internal static readonly ImmutableArray<string> Local = ImmutableArray.Create(WellKnownTags.Local); 103internal static readonly ImmutableArray<string> Namespace = ImmutableArray.Create(WellKnownTags.Namespace); 104internal static readonly ImmutableArray<string> MethodPublic = ImmutableArray.Create(WellKnownTags.Method, WellKnownTags.Public); 105internal static readonly ImmutableArray<string> MethodProtected = ImmutableArray.Create(WellKnownTags.Method, WellKnownTags.Protected); 106internal static readonly ImmutableArray<string> MethodPrivate = ImmutableArray.Create(WellKnownTags.Method, WellKnownTags.Private); 107internal static readonly ImmutableArray<string> MethodInternal = ImmutableArray.Create(WellKnownTags.Method, WellKnownTags.Internal); 108internal static readonly ImmutableArray<string> ModulePublic = ImmutableArray.Create(WellKnownTags.Module, WellKnownTags.Public); 109internal static readonly ImmutableArray<string> ModuleProtected = ImmutableArray.Create(WellKnownTags.Module, WellKnownTags.Protected); 110internal static readonly ImmutableArray<string> ModulePrivate = ImmutableArray.Create(WellKnownTags.Module, WellKnownTags.Private); 111internal static readonly ImmutableArray<string> ModuleInternal = ImmutableArray.Create(WellKnownTags.Module, WellKnownTags.Internal); 112internal static readonly ImmutableArray<string> Folder = ImmutableArray.Create(WellKnownTags.Folder); 113internal static readonly ImmutableArray<string> Operator = ImmutableArray.Create(WellKnownTags.Operator); 114internal static readonly ImmutableArray<string> Parameter = ImmutableArray.Create(WellKnownTags.Parameter); 115internal static readonly ImmutableArray<string> PropertyPublic = ImmutableArray.Create(WellKnownTags.Property, WellKnownTags.Public); 116internal static readonly ImmutableArray<string> PropertyProtected = ImmutableArray.Create(WellKnownTags.Property, WellKnownTags.Protected); 117internal static readonly ImmutableArray<string> PropertyPrivate = ImmutableArray.Create(WellKnownTags.Property, WellKnownTags.Private); 118internal static readonly ImmutableArray<string> PropertyInternal = ImmutableArray.Create(WellKnownTags.Property, WellKnownTags.Internal); 119internal static readonly ImmutableArray<string> RangeVariable = ImmutableArray.Create(WellKnownTags.RangeVariable); 120internal static readonly ImmutableArray<string> Reference = ImmutableArray.Create(WellKnownTags.Reference); 121internal static readonly ImmutableArray<string> StructurePublic = ImmutableArray.Create(WellKnownTags.Structure, WellKnownTags.Public); 122internal static readonly ImmutableArray<string> StructureProtected = ImmutableArray.Create(WellKnownTags.Structure, WellKnownTags.Protected); 123internal static readonly ImmutableArray<string> StructurePrivate = ImmutableArray.Create(WellKnownTags.Structure, WellKnownTags.Private); 124internal static readonly ImmutableArray<string> StructureInternal = ImmutableArray.Create(WellKnownTags.Structure, WellKnownTags.Internal); 125internal static readonly ImmutableArray<string> TypeParameter = ImmutableArray.Create(WellKnownTags.TypeParameter); 126internal static readonly ImmutableArray<string> Snippet = ImmutableArray.Create(WellKnownTags.Snippet); 128internal static readonly ImmutableArray<string> Error = ImmutableArray.Create(WellKnownTags.Error); 129internal static readonly ImmutableArray<string> Warning = ImmutableArray.Create(WellKnownTags.Warning); 130internal static readonly ImmutableArray<string> StatusInformation = ImmutableArray.Create(WellKnownTags.StatusInformation); 132internal static readonly ImmutableArray<string> AddReference = ImmutableArray.Create(WellKnownTags.AddReference); 133internal static readonly ImmutableArray<string> TargetTypeMatch = ImmutableArray.Create(WellKnownTags.TargetTypeMatch); 135internal static readonly ImmutableArray<string> CSharpFile = ImmutableArray.Create(WellKnownTags.File, LanguageNames.CSharp); 136internal static readonly ImmutableArray<string> VisualBasicFile = ImmutableArray.Create(WellKnownTags.File, LanguageNames.VisualBasic); 138internal static readonly ImmutableArray<string> CSharpProject = ImmutableArray.Create(WellKnownTags.Project, LanguageNames.CSharp); 139internal static readonly ImmutableArray<string> VisualBasicProject = ImmutableArray.Create(WellKnownTags.Project, LanguageNames.VisualBasic);