82 references to ClassPublic
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (34)
Completion\CompletionProviders\EnumAndCompletionListTagCompletionProviderTests.cs (1)
535await VerifyItemExistsAsync(markup, "string", glyph: (int)Glyph.ClassPublic);
Completion\CompletionProviders\TypeImportCompletionProviderTests.cs (33)
58[InlineData("class", (int)Glyph.ClassPublic)] 59[InlineData("record", (int)Glyph.ClassPublic)] 87[InlineData("class", (int)Glyph.ClassPublic)] 88[InlineData("record", (int)Glyph.ClassPublic)] 139[InlineData("class", (int)Glyph.ClassPublic)] 140[InlineData("record", (int)Glyph.ClassPublic)] 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"); 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"); 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,
Microsoft.CodeAnalysis.CSharp.Features (3)
Completion\CompletionProviders\DeclarationName\DeclarationNameInfo.cs (3)
658publicIcon += Glyph.ClassPrivate - Glyph.ClassPublic; 664publicIcon += Glyph.ClassProtected - Glyph.ClassPublic; 668publicIcon += Glyph.ClassInternal - Glyph.ClassPublic;
Microsoft.CodeAnalysis.EditorFeatures (1)
Shared\Extensions\GlyphExtensions.cs (1)
42case Glyph.ClassPublic:
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (8)
IntelliSense\CSharpCompletionCommandHandlerTests.vb (1)
10614Dim item = ImportCompletionItem.Create("TestUnimportedItem", 0, "Test.Name.Spaces", Glyph.ClassPublic, "", CompletionItemFlags.CachedAndExpanded, Nothing)
NavigationBar\VisualBasicNavigationBarTests.vb (7)
156Item("Nested (N.C)", Glyph.ClassPublic, bolded:=True)) 287Item("Nested (C)", Glyph.ClassPublic, bolded:=True), False, Nothing, False) 305Item("Nested (Z)", Glyph.ClassPublic, bolded:=True), False, Nothing, False) 688Item("N1 (C)", Glyph.ClassPublic, bolded:=True, children:={ 691Item("N2 (C.N1)", Glyph.ClassPublic, bolded:=True, children:={ 910Item("Base", Glyph.ClassPublic, children:={ 924Item("Class1 (Base)", Glyph.ClassPublic, children:={
Microsoft.CodeAnalysis.ExternalAccess.FSharp (2)
Internal\FSharpGlyphHelpers.cs (2)
34case Microsoft.CodeAnalysis.Glyph.ClassPublic: 351return Microsoft.CodeAnalysis.Glyph.ClassPublic;
Microsoft.CodeAnalysis.ExternalAccess.FSharp.UnitTests (2)
FSharpGlyphTests.cs (2)
53case Microsoft.CodeAnalysis.Glyph.ClassPublic: 370return Microsoft.CodeAnalysis.Glyph.ClassPublic;
Microsoft.CodeAnalysis.Features (15)
Common\GlyphExtensions.cs (1)
58_ => Glyph.ClassPublic,
Common\GlyphTags.cs (1)
20Glyph.ClassPublic => WellKnownTagArrays.ClassPublic,
ExternalAccess\VSTypeScript\VSTypeScriptGlyphHelpers.cs (2)
22Glyph.ClassPublic => VSTypeScriptGlyph.ClassPublic, 106VSTypeScriptGlyph.ClassPublic => Glyph.ClassPublic,
NavigateTo\RoslynNavigateToItem.cs (5)
297DeclaredSymbolInfoKind.Class => Glyph.ClassPublic, 313_ => Glyph.ClassPublic, 329rawGlyph += (Glyph.ClassPrivate - Glyph.ClassPublic); 332rawGlyph += (Glyph.ClassInternal - Glyph.ClassPublic); 337rawGlyph += (Glyph.ClassProtected - Glyph.ClassPublic);
Shared\Extensions\ISymbolExtensions_2.cs (6)
29return Glyph.ClassPublic; 32return Glyph.ClassPublic; 61publicIcon = Glyph.ClassPublic; 163publicIcon += Glyph.ClassPrivate - Glyph.ClassPublic; 169publicIcon += Glyph.ClassProtected - Glyph.ClassPublic; 173publicIcon += Glyph.ClassInternal - Glyph.ClassPublic;
Microsoft.CodeAnalysis.LanguageServer.Protocol (3)
Extensions\ProtocolConversions.cs (2)
442return Glyph.ClassPublic; 549return Glyph.ClassPublic;
Handler\Definitions\AbstractGoToDefinitionHandler.cs (1)
105case Glyph.ClassPublic:
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures.UnitTests (11)
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 (3)
73VerifyNavigateToResultItem(item, "Gamma", "[|Gamma|]", PatternMatchKind.Exact, NavigateToItemKind.Class, Glyph.ClassPublic) 730VerifyNavigateToResultItem(item, "C", "[|C|]", PatternMatchKind.Exact, NavigateToItemKind.Class, Glyph.ClassPublic) 742VerifyNavigateToResultItem(item, "C", "[|C|](Of T)", PatternMatchKind.Exact, NavigateToItemKind.Class, Glyph.ClassPublic)
Microsoft.VisualStudio.LanguageServices (2)
Progression\GraphBuilder.cs (1)
785Glyph.ClassPublic or Glyph.ClassProtected or Glyph.ClassPrivate or Glyph.ClassInternal => "Class",
Utilities\GlyphExtensions.cs (1)
27case Glyph.ClassPublic:
Microsoft.VisualStudio.LanguageServices.Xaml (1)
Features\InlineRename\XamlEditorInlineRenameService.cs (1)
123glyph = Glyph.ClassPublic;