1802 references to Glyph
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (242)
Completion\CompletionProviders\AwaitCompletionProviderTests.cs (2)
47await VerifyItemExistsAsync(GetMarkup(code, languageVersion), CompletionDisplayTextAwait, glyph: (int)Glyph.Keyword, expectedDescriptionOrNull: expectedDescription, inlineDescription: inlineDescription); 52await VerifyItemExistsAsync(GetMarkup(code, languageVersion), CompletionDisplayTextAwaitAndConfigureAwait, glyph: (int)Glyph.Keyword, expectedDescriptionOrNull: expectedDescription, inlineDescription: inlineDescription);
Completion\CompletionProviders\ConversionCompletionProviderTests.cs (12)
110", "float", displayTextPrefix: "(", displayTextSuffix: ")", glyph: (int)Glyph.Operator, matchingFilters: new List<CompletionFilter> { FilterSet.OperatorFilter }); 131", "float", displayTextPrefix: "(", displayTextSuffix: ")", glyph: (int)Glyph.Operator, matchingFilters: new List<CompletionFilter> { FilterSet.OperatorFilter }); 362", "int?", displayTextPrefix: "(", displayTextSuffix: ")", glyph: (int)Glyph.Operator, matchingFilters: new List<CompletionFilter> { FilterSet.OperatorFilter }); 387glyph: (int)Glyph.Operator, 416glyph: (int)Glyph.Operator, 467glyph: (int)Glyph.Operator, 488glyph: (int)Glyph.Operator, 530glyph: (int)Glyph.Operator, 552glyph: (int)Glyph.Operator, 580glyph: (int)Glyph.Operator, 630", "int", displayTextPrefix: "(", displayTextSuffix: ")", glyph: (int)Glyph.Operator, matchingFilters: new List<CompletionFilter> { FilterSet.OperatorFilter }); 648", expected, displayTextPrefix: "(", displayTextSuffix: ")", glyph: (int)Glyph.Operator, matchingFilters: new List<CompletionFilter> { FilterSet.OperatorFilter });
Completion\CompletionProviders\DeclarationNameCompletionProviderTests.cs (59)
344await VerifyItemExistsAsync(markup, "MyClass", glyph: (int)Glyph.PropertyPublic); 371await VerifyItemExistsAsync(markup, "myClass", glyph: (int)Glyph.FieldPublic); 372await VerifyItemExistsAsync(markup, "MyClass", glyph: (int)Glyph.PropertyPublic); 373await VerifyItemExistsAsync(markup, "GetMyClass", glyph: (int)Glyph.MethodPublic); 500await VerifyItemExistsAsync(markup, "cancellationToken", glyph: (int)Glyph.Parameter); 513await VerifyItemExistsAsync(markup, "cancellationToken", glyph: (int)Glyph.Parameter); 526await VerifyItemExistsAsync(markup, "cancellationToken", glyph: (int)Glyph.Parameter); 540await VerifyItemExistsAsync(markup, "cancellationToken", glyph: (int)Glyph.Parameter); 553await VerifyItemExistsAsync(markup, "cancellationToken1", glyph: (int)Glyph.Parameter); 565await VerifyItemExistsAsync(markup, "cancellationToken", glyph: (int)Glyph.Parameter); 576await VerifyItemExistsAsync(markup, "cancellationToken1", glyph: (int)Glyph.Parameter); 590await VerifyItemExistsAsync(markup, "cancellationToken", glyph: (int)Glyph.Parameter); 604await VerifyItemExistsAsync(markup, "cancellationToken1", glyph: (int)Glyph.Parameter); 624await VerifyItemExistsAsync(markup, "dbContext", glyph: (int)Glyph.Parameter); 625await VerifyItemExistsAsync(markup, "db", glyph: (int)Glyph.Parameter); 629await VerifyItemExistsAsync(markup, "context", glyph: (int)Glyph.Parameter); 633await VerifyItemExistsAsync(markup, "context1", glyph: (int)Glyph.Parameter); 655await VerifyItemExistsAsync(markup, "dbContext", glyph: (int)Glyph.Parameter); 656await VerifyItemExistsAsync(markup, "db", glyph: (int)Glyph.Parameter); 660await VerifyItemExistsAsync(markup, "context", glyph: (int)Glyph.Parameter); 664await VerifyItemExistsAsync(markup, "context1", glyph: (int)Glyph.Parameter); 686await VerifyItemExistsAsync(markup, "dbContext", glyph: (int)Glyph.Parameter); 687await VerifyItemExistsAsync(markup, "db", glyph: (int)Glyph.Parameter); 691await VerifyItemExistsAsync(markup, "context", glyph: (int)Glyph.Parameter); 695await VerifyItemExistsAsync(markup, "context1", glyph: (int)Glyph.Parameter); 718await VerifyItemExistsAsync(markup, "cancellationToken", glyph: (int)Glyph.Parameter, options: options); 734await VerifyItemExistsAsync(markup, "myTok", glyph: (int)Glyph.Parameter); 735await VerifyItemExistsAsync(markup, "cancellationToken", glyph: (int)Glyph.Parameter); 750await VerifyItemExistsAsync(markup, "middleName", glyph: (int)Glyph.Parameter); 751await VerifyItemExistsAsync(markup, "lastName", glyph: (int)Glyph.Parameter); 780await VerifyItemExistsAsync(markup, "cancellationToken", glyph: (int)Glyph.Parameter); 824await VerifyItemExistsAsync(markup, "stringBuilder", glyph: (int)Glyph.Parameter); 825await VerifyItemExistsAsync(markup, "@string", glyph: (int)Glyph.Parameter); 826await VerifyItemExistsAsync(markup, "builder", glyph: (int)Glyph.Parameter); 839await VerifyItemExistsAsync(markup, "@for", glyph: (int)Glyph.Parameter); 1184await VerifyItemExistsAsync(markup, "myClass", glyph: (int)Glyph.FieldPublic, expectedDescriptionOrNull: CSharpFeaturesResources.Suggested_name); 1185await VerifyItemExistsAsync(markup, "MyClass", glyph: (int)Glyph.PropertyPublic, expectedDescriptionOrNull: CSharpFeaturesResources.Suggested_name); 1186await VerifyItemExistsAsync(markup, "GetMyClass", glyph: (int)Glyph.MethodPublic, expectedDescriptionOrNull: CSharpFeaturesResources.Suggested_name); 1201await VerifyItemExistsAsync(markup, "myClass", glyph: (int)Glyph.Local, expectedDescriptionOrNull: CSharpFeaturesResources.Suggested_name); 2367await VerifyItemExistsAsync(markup, "ConfigurationField", glyph: (int)Glyph.FieldPublic, 2369await VerifyItemExistsAsync(markup, "ConfigurationProperty", glyph: (int)Glyph.PropertyPublic, 2371await VerifyItemExistsAsync(markup, "ConfigurationMethod", glyph: (int)Glyph.MethodPublic, 2398await VerifyItemExistsAsync(markup, "ConfigurationLocal", glyph: (int)Glyph.Local, 2400await VerifyItemExistsAsync(markup, "ConfigurationLocalFunction", glyph: (int)Glyph.MethodPublic, 2427await VerifyItemExistsAsync(markup, "classB1", glyph: (int)Glyph.Local, 2446await VerifyItemExistsAsync(markup, "classB1", glyph: (int)Glyph.Local, 2466await VerifyItemExistsAsync(markup, "classB", glyph: (int)Glyph.Local, 2486await VerifyItemExistsAsync(markup, "classB", glyph: (int)Glyph.Local, 2506await VerifyItemExistsAsync(markup, "classB1", glyph: (int)Glyph.Local, 2528await VerifyItemExistsAsync(markup, "classB2", glyph: (int)Glyph.Local, 2551await VerifyItemExistsAsync(markup, "classB1", glyph: (int)Glyph.Local, 2567await VerifyItemExistsAsync(markup, "classA", glyph: (int)Glyph.Local, 2590await VerifyItemExistsAsync(markup, "classB", glyph: (int)Glyph.Local, 2616await VerifyItemExistsAsync(markup, "classB", glyph: (int)Glyph.Parameter, 2709await VerifyItemExistsAsync(markup, "classB", glyph: (int)Glyph.Parameter, 2730await VerifyItemExistsAsync(markup, "classB", glyph: (int)Glyph.Parameter, 2751await VerifyItemExistsAsync(markup, "classB", glyph: (int)Glyph.Local, 2775await VerifyItemExistsAsync(markup, "classB", glyph: (int)Glyph.Local, 2815await VerifyItemExistsAsync(markup, "myClass1", glyph: (int)Glyph.Local, options: options);
Completion\CompletionProviders\EnumAndCompletionListTagCompletionProviderTests.cs (1)
535await VerifyItemExistsAsync(markup, "string", glyph: (int)Glyph.ClassPublic);
Completion\CompletionProviders\ExtensionMethodImportCompletionProviderTests.cs (41)
128glyph: (int)Glyph.ExtensionMethodPublic, 166glyph: (int)Glyph.ExtensionMethodPublic, 204glyph: (int)Glyph.ExtensionMethodPublic, 242glyph: (int)Glyph.ExtensionMethodPublic, 280glyph: (int)Glyph.ExtensionMethodPublic, 317glyph: (int)Glyph.ExtensionMethodPublic, 356glyph: (int)Glyph.ExtensionMethodPublic, 394glyph: (int)Glyph.ExtensionMethodPublic, 432glyph: (int)Glyph.ExtensionMethodPublic, 470glyph: (int)Glyph.ExtensionMethodPublic, 514glyph: (int)Glyph.ExtensionMethodPublic, 557glyph: (int)Glyph.ExtensionMethodPublic, 603glyph: (int)Glyph.ExtensionMethodPublic, 651glyph: (int)Glyph.ExtensionMethodPublic, 724glyph: (int)Glyph.ExtensionMethodInternal, // This is based on declared accessibility 761glyph: (int)Glyph.ExtensionMethodInternal, 802glyph: (int)Glyph.ExtensionMethodPublic, 840glyph: (int)Glyph.ExtensionMethodPublic, 907glyph: (int)Glyph.ExtensionMethodPublic, 942glyph: (int)Glyph.ExtensionMethodPublic, 1013glyph: (int)Glyph.ExtensionMethodInternal, // This is based on declared accessibility 1063glyph: (int)Glyph.ExtensionMethodInternal, 1105glyph: (int)Glyph.ExtensionMethodPublic, 1185glyph: (int)Glyph.ExtensionMethodPublic, 1191glyph: (int)Glyph.ExtensionMethodPublic, 1245glyph: (int)Glyph.ExtensionMethodPublic, 1251glyph: (int)Glyph.ExtensionMethodPublic, 1299glyph: (int)Glyph.ExtensionMethodPublic, 1305glyph: (int)Glyph.ExtensionMethodPublic, 1349glyph: (int)Glyph.ExtensionMethodPublic, 1417glyph: (int)Glyph.ExtensionMethodPublic, 1478glyph: (int)Glyph.ExtensionMethodPublic, 1524glyph: (int)Glyph.ExtensionMethodPublic, 1567glyph: (int)Glyph.ExtensionMethodPublic, 1610glyph: (int)Glyph.ExtensionMethodPublic, 1652glyph: (int)Glyph.ExtensionMethodPublic, 1699glyph: (int)Glyph.ExtensionMethodPublic, 1707glyph: (int)Glyph.ExtensionMethodPublic, 1752glyph: (int)Glyph.ExtensionMethodPublic, 1798glyph: (int)Glyph.ExtensionMethodPublic, 1857glyph: (int)Glyph.ExtensionMethodPublic,
Completion\CompletionProviders\FunctionPointerUnmanagedCallingConventionCompletionProviderTests.cs (1)
72await VerifyItemExistsAsync(markup, callingConvention, glyph: (int)Glyph.Keyword);
Completion\CompletionProviders\OperatorCompletionProviderTests.cs (3)
109", "+", inlineDescription: "x + y", glyph: (int)Glyph.Operator, matchingFilters: new List<CompletionFilter> { FilterSet.OperatorFilter }); 709}", "+", inlineDescription: "x + y", glyph: (int)Glyph.Operator, matchingFilters: new List<CompletionFilter> { FilterSet.OperatorFilter }); 726}", "==", inlineDescription: "x == y", glyph: (int)Glyph.Operator, matchingFilters: new List<CompletionFilter> { FilterSet.OperatorFilter });
Completion\CompletionProviders\TypeImportCompletionProviderTests.cs (45)
58[InlineData("class", (int)Glyph.ClassPublic)] 59[InlineData("record", (int)Glyph.ClassPublic)] 60[InlineData("struct", (int)Glyph.StructurePublic)] 61[InlineData("enum", (int)Glyph.EnumPublic)] 62[InlineData("interface", (int)Glyph.InterfacePublic)] 87[InlineData("class", (int)Glyph.ClassPublic)] 88[InlineData("record", (int)Glyph.ClassPublic)] 89[InlineData("struct", (int)Glyph.StructurePublic)] 90[InlineData("enum", (int)Glyph.EnumPublic)] 91[InlineData("interface", (int)Glyph.InterfacePublic)] 139[InlineData("class", (int)Glyph.ClassPublic)] 140[InlineData("record", (int)Glyph.ClassPublic)] 141[InlineData("struct", (int)Glyph.StructurePublic)] 142[InlineData("interface", (int)Glyph.InterfacePublic)] 252await VerifyTypeImportItemExistsAsync(markup, "Bar", glyph: (int)Glyph.ClassPublic, inlineDescription: "Foo"); 253await VerifyTypeImportItemExistsAsync(markup, "Bar2", glyph: (int)Glyph.ClassPublic, inlineDescription: "Foo"); 329await VerifyTypeImportItemExistsAsync(markup, "Bar", displayTextSuffix: "<>", glyph: (int)Glyph.ClassPublic, inlineDescription: "Foo"); 381await VerifyTypeImportItemExistsAsync(markup, "Bar", glyph: (int)Glyph.ClassInternal, inlineDescription: "Foo"); 382await VerifyTypeImportItemExistsAsync(markup, "Bar", displayTextSuffix: "<>", glyph: (int)Glyph.ClassPublic, inlineDescription: "Foo"); 437await VerifyTypeImportItemExistsAsync(markup, "Bar", glyph: (int)Glyph.ClassPublic, inlineDescription: "Foo"); 438await VerifyTypeImportItemExistsAsync(markup, "Bar", displayTextSuffix: "<>", glyph: (int)Glyph.ClassPublic, inlineDescription: "Foo"); 495await VerifyTypeImportItemExistsAsync(markup, "Bar", glyph: (int)Glyph.ClassInternal, inlineDescription: "Foo"); 496await VerifyTypeImportItemExistsAsync(markup, "Bar", displayTextSuffix: "<>", glyph: (int)Glyph.ClassInternal, inlineDescription: "Foo"); 519await VerifyTypeImportItemExistsAsync(markup, "Bar", glyph: (int)Glyph.ClassInternal, inlineDescription: "Foo"); 539await VerifyTypeImportItemExistsAsync(markup, "Barr", glyph: (int)Glyph.ClassPublic, inlineDescription: "Foo.Bar"); 565await VerifyTypeImportItemExistsAsync(markup, "Bar", glyph: (int)Glyph.ClassPublic, inlineDescription: "Na"); 566await VerifyTypeImportItemExistsAsync(markup, "Foo", glyph: (int)Glyph.ClassPublic, inlineDescription: "Na"); 671await VerifyTypeImportItemExistsAsync(markup, "Bar", glyph: (int)Glyph.ClassPublic, inlineDescription: "Foo"); 672await VerifyTypeImportItemExistsAsync(markup, "Bar", displayTextSuffix: "<>", glyph: (int)Glyph.ClassPublic, inlineDescription: "Foo"); 673await VerifyTypeImportItemExistsAsync(markup, "Bar", glyph: (int)Glyph.ClassPublic, inlineDescription: "Baz"); 674await VerifyTypeImportItemExistsAsync(markup, "Bar", displayTextSuffix: "<>", glyph: (int)Glyph.ClassPublic, inlineDescription: "Baz"); 796await VerifyTypeImportItemExistsAsync(markup, "Foo4", (int)Glyph.ClassPublic, "Foo1.Foo2.Foo3", displayTextSuffix: "<>"); 797await VerifyTypeImportItemExistsAsync(markup, "Foo5", (int)Glyph.ClassPublic, "Foo1.Foo2.Foo3", displayTextSuffix: "<>"); 987await VerifyTypeImportItemExistsAsync(markup, "Bar", glyph: (int)Glyph.ClassPublic, inlineDescription: "Foo"); 1055await VerifyTypeImportItemExistsAsync(markup, "My", glyph: (int)Glyph.ClassPublic, inlineDescription: "Foo", expectedDescriptionOrNull: "class Foo.MyAttribute", flags: CompletionItemFlags.Expanded); 1115await VerifyTypeImportItemExistsAsync(markup, "MyAttribute", glyph: (int)Glyph.ClassPublic, inlineDescription: "Foo", expectedDescriptionOrNull: "class Foo.MyAttribute", flags: CompletionItemFlags.CachedAndExpanded); 1116await VerifyTypeImportItemExistsAsync(markup, "MyAttributeWithoutSuffix", glyph: (int)Glyph.ClassPublic, inlineDescription: "Foo", expectedDescriptionOrNull: "class Foo.MyAttributeWithoutSuffix", flags: CompletionItemFlags.CachedAndExpanded); 1118await VerifyTypeImportItemExistsAsync(markup, "MyClass", glyph: (int)Glyph.ClassPublic, inlineDescription: "Foo", expectedDescriptionOrNull: "class Foo.MyClass", flags: CompletionItemFlags.CachedAndExpanded); 1176await VerifyTypeImportItemExistsAsync(markup, "Myattribute", glyph: (int)Glyph.ClassPublic, inlineDescription: "Foo", expectedDescriptionOrNull: "class Foo.Myattribute", flags: CompletionItemFlags.CachedAndExpanded); 1236await VerifyTypeImportItemExistsAsync(markup, "Myattribute", glyph: (int)Glyph.ClassPublic, inlineDescription: "Foo", expectedDescriptionOrNull: "class Foo.Myattribute", flags: CompletionItemFlags.Expanded); 1238await VerifyTypeImportItemExistsAsync(markup, "MyClass", glyph: (int)Glyph.ClassPublic, inlineDescription: "Foo", expectedDescriptionOrNull: "class Foo.MyClass", flags: CompletionItemFlags.CachedAndExpanded); 1301await VerifyTypeImportItemExistsAsync(markup, "Myattribute", glyph: (int)Glyph.ClassPublic, inlineDescription: "Foo", expectedDescriptionOrNull: "class Foo.Myattribute", flags: CompletionItemFlags.Expanded); 1463glyph: (int)Glyph.ClassPublic, 1499glyph: (int)Glyph.ClassPublic, 1549glyph: (int)Glyph.ClassPublic,
Interactive\NavigateTo\InteractiveNavigateToTests.cs (24)
50VerifyNavigateToResultItem(item, "Goo", "[|Goo|]", PatternMatchKind.Exact, NavigateToItemKind.Class, Glyph.ClassPrivate); 70VerifyNavigateToResultItem(item, "DogBed", "[|DogBed|]", PatternMatchKind.Exact, NavigateToItemKind.Class, Glyph.ClassInternal); 93VerifyNavigateToResultItem(item, "Method", "[|Method|]()", PatternMatchKind.Exact, NavigateToItemKind.Method, Glyph.MethodPublic, string.Format(FeaturesResources.in_0_project_1, "Goo.Bar.DogBed", "Test")); 109VerifyNavigateToResultItem(item, "Goo", "[|Goo|]<T>", PatternMatchKind.Exact, NavigateToItemKind.Class, Glyph.ClassPrivate); 128VerifyNavigateToResultItem(item, "Bar", "[|Bar|]<T>(T)", PatternMatchKind.Exact, NavigateToItemKind.Method, Glyph.MethodPublic, string.Format(FeaturesResources.in_0_project_1, "Goo<U>", "Test")); 183VerifyNavigateToResultItem(item, "Goo", "[|Goo|]", PatternMatchKind.Exact, NavigateToItemKind.Class, Glyph.ClassInternal); 197VerifyNavigateToResultItem(item, "Bar", "[|B|]ar", PatternMatchKind.Prefix, NavigateToItemKind.Structure, Glyph.StructurePrivate); 214VerifyNavigateToResultItem(item, "Colors", "[|Colors|]", PatternMatchKind.Exact, NavigateToItemKind.Enum, Glyph.EnumPrivate); 231VerifyNavigateToResultItem(item, "Red", "[|R|]ed", PatternMatchKind.Prefix, NavigateToItemKind.EnumItem, Glyph.EnumMemberPublic); 246VerifyNavigateToResultItem(item, "bar", "[|ba|]r", PatternMatchKind.Prefix, NavigateToItemKind.Constant, Glyph.ConstantPrivate); 261VerifyNavigateToResultItem(item, "string", "[|string|]", PatternMatchKind.Exact, NavigateToItemKind.Field, Glyph.FieldPrivate, additionalInfo: string.Format(FeaturesResources.in_0_project_1, "Goo", "Test")); 273VerifyNavigateToResultItem(item, "this", "[|this|][int]", PatternMatchKind.Exact, NavigateToItemKind.Property, Glyph.PropertyPublic, additionalInfo: string.Format(FeaturesResources.in_0_project_1, "Goo", "Test")); 285VerifyNavigateToResultItem(item, "ChangedEventHandler", "[|C|]hanged[|E|]vent[|H|]andler", PatternMatchKind.CamelCaseExact, NavigateToItemKind.Event, Glyph.EventPublic, additionalInfo: string.Format(FeaturesResources.in_0_project_1, "Goo", "Test")); 300VerifyNavigateToResultItem(item, "Bar", "[|B|]ar", PatternMatchKind.Prefix, NavigateToItemKind.Property, Glyph.PropertyPrivate, additionalInfo: string.Format(FeaturesResources.in_0_project_1, "Goo", "Test")); 315VerifyNavigateToResultItem(item, "DoSomething", "[|D|]o[|S|]omething()", PatternMatchKind.CamelCaseExact, NavigateToItemKind.Method, Glyph.MethodPrivate, string.Format(FeaturesResources.in_0_project_1, "Goo", "Test")); 332VerifyNavigateToResultItem(item, "DoSomething", "[|D|]o[|S|]omething(int, string)", PatternMatchKind.CamelCaseExact, NavigateToItemKind.Method, Glyph.MethodPrivate, string.Format(FeaturesResources.in_0_project_1, "Goo", "Test")); 349VerifyNavigateToResultItem(item, "Goo", "[|Goo|]()", PatternMatchKind.Exact, NavigateToItemKind.Method, Glyph.MethodPublic, string.Format(FeaturesResources.in_0_project_1, "Goo", "Test")); 366VerifyNavigateToResultItem(item, "Goo", "[|Goo|](int)", PatternMatchKind.Exact, NavigateToItemKind.Method, Glyph.MethodPublic, string.Format(FeaturesResources.in_0_project_1, "Goo", "Test")); 383VerifyNavigateToResultItem(item, "Goo", "[|Goo|].static Goo()", PatternMatchKind.Exact, NavigateToItemKind.Method, Glyph.MethodPrivate, string.Format(FeaturesResources.in_0_project_1, "Goo", "Test")); 413VerifyNavigateToResultItem(item, "Bar", "[|Bar|]()", PatternMatchKind.Exact, NavigateToItemKind.Method, Glyph.MethodPrivate, string.Format(FeaturesResources.in_0_1_2, "Goo", "test1.cs", "Test")); 457VerifyNavigateToResultItem(item, "IGoo", "[|IG|]oo", PatternMatchKind.Prefix, NavigateToItemKind.Interface, Glyph.InterfacePublic); 472VerifyNavigateToResultItem(item, "DoStuff", "[|DoStuff|]", PatternMatchKind.Exact, NavigateToItemKind.Delegate, Glyph.DelegateInternal); 489VerifyNavigateToResultItem(item, "sqr", "[|sqr|]", PatternMatchKind.Exact, NavigateToItemKind.Field, Glyph.FieldPrivate, string.Format(FeaturesResources.in_0_project_1, "Goo", "Test")); 651VerifyNavigateToResultItem(item, "get_key_word", "[|g|]et[|_k|]ey[|_w|]ord", PatternMatchKind.CamelCaseExact, NavigateToItemKind.Field, Glyph.FieldPrivate);
NavigateTo\NavigateToSearcherTests.cs (1)
285public Glyph Glyph => throw new NotImplementedException();
NavigateTo\NavigateToTests.cs (52)
54VerifyNavigateToResultItem(item, "Goo", "[|Goo|]", PatternMatchKind.Exact, NavigateToItemKind.Class, Glyph.ClassInternal); 68VerifyNavigateToResultItem(item, "Goo", "[|Goo|]", PatternMatchKind.Exact, NavigateToItemKind.Class, Glyph.ClassInternal); 82VerifyNavigateToResultItem(item, "Goo", "[|Goo|]", PatternMatchKind.Exact, NavigateToItemKind.Class, Glyph.ClassInternal); 104VerifyNavigateToResultItem(item, "Goo", "[|Goo|]", PatternMatchKind.Exact, NavigateToItemKind.Structure, Glyph.StructureInternal); 125VerifyNavigateToResultItem(item, "Goo", "[|Goo|]", PatternMatchKind.Exact, NavigateToItemKind.Class, Glyph.ClassInternal); 139VerifyNavigateToResultItem(item, "static", "[|static|]", PatternMatchKind.Exact, NavigateToItemKind.Class, Glyph.ClassInternal); 143VerifyNavigateToResultItem(item, "static", "[|static|]", PatternMatchKind.Exact, NavigateToItemKind.Class, Glyph.ClassInternal); 163VerifyNavigateToResultItem(item, "DogBed", "[|DogBed|]", PatternMatchKind.Exact, NavigateToItemKind.Class, Glyph.ClassInternal); 186VerifyNavigateToResultItem(item, "Method", "[|Method|]()", PatternMatchKind.Exact, NavigateToItemKind.Method, Glyph.MethodPublic, string.Format(FeaturesResources.in_0_project_1, "Goo.Bar.DogBed", "Test")); 202VerifyNavigateToResultItem(item, "Goo", "[|Goo|]<T>", PatternMatchKind.Exact, NavigateToItemKind.Class, Glyph.ClassInternal); 221VerifyNavigateToResultItem(item, "Bar", "[|Bar|]<T>(T)", PatternMatchKind.Exact, NavigateToItemKind.Method, Glyph.MethodPublic, string.Format(FeaturesResources.in_0_project_1, "Goo<U>", "Test")); 276VerifyNavigateToResultItem(item, "Goo", "[|Goo|]", PatternMatchKind.Exact, NavigateToItemKind.Class, Glyph.ClassInternal); 290VerifyNavigateToResultItem(item, "Bar", "[|B|]ar", PatternMatchKind.Prefix, NavigateToItemKind.Structure, Glyph.StructureInternal); 307VerifyNavigateToResultItem(item, "Colors", "[|Colors|]", PatternMatchKind.Exact, NavigateToItemKind.Enum, Glyph.EnumInternal); 324VerifyNavigateToResultItem(item, "Red", "[|R|]ed", PatternMatchKind.Prefix, NavigateToItemKind.EnumItem, Glyph.EnumMemberPublic); 339VerifyNavigateToResultItem(item, "bar", "[|b|]ar", PatternMatchKind.Prefix, NavigateToItemKind.Field, Glyph.FieldPrivate, additionalInfo: string.Format(FeaturesResources.in_0_project_1, "Goo", "Test")); 354VerifyNavigateToResultItem(item, "bar", "[|ba|]r", PatternMatchKind.Prefix, NavigateToItemKind.Field, Glyph.FieldPrivate, additionalInfo: string.Format(FeaturesResources.in_0_project_1, "Goo", "Test")); 383VerifyNavigateToResultItem(item, "string", "[|string|]", PatternMatchKind.Exact, NavigateToItemKind.Field, Glyph.FieldPrivate, additionalInfo: string.Format(FeaturesResources.in_0_project_1, "Goo", "Test")); 387VerifyNavigateToResultItem(item, "string", "[|string|]", PatternMatchKind.Exact, NavigateToItemKind.Field, Glyph.FieldPrivate, additionalInfo: string.Format(FeaturesResources.in_0_project_1, "Goo", "Test")); 416VerifyNavigateToResultItem(item, "bar", "[|b|]ar", PatternMatchKind.Prefix, NavigateToItemKind.Field, Glyph.FieldPrivate); 431VerifyNavigateToResultItem(item, "bar", "[|ba|]r", PatternMatchKind.Prefix, NavigateToItemKind.Constant, Glyph.ConstantPrivate); 443VerifyNavigateToResultItem(item, "this", "[|this|][int]", PatternMatchKind.Exact, NavigateToItemKind.Property, Glyph.PropertyPublic, additionalInfo: string.Format(FeaturesResources.in_0_project_1, "Goo", "Test")); 455VerifyNavigateToResultItem(item, "ChangedEventHandler", "[|C|]hanged[|E|]vent[|H|]andler", PatternMatchKind.CamelCaseExact, NavigateToItemKind.Event, Glyph.EventPublic, additionalInfo: string.Format(FeaturesResources.in_0_project_1, "Goo", "Test")); 470VerifyNavigateToResultItem(item, "Bar", "[|B|]ar", PatternMatchKind.Prefix, NavigateToItemKind.Property, Glyph.PropertyPrivate, additionalInfo: string.Format(FeaturesResources.in_0_project_1, "Goo", "Test")); 485VerifyNavigateToResultItem(item, "DoSomething", "[|D|]o[|S|]omething()", PatternMatchKind.CamelCaseExact, NavigateToItemKind.Method, Glyph.MethodPrivate, string.Format(FeaturesResources.in_0_project_1, "Goo", "Test")); 500VerifyNavigateToResultItem(item, "static", "[|static|]()", PatternMatchKind.Exact, NavigateToItemKind.Method, Glyph.MethodPrivate, string.Format(FeaturesResources.in_0_project_1, "Goo", "Test")); 504VerifyNavigateToResultItem(item, "static", "[|static|]()", PatternMatchKind.Exact, NavigateToItemKind.Method, Glyph.MethodPrivate, string.Format(FeaturesResources.in_0_project_1, "Goo", "Test")); 521VerifyNavigateToResultItem(item, "DoSomething", "[|D|]o[|S|]omething(int, string)", PatternMatchKind.CamelCaseExact, NavigateToItemKind.Method, Glyph.MethodPrivate, string.Format(FeaturesResources.in_0_project_1, "Goo", "Test")); 538VerifyNavigateToResultItem(item, "Goo", "[|Goo|]()", PatternMatchKind.Exact, NavigateToItemKind.Method, Glyph.MethodPublic, string.Format(FeaturesResources.in_0_project_1, "Goo", "Test")); 555VerifyNavigateToResultItem(item, "Goo", "[|Goo|](int)", PatternMatchKind.Exact, NavigateToItemKind.Method, Glyph.MethodPublic, string.Format(FeaturesResources.in_0_project_1, "Goo", "Test")); 572VerifyNavigateToResultItem(item, "Goo", "[|Goo|].static Goo()", PatternMatchKind.Exact, NavigateToItemKind.Method, Glyph.MethodPrivate, string.Format(FeaturesResources.in_0_project_1, "Goo", "Test")); 602VerifyNavigateToResultItem(item, "Bar", "[|Bar|]()", PatternMatchKind.Exact, NavigateToItemKind.Method, Glyph.MethodPrivate, string.Format(FeaturesResources.in_0_1_2, "Goo", "test1.cs", "Test")); 619VerifyNavigateToResultItem(item, "Bar", "[|Bar|]()", PatternMatchKind.Exact, NavigateToItemKind.Method, Glyph.MethodPrivate, string.Format(FeaturesResources.in_0_1_2, "Goo", "test1.cs", "Test")); 663VerifyNavigateToResultItem(item, "IGoo", "[|IG|]oo", PatternMatchKind.Prefix, NavigateToItemKind.Interface, Glyph.InterfacePublic); 677VerifyNavigateToResultItem(item, "Goo", "[|Goo|]()", PatternMatchKind.Exact, NavigateToItemKind.Method, Glyph.MethodPrivate); 691VerifyNavigateToResultItem(item, "Goo", "[|Goo|](int)", PatternMatchKind.Exact, NavigateToItemKind.Method, Glyph.MethodPrivate); 705VerifyNavigateToResultItem(item, "Goo", "[|Goo|]<T>(int)", PatternMatchKind.Exact, NavigateToItemKind.Method, Glyph.MethodPrivate); 722VerifyNavigateToResultItem(item, "Bar", "[|Bar|]()", PatternMatchKind.Exact, NavigateToItemKind.Method, Glyph.MethodPrivate); 746VerifyNavigateToResultItem(item, "Goo", "[|Goo|]()", PatternMatchKind.Exact, NavigateToItemKind.Method, Glyph.MethodPrivate); 770VerifyNavigateToResultItem(item, "Bar", "[|Bar|]()", PatternMatchKind.Exact, NavigateToItemKind.Method, Glyph.MethodPrivate); 785VerifyNavigateToResultItem(item, "DoStuff", "[|DoStuff|]", PatternMatchKind.Exact, NavigateToItemKind.Delegate, Glyph.DelegateInternal); 802VerifyNavigateToResultItem(item, "sqr", "[|sqr|]", PatternMatchKind.Exact, NavigateToItemKind.Field, Glyph.FieldPrivate, string.Format(FeaturesResources.in_0_project_1, "Goo", "Test")); 817VerifyNavigateToResultItem(item, "itemArray", "[|itemArray|]", PatternMatchKind.Exact, NavigateToItemKind.Field, Glyph.FieldPrivate, string.Format(FeaturesResources.in_0_project_1, "Goo", "Test")); 866VerifyNavigateToResultItem(item, "M", "[|M|]()", PatternMatchKind.Exact, NavigateToItemKind.Method, Glyph.MethodPrivate, additionalInfo: string.Format(FeaturesResources.in_0_project_1, "A<T>.B.C<U>", "Test")); 920VerifyNavigateToResultItem(item, "M", "[|M|](object?)", PatternMatchKind.Exact, NavigateToItemKind.Method, Glyph.MethodPrivate); 1044VerifyNavigateToResultItem(item, "get_key_word", "[|g|]et[|_k|]ey[|_w|]ord", PatternMatchKind.CamelCaseExact, NavigateToItemKind.Field, Glyph.FieldPrivate); 1313VerifyNavigateToResultItem(item, "ToError", "ToError()", PatternMatchKind.Fuzzy, NavigateToItemKind.Method, Glyph.MethodPublic); 1330VerifyNavigateToResultItem(item, "ToError", "[|ToError|](__arglist)", PatternMatchKind.Exact, NavigateToItemKind.Method, Glyph.MethodPublic); 1624VerifyNavigateToResultItem(item, "Method", "[|Method|]((int x, Dictionary<int,string> y), (bool b, global::System.Int32 c))", PatternMatchKind.Exact, NavigateToItemKind.Method, Glyph.MethodPublic, string.Format(FeaturesResources.in_0_project_1, "Goo", "Test")); 1639VerifyNavigateToResultItem(item, "Member", "[|Member|]", PatternMatchKind.Exact, NavigateToItemKind.Property, Glyph.PropertyPublic); 1655VerifyNavigateToResultItem(item, "Member", "[|Member|]", PatternMatchKind.Exact, NavigateToItemKind.Property, Glyph.PropertyPublic); 1671VerifyNavigateToResultItem(item, "Member", "[|Member|]", PatternMatchKind.Exact, NavigateToItemKind.Field, Glyph.FieldPublic);
QuickInfo\SemanticQuickInfoSourceTests.cs (1)
6826SymbolGlyph(Glyph.Operator));
Microsoft.CodeAnalysis.CSharp.Features (30)
Completion\CompletionProviders\DeclarationName\DeclarationNameCompletionProvider.cs (1)
109private static CompletionItem CreateCompletionItem(string name, Glyph glyph, string sortText)
Completion\CompletionProviders\DeclarationName\DeclarationNameInfo.cs (15)
641public static Glyph GetGlyph(SymbolKind kind, Accessibility? declaredAccessibility) 643var publicIcon = kind switch 645SymbolKind.Field => Glyph.FieldPublic, 646SymbolKind.Local => Glyph.Local, 647SymbolKind.Method => Glyph.MethodPublic, 648SymbolKind.Parameter => Glyph.Parameter, 649SymbolKind.Property => Glyph.PropertyPublic, 650SymbolKind.RangeVariable => Glyph.RangeVariable, 651SymbolKind.TypeParameter => Glyph.TypeParameter, 658publicIcon += Glyph.ClassPrivate - Glyph.ClassPublic; 664publicIcon += Glyph.ClassProtected - Glyph.ClassPublic; 668publicIcon += Glyph.ClassInternal - Glyph.ClassPublic;
Completion\CompletionProviders\DeclarationName\DeclarationNameRecommender.cs (5)
38public async Task<ImmutableArray<(string name, Glyph glyph)>> ProvideRecommendedNamesAsync( 45using var _ = ArrayBuilder<(string, Glyph)>.GetInstance(out var result); 210ArrayBuilder<(string, Glyph)> result, 235ArrayBuilder<(string, Glyph)> result, 285NameDeclarationInfo declarationInfo, ArrayBuilder<(string, Glyph)> result, CancellationToken cancellationToken)
Completion\CompletionProviders\DeclarationName\IDeclarationNameRecommender.cs (1)
15Task<ImmutableArray<(string name, Glyph glyph)>> ProvideRecommendedNamesAsync(
Completion\CompletionProviders\ExternAliasCompletionProvider.cs (1)
86alias, displayTextSuffix: "", CompletionItemRules.Default, glyph: Glyph.Namespace));
Completion\CompletionProviders\FunctionPointerUnmanagedCallingConventionCompletionProvider.cs (1)
83completionItems.Add(CompletionItem.Create(callingConvention, tags: GlyphTags.GetTags(Glyph.Keyword)));
Completion\CompletionProviders\KeywordCompletionProvider.cs (1)
193glyph: Glyph.Keyword,
Completion\CompletionProviders\OperatorsAndIndexer\UnnamedSymbolCompletionProvider_Conversions.cs (1)
50glyph: Glyph.Operator,
Completion\CompletionProviders\SnippetCompletionProvider.cs (1)
176glyph: Glyph.Snippet,
Completion\CompletionProviders\SpeculativeTCompletionProvider.cs (1)
57T, displayTextSuffix: "", CompletionItemRules.Default, glyph: Glyph.TypeParameter));
ExternalAccess\Pythia\PythiaDeclarationNameRecommender.cs (2)
31public async Task<ImmutableArray<(string name, Glyph glyph)>> ProvideRecommendedNamesAsync( 39return ImmutableArray<(string, Glyph)>.Empty;
Microsoft.CodeAnalysis.EditorFeatures (97)
Extensibility\NavigationBar\NavigationBarItem.cs (2)
19public Glyph Glyph { get; } 38Glyph glyph,
Extensibility\NavigationBar\NavigationBarProjectItem.cs (1)
19Glyph glyph,
Extensibility\NavigationBar\SimpleNavigationBarItem.cs (1)
14public SimpleNavigationBarItem(ITextVersion textVersion, string text, Glyph glyph, ImmutableArray<TextSpan> spans, ImmutableArray<NavigationBarItem> childItems, int indent, bool bolded, bool grayed)
ExternalAccess\VSTypeScript\Api\VSTypeScriptInlineRenameInfo.cs (1)
38Glyph IInlineRenameInfo.Glyph
Host\IPreviewDialogService.cs (2)
24/// <param name="topLevelGlyph">The <see cref="Glyph"/> of the root item in the treeview.</param> 35Glyph topLevelGlyph,
InlineRename\AbstractEditorInlineRenameService.FailureInlineRenameInfo.cs (2)
39public Glyph Glyph => Glyph.None;
InlineRename\AbstractEditorInlineRenameService.SymbolRenameInfo.cs (1)
133public Glyph Glyph => RenameSymbol.GetGlyph();
InlineRename\IEditorInlineRenameService.cs (1)
197Glyph Glyph { get; }
IntelliSense\AsyncCompletion\CompletionSource.cs (1)
51ImmutableArray.Create(new ImageElement(Glyph.CompletionWarning.GetImageId(), EditorFeaturesResources.Warning_image_element));
IntelliSense\QuickInfo\IntellisenseQuickInfoBuilder.cs (6)
36var symbolGlyph = glyphs.FirstOrDefault(g => g != Glyph.CompletionWarning); 37var warningGlyph = glyphs.FirstOrDefault(g => g == Glyph.CompletionWarning); 39if (symbolGlyph != Glyph.None) 44if (warningGlyph != Glyph.None)
LanguageServer\EditorLspReferencesResultCreationService.cs (1)
34Glyph definitionGlyph,
LanguageServer\EditorLspSymbolInformationCreationService.cs (1)
24public SymbolInformation Create(string name, string? containerName, LSP.SymbolKind kind, LSP.Location location, Glyph glyph)
Shared\Extensions\GlyphExtensions.cs (77)
22public static ImageId GetImageId(this Glyph glyph) 31case Glyph.None: 34case Glyph.Assembly: 37case Glyph.BasicFile: 39case Glyph.BasicProject: 42case Glyph.ClassPublic: 44case Glyph.ClassProtected: 46case Glyph.ClassPrivate: 48case Glyph.ClassInternal: 51case Glyph.CSharpFile: 53case Glyph.CSharpProject: 56case Glyph.ConstantPublic: 58case Glyph.ConstantProtected: 60case Glyph.ConstantPrivate: 62case Glyph.ConstantInternal: 65case Glyph.DelegatePublic: 67case Glyph.DelegateProtected: 69case Glyph.DelegatePrivate: 71case Glyph.DelegateInternal: 74case Glyph.EnumPublic: 76case Glyph.EnumProtected: 78case Glyph.EnumPrivate: 80case Glyph.EnumInternal: 83case Glyph.EnumMemberPublic: 84case Glyph.EnumMemberProtected: 85case Glyph.EnumMemberPrivate: 86case Glyph.EnumMemberInternal: 89case Glyph.Error: 92case Glyph.EventPublic: 94case Glyph.EventProtected: 96case Glyph.EventPrivate: 98case Glyph.EventInternal: 102case Glyph.ExtensionMethodPublic: 103case Glyph.ExtensionMethodProtected: 104case Glyph.ExtensionMethodPrivate: 105case Glyph.ExtensionMethodInternal: 108case Glyph.FieldPublic: 110case Glyph.FieldProtected: 112case Glyph.FieldPrivate: 114case Glyph.FieldInternal: 117case Glyph.InterfacePublic: 119case Glyph.InterfaceProtected: 121case Glyph.InterfacePrivate: 123case Glyph.InterfaceInternal: 127case Glyph.Intrinsic: 130case Glyph.Keyword: 133case Glyph.Label: 136case Glyph.Parameter: 137case Glyph.Local: 140case Glyph.Namespace: 143case Glyph.MethodPublic: 145case Glyph.MethodProtected: 147case Glyph.MethodPrivate: 149case Glyph.MethodInternal: 152case Glyph.ModulePublic: 154case Glyph.ModuleProtected: 156case Glyph.ModulePrivate: 158case Glyph.ModuleInternal: 161case Glyph.OpenFolder: 164case Glyph.Operator: 167case Glyph.PropertyPublic: 169case Glyph.PropertyProtected: 171case Glyph.PropertyPrivate: 173case Glyph.PropertyInternal: 176case Glyph.RangeVariable: 179case Glyph.Reference: 192case Glyph.StructurePublic: 194case Glyph.StructureProtected: 196case Glyph.StructurePrivate: 198case Glyph.StructureInternal: 201case Glyph.TypeParameter: 204case Glyph.Snippet: 207case Glyph.CompletionWarning: 210case Glyph.StatusInformation: 213case Glyph.NuGet: 216case Glyph.TargetTypeMatch: 224public static ImageElement GetImageElement(this Glyph glyph)
Microsoft.CodeAnalysis.EditorFeatures.Cocoa (5)
FixAllGetFixesService.cs (4)
184var glyph = languageOpt == null 185? Glyph.Assembly 187? Glyph.CSharpProject 188: Glyph.BasicProject;
PreviewChangesCodeAction.cs (1)
48CodeAnalysis.Glyph.OpenFolder,
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (9)
Completion\AbstractCompletionProviderTests.cs (1)
214if (glyph.HasValue && !c.Tags.SequenceEqual(GlyphTags.GetTags((Glyph)glyph.Value)))
LanguageServer\AbstractLanguageServerProtocolTests.cs (1)
175internal static LSP.SymbolInformation CreateSymbolInformation(LSP.SymbolKind kind, string name, LSP.Location location, Glyph glyph, string? containerName = null)
NavigateTo\AbstractNavigateToTests.cs (1)
189Glyph glyph, string additionalInfo = null)
QuickInfo\AbstractSemanticQuickInfoSourceTests.cs (4)
39internal static Action<QuickInfoItem> SymbolGlyph(Glyph expectedGlyph) 47internal static Action<QuickInfoItem> WarningGlyph(Glyph expectedGlyph) 139WarningGlyph(Glyph.CompletionWarning)(item); 143Assert.DoesNotContain(Glyph.CompletionWarning, item.Tags.GetGlyphs());
RenameTracking\MockPreviewDialogService.cs (2)
24public Glyph TopLevelGlyph; 33public Solution PreviewChanges(string title, string helpString, string description, string topLevelName, Glyph topLevelGlyph, Solution newSolution, Solution oldSolution, bool showCheckBoxes = true)
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (10)
Completion\TestFileSystemCompletionHelper.cs (2)
32: base(Glyph.OpenFolder, Glyph.CSharpFile, searchPaths, baseDirectoryOpt, allowableExtensions, CompletionRules)
InheritanceMargin\InheritanceMarginTests.cs (8)
241public readonly Glyph? LanguageGlyph; 248Glyph? languageGlyph = null, 287public readonly Glyph? LanguageGlyph; 295Glyph? languageGlyph, 2196languageGlyph: Glyph.CSharpFile, 2202languageGlyph: Glyph.BasicFile, 2259languageGlyph: Glyph.CSharpFile, 2265languageGlyph: Glyph.CSharpFile,
Microsoft.CodeAnalysis.EditorFeatures.Wpf (10)
GlyphExtensions.cs (1)
14public static ImageMoniker GetImageMoniker(this Glyph glyph)
Interactive\AbstractInteractiveWindowCommandCompletionProvider.cs (1)
49completion, displayTextSuffix: "", CompletionItemRules.Default, description: command.Description.ToSymbolDisplayParts(), glyph: Glyph.Intrinsic));
Suggestions\FixAll\FixAllGetFixesService.cs (4)
184var glyph = languageOpt == null 185? Glyph.Assembly 187? Glyph.CSharpProject 188: Glyph.BasicProject;
Suggestions\PreviewChanges\PreviewChangesCodeAction.cs (1)
48CodeAnalysis.Glyph.OpenFolder,
Tags\DefaultImageIdService.cs (3)
29var glyph = tags.GetFirstGlyph(); 35case Glyph.AddReference: 36glyph = Glyph.Reference;
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (230)
CodeDefinitionWindow\CrossLanguageCodeDefinitionWindowTests.vb (1)
55Public ReadOnly Property Glyph As Glyph Implements INavigableItem.Glyph
IntelliSense\CSharpCompletionCommandHandlerTests.vb (1)
10614Dim item = ImportCompletionItem.Create("TestUnimportedItem", 0, "Test.Name.Spaces", Glyph.ClassPublic, "", CompletionItemFlags.CachedAndExpanded, Nothing)
NavigationBar\CSharpNavigationBarTests.vb (51)
21Item("C<in I, out O>", Glyph.InterfaceInternal, children:={})) 33Item("Program", Glyph.ClassInternal, children:={ 34Item("Swap<T>(T lhs, T rhs)", Glyph.MethodPrivate)})) 46Item("C", Glyph.ClassInternal, children:={}), 47Item("C.Nested", Glyph.ClassPrivate, children:={})) 59Item("C.Nested", Glyph.ClassPrivate), False, 72Item("E", Glyph.EnumInternal), False, 73Item("A", Glyph.EnumMemberPublic), False) 85Item("C", Glyph.ClassInternal), False, 86Item("goo", Glyph.FieldPrivate), False) 98Item("C", Glyph.ClassInternal), False, 99Item("goo", Glyph.FieldPrivate), False) 111Item("C", Glyph.ClassInternal), True, 112Item("goo", Glyph.FieldPrivate), True) 127Item("C", Glyph.ClassInternal, children:={ 128Item("IDisposable.Dispose()", Glyph.MethodPrivate)})) 142Item("C", Glyph.ClassInternal, children:={ 143Item("M(out string goo, ref string bar)", Glyph.MethodPrivate)})) 157Item("C", Glyph.ClassInternal, children:={ 158Item("M(int i = 0)", Glyph.MethodPrivate)})) 172Item("C", Glyph.ClassInternal, children:={ 173Item("M(CancellationToken cancellationToken = default)", Glyph.MethodPrivate)})) 187Item("C", Glyph.ClassInternal, children:={ 188Item("Number", Glyph.PropertyPrivate)})) 202Item("Goo", Glyph.EnumInternal, children:={ 203Item("A", Glyph.EnumMemberPublic), 204Item("B", Glyph.EnumMemberPublic), 205Item("C", Glyph.EnumMemberPublic)})) 219Item("Goo", Glyph.DelegateInternal, children:={})) 232Item("C", Glyph.ClassInternal), False, 233Item("goo", Glyph.FieldPrivate, grayed:=True), True) 246Item("C", Glyph.ClassInternal, children:={ 247Item("M()", Glyph.MethodPrivate), 248Item("M()", Glyph.MethodPrivate, grayed:=True)})) 261Item("C", Glyph.ClassInternal, children:={ 262Item("M()", Glyph.MethodPrivate), 263Item("M()", Glyph.MethodPrivate, grayed:=True)})) 276Item("C", Glyph.ClassInternal, children:={ 277Item("M()", Glyph.MethodPublic), 278Item("M()", Glyph.MethodPublic, grayed:=True)})) 291Item("C", Glyph.ClassInternal, children:={ 292Item("M()", Glyph.MethodPublic), 293Item("M()", Glyph.MethodPublic, grayed:=True)})) 307Item("C", Glyph.ClassInternal, children:={ 308Item("M(string? s, IEnumerable<string?> e)", Glyph.MethodPrivate)})) 327Item("C", Glyph.ClassInternal), False, 328Item("operator checked +(C x, C y)", Glyph.Operator), False) 347Item("C", Glyph.ClassInternal), False, 348Item("operator checked -(C x)", Glyph.Operator), False) 367Item("C", Glyph.ClassInternal), False, 368Item("explicit operator checked string(C x)", Glyph.Operator), False)
NavigationBar\NavigationBarControllerTests.vb (6)
106Dim projectGlyph As Glyph = Nothing 125Assert.Equal(projectGlyph, Glyph.CSharpProject) 133Assert.Equal(projectGlyph, Glyph.CSharpProject) 165Dim projectGlyph As Glyph = Nothing 185Assert.Equal(projectGlyph, Glyph.BasicProject) 194Assert.Equal(projectGlyph, Glyph.BasicProject)
NavigationBar\TestHelpers.vb (2)
181glyph As Glyph, 199Public Property Glyph As Glyph
NavigationBar\VisualBasicNavigationBarTests.vb (168)
27Item("I", Glyph.InterfaceInternal, bolded:=True, children:={ 28Item("Goo", Glyph.EventPublic, bolded:=True)})) 43Item("S", Glyph.StructureInternal, bolded:=True, children:={})) 58Item("I", Glyph.InterfaceInternal, bolded:=True, children:={})) 84Item("C", Glyph.ClassInternal, bolded:=True, children:={ 85Item("New", Glyph.MethodPublic, bolded:=False, hasNavigationSymbolId:=False), 86Item("Finalize", Glyph.MethodProtected, bolded:=False, hasNavigationSymbolId:=False), 87Item("Operator +(C, C) As C", Glyph.Operator, bolded:=True), 88Item("Operator +(C, Integer) As C", Glyph.Operator, bolded:=True), 89Item("Operator -", Glyph.Operator, bolded:=True)})) 107Item("C", Glyph.ClassInternal, bolded:=True, children:={ 108Item("New", Glyph.MethodPublic, bolded:=False, hasNavigationSymbolId:=False), 109Item("Finalize", Glyph.MethodProtected, bolded:=False, hasNavigationSymbolId:=False), 110Item("Narrowing Operator CType", Glyph.Operator, bolded:=True)})) 132Item("C", Glyph.ClassInternal, bolded:=True, children:={ 133Item("New", Glyph.MethodPublic, bolded:=False, hasNavigationSymbolId:=False), 134Item("Finalize", Glyph.MethodProtected, bolded:=False, hasNavigationSymbolId:=False), 135Item("Narrowing Operator CType(C) As Integer", Glyph.Operator, bolded:=True), 136Item("Narrowing Operator CType(C) As String", Glyph.Operator, bolded:=True)})) 155Item("C", Glyph.ClassInternal, bolded:=True), 156Item("Nested (N.C)", Glyph.ClassPublic, bolded:=True)) 170Item("Goo", Glyph.DelegateInternal, children:={}, bolded:=True)) 185Item("C(Of In T)", Glyph.InterfaceInternal, bolded:=True)) 205Item("C", Glyph.ClassInternal, bolded:=True, children:={ 206Item("New", Glyph.MethodPublic, bolded:=False, hasNavigationSymbolId:=False), 207Item("Finalize", Glyph.MethodProtected, bolded:=False, hasNavigationSymbolId:=False), 208Item("S()", Glyph.MethodPublic, bolded:=True), 209Item("S(Of T)()", Glyph.MethodPublic, bolded:=True)})) 226Item("C", Glyph.ClassInternal, bolded:=True, children:={ 227Item("New", Glyph.MethodPublic, bolded:=False, hasNavigationSymbolId:=False), 228Item("Finalize", Glyph.MethodProtected, bolded:=False, hasNavigationSymbolId:=False), 229Item("S(Of T)()", Glyph.MethodPublic, bolded:=True)})) 246Item("C", Glyph.ClassInternal, bolded:=True, children:={ 247Item("New", Glyph.MethodPublic, bolded:=False, hasNavigationSymbolId:=False), 248Item("Finalize", Glyph.MethodProtected, bolded:=False, hasNavigationSymbolId:=False), 249Item("S(Of T)() As Integer", Glyph.MethodPublic, bolded:=True)})) 266Item("C", Glyph.ClassInternal, bolded:=True, children:={ 267Item("New", Glyph.MethodPublic, bolded:=False, hasNavigationSymbolId:=False), 268Item("Finalize", Glyph.MethodProtected, bolded:=False, hasNavigationSymbolId:=False), 269Item("S", Glyph.MethodPublic, bolded:=True)})) 287Item("Nested (C)", Glyph.ClassPublic, bolded:=True), False, Nothing, False) 305Item("Nested (Z)", Glyph.ClassPublic, bolded:=True), False, Nothing, False) 322Item("C", Glyph.ClassInternal, bolded:=True, children:={ 323Item("New", Glyph.MethodPublic, hasNavigationSymbolId:=False), 324Item("Finalize", Glyph.MethodProtected, bolded:=True)})) 341Item("C", Glyph.ClassInternal, bolded:=True, children:={ 342Item("New", Glyph.MethodPublic, hasNavigationSymbolId:=False), 343Item("Finalize", Glyph.MethodProtected, hasNavigationSymbolId:=False), 344Item("Co", Glyph.ConstantPrivate, bolded:=True), 345Item("F", Glyph.FieldPrivate, bolded:=True)})) 473Item("C", Glyph.ClassInternal, bolded:=True, children:={ 474Item("New", Glyph.MethodPublic, hasNavigationSymbolId:=False), 475Item("Finalize", Glyph.MethodProtected, hasNavigationSymbolId:=False), 476Item("Goo", Glyph.MethodPublic, grayed:=True)})) 492Item("C", Glyph.ClassInternal, bolded:=True, children:={ 493Item("New", Glyph.MethodPublic, hasNavigationSymbolId:=False), 494Item("Finalize", Glyph.MethodProtected, hasNavigationSymbolId:=False)}), 495Item("goo", Glyph.FieldPrivate, bolded:=False, hasNavigationSymbolId:=False, indent:=1, children:={ 496Item("CancelKeyPress", Glyph.EventPublic, hasNavigationSymbolId:=False)})) 525Item("I1", Glyph.InterfaceInternal, bolded:=True, children:={ 526Item("I1Event", Glyph.EventPublic, bolded:=True)}), 527Item("I2", Glyph.InterfaceInternal, bolded:=True, children:={ 528Item("I2Event", Glyph.EventPublic, bolded:=True)}), 529Item("I3", Glyph.InterfaceInternal, bolded:=True, children:={ 530Item("I3Event", Glyph.EventPublic, bolded:=True)}), 531Item("Test", Glyph.ClassInternal, bolded:=True, children:={ 532Item("New", Glyph.MethodPublic, hasNavigationSymbolId:=False), 533Item("Finalize", Glyph.MethodProtected, hasNavigationSymbolId:=False)}), 534Item("i3", Glyph.FieldPrivate, hasNavigationSymbolId:=False, indent:=1, children:={ 535Item("I1Event", Glyph.EventPublic, hasNavigationSymbolId:=False), 536Item("I2Event", Glyph.EventPublic, hasNavigationSymbolId:=False), 537Item("I3Event", Glyph.EventPublic, hasNavigationSymbolId:=False)})) 563Item("B", Glyph.ClassInternal, bolded:=True, children:={ 564Item("New", Glyph.MethodPublic, hasNavigationSymbolId:=False), 565Item("Finalize", Glyph.MethodProtected, hasNavigationSymbolId:=False), 566Item("E", Glyph.EventPublic, bolded:=True)}), 567Item(String.Format(VBFeaturesResources._0_Events, "B"), Glyph.EventPublic, hasNavigationSymbolId:=False, indent:=1, children:={ 568Item("E", Glyph.EventPublic, hasNavigationSymbolId:=False)}), 569Item("C", Glyph.ClassInternal, bolded:=True, children:={ 570Item("New", Glyph.MethodPublic, hasNavigationSymbolId:=False), 571Item("Finalize", Glyph.MethodProtected, hasNavigationSymbolId:=False), 572Item("E", Glyph.EventPublic, bolded:=True)}), 573Item(String.Format(VBFeaturesResources._0_Events, "C"), Glyph.EventPublic, hasNavigationSymbolId:=False, indent:=1, children:={ 574Item("E", Glyph.EventPublic, hasNavigationSymbolId:=False)}), ' Only one E under the "(C Events)" node 575Item("Test", Glyph.ClassInternal, bolded:=True, children:={ 576Item("New", Glyph.MethodPublic, hasNavigationSymbolId:=False), 577Item("Finalize", Glyph.MethodProtected, hasNavigationSymbolId:=False)}), 578Item("c", Glyph.FieldPrivate, hasNavigationSymbolId:=False, indent:=1, children:={ 579Item("E", Glyph.EventPublic, hasNavigationSymbolId:=False)})) ' Only one E for WithEvents handling 599Item("C", Glyph.ClassInternal, bolded:=True, children:={ 600Item("New", Glyph.MethodPublic, hasNavigationSymbolId:=False), 601Item("Finalize", Glyph.MethodProtected, hasNavigationSymbolId:=False), 602Item("E", Glyph.EventPublic, bolded:=True)}), 603Item(String.Format(VBFeaturesResources._0_Events, "C"), Glyph.EventPublic, hasNavigationSymbolId:=False, indent:=1, children:={ 604Item("E", Glyph.EventPublic, hasNavigationSymbolId:=False)}), 605Item("D", Glyph.ClassInternal, bolded:=True, children:={ 606Item("New", Glyph.MethodPublic, hasNavigationSymbolId:=False), 607Item("Finalize", Glyph.MethodProtected, hasNavigationSymbolId:=False)}), 608Item(String.Format(VBFeaturesResources._0_Events, "D"), Glyph.EventPublic, hasNavigationSymbolId:=False, indent:=1, children:={ 609Item("E", Glyph.EventPublic, hasNavigationSymbolId:=False)})) 630Item("C", Glyph.ClassInternal, bolded:=True, children:={ 631Item("New", Glyph.MethodPublic, hasNavigationSymbolId:=False), 632Item("Finalize", Glyph.MethodProtected, hasNavigationSymbolId:=False), 633Item("E", Glyph.EventPrivate, bolded:=True)}), 634Item(String.Format(VBFeaturesResources._0_Events, "C"), Glyph.EventPublic, hasNavigationSymbolId:=False, indent:=1, children:={ 635Item("E", Glyph.EventPrivate, hasNavigationSymbolId:=False)}), 636Item("D", Glyph.ClassInternal, bolded:=True, children:={ 637Item("New", Glyph.MethodPublic, hasNavigationSymbolId:=False), 638Item("Finalize", Glyph.MethodProtected, hasNavigationSymbolId:=False)})) 672Item("C", Glyph.ClassInternal, bolded:=True, children:={ 673Item("New", Glyph.MethodPublic, hasNavigationSymbolId:=False), 674Item("Finalize", Glyph.MethodProtected, hasNavigationSymbolId:=False), 675Item("E0", Glyph.EventPublic, bolded:=True), 676Item("E1", Glyph.EventProtected, bolded:=True), 677Item("E2", Glyph.EventPrivate, bolded:=True)}), 678Item(String.Format(VBFeaturesResources._0_Events, "C"), Glyph.EventPublic, hasNavigationSymbolId:=False, indent:=1, children:={ 679Item("E0", Glyph.EventPublic, hasNavigationSymbolId:=False), 680Item("E1", Glyph.EventProtected, hasNavigationSymbolId:=False), 681Item("E2", Glyph.EventPrivate, hasNavigationSymbolId:=False)}), 682Item("D2", Glyph.ClassInternal, bolded:=True, children:={ 683Item("New", Glyph.MethodPublic, hasNavigationSymbolId:=False), 684Item("Finalize", Glyph.MethodProtected, hasNavigationSymbolId:=False)}), 685Item(String.Format(VBFeaturesResources._0_Events, "D2"), Glyph.EventPublic, hasNavigationSymbolId:=False, indent:=1, children:={ 686Item("E0", Glyph.EventPublic, hasNavigationSymbolId:=False), 687Item("E1", Glyph.EventProtected, hasNavigationSymbolId:=False)}), 688Item("N1 (C)", Glyph.ClassPublic, bolded:=True, children:={ 689Item("New", Glyph.MethodPublic, hasNavigationSymbolId:=False), 690Item("Finalize", Glyph.MethodProtected, hasNavigationSymbolId:=False)}), 691Item("N2 (C.N1)", Glyph.ClassPublic, bolded:=True, children:={ 692Item("New", Glyph.MethodPublic, hasNavigationSymbolId:=False), 693Item("Finalize", Glyph.MethodProtected, hasNavigationSymbolId:=False)}), 694Item(String.Format(VBFeaturesResources._0_Events, "N2"), Glyph.EventPublic, hasNavigationSymbolId:=False, indent:=1, children:={ 695Item("E0", Glyph.EventPublic, hasNavigationSymbolId:=False), 696Item("E1", Glyph.EventProtected, hasNavigationSymbolId:=False), 697Item("E2", Glyph.EventPrivate, hasNavigationSymbolId:=False)}), 698Item("T", Glyph.ClassInternal, bolded:=True, children:={ 699Item("New", Glyph.MethodPublic, hasNavigationSymbolId:=False), 700Item("Finalize", Glyph.MethodProtected, hasNavigationSymbolId:=False)}), 701Item("c", Glyph.FieldPrivate, hasNavigationSymbolId:=False, indent:=1, children:={ 702Item("E0", Glyph.EventPublic, hasNavigationSymbolId:=False)})) 832Item("C", Glyph.ClassInternal, children:={ 833Item("New", Glyph.MethodPublic, hasNavigationSymbolId:=False), 834Item("Finalize", Glyph.MethodProtected, hasNavigationSymbolId:=False), 835Item("BindingError", Glyph.EventPublic, hasNavigationSymbolId:=True, bolded:=True)}, 859Item("C", Glyph.ClassInternal, bolded:=True), 860Item("M", Glyph.FieldPrivate, indent:=1, hasNavigationSymbolId:=False)) 878Item("MyEnum", Glyph.EnumInternal, children:={ 879Item("A", Glyph.EnumMemberPublic), 880Item("B", Glyph.EnumMemberPublic), 881Item("C", Glyph.EnumMemberPublic)}, 910Item("Base", Glyph.ClassPublic, children:={ 911Item("New", Glyph.MethodPublic, hasNavigationSymbolId:=False), 912Item("Finalize", Glyph.MethodProtected, hasNavigationSymbolId:=False)}, 914Item("o1", Glyph.FieldPublic, children:={ 915Item("Ev_Event", Glyph.EventPublic, bolded:=True)}, 919Item("o2", Glyph.FieldPublic, children:={ 920Item("Ev_Event", Glyph.EventPublic, hasNavigationSymbolId:=False)}, 924Item("Class1 (Base)", Glyph.ClassPublic, children:={ 925Item("New", Glyph.MethodPublic, hasNavigationSymbolId:=False), 926Item("Finalize", Glyph.MethodProtected, hasNavigationSymbolId:=False), 927Item("Ev_Event", Glyph.EventPublic, bolded:=True)}, 929Item(String.Format(VBFeaturesResources._0_Events, "Class1"), Glyph.EventPublic, children:={ 930Item("Ev_Event", Glyph.EventPublic, hasNavigationSymbolId:=False)}, 1149Item("C", Glyph.ClassInternal, bolded:=True, children:={ 1150Item("New", Glyph.MethodPublic, bolded:=False, hasNavigationSymbolId:=False), 1151Item("Finalize", Glyph.MethodProtected, bolded:=False, hasNavigationSymbolId:=False), 1152Item("Get_P", Glyph.MethodPublic, bolded:=True), 1153Item("P", Glyph.PropertyPublic, bolded:=True)}))
Rename\InlineRenameTests.vb (1)
1113Assert.Equal(Glyph.ClassInternal, previewService.TopLevelGlyph)
Microsoft.CodeAnalysis.ExternalAccess.FSharp (158)
Completion\FSharpCommonCompletionItem.cs (1)
28var roslynGlyph = glyph.HasValue ? FSharpGlyphHelpers.ConvertTo(glyph.Value) : (Glyph?)null;
Editor\InlineRename\FSharpInlineRenameInfo.cs (1)
36Glyph IInlineRenameInfo.Glyph
Internal\Editor\FSharpEditorInlineRenameService.cs (1)
138public Glyph Glyph => FSharpGlyphHelpers.ConvertTo(_info.Glyph);
Internal\FSharpGlyphHelpers.cs (154)
14public static FSharpGlyph ConvertFrom(Microsoft.CodeAnalysis.Glyph glyph) 18case Microsoft.CodeAnalysis.Glyph.None: 22case Microsoft.CodeAnalysis.Glyph.Assembly: 26case Microsoft.CodeAnalysis.Glyph.BasicFile: 30case Microsoft.CodeAnalysis.Glyph.BasicProject: 34case Microsoft.CodeAnalysis.Glyph.ClassPublic: 38case Microsoft.CodeAnalysis.Glyph.ClassProtected: 42case Microsoft.CodeAnalysis.Glyph.ClassPrivate: 46case Microsoft.CodeAnalysis.Glyph.ClassInternal: 50case Microsoft.CodeAnalysis.Glyph.CSharpFile: 54case Microsoft.CodeAnalysis.Glyph.CSharpProject: 58case Microsoft.CodeAnalysis.Glyph.ConstantPublic: 62case Microsoft.CodeAnalysis.Glyph.ConstantProtected: 66case Microsoft.CodeAnalysis.Glyph.ConstantPrivate: 70case Microsoft.CodeAnalysis.Glyph.ConstantInternal: 74case Microsoft.CodeAnalysis.Glyph.DelegatePublic: 78case Microsoft.CodeAnalysis.Glyph.DelegateProtected: 82case Microsoft.CodeAnalysis.Glyph.DelegatePrivate: 86case Microsoft.CodeAnalysis.Glyph.DelegateInternal: 90case Microsoft.CodeAnalysis.Glyph.EnumPublic: 94case Microsoft.CodeAnalysis.Glyph.EnumProtected: 98case Microsoft.CodeAnalysis.Glyph.EnumPrivate: 102case Microsoft.CodeAnalysis.Glyph.EnumInternal: 106case Microsoft.CodeAnalysis.Glyph.EnumMemberPublic: 110case Microsoft.CodeAnalysis.Glyph.EnumMemberProtected: 114case Microsoft.CodeAnalysis.Glyph.EnumMemberPrivate: 118case Microsoft.CodeAnalysis.Glyph.EnumMemberInternal: 122case Microsoft.CodeAnalysis.Glyph.Error: 126case Microsoft.CodeAnalysis.Glyph.StatusInformation: 130case Microsoft.CodeAnalysis.Glyph.EventPublic: 134case Microsoft.CodeAnalysis.Glyph.EventProtected: 138case Microsoft.CodeAnalysis.Glyph.EventPrivate: 142case Microsoft.CodeAnalysis.Glyph.EventInternal: 146case Microsoft.CodeAnalysis.Glyph.ExtensionMethodPublic: 150case Microsoft.CodeAnalysis.Glyph.ExtensionMethodProtected: 154case Microsoft.CodeAnalysis.Glyph.ExtensionMethodPrivate: 158case Microsoft.CodeAnalysis.Glyph.ExtensionMethodInternal: 162case Microsoft.CodeAnalysis.Glyph.FieldPublic: 166case Microsoft.CodeAnalysis.Glyph.FieldProtected: 170case Microsoft.CodeAnalysis.Glyph.FieldPrivate: 174case Microsoft.CodeAnalysis.Glyph.FieldInternal: 178case Microsoft.CodeAnalysis.Glyph.InterfacePublic: 182case Microsoft.CodeAnalysis.Glyph.InterfaceProtected: 186case Microsoft.CodeAnalysis.Glyph.InterfacePrivate: 190case Microsoft.CodeAnalysis.Glyph.InterfaceInternal: 194case Microsoft.CodeAnalysis.Glyph.Intrinsic: 198case Microsoft.CodeAnalysis.Glyph.Keyword: 202case Microsoft.CodeAnalysis.Glyph.Label: 206case Microsoft.CodeAnalysis.Glyph.Local: 210case Microsoft.CodeAnalysis.Glyph.Namespace: 214case Microsoft.CodeAnalysis.Glyph.MethodPublic: 218case Microsoft.CodeAnalysis.Glyph.MethodProtected: 222case Microsoft.CodeAnalysis.Glyph.MethodPrivate: 226case Microsoft.CodeAnalysis.Glyph.MethodInternal: 230case Microsoft.CodeAnalysis.Glyph.ModulePublic: 234case Microsoft.CodeAnalysis.Glyph.ModuleProtected: 238case Microsoft.CodeAnalysis.Glyph.ModulePrivate: 242case Microsoft.CodeAnalysis.Glyph.ModuleInternal: 246case Microsoft.CodeAnalysis.Glyph.OpenFolder: 250case Microsoft.CodeAnalysis.Glyph.Operator: 254case Microsoft.CodeAnalysis.Glyph.Parameter: 258case Microsoft.CodeAnalysis.Glyph.PropertyPublic: 262case Microsoft.CodeAnalysis.Glyph.PropertyProtected: 266case Microsoft.CodeAnalysis.Glyph.PropertyPrivate: 270case Microsoft.CodeAnalysis.Glyph.PropertyInternal: 274case Microsoft.CodeAnalysis.Glyph.RangeVariable: 278case Microsoft.CodeAnalysis.Glyph.Reference: 282case Microsoft.CodeAnalysis.Glyph.StructurePublic: 286case Microsoft.CodeAnalysis.Glyph.StructureProtected: 290case Microsoft.CodeAnalysis.Glyph.StructurePrivate: 294case Microsoft.CodeAnalysis.Glyph.StructureInternal: 298case Microsoft.CodeAnalysis.Glyph.TypeParameter: 302case Microsoft.CodeAnalysis.Glyph.Snippet: 306case Microsoft.CodeAnalysis.Glyph.CompletionWarning: 310case Microsoft.CodeAnalysis.Glyph.AddReference: 314case Microsoft.CodeAnalysis.Glyph.NuGet: 318case Microsoft.CodeAnalysis.Glyph.TargetTypeMatch: 329public static Microsoft.CodeAnalysis.Glyph ConvertTo(FSharpGlyph glyph) 335return Microsoft.CodeAnalysis.Glyph.None; 339return Microsoft.CodeAnalysis.Glyph.Assembly; 343return Microsoft.CodeAnalysis.Glyph.BasicFile; 347return Microsoft.CodeAnalysis.Glyph.BasicProject; 351return Microsoft.CodeAnalysis.Glyph.ClassPublic; 355return Microsoft.CodeAnalysis.Glyph.ClassProtected; 359return Microsoft.CodeAnalysis.Glyph.ClassPrivate; 363return Microsoft.CodeAnalysis.Glyph.ClassInternal; 367return Microsoft.CodeAnalysis.Glyph.CSharpFile; 371return Microsoft.CodeAnalysis.Glyph.CSharpProject; 375return Microsoft.CodeAnalysis.Glyph.ConstantPublic; 379return Microsoft.CodeAnalysis.Glyph.ConstantProtected; 383return Microsoft.CodeAnalysis.Glyph.ConstantPrivate; 387return Microsoft.CodeAnalysis.Glyph.ConstantInternal; 391return Microsoft.CodeAnalysis.Glyph.DelegatePublic; 395return Microsoft.CodeAnalysis.Glyph.DelegateProtected; 399return Microsoft.CodeAnalysis.Glyph.DelegatePrivate; 403return Microsoft.CodeAnalysis.Glyph.DelegateInternal; 407return Microsoft.CodeAnalysis.Glyph.EnumPublic; 411return Microsoft.CodeAnalysis.Glyph.EnumProtected; 415return Microsoft.CodeAnalysis.Glyph.EnumPrivate; 419return Microsoft.CodeAnalysis.Glyph.EnumInternal; 423return Microsoft.CodeAnalysis.Glyph.EnumMemberPublic; 427return Microsoft.CodeAnalysis.Glyph.EnumMemberProtected; 431return Microsoft.CodeAnalysis.Glyph.EnumMemberPrivate; 435return Microsoft.CodeAnalysis.Glyph.EnumMemberInternal; 439return Microsoft.CodeAnalysis.Glyph.Error; 443return Microsoft.CodeAnalysis.Glyph.StatusInformation; 447return Microsoft.CodeAnalysis.Glyph.EventPublic; 451return Microsoft.CodeAnalysis.Glyph.EventProtected; 455return Microsoft.CodeAnalysis.Glyph.EventPrivate; 459return Microsoft.CodeAnalysis.Glyph.EventInternal; 463return Microsoft.CodeAnalysis.Glyph.ExtensionMethodPublic; 467return Microsoft.CodeAnalysis.Glyph.ExtensionMethodProtected; 471return Microsoft.CodeAnalysis.Glyph.ExtensionMethodPrivate; 475return Microsoft.CodeAnalysis.Glyph.ExtensionMethodInternal; 479return Microsoft.CodeAnalysis.Glyph.FieldPublic; 483return Microsoft.CodeAnalysis.Glyph.FieldProtected; 487return Microsoft.CodeAnalysis.Glyph.FieldPrivate; 491return Microsoft.CodeAnalysis.Glyph.FieldInternal; 495return Microsoft.CodeAnalysis.Glyph.InterfacePublic; 499return Microsoft.CodeAnalysis.Glyph.InterfaceProtected; 503return Microsoft.CodeAnalysis.Glyph.InterfacePrivate; 507return Microsoft.CodeAnalysis.Glyph.InterfaceInternal; 511return Microsoft.CodeAnalysis.Glyph.Intrinsic; 515return Microsoft.CodeAnalysis.Glyph.Keyword; 519return Microsoft.CodeAnalysis.Glyph.Label; 523return Microsoft.CodeAnalysis.Glyph.Local; 527return Microsoft.CodeAnalysis.Glyph.Namespace; 531return Microsoft.CodeAnalysis.Glyph.MethodPublic; 535return Microsoft.CodeAnalysis.Glyph.MethodProtected; 539return Microsoft.CodeAnalysis.Glyph.MethodPrivate; 543return Microsoft.CodeAnalysis.Glyph.MethodInternal; 547return Microsoft.CodeAnalysis.Glyph.ModulePublic; 551return Microsoft.CodeAnalysis.Glyph.ModuleProtected; 555return Microsoft.CodeAnalysis.Glyph.ModulePrivate; 559return Microsoft.CodeAnalysis.Glyph.ModuleInternal; 563return Microsoft.CodeAnalysis.Glyph.OpenFolder; 567return Microsoft.CodeAnalysis.Glyph.Operator; 571return Microsoft.CodeAnalysis.Glyph.Parameter; 575return Microsoft.CodeAnalysis.Glyph.PropertyPublic; 579return Microsoft.CodeAnalysis.Glyph.PropertyProtected; 583return Microsoft.CodeAnalysis.Glyph.PropertyPrivate; 587return Microsoft.CodeAnalysis.Glyph.PropertyInternal; 591return Microsoft.CodeAnalysis.Glyph.RangeVariable; 595return Microsoft.CodeAnalysis.Glyph.Reference; 599return Microsoft.CodeAnalysis.Glyph.StructurePublic; 603return Microsoft.CodeAnalysis.Glyph.StructureProtected; 607return Microsoft.CodeAnalysis.Glyph.StructurePrivate; 611return Microsoft.CodeAnalysis.Glyph.StructureInternal; 615return Microsoft.CodeAnalysis.Glyph.TypeParameter; 619return Microsoft.CodeAnalysis.Glyph.Snippet; 623return Microsoft.CodeAnalysis.Glyph.CompletionWarning; 627return Microsoft.CodeAnalysis.Glyph.AddReference; 631return Microsoft.CodeAnalysis.Glyph.NuGet; 635return Microsoft.CodeAnalysis.Glyph.TargetTypeMatch;
Internal\Navigation\InternalFSharpNavigableItem.cs (1)
24public Glyph Glyph { get; }
Microsoft.CodeAnalysis.ExternalAccess.FSharp.UnitTests (158)
FSharpGlyphTests.cs (158)
27foreach (var number in Enum.GetValues(typeof(Glyph))) 33internal static FSharpGlyph GetExpectedFSharpGlyph(Microsoft.CodeAnalysis.Glyph glyph) 37case Microsoft.CodeAnalysis.Glyph.None: 41case Microsoft.CodeAnalysis.Glyph.Assembly: 45case Microsoft.CodeAnalysis.Glyph.BasicFile: 49case Microsoft.CodeAnalysis.Glyph.BasicProject: 53case Microsoft.CodeAnalysis.Glyph.ClassPublic: 57case Microsoft.CodeAnalysis.Glyph.ClassProtected: 61case Microsoft.CodeAnalysis.Glyph.ClassPrivate: 65case Microsoft.CodeAnalysis.Glyph.ClassInternal: 69case Microsoft.CodeAnalysis.Glyph.CSharpFile: 73case Microsoft.CodeAnalysis.Glyph.CSharpProject: 77case Microsoft.CodeAnalysis.Glyph.ConstantPublic: 81case Microsoft.CodeAnalysis.Glyph.ConstantProtected: 85case Microsoft.CodeAnalysis.Glyph.ConstantPrivate: 89case Microsoft.CodeAnalysis.Glyph.ConstantInternal: 93case Microsoft.CodeAnalysis.Glyph.DelegatePublic: 97case Microsoft.CodeAnalysis.Glyph.DelegateProtected: 101case Microsoft.CodeAnalysis.Glyph.DelegatePrivate: 105case Microsoft.CodeAnalysis.Glyph.DelegateInternal: 109case Microsoft.CodeAnalysis.Glyph.EnumPublic: 113case Microsoft.CodeAnalysis.Glyph.EnumProtected: 117case Microsoft.CodeAnalysis.Glyph.EnumPrivate: 121case Microsoft.CodeAnalysis.Glyph.EnumInternal: 125case Microsoft.CodeAnalysis.Glyph.EnumMemberPublic: 129case Microsoft.CodeAnalysis.Glyph.EnumMemberProtected: 133case Microsoft.CodeAnalysis.Glyph.EnumMemberPrivate: 137case Microsoft.CodeAnalysis.Glyph.EnumMemberInternal: 141case Microsoft.CodeAnalysis.Glyph.Error: 145case Microsoft.CodeAnalysis.Glyph.StatusInformation: 149case Microsoft.CodeAnalysis.Glyph.EventPublic: 153case Microsoft.CodeAnalysis.Glyph.EventProtected: 157case Microsoft.CodeAnalysis.Glyph.EventPrivate: 161case Microsoft.CodeAnalysis.Glyph.EventInternal: 165case Microsoft.CodeAnalysis.Glyph.ExtensionMethodPublic: 169case Microsoft.CodeAnalysis.Glyph.ExtensionMethodProtected: 173case Microsoft.CodeAnalysis.Glyph.ExtensionMethodPrivate: 177case Microsoft.CodeAnalysis.Glyph.ExtensionMethodInternal: 181case Microsoft.CodeAnalysis.Glyph.FieldPublic: 185case Microsoft.CodeAnalysis.Glyph.FieldProtected: 189case Microsoft.CodeAnalysis.Glyph.FieldPrivate: 193case Microsoft.CodeAnalysis.Glyph.FieldInternal: 197case Microsoft.CodeAnalysis.Glyph.InterfacePublic: 201case Microsoft.CodeAnalysis.Glyph.InterfaceProtected: 205case Microsoft.CodeAnalysis.Glyph.InterfacePrivate: 209case Microsoft.CodeAnalysis.Glyph.InterfaceInternal: 213case Microsoft.CodeAnalysis.Glyph.Intrinsic: 217case Microsoft.CodeAnalysis.Glyph.Keyword: 221case Microsoft.CodeAnalysis.Glyph.Label: 225case Microsoft.CodeAnalysis.Glyph.Local: 229case Microsoft.CodeAnalysis.Glyph.Namespace: 233case Microsoft.CodeAnalysis.Glyph.MethodPublic: 237case Microsoft.CodeAnalysis.Glyph.MethodProtected: 241case Microsoft.CodeAnalysis.Glyph.MethodPrivate: 245case Microsoft.CodeAnalysis.Glyph.MethodInternal: 249case Microsoft.CodeAnalysis.Glyph.ModulePublic: 253case Microsoft.CodeAnalysis.Glyph.ModuleProtected: 257case Microsoft.CodeAnalysis.Glyph.ModulePrivate: 261case Microsoft.CodeAnalysis.Glyph.ModuleInternal: 265case Microsoft.CodeAnalysis.Glyph.OpenFolder: 269case Microsoft.CodeAnalysis.Glyph.Operator: 273case Microsoft.CodeAnalysis.Glyph.Parameter: 277case Microsoft.CodeAnalysis.Glyph.PropertyPublic: 281case Microsoft.CodeAnalysis.Glyph.PropertyProtected: 285case Microsoft.CodeAnalysis.Glyph.PropertyPrivate: 289case Microsoft.CodeAnalysis.Glyph.PropertyInternal: 293case Microsoft.CodeAnalysis.Glyph.RangeVariable: 297case Microsoft.CodeAnalysis.Glyph.Reference: 301case Microsoft.CodeAnalysis.Glyph.StructurePublic: 305case Microsoft.CodeAnalysis.Glyph.StructureProtected: 309case Microsoft.CodeAnalysis.Glyph.StructurePrivate: 313case Microsoft.CodeAnalysis.Glyph.StructureInternal: 317case Microsoft.CodeAnalysis.Glyph.TypeParameter: 321case Microsoft.CodeAnalysis.Glyph.Snippet: 325case Microsoft.CodeAnalysis.Glyph.CompletionWarning: 329case Microsoft.CodeAnalysis.Glyph.AddReference: 333case Microsoft.CodeAnalysis.Glyph.NuGet: 337case Microsoft.CodeAnalysis.Glyph.TargetTypeMatch: 348internal static Microsoft.CodeAnalysis.Glyph GetExpectedGlyph(FSharpGlyph glyph) 354return Microsoft.CodeAnalysis.Glyph.None; 358return Microsoft.CodeAnalysis.Glyph.Assembly; 362return Microsoft.CodeAnalysis.Glyph.BasicFile; 366return Microsoft.CodeAnalysis.Glyph.BasicProject; 370return Microsoft.CodeAnalysis.Glyph.ClassPublic; 374return Microsoft.CodeAnalysis.Glyph.ClassProtected; 378return Microsoft.CodeAnalysis.Glyph.ClassPrivate; 382return Microsoft.CodeAnalysis.Glyph.ClassInternal; 386return Microsoft.CodeAnalysis.Glyph.CSharpFile; 390return Microsoft.CodeAnalysis.Glyph.CSharpProject; 394return Microsoft.CodeAnalysis.Glyph.ConstantPublic; 398return Microsoft.CodeAnalysis.Glyph.ConstantProtected; 402return Microsoft.CodeAnalysis.Glyph.ConstantPrivate; 406return Microsoft.CodeAnalysis.Glyph.ConstantInternal; 410return Microsoft.CodeAnalysis.Glyph.DelegatePublic; 414return Microsoft.CodeAnalysis.Glyph.DelegateProtected; 418return Microsoft.CodeAnalysis.Glyph.DelegatePrivate; 422return Microsoft.CodeAnalysis.Glyph.DelegateInternal; 426return Microsoft.CodeAnalysis.Glyph.EnumPublic; 430return Microsoft.CodeAnalysis.Glyph.EnumProtected; 434return Microsoft.CodeAnalysis.Glyph.EnumPrivate; 438return Microsoft.CodeAnalysis.Glyph.EnumInternal; 442return Microsoft.CodeAnalysis.Glyph.EnumMemberPublic; 446return Microsoft.CodeAnalysis.Glyph.EnumMemberProtected; 450return Microsoft.CodeAnalysis.Glyph.EnumMemberPrivate; 454return Microsoft.CodeAnalysis.Glyph.EnumMemberInternal; 458return Microsoft.CodeAnalysis.Glyph.Error; 462return Microsoft.CodeAnalysis.Glyph.StatusInformation; 466return Microsoft.CodeAnalysis.Glyph.EventPublic; 470return Microsoft.CodeAnalysis.Glyph.EventProtected; 474return Microsoft.CodeAnalysis.Glyph.EventPrivate; 478return Microsoft.CodeAnalysis.Glyph.EventInternal; 482return Microsoft.CodeAnalysis.Glyph.ExtensionMethodPublic; 486return Microsoft.CodeAnalysis.Glyph.ExtensionMethodProtected; 490return Microsoft.CodeAnalysis.Glyph.ExtensionMethodPrivate; 494return Microsoft.CodeAnalysis.Glyph.ExtensionMethodInternal; 498return Microsoft.CodeAnalysis.Glyph.FieldPublic; 502return Microsoft.CodeAnalysis.Glyph.FieldProtected; 506return Microsoft.CodeAnalysis.Glyph.FieldPrivate; 510return Microsoft.CodeAnalysis.Glyph.FieldInternal; 514return Microsoft.CodeAnalysis.Glyph.InterfacePublic; 518return Microsoft.CodeAnalysis.Glyph.InterfaceProtected; 522return Microsoft.CodeAnalysis.Glyph.InterfacePrivate; 526return Microsoft.CodeAnalysis.Glyph.InterfaceInternal; 530return Microsoft.CodeAnalysis.Glyph.Intrinsic; 534return Microsoft.CodeAnalysis.Glyph.Keyword; 538return Microsoft.CodeAnalysis.Glyph.Label; 542return Microsoft.CodeAnalysis.Glyph.Local; 546return Microsoft.CodeAnalysis.Glyph.Namespace; 550return Microsoft.CodeAnalysis.Glyph.MethodPublic; 554return Microsoft.CodeAnalysis.Glyph.MethodProtected; 558return Microsoft.CodeAnalysis.Glyph.MethodPrivate; 562return Microsoft.CodeAnalysis.Glyph.MethodInternal; 566return Microsoft.CodeAnalysis.Glyph.ModulePublic; 570return Microsoft.CodeAnalysis.Glyph.ModuleProtected; 574return Microsoft.CodeAnalysis.Glyph.ModulePrivate; 578return Microsoft.CodeAnalysis.Glyph.ModuleInternal; 582return Microsoft.CodeAnalysis.Glyph.OpenFolder; 586return Microsoft.CodeAnalysis.Glyph.Operator; 590return Microsoft.CodeAnalysis.Glyph.Parameter; 594return Microsoft.CodeAnalysis.Glyph.PropertyPublic; 598return Microsoft.CodeAnalysis.Glyph.PropertyProtected; 602return Microsoft.CodeAnalysis.Glyph.PropertyPrivate; 606return Microsoft.CodeAnalysis.Glyph.PropertyInternal; 610return Microsoft.CodeAnalysis.Glyph.RangeVariable; 614return Microsoft.CodeAnalysis.Glyph.Reference; 618return Microsoft.CodeAnalysis.Glyph.StructurePublic; 622return Microsoft.CodeAnalysis.Glyph.StructureProtected; 626return Microsoft.CodeAnalysis.Glyph.StructurePrivate; 630return Microsoft.CodeAnalysis.Glyph.StructureInternal; 634return Microsoft.CodeAnalysis.Glyph.TypeParameter; 638return Microsoft.CodeAnalysis.Glyph.Snippet; 642return Microsoft.CodeAnalysis.Glyph.CompletionWarning; 646return Microsoft.CodeAnalysis.Glyph.AddReference; 650return Microsoft.CodeAnalysis.Glyph.NuGet; 654return Microsoft.CodeAnalysis.Glyph.TargetTypeMatch; 667var actual = FSharpGlyphHelpers.ConvertTo(glyph); 668var expected = GetExpectedGlyph(glyph); 674internal void MapsCorrectlyOpposite(Glyph glyph)
Microsoft.CodeAnalysis.Features (452)
ChangeSignature\ChangeSignatureResult.cs (2)
14public Glyph? Glyph { get; } 28Glyph? glyph = null,
CodeLens\ReferenceLocationDescriptor.cs (2)
34public Glyph? Glyph { get; } 117Glyph? glyph,
Common\GlyphExtensions.cs (82)
14public static ImmutableArray<Glyph> GetGlyphs(this ImmutableArray<string> tags) 16var builder = ImmutableArray.CreateBuilder<Glyph>(initialCapacity: tags.Length); 20var glyph = GetGlyph(tag, tags); 21if (glyph != Glyph.None) 30public static Glyph GetFirstGlyph(this ImmutableArray<string> tags) 36: Glyph.None; 39private static Glyph GetGlyph(string tag, ImmutableArray<string> allTags) 44return Glyph.Assembly; 47return allTags.Contains(LanguageNames.VisualBasic) ? Glyph.BasicFile : Glyph.CSharpFile; 50return allTags.Contains(LanguageNames.VisualBasic) ? Glyph.BasicProject : Glyph.CSharpProject; 55Accessibility.Protected => Glyph.ClassProtected, 56Accessibility.Private => Glyph.ClassPrivate, 57Accessibility.Internal => Glyph.ClassInternal, 58_ => Glyph.ClassPublic, 63Accessibility.Protected => Glyph.ConstantProtected, 64Accessibility.Private => Glyph.ConstantPrivate, 65Accessibility.Internal => Glyph.ConstantInternal, 66_ => Glyph.ConstantPublic, 71Accessibility.Protected => Glyph.DelegateProtected, 72Accessibility.Private => Glyph.DelegatePrivate, 73Accessibility.Internal => Glyph.DelegateInternal, 74_ => Glyph.DelegatePublic, 79Accessibility.Protected => Glyph.EnumProtected, 80Accessibility.Private => Glyph.EnumPrivate, 81Accessibility.Internal => Glyph.EnumInternal, 82_ => Glyph.EnumPublic, 87Accessibility.Protected => Glyph.EnumMemberProtected, 88Accessibility.Private => Glyph.EnumMemberPrivate, 89Accessibility.Internal => Glyph.EnumMemberInternal, 90_ => Glyph.EnumMemberPublic, 93return Glyph.Error; 98Accessibility.Protected => Glyph.EventProtected, 99Accessibility.Private => Glyph.EventPrivate, 100Accessibility.Internal => Glyph.EventInternal, 101_ => Glyph.EventPublic, 106Accessibility.Protected => Glyph.ExtensionMethodProtected, 107Accessibility.Private => Glyph.ExtensionMethodPrivate, 108Accessibility.Internal => Glyph.ExtensionMethodInternal, 109_ => Glyph.ExtensionMethodPublic, 114Accessibility.Protected => Glyph.FieldProtected, 115Accessibility.Private => Glyph.FieldPrivate, 116Accessibility.Internal => Glyph.FieldInternal, 117_ => Glyph.FieldPublic, 122Accessibility.Protected => Glyph.InterfaceProtected, 123Accessibility.Private => Glyph.InterfacePrivate, 124Accessibility.Internal => Glyph.InterfaceInternal, 125_ => Glyph.InterfacePublic, 128return Glyph.TargetTypeMatch; 131return Glyph.Intrinsic; 134return Glyph.Keyword; 137return Glyph.Label; 140return Glyph.Local; 143return Glyph.Namespace; 148Accessibility.Protected => Glyph.MethodProtected, 149Accessibility.Private => Glyph.MethodPrivate, 150Accessibility.Internal => Glyph.MethodInternal, 151_ => Glyph.MethodPublic, 156Accessibility.Protected => Glyph.ModulePublic, 157Accessibility.Private => Glyph.ModulePrivate, 158Accessibility.Internal => Glyph.ModuleInternal, 159_ => Glyph.ModulePublic, 162return Glyph.OpenFolder; 165return Glyph.Operator; 168return Glyph.Parameter; 173Accessibility.Protected => Glyph.PropertyProtected, 174Accessibility.Private => Glyph.PropertyPrivate, 175Accessibility.Internal => Glyph.PropertyInternal, 176_ => Glyph.PropertyPublic, 179return Glyph.RangeVariable; 182return Glyph.Reference; 185return Glyph.NuGet; 190Accessibility.Protected => Glyph.StructureProtected, 191Accessibility.Private => Glyph.StructurePrivate, 192Accessibility.Internal => Glyph.StructureInternal, 193_ => Glyph.StructurePublic, 196return Glyph.TypeParameter; 199return Glyph.Snippet; 202return Glyph.CompletionWarning; 205return Glyph.StatusInformation; 208return Glyph.None;
Common\GlyphTags.cs (73)
14public static ImmutableArray<string> GetTags(Glyph glyph) 17Glyph.Assembly => WellKnownTagArrays.Assembly, 18Glyph.BasicFile => WellKnownTagArrays.VisualBasicFile, 19Glyph.BasicProject => WellKnownTagArrays.VisualBasicProject, 20Glyph.ClassPublic => WellKnownTagArrays.ClassPublic, 21Glyph.ClassProtected => WellKnownTagArrays.ClassProtected, 22Glyph.ClassPrivate => WellKnownTagArrays.ClassPrivate, 23Glyph.ClassInternal => WellKnownTagArrays.ClassInternal, 24Glyph.CSharpFile => WellKnownTagArrays.CSharpFile, 25Glyph.CSharpProject => WellKnownTagArrays.CSharpProject, 26Glyph.ConstantPublic => WellKnownTagArrays.ConstantPublic, 27Glyph.ConstantProtected => WellKnownTagArrays.ConstantProtected, 28Glyph.ConstantPrivate => WellKnownTagArrays.ConstantPrivate, 29Glyph.ConstantInternal => WellKnownTagArrays.ConstantInternal, 30Glyph.DelegatePublic => WellKnownTagArrays.DelegatePublic, 31Glyph.DelegateProtected => WellKnownTagArrays.DelegateProtected, 32Glyph.DelegatePrivate => WellKnownTagArrays.DelegatePrivate, 33Glyph.DelegateInternal => WellKnownTagArrays.DelegateInternal, 34Glyph.EnumPublic => WellKnownTagArrays.EnumPublic, 35Glyph.EnumProtected => WellKnownTagArrays.EnumProtected, 36Glyph.EnumPrivate => WellKnownTagArrays.EnumPrivate, 37Glyph.EnumInternal => WellKnownTagArrays.EnumInternal, 38Glyph.EnumMemberPublic => WellKnownTagArrays.EnumMemberPublic, 39Glyph.EnumMemberProtected => WellKnownTagArrays.EnumMemberProtected, 40Glyph.EnumMemberPrivate => WellKnownTagArrays.EnumMemberPrivate, 41Glyph.EnumMemberInternal => WellKnownTagArrays.EnumMemberInternal, 42Glyph.Error => WellKnownTagArrays.Error, 43Glyph.EventPublic => WellKnownTagArrays.EventPublic, 44Glyph.EventProtected => WellKnownTagArrays.EventProtected, 45Glyph.EventPrivate => WellKnownTagArrays.EventPrivate, 46Glyph.EventInternal => WellKnownTagArrays.EventInternal, 47Glyph.ExtensionMethodPublic => WellKnownTagArrays.ExtensionMethodPublic, 48Glyph.ExtensionMethodProtected => WellKnownTagArrays.ExtensionMethodProtected, 49Glyph.ExtensionMethodPrivate => WellKnownTagArrays.ExtensionMethodPrivate, 50Glyph.ExtensionMethodInternal => WellKnownTagArrays.ExtensionMethodInternal, 51Glyph.FieldPublic => WellKnownTagArrays.FieldPublic, 52Glyph.FieldProtected => WellKnownTagArrays.FieldProtected, 53Glyph.FieldPrivate => WellKnownTagArrays.FieldPrivate, 54Glyph.FieldInternal => WellKnownTagArrays.FieldInternal, 55Glyph.InterfacePublic => WellKnownTagArrays.InterfacePublic, 56Glyph.InterfaceProtected => WellKnownTagArrays.InterfaceProtected, 57Glyph.InterfacePrivate => WellKnownTagArrays.InterfacePrivate, 58Glyph.InterfaceInternal => WellKnownTagArrays.InterfaceInternal, 59Glyph.Intrinsic => WellKnownTagArrays.Intrinsic, 60Glyph.Keyword => WellKnownTagArrays.Keyword, 61Glyph.Label => WellKnownTagArrays.Label, 62Glyph.Local => WellKnownTagArrays.Local, 63Glyph.Namespace => WellKnownTagArrays.Namespace, 64Glyph.MethodPublic => WellKnownTagArrays.MethodPublic, 65Glyph.MethodProtected => WellKnownTagArrays.MethodProtected, 66Glyph.MethodPrivate => WellKnownTagArrays.MethodPrivate, 67Glyph.MethodInternal => WellKnownTagArrays.MethodInternal, 68Glyph.ModulePublic => WellKnownTagArrays.ModulePublic, 69Glyph.ModuleProtected => WellKnownTagArrays.ModuleProtected, 70Glyph.ModulePrivate => WellKnownTagArrays.ModulePrivate, 71Glyph.ModuleInternal => WellKnownTagArrays.ModuleInternal, 72Glyph.OpenFolder => WellKnownTagArrays.Folder, 73Glyph.Operator => WellKnownTagArrays.Operator, 74Glyph.Parameter => WellKnownTagArrays.Parameter, 75Glyph.PropertyPublic => WellKnownTagArrays.PropertyPublic, 76Glyph.PropertyProtected => WellKnownTagArrays.PropertyProtected, 77Glyph.PropertyPrivate => WellKnownTagArrays.PropertyPrivate, 78Glyph.PropertyInternal => WellKnownTagArrays.PropertyInternal, 79Glyph.RangeVariable => WellKnownTagArrays.RangeVariable, 80Glyph.Reference => WellKnownTagArrays.Reference, 81Glyph.StructurePublic => WellKnownTagArrays.StructurePublic, 82Glyph.StructureProtected => WellKnownTagArrays.StructureProtected, 83Glyph.StructurePrivate => WellKnownTagArrays.StructurePrivate, 84Glyph.StructureInternal => WellKnownTagArrays.StructureInternal, 85Glyph.TypeParameter => WellKnownTagArrays.TypeParameter, 86Glyph.Snippet => WellKnownTagArrays.Snippet, 87Glyph.CompletionWarning => WellKnownTagArrays.Warning, 88Glyph.StatusInformation => WellKnownTagArrays.StatusInformation,
Completion\CommonCompletionItem.cs (1)
20Glyph? glyph = null,
Completion\FileSystemCompletionHelper.cs (4)
25private readonly Glyph _folderGlyph; 26private readonly Glyph _fileGlyph; 36Glyph folderGlyph, 37Glyph fileGlyph,
Completion\Providers\AbstractAwaitCompletionProvider.cs (1)
153glyph: Glyph.Keyword,
Completion\Providers\AbstractPreprocessorCompletionProvider.cs (1)
49glyph: Glyph.Keyword,
Completion\Providers\ImportCompletionProvider\ImportCompletionItem.cs (1)
33Glyph glyph,
Completion\Providers\ImportCompletionProvider\SerializableImportCompletionItem.cs (2)
22public readonly Glyph Glyph; 33public SerializableImportCompletionItem(string symbolKeyData, string name, int arity, Glyph glyph, string containingNamespace, int additionalOverloadCount, bool includedInTargetTypeCompletion)
Completion\Providers\RecommendedKeyword.cs (4)
14public Glyph Glyph { get; } 21public RecommendedKeyword(string keyword, string toolTip = "", Glyph glyph = Glyph.Keyword, bool isIntrinsic = false, bool shouldFormatOnCommit = false, int? matchPriority = null) 42Glyph glyph,
Completion\Providers\Scripting\AbstractDirectivePathCompletionProvider.cs (2)
163Glyph itemGlyph, 181Glyph.OpenFolder,
Completion\Providers\Scripting\AbstractLoadDirectiveCompletionProvider.cs (1)
42var helper = GetFileSystemCompletionHelper(context.Document, Glyph.CSharpFile, ImmutableArray.Create(".csx"), s_rules);
Completion\Providers\Scripting\AbstractReferenceDirectiveCompletionProvider.cs (3)
57context.AddItem(CommonCompletionItem.Create(name, displayTextSuffix: "", glyph: Glyph.Assembly, rules: s_rules)); 58context.AddItem(CommonCompletionItem.Create(PathUtilities.GetFileName(path, includeExtension: true), displayTextSuffix: "", glyph: Glyph.Assembly, rules: s_rules)); 70var helper = GetFileSystemCompletionHelper(context.Document, Glyph.Assembly, RuntimeMetadataReferenceResolver.AssemblyExtensions, s_rules);
Completion\Providers\Scripting\GlobalAssemblyCacheCompletionHelper.cs (2)
49identity.GetDisplayName(), displayTextSuffix: "", glyph: Glyph.Assembly, rules: _itemRules)); 58displayName, displayTextSuffix: "", glyph: Glyph.Assembly, rules: _itemRules));
Completion\Providers\Snippets\AbstractSnippetCompletionProvider.cs (1)
96glyph: Glyph.Snippet,
Completion\Providers\Snippets\SnippetCompletionItem.cs (1)
21Glyph glyph,
Completion\Providers\SymbolCompletionItem.cs (3)
42Glyph? glyph = null, 308Glyph? glyph = null, 332Glyph? glyph = null,
Completion\Providers\XmlDocCommentCompletionItem.cs (1)
24glyph: Glyph.Keyword,
EncapsulateField\EncapsulateFieldResult.cs (2)
17public readonly Glyph Glyph; 20public EncapsulateFieldResult(string name, Glyph glyph, Func<CancellationToken, Task<Solution>> getSolutionAsync)
ExternalAccess\Pythia\Api\PythiaCompletionProviderBase.cs (1)
32=> CommonCompletionItem.Create(displayText, displayTextSuffix, rules, (Glyph?)glyph, description, sortText, filterText, showsWarningIcon, properties, tags, inlineDescription);
ExternalAccess\Pythia\Api\PythiaGlyph.cs (1)
9Keyword = Glyph.Keyword
ExternalAccess\VSTypeScript\Api\IVSTypeScriptNavigableItem.cs (1)
12Glyph Glyph { get; }
ExternalAccess\VSTypeScript\VSTypeScriptGlyphHelpers.cs (154)
14public static VSTypeScriptGlyph ConvertFrom(Glyph glyph) 18Glyph.None => VSTypeScriptGlyph.None, 19Glyph.Assembly => VSTypeScriptGlyph.Assembly, 20Glyph.BasicFile => VSTypeScriptGlyph.BasicFile, 21Glyph.BasicProject => VSTypeScriptGlyph.BasicProject, 22Glyph.ClassPublic => VSTypeScriptGlyph.ClassPublic, 23Glyph.ClassProtected => VSTypeScriptGlyph.ClassProtected, 24Glyph.ClassPrivate => VSTypeScriptGlyph.ClassPrivate, 25Glyph.ClassInternal => VSTypeScriptGlyph.ClassInternal, 26Glyph.CSharpFile => VSTypeScriptGlyph.CSharpFile, 27Glyph.CSharpProject => VSTypeScriptGlyph.CSharpProject, 28Glyph.ConstantPublic => VSTypeScriptGlyph.ConstantPublic, 29Glyph.ConstantProtected => VSTypeScriptGlyph.ConstantProtected, 30Glyph.ConstantPrivate => VSTypeScriptGlyph.ConstantPrivate, 31Glyph.ConstantInternal => VSTypeScriptGlyph.ConstantInternal, 32Glyph.DelegatePublic => VSTypeScriptGlyph.DelegatePublic, 33Glyph.DelegateProtected => VSTypeScriptGlyph.DelegateProtected, 34Glyph.DelegatePrivate => VSTypeScriptGlyph.DelegatePrivate, 35Glyph.DelegateInternal => VSTypeScriptGlyph.DelegateInternal, 36Glyph.EnumPublic => VSTypeScriptGlyph.EnumPublic, 37Glyph.EnumProtected => VSTypeScriptGlyph.EnumProtected, 38Glyph.EnumPrivate => VSTypeScriptGlyph.EnumPrivate, 39Glyph.EnumInternal => VSTypeScriptGlyph.EnumInternal, 40Glyph.EnumMemberPublic => VSTypeScriptGlyph.EnumMemberPublic, 41Glyph.EnumMemberProtected => VSTypeScriptGlyph.EnumMemberProtected, 42Glyph.EnumMemberPrivate => VSTypeScriptGlyph.EnumMemberPrivate, 43Glyph.EnumMemberInternal => VSTypeScriptGlyph.EnumMemberInternal, 44Glyph.Error => VSTypeScriptGlyph.Error, 45Glyph.StatusInformation => VSTypeScriptGlyph.StatusInformation, 46Glyph.EventPublic => VSTypeScriptGlyph.EventPublic, 47Glyph.EventProtected => VSTypeScriptGlyph.EventProtected, 48Glyph.EventPrivate => VSTypeScriptGlyph.EventPrivate, 49Glyph.EventInternal => VSTypeScriptGlyph.EventInternal, 50Glyph.ExtensionMethodPublic => VSTypeScriptGlyph.ExtensionMethodPublic, 51Glyph.ExtensionMethodProtected => VSTypeScriptGlyph.ExtensionMethodProtected, 52Glyph.ExtensionMethodPrivate => VSTypeScriptGlyph.ExtensionMethodPrivate, 53Glyph.ExtensionMethodInternal => VSTypeScriptGlyph.ExtensionMethodInternal, 54Glyph.FieldPublic => VSTypeScriptGlyph.FieldPublic, 55Glyph.FieldProtected => VSTypeScriptGlyph.FieldProtected, 56Glyph.FieldPrivate => VSTypeScriptGlyph.FieldPrivate, 57Glyph.FieldInternal => VSTypeScriptGlyph.FieldInternal, 58Glyph.InterfacePublic => VSTypeScriptGlyph.InterfacePublic, 59Glyph.InterfaceProtected => VSTypeScriptGlyph.InterfaceProtected, 60Glyph.InterfacePrivate => VSTypeScriptGlyph.InterfacePrivate, 61Glyph.InterfaceInternal => VSTypeScriptGlyph.InterfaceInternal, 62Glyph.Intrinsic => VSTypeScriptGlyph.Intrinsic, 63Glyph.Keyword => VSTypeScriptGlyph.Keyword, 64Glyph.Label => VSTypeScriptGlyph.Label, 65Glyph.Local => VSTypeScriptGlyph.Local, 66Glyph.Namespace => VSTypeScriptGlyph.Namespace, 67Glyph.MethodPublic => VSTypeScriptGlyph.MethodPublic, 68Glyph.MethodProtected => VSTypeScriptGlyph.MethodProtected, 69Glyph.MethodPrivate => VSTypeScriptGlyph.MethodPrivate, 70Glyph.MethodInternal => VSTypeScriptGlyph.MethodInternal, 71Glyph.ModulePublic => VSTypeScriptGlyph.ModulePublic, 72Glyph.ModuleProtected => VSTypeScriptGlyph.ModuleProtected, 73Glyph.ModulePrivate => VSTypeScriptGlyph.ModulePrivate, 74Glyph.ModuleInternal => VSTypeScriptGlyph.ModuleInternal, 75Glyph.OpenFolder => VSTypeScriptGlyph.OpenFolder, 76Glyph.Operator => VSTypeScriptGlyph.Operator, 77Glyph.Parameter => VSTypeScriptGlyph.Parameter, 78Glyph.PropertyPublic => VSTypeScriptGlyph.PropertyPublic, 79Glyph.PropertyProtected => VSTypeScriptGlyph.PropertyProtected, 80Glyph.PropertyPrivate => VSTypeScriptGlyph.PropertyPrivate, 81Glyph.PropertyInternal => VSTypeScriptGlyph.PropertyInternal, 82Glyph.RangeVariable => VSTypeScriptGlyph.RangeVariable, 83Glyph.Reference => VSTypeScriptGlyph.Reference, 84Glyph.StructurePublic => VSTypeScriptGlyph.StructurePublic, 85Glyph.StructureProtected => VSTypeScriptGlyph.StructureProtected, 86Glyph.StructurePrivate => VSTypeScriptGlyph.StructurePrivate, 87Glyph.StructureInternal => VSTypeScriptGlyph.StructureInternal, 88Glyph.TypeParameter => VSTypeScriptGlyph.TypeParameter, 89Glyph.Snippet => VSTypeScriptGlyph.Snippet, 90Glyph.CompletionWarning => VSTypeScriptGlyph.CompletionWarning, 91Glyph.AddReference => VSTypeScriptGlyph.AddReference, 92Glyph.NuGet => VSTypeScriptGlyph.NuGet, 93Glyph.TargetTypeMatch => VSTypeScriptGlyph.TargetTypeMatch, 98public static Glyph ConvertTo(VSTypeScriptGlyph glyph) 102VSTypeScriptGlyph.None => Glyph.None, 103VSTypeScriptGlyph.Assembly => Glyph.Assembly, 104VSTypeScriptGlyph.BasicFile => Glyph.BasicFile, 105VSTypeScriptGlyph.BasicProject => Glyph.BasicProject, 106VSTypeScriptGlyph.ClassPublic => Glyph.ClassPublic, 107VSTypeScriptGlyph.ClassProtected => Glyph.ClassProtected, 108VSTypeScriptGlyph.ClassPrivate => Glyph.ClassPrivate, 109VSTypeScriptGlyph.ClassInternal => Glyph.ClassInternal, 110VSTypeScriptGlyph.CSharpFile => Glyph.CSharpFile, 111VSTypeScriptGlyph.CSharpProject => Glyph.CSharpProject, 112VSTypeScriptGlyph.ConstantPublic => Glyph.ConstantPublic, 113VSTypeScriptGlyph.ConstantProtected => Glyph.ConstantProtected, 114VSTypeScriptGlyph.ConstantPrivate => Glyph.ConstantPrivate, 115VSTypeScriptGlyph.ConstantInternal => Glyph.ConstantInternal, 116VSTypeScriptGlyph.DelegatePublic => Glyph.DelegatePublic, 117VSTypeScriptGlyph.DelegateProtected => Glyph.DelegateProtected, 118VSTypeScriptGlyph.DelegatePrivate => Glyph.DelegatePrivate, 119VSTypeScriptGlyph.DelegateInternal => Glyph.DelegateInternal, 120VSTypeScriptGlyph.EnumPublic => Glyph.EnumPublic, 121VSTypeScriptGlyph.EnumProtected => Glyph.EnumProtected, 122VSTypeScriptGlyph.EnumPrivate => Glyph.EnumPrivate, 123VSTypeScriptGlyph.EnumInternal => Glyph.EnumInternal, 124VSTypeScriptGlyph.EnumMemberPublic => Glyph.EnumMemberPublic, 125VSTypeScriptGlyph.EnumMemberProtected => Glyph.EnumMemberProtected, 126VSTypeScriptGlyph.EnumMemberPrivate => Glyph.EnumMemberPrivate, 127VSTypeScriptGlyph.EnumMemberInternal => Glyph.EnumMemberInternal, 128VSTypeScriptGlyph.Error => Glyph.Error, 129VSTypeScriptGlyph.StatusInformation => Glyph.StatusInformation, 130VSTypeScriptGlyph.EventPublic => Glyph.EventPublic, 131VSTypeScriptGlyph.EventProtected => Glyph.EventProtected, 132VSTypeScriptGlyph.EventPrivate => Glyph.EventPrivate, 133VSTypeScriptGlyph.EventInternal => Glyph.EventInternal, 134VSTypeScriptGlyph.ExtensionMethodPublic => Glyph.ExtensionMethodPublic, 135VSTypeScriptGlyph.ExtensionMethodProtected => Glyph.ExtensionMethodProtected, 136VSTypeScriptGlyph.ExtensionMethodPrivate => Glyph.ExtensionMethodPrivate, 137VSTypeScriptGlyph.ExtensionMethodInternal => Glyph.ExtensionMethodInternal, 138VSTypeScriptGlyph.FieldPublic => Glyph.FieldPublic, 139VSTypeScriptGlyph.FieldProtected => Glyph.FieldProtected, 140VSTypeScriptGlyph.FieldPrivate => Glyph.FieldPrivate, 141VSTypeScriptGlyph.FieldInternal => Glyph.FieldInternal, 142VSTypeScriptGlyph.InterfacePublic => Glyph.InterfacePublic, 143VSTypeScriptGlyph.InterfaceProtected => Glyph.InterfaceProtected, 144VSTypeScriptGlyph.InterfacePrivate => Glyph.InterfacePrivate, 145VSTypeScriptGlyph.InterfaceInternal => Glyph.InterfaceInternal, 146VSTypeScriptGlyph.Intrinsic => Glyph.Intrinsic, 147VSTypeScriptGlyph.Keyword => Glyph.Keyword, 148VSTypeScriptGlyph.Label => Glyph.Label, 149VSTypeScriptGlyph.Local => Glyph.Local, 150VSTypeScriptGlyph.Namespace => Glyph.Namespace, 151VSTypeScriptGlyph.MethodPublic => Glyph.MethodPublic, 152VSTypeScriptGlyph.MethodProtected => Glyph.MethodProtected, 153VSTypeScriptGlyph.MethodPrivate => Glyph.MethodPrivate, 154VSTypeScriptGlyph.MethodInternal => Glyph.MethodInternal, 155VSTypeScriptGlyph.ModulePublic => Glyph.ModulePublic, 156VSTypeScriptGlyph.ModuleProtected => Glyph.ModuleProtected, 157VSTypeScriptGlyph.ModulePrivate => Glyph.ModulePrivate, 158VSTypeScriptGlyph.ModuleInternal => Glyph.ModuleInternal, 159VSTypeScriptGlyph.OpenFolder => Glyph.OpenFolder, 160VSTypeScriptGlyph.Operator => Glyph.Operator, 161VSTypeScriptGlyph.Parameter => Glyph.Parameter, 162VSTypeScriptGlyph.PropertyPublic => Glyph.PropertyPublic, 163VSTypeScriptGlyph.PropertyProtected => Glyph.PropertyProtected, 164VSTypeScriptGlyph.PropertyPrivate => Glyph.PropertyPrivate, 165VSTypeScriptGlyph.PropertyInternal => Glyph.PropertyInternal, 166VSTypeScriptGlyph.RangeVariable => Glyph.RangeVariable, 167VSTypeScriptGlyph.Reference => Glyph.Reference, 168VSTypeScriptGlyph.StructurePublic => Glyph.StructurePublic, 169VSTypeScriptGlyph.StructureProtected => Glyph.StructureProtected, 170VSTypeScriptGlyph.StructurePrivate => Glyph.StructurePrivate, 171VSTypeScriptGlyph.StructureInternal => Glyph.StructureInternal, 172VSTypeScriptGlyph.TypeParameter => Glyph.TypeParameter, 173VSTypeScriptGlyph.Snippet => Glyph.Snippet, 174VSTypeScriptGlyph.CompletionWarning => Glyph.CompletionWarning, 175VSTypeScriptGlyph.AddReference => Glyph.AddReference, 176VSTypeScriptGlyph.NuGet => Glyph.NuGet, 177VSTypeScriptGlyph.TargetTypeMatch => Glyph.TargetTypeMatch,
ExternalAccess\VSTypeScript\VSTypeScriptNavigableItemWrapper.cs (1)
21public Glyph Glyph => _navigableItem.Glyph;
InheritanceMargin\AbstractInheritanceMarginService_Helpers.cs (10)
211var languageGlyph = document.Project.Language switch 213LanguageNames.CSharp => Glyph.CSharpFile, 214LanguageNames.VisualBasic => Glyph.BasicFile, 231InheritanceRelationship.InheritedImport, item.Detach(), Glyph.None, languageGlyph, 237Glyph.Namespace, targetItems.ToImmutable())); 253InheritanceRelationship.InheritedImport, item.Detach(), Glyph.None, languageGlyph, 262lineNumber, this.GlobalImportsTitle, ImmutableArray.Create(taggedText), Glyph.Namespace, targetItems.ToImmutable())); 558var languageGlyph = targetSymbol.Language switch 560LanguageNames.CSharp => Glyph.CSharpFile, 561LanguageNames.VisualBasic => Glyph.BasicFile,
InheritanceMargin\InheritanceMarginItem.cs (3)
39public readonly Glyph Glyph; 51Glyph glyph, 78Glyph glyph,
InheritanceMargin\InheritanceTargetItem.cs (4)
34public readonly Glyph Glyph; 40public readonly Glyph LanguageGlyph; 58Glyph glyph, 59Glyph languageGlyph,
NavigateTo\RoslynNavigateToItem.cs (27)
292Glyph INavigableItem.Glyph => GetGlyph(_item.DeclaredSymbolInfo.Kind, _item.DeclaredSymbolInfo.Accessibility); 294private static Glyph GetPublicGlyph(DeclaredSymbolInfoKind kind) 297DeclaredSymbolInfoKind.Class => Glyph.ClassPublic, 298DeclaredSymbolInfoKind.Constant => Glyph.ConstantPublic, 299DeclaredSymbolInfoKind.Constructor => Glyph.MethodPublic, 300DeclaredSymbolInfoKind.Delegate => Glyph.DelegatePublic, 301DeclaredSymbolInfoKind.Enum => Glyph.EnumPublic, 302DeclaredSymbolInfoKind.EnumMember => Glyph.EnumMemberPublic, 303DeclaredSymbolInfoKind.Event => Glyph.EventPublic, 304DeclaredSymbolInfoKind.ExtensionMethod => Glyph.ExtensionMethodPublic, 305DeclaredSymbolInfoKind.Field => Glyph.FieldPublic, 306DeclaredSymbolInfoKind.Indexer => Glyph.PropertyPublic, 307DeclaredSymbolInfoKind.Interface => Glyph.InterfacePublic, 308DeclaredSymbolInfoKind.Method => Glyph.MethodPublic, 309DeclaredSymbolInfoKind.Module => Glyph.ModulePublic, 310DeclaredSymbolInfoKind.Property => Glyph.PropertyPublic, 311DeclaredSymbolInfoKind.Struct => Glyph.StructurePublic, 312DeclaredSymbolInfoKind.RecordStruct => Glyph.StructurePublic, 313_ => Glyph.ClassPublic, 316private static Glyph GetGlyph(DeclaredSymbolInfoKind kind, Accessibility accessibility) 324var rawGlyph = GetPublicGlyph(kind); 329rawGlyph += (Glyph.ClassPrivate - Glyph.ClassPublic); 332rawGlyph += (Glyph.ClassInternal - Glyph.ClassPublic); 337rawGlyph += (Glyph.ClassProtected - Glyph.ClassPublic);
Navigation\INavigableItem.cs (1)
14Glyph Glyph { get; }
Navigation\NavigableItemFactory.SymbolLocationNavigableItem.cs (1)
37public Glyph Glyph => _symbol.GetGlyph();
NavigationBar\IRemoteNavigationBarItemService.cs (8)
30public readonly Glyph Glyph; 69Glyph glyph, 113public static SerializableNavigationBarItem ActionlessItem(string text, Glyph glyph, ImmutableArray<SerializableNavigationBarItem> childItems = default, int indent = 0, bool bolded = false, bool grayed = false) 116public static SerializableNavigationBarItem SymbolItem(string text, Glyph glyph, string name, bool isObsolete, SymbolItemLocation location, ImmutableArray<SerializableNavigationBarItem> childItems = default, int indent = 0, bool bolded = false, bool grayed = false) 120=> new(RoslynNavigationBarItemKind.GenerateFinalizer, text, Glyph.MethodProtected, bolded: false, grayed: false, indent: 0, default, null, false, null, destinationTypeSymbolKey, null, null, null); 122public static SerializableNavigationBarItem GenerateEventHandler(string eventName, Glyph glyph, string containerName, SymbolKey eventSymbolKey, SymbolKey destinationTypeSymbolKey) 125public static SerializableNavigationBarItem GenerateMethod(string text, Glyph glyph, SymbolKey destinationTypeSymbolId, SymbolKey methodToReplicateSymbolId) 129=> new(RoslynNavigationBarItemKind.GenerateDefaultConstructor, text, Glyph.MethodPublic, bolded: false, grayed: false, indent: 0, default, null, false, null, destinationTypeSymbolKey, null, null, null);
NavigationBar\NavigationBarItems\RoslynNavigationBarItem.AbstractGenerateCodeItem.cs (1)
15protected AbstractGenerateCodeItem(RoslynNavigationBarItemKind kind, string text, Glyph glyph, SymbolKey destinationTypeSymbolKey)
NavigationBar\NavigationBarItems\RoslynNavigationBarItem.ActionlessItem.cs (1)
20Glyph glyph,
NavigationBar\NavigationBarItems\RoslynNavigationBarItem.cs (2)
19public readonly Glyph Glyph; 28Glyph glyph,
NavigationBar\NavigationBarItems\RoslynNavigationBarItem.GenerateDefaultConstructorItem.cs (1)
14: base(RoslynNavigationBarItemKind.GenerateDefaultConstructor, text, Glyph.MethodPublic, destinationTypeSymbolKey)
NavigationBar\NavigationBarItems\RoslynNavigationBarItem.GenerateEventHandlerItem.cs (1)
16public GenerateEventHandler(string text, Glyph glyph, string containerName, SymbolKey eventSymbolKey, SymbolKey destinationTypeSymbolKey)
NavigationBar\NavigationBarItems\RoslynNavigationBarItem.GenerateFinalizerItem.cs (1)
14: base(RoslynNavigationBarItemKind.GenerateFinalizer, text, Glyph.MethodProtected, destinationTypeSymbolKey)
NavigationBar\NavigationBarItems\RoslynNavigationBarItem.GenerateMethodItem.cs (1)
15public GenerateMethod(string text, Glyph glyph, SymbolKey destinationTypeSymbolId, SymbolKey methodToReplicateSymbolId)
NavigationBar\NavigationBarItems\RoslynNavigationBarItem.SymbolItem.cs (1)
26Glyph glyph,
Shared\Extensions\ISymbolExtensions_2.cs (36)
16public static Glyph GetGlyph(this ISymbol symbol) 18Glyph publicIcon; 26return Glyph.Assembly; 29return Glyph.ClassPublic; 32return Glyph.ClassPublic; 35publicIcon = Glyph.EventPublic; 42return Glyph.EnumMemberPublic; 45publicIcon = ((IFieldSymbol)symbol).IsConst ? Glyph.ConstantPublic : Glyph.FieldPublic; 49return Glyph.Label; 53return Glyph.Local; 61publicIcon = Glyph.ClassPublic; 65publicIcon = Glyph.DelegatePublic; 69publicIcon = Glyph.EnumPublic; 73publicIcon = Glyph.InterfacePublic; 77publicIcon = Glyph.ModulePublic; 81publicIcon = Glyph.StructurePublic; 85return Glyph.Error; 102return Glyph.Operator; 107publicIcon = Glyph.ExtensionMethodPublic; 111publicIcon = Glyph.MethodPublic; 118return Glyph.Namespace; 121return Glyph.Assembly; 125? Glyph.Keyword 126: Glyph.Parameter; 132return Glyph.Intrinsic; 140publicIcon = Glyph.FieldPublic; 144publicIcon = Glyph.PropertyPublic; 151return Glyph.RangeVariable; 154return Glyph.TypeParameter; 163publicIcon += Glyph.ClassPrivate - Glyph.ClassPublic; 169publicIcon += Glyph.ClassProtected - Glyph.ClassPublic; 173publicIcon += Glyph.ClassInternal - Glyph.ClassPublic;
Shared\Extensions\ProjectExtensions.cs (4)
11public static Glyph GetGlyph(this Project project) 14return project.Language == LanguageNames.CSharp ? Glyph.CSharpProject : 15project.Language == LanguageNames.VisualBasic ? Glyph.BasicProject : 16Glyph.Assembly;
ValueTracking\ValueTrackedItem.cs (2)
25public Glyph Glyph { get; } 32Glyph glyph,
Microsoft.CodeAnalysis.LanguageServer.Protocol (103)
Extensions\ProtocolConversions.cs (68)
429public static Glyph SymbolKindToGlyph(LSP.SymbolKind kind) 434return Glyph.CSharpFile; 436return Glyph.ModulePublic; 438return Glyph.Namespace; 440return Glyph.Assembly; 442return Glyph.ClassPublic; 444return Glyph.MethodPublic; 446return Glyph.PropertyPublic; 448return Glyph.FieldPublic; 450return Glyph.MethodPublic; 452return Glyph.EnumPublic; 454return Glyph.InterfacePublic; 456return Glyph.DelegatePublic; 458return Glyph.Local; 461return Glyph.ConstantPublic; 468return Glyph.Local; 470return Glyph.EnumMemberPublic; 472return Glyph.StructurePublic; 474return Glyph.EventPublic; 476return Glyph.Operator; 478return Glyph.TypeParameter; 480return Glyph.None; 484public static LSP.SymbolKind GlyphToSymbolKind(Glyph glyph) 500case Glyph.Assembly: 501case Glyph.BasicProject: 502case Glyph.CSharpProject: 503case Glyph.NuGet: 505case Glyph.BasicFile: 506case Glyph.CSharpFile: 508case Glyph.DelegatePublic: 509case Glyph.DelegateProtected: 510case Glyph.DelegatePrivate: 511case Glyph.DelegateInternal: 512case Glyph.ExtensionMethodPublic: 513case Glyph.ExtensionMethodProtected: 514case Glyph.ExtensionMethodPrivate: 515case Glyph.ExtensionMethodInternal: 517case Glyph.Local: 518case Glyph.Parameter: 519case Glyph.RangeVariable: 520case Glyph.Reference: 522case Glyph.StructurePublic: 523case Glyph.StructureProtected: 524case Glyph.StructurePrivate: 525case Glyph.StructureInternal: 532public static Glyph CompletionItemKindToGlyph(LSP.CompletionItemKind kind) 537return Glyph.None; 541return Glyph.MethodPublic; 543return Glyph.FieldPublic; 547return Glyph.Local; 549return Glyph.ClassPublic; 551return Glyph.InterfacePublic; 553return Glyph.ModulePublic; 555return Glyph.PropertyPublic; 557return Glyph.EnumPublic; 559return Glyph.Keyword; 561return Glyph.Snippet; 563return Glyph.None; 565return Glyph.CSharpFile; 567return Glyph.Reference; 569return Glyph.OpenFolder; 571return Glyph.EnumMemberPublic; 573return Glyph.ConstantPublic; 575return Glyph.StructurePublic; 577return Glyph.EventPublic; 579return Glyph.Operator; 581return Glyph.TypeParameter; 583return Glyph.None;
Handler\Definitions\AbstractGoToDefinitionHandler.cs (29)
92if (item.Glyph is Glyph.Namespace) 105case Glyph.ClassPublic: 106case Glyph.ClassProtected: 107case Glyph.ClassPrivate: 108case Glyph.ClassInternal: 109case Glyph.DelegatePublic: 110case Glyph.DelegateProtected: 111case Glyph.DelegatePrivate: 112case Glyph.DelegateInternal: 113case Glyph.EnumPublic: 114case Glyph.EnumProtected: 115case Glyph.EnumPrivate: 116case Glyph.EnumInternal: 117case Glyph.EventPublic: 118case Glyph.EventProtected: 119case Glyph.EventPrivate: 120case Glyph.EventInternal: 121case Glyph.InterfacePublic: 122case Glyph.InterfaceProtected: 123case Glyph.InterfacePrivate: 124case Glyph.InterfaceInternal: 125case Glyph.ModulePublic: 126case Glyph.ModuleProtected: 127case Glyph.ModulePrivate: 128case Glyph.ModuleInternal: 129case Glyph.StructurePublic: 130case Glyph.StructureProtected: 131case Glyph.StructurePrivate: 132case Glyph.StructureInternal:
Handler\References\FindUsagesLSPContext.cs (2)
170definitionGlyph: Glyph.None, reference.SymbolUsageInfo, reference.IsWrittenTo, cancellationToken).ConfigureAwait(false); 183Glyph definitionGlyph,
Handler\References\ILspReferencesResultCreationService.cs (2)
25Glyph definitionGlyph, 46Glyph definitionGlyph,
Handler\Symbols\ILspSymbolInformationCreationService.cs (2)
17string name, string? containerName, LSP.SymbolKind kind, LSP.Location location, Glyph glyph); 29public SymbolInformation Create(string name, string? containerName, LSP.SymbolKind kind, LSP.Location location, Glyph glyph)
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (18)
References\FindAllReferencesHandlerTests.cs (6)
62AssertValidDefinitionProperties(results, 0, Glyph.FieldPublic); 112AssertValidDefinitionProperties(results, 0, Glyph.FieldPublic); 153AssertValidDefinitionProperties(results, 0, Glyph.ClassInternal); 191AssertValidDefinitionProperties(results, 0, Glyph.FieldPublic); 254AssertValidDefinitionProperties(results, 0, Glyph.Namespace); 311private static void AssertValidDefinitionProperties(LSP.VSInternalReferenceItem[] referenceItems, int definitionIndex, Glyph definitionGlyph)
Symbols\DocumentSymbolsTests.cs (2)
68CreateSymbolInformation(LSP.SymbolKind.Class, "A", testLspServer.GetLocations("class").Single(), Glyph.ClassInternal), 69CreateSymbolInformation(LSP.SymbolKind.Method, "M()", testLspServer.GetLocations("method").Single(), Glyph.MethodPrivate, "A")
Symbols\WorkspaceSymbolsTests.cs (10)
41CreateSymbolInformation(LSP.SymbolKind.Class, "A", testLspServer.GetLocations("class").Single(), Glyph.ClassInternal, GetContainerName(testLspServer.GetCurrentSolution())) 61CreateSymbolInformation(LSP.SymbolKind.Class, "A", testLspServer.GetLocations("class").Single(), Glyph.ClassInternal, GetContainerName(testLspServer.GetCurrentSolution())) 87CreateSymbolInformation(LSP.SymbolKind.Method, "M", testLspServer.GetLocations("method").Single(), Glyph.MethodPrivate, GetContainerName(testLspServer.GetCurrentSolution(), "A")) 110CreateSymbolInformation(LSP.SymbolKind.Variable, "i", testLspServer.GetLocations("local").Single(), Glyph.Local, GetContainerName(testLspServer.GetCurrentSolution(), "A.M.i")) 136CreateSymbolInformation(LSP.SymbolKind.Field, "F", testLspServer.GetLocations("field")[0], Glyph.FieldPrivate, classAContainerName), 137CreateSymbolInformation(LSP.SymbolKind.Class, "F", testLspServer.GetLocations("class").Single(), Glyph.ClassPrivate, classAContainerName), 138CreateSymbolInformation(LSP.SymbolKind.Field, "F", testLspServer.GetLocations("field")[1], Glyph.FieldPrivate, GetContainerName(testLspServer.GetCurrentSolution(), "A.F")) 167CreateSymbolInformation(LSP.SymbolKind.Method, "M", testLspServer.GetLocations("method")[0], Glyph.MethodPrivate, GetContainerName(testLspServer.GetCurrentSolution(), "A")), 168CreateSymbolInformation(LSP.SymbolKind.Method, "M", testLspServer.GetLocations("method")[1], Glyph.MethodPrivate, GetContainerName(testLspServer.GetCurrentSolution(), "B")) 202CreateSymbolInformation(LSP.SymbolKind.Class, "A", testLspServer.GetLocations("class").Single(), Glyph.ClassInternal, GetContainerName(testLspServer.GetCurrentSolution()))
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures.UnitTests (62)
Completion\CompletionProviders\ExtensionMethodImportCompletionProviderTests.vb (9)
107Await VerifyItemExistsAsync(markup, "ExtensionMethod1", glyph:=Glyph.ExtensionMethodPublic, inlineDescription:="Foo") 108Await VerifyItemExistsAsync(markup, "ExtensionMethod2", glyph:=Glyph.ExtensionMethodPublic, inlineDescription:="Foo") 109Await VerifyItemExistsAsync(markup, "ExtensionMethod3", glyph:=Glyph.ExtensionMethodPublic, inlineDescription:="Foo") 110Await VerifyItemExistsAsync(markup, "ExtensionMethod4", glyph:=Glyph.ExtensionMethodPublic, inlineDescription:="Foo") 111Await VerifyItemExistsAsync(markup, "ExtensionMethod5", glyph:=Glyph.ExtensionMethodPublic, inlineDescription:="Foo") 112Await VerifyItemExistsAsync(markup, "ExtensionMethod6", glyph:=Glyph.ExtensionMethodPublic, inlineDescription:="Foo") 150Await VerifyItemExistsAsync(markup, "ExtensionMethod1", glyph:=Glyph.ExtensionMethodPublic, inlineDescription:="Foo") 151Await VerifyItemExistsAsync(markup, "ExtensionMethod2", glyph:=Glyph.ExtensionMethodPublic, inlineDescription:="Foo") 313Await VerifyItemExistsAsync(markup, expectedName, glyph:=Glyph.ExtensionMethodPublic, inlineDescription:="NS")
Completion\CompletionProviders\TypeImportCompletionProviderTests.vb (8)
51Await VerifyItemExistsAsync(markup, "My", glyph:=Glyph.ClassPublic, inlineDescription:="Foo", expectedDescriptionOrNull:="Class Foo.MyAttribute", isComplexTextEdit:=True) 81Await VerifyItemExistsAsync(markup, "MyAttribute", glyph:=Glyph.ClassPublic, inlineDescription:="Foo", expectedDescriptionOrNull:="Class Foo.MyAttribute", isComplexTextEdit:=True) 82Await VerifyItemExistsAsync(markup, "MyAttributeWithoutSuffix", glyph:=Glyph.ClassPublic, inlineDescription:="Foo", expectedDescriptionOrNull:="Class Foo.MyAttributeWithoutSuffix", isComplexTextEdit:=True) 83Await VerifyItemExistsAsync(markup, "MyVBClass", glyph:=Glyph.ClassPublic, inlineDescription:="Foo", expectedDescriptionOrNull:="Class Foo.MyVBClass", isComplexTextEdit:=True) 107Await VerifyItemExistsAsync(markup, "My", glyph:=Glyph.ClassPublic, inlineDescription:="Foo", expectedDescriptionOrNull:="Class Foo.Myattribute") 130Await VerifyItemExistsAsync(markup, "My", glyph:=Glyph.ClassPublic, inlineDescription:="Foo", expectedDescriptionOrNull:="Class Foo.Myattribute", isComplexTextEdit:=True) 151Await VerifyItemExistsAsync(markup, "MyGenericClass", glyph:=Glyph.ClassPublic, inlineDescription:="Foo", displayTextSuffix:="(Of ...)", expectedDescriptionOrNull:="Class Foo.MyGenericClass(Of T)", isComplexTextEdit:=True) 246Await VerifyItemExistsAsync(markup, "Foo4", glyph:=Glyph.ClassPublic, inlineDescription:="Foo1.Foo2.Foo3", displayTextSuffix:="(Of ...)", isComplexTextEdit:=True)
NavigateTo\NavigateToTests.vb (42)
44VerifyNavigateToResultItem(item, "Goo", "[|Goo|]", PatternMatchKind.Exact, NavigateToItemKind.Class, Glyph.ClassInternal) 55VerifyNavigateToResultItem(item, "Class", "[|Class|]", PatternMatchKind.Exact, NavigateToItemKind.Class, Glyph.ClassInternal) 58VerifyNavigateToResultItem(item, "Class", "[|Class|]", PatternMatchKind.Exact, NavigateToItemKind.Class, Glyph.ClassInternal) 73VerifyNavigateToResultItem(item, "Gamma", "[|Gamma|]", PatternMatchKind.Exact, NavigateToItemKind.Class, Glyph.ClassPublic) 90Glyph.MethodPublic, String.Format(FeaturesResources.in_0_project_1, "Alpha.Beta.Gamma", "Test")) 100VerifyNavigateToResultItem(item, "Goo", "[|Goo|](Of M)", PatternMatchKind.Exact, NavigateToItemKind.Class, Glyph.ClassInternal) 112VerifyNavigateToResultItem(item, "Bar", "[|Bar|](Of T)()", PatternMatchKind.Exact, NavigateToItemKind.Method, Glyph.MethodPublic, String.Format(FeaturesResources.in_0_project_1, "Goo(Of M)", "Test")) 146VerifyNavigateToResultItem(item, "Goo", "[|Goo|]", PatternMatchKind.Exact, NavigateToItemKind.Class, Glyph.ClassInternal) 156VerifyNavigateToResultItem(item, "Bar", "[|B|]ar", PatternMatchKind.Prefix, NavigateToItemKind.Structure, Glyph.StructureInternal) 169VerifyNavigateToResultItem(item, "Colors", "[|C|]olors", PatternMatchKind.Prefix, NavigateToItemKind.Enum, Glyph.EnumInternal) 182VerifyNavigateToResultItem(item, "Green", "[|G|]reen", PatternMatchKind.Prefix, NavigateToItemKind.EnumItem, Glyph.EnumMemberPublic) 193VerifyNavigateToResultItem(item, "Bar", "[|Ba|]r", PatternMatchKind.Prefix, NavigateToItemKind.Field, Glyph.FieldPrivate, additionalInfo:=String.Format(FeaturesResources.in_0_project_1, "Goo", "Test")) 204VerifyNavigateToResultItem(item, "Bar", "[|Ba|]r", PatternMatchKind.Prefix, NavigateToItemKind.Field, Glyph.FieldPrivate, additionalInfo:=String.Format(FeaturesResources.in_0_project_1, "Goo", "Test")) 225VerifyNavigateToResultItem(item, "string", "[|string|]", PatternMatchKind.Exact, NavigateToItemKind.Field, Glyph.FieldPrivate, additionalInfo:=String.Format(FeaturesResources.in_0_project_1, "Goo", "Test")) 228VerifyNavigateToResultItem(item, "string", "[|string|]", PatternMatchKind.Exact, NavigateToItemKind.Field, Glyph.FieldPrivate, additionalInfo:=String.Format(FeaturesResources.in_0_project_1, "Goo", "Test")) 239VerifyNavigateToResultItem(item, "bar", "[|bar|]", PatternMatchKind.Exact, NavigateToItemKind.Constant, Glyph.ConstantPrivate, additionalInfo:=String.Format(FeaturesResources.in_0_project_1, "Goo", "Test")) 258VerifyNavigateToResultItem(item, "Item", "[|Item|](Integer)", PatternMatchKind.Exact, NavigateToItemKind.Property, Glyph.PropertyPublic, String.Format(FeaturesResources.in_0_project_1, "Goo", "Test")) 270VerifyNavigateToResultItem(item, "Bar", "[|Bar|]", PatternMatchKind.Exact, NavigateToItemKind.Event, Glyph.EventPublic, additionalInfo:=String.Format(FeaturesResources.in_0_project_1, "Goo", "Test")) 286VerifyNavigateToResultItem(item, "Name", "[|Name|]", PatternMatchKind.Exact, NavigateToItemKind.Property, Glyph.PropertyPublic, additionalInfo:=String.Format(FeaturesResources.in_0_project_1, "Goo", "Test")) 297VerifyNavigateToResultItem(item, "Name", "[|Name|]", PatternMatchKind.Exact, NavigateToItemKind.Property, Glyph.PropertyPublic, additionalInfo:=String.Format(FeaturesResources.in_0_project_1, "Goo", "Test")) 309VerifyNavigateToResultItem(item, "DoSomething", "[|D|]o[|S|]omething()", PatternMatchKind.CamelCaseExact, NavigateToItemKind.Method, Glyph.MethodPrivate, String.Format(FeaturesResources.in_0_project_1, "Goo", "Test")) 321VerifyNavigateToResultItem(item, "Sub", "[|Sub|]()", PatternMatchKind.Exact, NavigateToItemKind.Method, Glyph.MethodPrivate, String.Format(FeaturesResources.in_0_project_1, "Goo", "Test")) 324VerifyNavigateToResultItem(item, "Sub", "[|Sub|]()", PatternMatchKind.Exact, NavigateToItemKind.Method, Glyph.MethodPrivate, String.Format(FeaturesResources.in_0_project_1, "Goo", "Test")) 336VerifyNavigateToResultItem(item, "DoSomething", "[|D|]o[|S|]omething(Integer, String)", PatternMatchKind.CamelCaseExact, NavigateToItemKind.Method, Glyph.MethodPrivate, String.Format(FeaturesResources.in_0_project_1, "Goo", "Test")) 348VerifyNavigateToResultItem(item, "Goo", "[|Goo|].New()", PatternMatchKind.Exact, NavigateToItemKind.Method, Glyph.MethodPublic, String.Format(FeaturesResources.in_0_project_1, "Goo", "Test")) 360VerifyNavigateToResultItem(item, "Goo", "[|Goo|].New()", PatternMatchKind.Exact, NavigateToItemKind.Method, Glyph.MethodPrivate, String.Format(FeaturesResources.in_0_project_1, "Goo", "Test")) 375VerifyNavigateToResultItem(item, "Finalize", "[|Finalize|]()", PatternMatchKind.Exact, NavigateToItemKind.Method, Glyph.MethodProtected, String.Format(FeaturesResources.in_0_project_1, "Goo", "Test")) 378VerifyNavigateToResultItem(item, "Dispose", "[|Dispose|]()", PatternMatchKind.Exact, NavigateToItemKind.Method, Glyph.MethodPublic, String.Format(FeaturesResources.in_0_project_1, "Goo", "Test")) 416VerifyNavigateToResultItem(item, "Bar", "[|Bar|]()", PatternMatchKind.Exact, NavigateToItemKind.Method, Glyph.MethodPrivate, String.Format(FeaturesResources.in_0_1_2, "Goo", "test1.vb", "Test")) 428VerifyNavigateToResultItem(item, "Bar", "[|Bar|]()", PatternMatchKind.Exact, NavigateToItemKind.Method, Glyph.MethodPrivate, String.Format(FeaturesResources.in_0_project_1, "Goo", "Test")) 614VerifyNavigateToResultItem(item, "IGoo", "[|IG|]oo", PatternMatchKind.Prefix, NavigateToItemKind.Interface, Glyph.InterfacePublic) 625VerifyNavigateToResultItem(item, "DoStuff", "[|DoStuff|]", PatternMatchKind.Exact, NavigateToItemKind.Delegate, Glyph.DelegateInternal) 636VerifyNavigateToResultItem(item, "sqr", "[|sqr|]", PatternMatchKind.Exact, NavigateToItemKind.Field, Glyph.FieldPrivate, additionalInfo:=String.Format(FeaturesResources.in_0_project_1, "Goo", "Test")) 646VerifyNavigateToResultItem(item, "ModuleTest", "[|M|]odule[|T|]est", PatternMatchKind.CamelCaseExact, NavigateToItemKind.Module, Glyph.ModuleInternal) 658VerifyNavigateToResultItem(item, "Bar", "[|Bar|](Integer, Integer)", PatternMatchKind.Exact, NavigateToItemKind.Method, Glyph.MethodPublic, String.Format(FeaturesResources.in_0_project_1, "Goo", "Test")) 669VerifyNavigateToResultItem(item, "itemArray", "[|itemArray|]", PatternMatchKind.Exact, NavigateToItemKind.Field, Glyph.FieldPrivate, additionalInfo:=String.Format(FeaturesResources.in_0_project_1, "Goo", "Test")) 707VerifyNavigateToResultItem(item, "M", "[|M|]()", PatternMatchKind.Exact, NavigateToItemKind.Method, Glyph.MethodPublic, additionalInfo:=String.Format(FeaturesResources.in_0_project_1, "A(Of T).B.C(Of U)", "Test")) 718VerifyNavigateToResultItem(item, "M", "[|M|]()", PatternMatchKind.Exact, NavigateToItemKind.Method, Glyph.MethodPublic, additionalInfo:=String.Format(FeaturesResources.in_0_project_1, "A", "Test")) 730VerifyNavigateToResultItem(item, "C", "[|C|]", PatternMatchKind.Exact, NavigateToItemKind.Class, Glyph.ClassPublic) 742VerifyNavigateToResultItem(item, "C", "[|C|](Of T)", PatternMatchKind.Exact, NavigateToItemKind.Class, Glyph.ClassPublic) 755VerifyNavigateToResultItem(item, "Program", "[|Program|]", PatternMatchKind.Exact, NavigateToItemKind.Module, Glyph.ModuleInternal) 1062Glyph.MethodPublic, String.Format(FeaturesResources.in_0_project_1, "Goo", "Test"))
QuickInfo\SemanticQuickInfoSourceTests.vb (3)
1055SymbolGlyph(Glyph.Keyword)) 1064SymbolGlyph(Glyph.Keyword)) 2361SymbolGlyph(Glyph.Operator))
Microsoft.CodeAnalysis.VisualBasic.Features (28)
Completion\CompletionProviders\CrefCompletionProvider.vb (1)
258"Of", displayTextSuffix:="", CompletionItemRules.Default, Glyph.Keyword,
Completion\CompletionProviders\KeywordCompletionProvider.vb (1)
193glyph:=Glyph.Keyword,
Completion\KeywordRecommenders\EventHandling\AddHandlerKeywordRecommender.vb (1)
20SyntaxKind.AddHandlerKeyword, VBFeaturesResources.AddHandler_statement, Glyph.Keyword, New AddHandlerStatementDocumentation()))
Completion\KeywordRecommenders\EventHandling\RemoveHandlerKeywordRecommender.vb (1)
21Glyph.Keyword,
Completion\KeywordRecommenders\Expressions\CastOperatorsKeywordRecommender.vb (4)
42Glyph.MethodPublic, 51Glyph.MethodPublic, 57Glyph.MethodPublic, 63Glyph.MethodPublic,
Completion\KeywordRecommenders\Expressions\GetTypeKeywordRecommender.vb (1)
21SyntaxKind.GetTypeKeyword, VBFeaturesResources.GetType_function, Glyph.Keyword, New GetTypeExpressionDocumentation(), context.SemanticModel, context.Position))
Completion\KeywordRecommenders\Expressions\GetXmlNamespaceKeywordRecommender.vb (1)
23Glyph.MethodPublic,
Completion\KeywordRecommenders\Expressions\IfKeywordRecommender.vb (1)
22Glyph.MethodPublic,
Completion\KeywordRecommenders\Expressions\NameOfKeywordRecommender.vb (1)
20Glyph.MethodPublic,
Completion\KeywordRecommenders\RecommendationHelpers.vb (1)
152glyph As Glyph,
Completion\KeywordRecommenders\Statements\MidKeywordRecommender.vb (1)
22Glyph.Keyword,
Completion\KeywordRecommenders\Types\BuiltInTypesKeywordRecommender.vb (1)
118recommendedKeywords(i) = New RecommendedKeyword(s_intrinsicKeywordNames(i), Glyph.Keyword,
NavigationBar\VisualBasicNavigationBarItemService.vb (1)
383Glyph.EventPublic,
QuickInfo\VisualBasicSemanticQuickInfoProvider.vb (12)
63Return BuildContentForIntrinsicOperator(semanticModel, token, parent, documentation, Glyph.MethodPublic, cancellationToken) 69Return BuildContentForIntrinsicOperator(semanticModel, token, parent, New AddHandlerStatementDocumentation(), Glyph.Keyword, cancellationToken) 81Return BuildContentForIntrinsicOperator(semanticModel, token, parent, New CTypeCastExpressionDocumentation(), Glyph.MethodPublic, cancellationToken) 86Return BuildContentForIntrinsicOperator(semanticModel, token, parent, New DirectCastExpressionDocumentation(), Glyph.MethodPublic, cancellationToken) 91Return BuildContentForIntrinsicOperator(semanticModel, token, parent, New GetTypeExpressionDocumentation(), Glyph.MethodPublic, cancellationToken) 96Return BuildContentForIntrinsicOperator(semanticModel, token, parent, New GetXmlNamespaceExpressionDocumentation(), Glyph.MethodPublic, cancellationToken) 101Return BuildContentForIntrinsicOperator(semanticModel, token, parent, New BinaryConditionalExpressionDocumentation(), Glyph.MethodPublic, cancellationToken) 103Return BuildContentForIntrinsicOperator(semanticModel, token, parent, New TernaryConditionalExpressionDocumentation(), Glyph.MethodPublic, cancellationToken) 108Return BuildContentForIntrinsicOperator(semanticModel, token, parent, New RemoveHandlerStatementDocumentation(), Glyph.Keyword, cancellationToken) 113Return BuildContentForIntrinsicOperator(semanticModel, token, parent, New TryCastExpressionDocumentation(), Glyph.MethodPublic, cancellationToken) 119Return BuildContentForIntrinsicOperator(semanticModel, token, parent, New MidAssignmentDocumentation(), Glyph.MethodPublic, cancellationToken) 207glyph As Glyph,
Microsoft.VisualStudio.LanguageServices (176)
CallHierarchy\CallHierarchyProvider.cs (1)
100Glyph.FieldPublic.GetImageSource(GlyphService),
FindReferences\Contexts\AbstractTableDataSourceFindUsagesContext.cs (1)
489GlyphTags.GetTags(Glyph.StatusInformation),
FindReferences\Contexts\WithReferencesFindUsagesContext.cs (1)
288GlyphTags.GetTags(Glyph.StatusInformation),
Preview\PreviewEngine.cs (3)
33private readonly Glyph _topLevelGlyph; 46public PreviewEngine(IThreadingContext threadingContext, string title, string helpString, string description, string topLevelItemName, Glyph topLevelGlyph, Solution newSolution, Solution oldSolution, IComponentModel componentModel, bool showCheckBoxes = true) 57Glyph topLevelGlyph,
Preview\PreviewService.cs (1)
45Glyph topLevelGlyph,
Preview\TopLevelChange.cs (2)
24private readonly Glyph _glyph; 28Glyph glyph,
Progression\GraphBuilder.cs (53)
781private static string? GetIconString(Glyph glyph) 785Glyph.ClassPublic or Glyph.ClassProtected or Glyph.ClassPrivate or Glyph.ClassInternal => "Class", 786Glyph.ConstantPublic or Glyph.ConstantProtected or Glyph.ConstantPrivate or Glyph.ConstantInternal => "Field", 787Glyph.DelegatePublic or Glyph.DelegateProtected or Glyph.DelegatePrivate or Glyph.DelegateInternal => "Delegate", 788Glyph.EnumPublic or Glyph.EnumProtected or Glyph.EnumPrivate or Glyph.EnumInternal => "Enum", 789Glyph.EnumMemberPublic or Glyph.EnumMemberProtected or Glyph.EnumMemberPrivate or Glyph.EnumMemberInternal => "EnumMember", 790Glyph.ExtensionMethodPublic or Glyph.ExtensionMethodProtected or Glyph.ExtensionMethodPrivate or Glyph.ExtensionMethodInternal => "Method", 791Glyph.EventPublic or Glyph.EventProtected or Glyph.EventPrivate or Glyph.EventInternal => "Event", 792Glyph.FieldPublic or Glyph.FieldProtected or Glyph.FieldPrivate or Glyph.FieldInternal => "Field", 793Glyph.InterfacePublic or Glyph.InterfaceProtected or Glyph.InterfacePrivate or Glyph.InterfaceInternal => "Interface", 794Glyph.MethodPublic or Glyph.MethodProtected or Glyph.MethodPrivate or Glyph.MethodInternal => "Method", 795Glyph.ModulePublic or Glyph.ModuleProtected or Glyph.ModulePrivate or Glyph.ModuleInternal => "Module", 796Glyph.PropertyPublic or Glyph.PropertyProtected or Glyph.PropertyPrivate or Glyph.PropertyInternal => "Property", 797Glyph.StructurePublic or Glyph.StructureProtected or Glyph.StructurePrivate or Glyph.StructureInternal => "Structure",
Shared\VisualStudioImageIdService.cs (3)
68var glyph = tags.GetFirstGlyph(); 71case Glyph.AddReference: 73CreateLayer(Glyph.Reference.GetImageMoniker(), virtualXOffset: 1, virtualYOffset: 2),
SyncNamespaces\SyncNamespacesCommandHandler.cs (1)
154topLevelGlyph: Glyph.OpenFolder,
Utilities\GlyphExtensions.cs (108)
16public static StandardGlyphGroup GetStandardGlyphGroup(this Glyph glyph) 20case Glyph.Assembly: 23case Glyph.BasicFile: 24case Glyph.BasicProject: 27case Glyph.ClassPublic: 28case Glyph.ClassProtected: 29case Glyph.ClassPrivate: 30case Glyph.ClassInternal: 33case Glyph.ConstantPublic: 34case Glyph.ConstantProtected: 35case Glyph.ConstantPrivate: 36case Glyph.ConstantInternal: 39case Glyph.CSharpFile: 42case Glyph.CSharpProject: 45case Glyph.DelegatePublic: 46case Glyph.DelegateProtected: 47case Glyph.DelegatePrivate: 48case Glyph.DelegateInternal: 51case Glyph.EnumPublic: 52case Glyph.EnumProtected: 53case Glyph.EnumPrivate: 54case Glyph.EnumInternal: 57case Glyph.EnumMemberPublic: 58case Glyph.EnumMemberProtected: 59case Glyph.EnumMemberPrivate: 60case Glyph.EnumMemberInternal: 63case Glyph.Error: 66case Glyph.ExtensionMethodPublic: 69case Glyph.ExtensionMethodProtected: 72case Glyph.ExtensionMethodPrivate: 75case Glyph.ExtensionMethodInternal: 78case Glyph.EventPublic: 79case Glyph.EventProtected: 80case Glyph.EventPrivate: 81case Glyph.EventInternal: 84case Glyph.FieldPublic: 85case Glyph.FieldProtected: 86case Glyph.FieldPrivate: 87case Glyph.FieldInternal: 90case Glyph.InterfacePublic: 91case Glyph.InterfaceProtected: 92case Glyph.InterfacePrivate: 93case Glyph.InterfaceInternal: 96case Glyph.Intrinsic: 99case Glyph.Keyword: 102case Glyph.Label: 105case Glyph.Local: 108case Glyph.Namespace: 111case Glyph.MethodPublic: 112case Glyph.MethodProtected: 113case Glyph.MethodPrivate: 114case Glyph.MethodInternal: 117case Glyph.ModulePublic: 118case Glyph.ModuleProtected: 119case Glyph.ModulePrivate: 120case Glyph.ModuleInternal: 123case Glyph.OpenFolder: 126case Glyph.Operator: 129case Glyph.Parameter: 132case Glyph.PropertyPublic: 133case Glyph.PropertyProtected: 134case Glyph.PropertyPrivate: 135case Glyph.PropertyInternal: 138case Glyph.RangeVariable: 141case Glyph.Reference: 144case Glyph.StructurePublic: 145case Glyph.StructureProtected: 146case Glyph.StructurePrivate: 147case Glyph.StructureInternal: 150case Glyph.TypeParameter: 153case Glyph.Snippet: 156case Glyph.CompletionWarning: 164public static StandardGlyphItem GetStandardGlyphItem(this Glyph icon) 168case Glyph.ClassProtected: 169case Glyph.ConstantProtected: 170case Glyph.DelegateProtected: 171case Glyph.EnumProtected: 172case Glyph.EventProtected: 173case Glyph.FieldProtected: 174case Glyph.InterfaceProtected: 175case Glyph.MethodProtected: 176case Glyph.ModuleProtected: 177case Glyph.PropertyProtected: 178case Glyph.StructureProtected: 181case Glyph.ClassPrivate: 182case Glyph.ConstantPrivate: 183case Glyph.DelegatePrivate: 184case Glyph.EnumPrivate: 185case Glyph.EventPrivate: 186case Glyph.FieldPrivate: 187case Glyph.InterfacePrivate: 188case Glyph.MethodPrivate: 189case Glyph.ModulePrivate: 190case Glyph.PropertyPrivate: 191case Glyph.StructurePrivate: 194case Glyph.ClassInternal: 195case Glyph.ConstantInternal: 196case Glyph.DelegateInternal: 197case Glyph.EnumInternal: 198case Glyph.EventInternal: 199case Glyph.FieldInternal: 200case Glyph.InterfaceInternal: 201case Glyph.MethodInternal: 202case Glyph.ModuleInternal: 203case Glyph.PropertyInternal: 204case Glyph.StructureInternal: 213public static ImageSource GetImageSource(this Glyph glyph, IGlyphService glyphService) 216public static ushort GetGlyphIndex(this Glyph glyph)
ValueTracking\TreeItemViewModel.cs (2)
22private readonly Glyph _glyph; 49Glyph glyph,
Microsoft.VisualStudio.LanguageServices.UnitTests (5)
Preview\PreviewChangesTests.vb (5)
49"Title", "helpString", "description", "topLevelItemName", Glyph.Assembly, 110"Title", "helpString", "description", "topLevelItemName", Glyph.Assembly, 146"Title", "helpString", "description", "topLevelItemName", Glyph.Assembly, 212"Title", "helpString", "description", "topLevelItemName", Glyph.Assembly, 293"Title", "helpString", "description", "topLevelItemName", Glyph.Assembly,
Microsoft.VisualStudio.LanguageServices.VisualBasic (1)
Snippets\SnippetCompletionProvider.vb (1)
111glyph:=Glyph.Snippet,
Microsoft.VisualStudio.LanguageServices.Xaml (8)
Features\InlineRename\XamlEditorInlineRenameService.cs (8)
58public Glyph Glyph => InlineRenameInfo.FromSymbolKind(_renameInfo.Kind); 113private static Glyph FromSymbolKind(SymbolKind kind) 115var glyph = Glyph.Error; 120glyph = Glyph.Namespace; 123glyph = Glyph.ClassPublic; 126glyph = Glyph.PropertyPublic; 129glyph = Glyph.EventPublic;