478 references to Glyph
Microsoft.CodeAnalysis.EditorFeatures (1)
Host\IPreviewDialogService.cs (1)
24/// <param name="topLevelGlyph">The <see cref="Glyph"/> of the root item in the treeview.</param>
Microsoft.CodeAnalysis.ExternalAccess.FSharp.UnitTests (1)
FSharpGlyphTests.cs (1)
667var actual = FSharpGlyphHelpers.ConvertTo(glyph);
Microsoft.CodeAnalysis.Features (474)
ChangeSignature\ChangeSignatureResult.cs (1)
21public Glyph? Glyph { get; } = glyph;
CodeFixesAndRefactorings\AbstractFixAllGetFixesService.cs (5)
24Glyph glyph); 136var glyph = language == null 137? Glyph.Assembly 139? Glyph.CSharpProject 140: Glyph.BasicProject;
CodeFixesAndRefactorings\FeaturesFixAllGetFixesService.cs (1)
17protected override Solution? GetChangedSolution(Workspace workspace, Solution currentSolution, Solution newSolution, string fixAllPreviewChangesTitle, string fixAllTopLevelHeader, Glyph glyph)
CodeLens\ReferenceLocationDescriptor.cs (2)
19Glyph? glyph, 51public Glyph? Glyph { get; } = 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)
21Glyph? glyph = null,
Completion\FileSystemCompletionHelper.cs (4)
25private readonly Glyph _folderGlyph; 26private readonly Glyph _fileGlyph; 36Glyph folderGlyph, 37Glyph fileGlyph,
Completion\Providers\AbstractAwaitCompletionProvider.cs (1)
161glyph: Glyph.Keyword,
Completion\Providers\AbstractPreprocessorCompletionProvider.cs (1)
48glyph: Glyph.Keyword,
Completion\Providers\ImportCompletionProvider\ImportCompletionItem.cs (1)
36Glyph glyph,
Completion\Providers\ImportCompletionProvider\SerializableImportCompletionItem.cs (2)
10internal readonly struct SerializableImportCompletionItem(string symbolKeyData, string name, int arity, Glyph glyph, string containingNamespace, int additionalOverloadCount, bool includedInTargetTypeCompletion) 22public readonly Glyph Glyph = glyph;
Completion\Providers\RecommendedKeyword.cs (4)
14Glyph glyph, 20public Glyph Glyph { get; } = glyph; 27public RecommendedKeyword(string keyword, string toolTip = "", Glyph glyph = Glyph.Keyword, bool isIntrinsic = false, bool shouldFormatOnCommit = false, int? matchPriority = null)
Completion\Providers\Scripting\AbstractDirectivePathCompletionProvider.cs (2)
161Glyph itemGlyph, 179Glyph.OpenFolder,
Completion\Providers\Scripting\AbstractLoadDirectiveCompletionProvider.cs (1)
41var helper = GetFileSystemCompletionHelper(context.Document, Glyph.CSharpFile, [".csx"], s_rules);
Completion\Providers\Scripting\AbstractReferenceDirectiveCompletionProvider.cs (3)
56context.AddItem(CommonCompletionItem.Create(name, displayTextSuffix: "", glyph: Glyph.Assembly, rules: s_rules)); 57context.AddItem(CommonCompletionItem.Create(PathUtilities.GetFileName(path, includeExtension: true), displayTextSuffix: "", glyph: Glyph.Assembly, rules: s_rules)); 69var helper = GetFileSystemCompletionHelper(context.Document, Glyph.Assembly, RuntimeMetadataReferenceResolver.AssemblyExtensions, s_rules);
Completion\Providers\Scripting\GlobalAssemblyCacheCompletionHelper.cs (2)
47identity.GetDisplayName(), displayTextSuffix: "", glyph: Glyph.Assembly, rules: _itemRules)); 56displayName, displayTextSuffix: "", glyph: Glyph.Assembly, rules: _itemRules));
Completion\Providers\Snippets\AbstractSnippetCompletionProvider.cs (1)
94glyph: Glyph.Snippet,
Completion\Providers\Snippets\SnippetCompletionItem.cs (1)
20Glyph glyph,
Completion\Providers\SymbolCompletionItem.cs (3)
44Glyph? glyph = null, 313Glyph? glyph = null, 337Glyph? glyph = null,
Completion\Providers\XmlDocCommentCompletionItem.cs (1)
24glyph: Glyph.Keyword,
EncapsulateField\EncapsulateFieldResult.cs (2)
14internal sealed class EncapsulateFieldResult(string name, Glyph glyph, Func<CancellationToken, Task<Solution>> getSolutionAsync) 17public readonly Glyph Glyph = glyph;
ExternalAccess\Pythia\Api\PythiaCompletionProviderBase.cs (1)
32=> CommonCompletionItem.Create(displayText, displayTextSuffix, rules, (Glyph?)glyph, description, sortText, filterText, showsWarningIcon, properties.AsImmutableOrNull(), 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)
16public Glyph Glyph => _navigableItem.Glyph;
InheritanceMargin\AbstractInheritanceMarginService_Helpers.cs (8)
219LanguageNames.CSharp => Glyph.CSharpFile, 220LanguageNames.VisualBasic => Glyph.BasicFile, 237InheritanceRelationship.InheritedImport, item.Detach(), Glyph.None, languageGlyph, 243Glyph.Namespace, targetItems.ToImmutable())); 265InheritanceRelationship.InheritedImport, item.Detach(), Glyph.None, languageGlyph, 274lineNumber, this.GlobalImportsTitle, [taggedText], Glyph.Namespace, targetItems.ToImmutable())); 572LanguageNames.CSharp => Glyph.CSharpFile, 573LanguageNames.VisualBasic => Glyph.BasicFile,
InheritanceMargin\InheritanceMarginItem.cs (3)
18Glyph glyph, 44public readonly Glyph Glyph = glyph; 72Glyph glyph,
InheritanceMargin\InheritanceTargetItem.cs (4)
32public readonly Glyph Glyph; 38public readonly Glyph LanguageGlyph; 56Glyph glyph, 57Glyph languageGlyph,
NavigateTo\RoslynNavigateToItem.cs (27)
283Glyph INavigableItem.Glyph => GetGlyph(_item.DeclaredSymbolInfo.Kind, _item.DeclaredSymbolInfo.Accessibility); 285private static Glyph GetPublicGlyph(DeclaredSymbolInfoKind kind) 288DeclaredSymbolInfoKind.Class => Glyph.ClassPublic, 289DeclaredSymbolInfoKind.Constant => Glyph.ConstantPublic, 290DeclaredSymbolInfoKind.Constructor => Glyph.MethodPublic, 291DeclaredSymbolInfoKind.Delegate => Glyph.DelegatePublic, 292DeclaredSymbolInfoKind.Enum => Glyph.EnumPublic, 293DeclaredSymbolInfoKind.EnumMember => Glyph.EnumMemberPublic, 294DeclaredSymbolInfoKind.Event => Glyph.EventPublic, 295DeclaredSymbolInfoKind.ExtensionMethod => Glyph.ExtensionMethodPublic, 296DeclaredSymbolInfoKind.Field => Glyph.FieldPublic, 297DeclaredSymbolInfoKind.Indexer => Glyph.PropertyPublic, 298DeclaredSymbolInfoKind.Interface => Glyph.InterfacePublic, 299DeclaredSymbolInfoKind.Method => Glyph.MethodPublic, 300DeclaredSymbolInfoKind.Module => Glyph.ModulePublic, 301DeclaredSymbolInfoKind.Property => Glyph.PropertyPublic, 302DeclaredSymbolInfoKind.Struct => Glyph.StructurePublic, 303DeclaredSymbolInfoKind.RecordStruct => Glyph.StructurePublic, 304_ => Glyph.ClassPublic, 307private static Glyph GetGlyph(DeclaredSymbolInfoKind kind, Accessibility accessibility) 315var rawGlyph = GetPublicGlyph(kind); 320rawGlyph += (Glyph.ClassPrivate - Glyph.ClassPublic); 323rawGlyph += (Glyph.ClassInternal - Glyph.ClassPublic); 328rawGlyph += (Glyph.ClassProtected - Glyph.ClassPublic);
Navigation\INavigableItem.cs (1)
16Glyph Glyph { get; }
Navigation\NavigableItemFactory.SymbolLocationNavigableItem.cs (1)
38public Glyph Glyph => _symbol.GetGlyph();
NavigationBar\IRemoteNavigationBarItemService.cs (8)
29public readonly Glyph Glyph; 68Glyph glyph, 112public static SerializableNavigationBarItem ActionlessItem(string text, Glyph glyph, ImmutableArray<SerializableNavigationBarItem> childItems = default, int indent = 0, bool bolded = false, bool grayed = false) 115public 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) 119=> new(RoslynNavigationBarItemKind.GenerateFinalizer, text, Glyph.MethodProtected, bolded: false, grayed: false, indent: 0, default, null, false, null, destinationTypeSymbolKey, null, null, null); 121public static SerializableNavigationBarItem GenerateEventHandler(string eventName, Glyph glyph, string containerName, SymbolKey eventSymbolKey, SymbolKey destinationTypeSymbolKey) 124public static SerializableNavigationBarItem GenerateMethod(string text, Glyph glyph, SymbolKey destinationTypeSymbolId, SymbolKey methodToReplicateSymbolId) 128=> 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)
18Glyph glyph,
NavigationBar\NavigationBarItems\RoslynNavigationBarItem.cs (2)
19public readonly Glyph Glyph; 28Glyph glyph,
NavigationBar\NavigationBarItems\RoslynNavigationBarItem.GenerateDefaultConstructorItem.cs (1)
11public class GenerateDefaultConstructor(string text, SymbolKey destinationTypeSymbolKey) : AbstractGenerateCodeItem(RoslynNavigationBarItemKind.GenerateDefaultConstructor, text, Glyph.MethodPublic, destinationTypeSymbolKey), IEquatable<GenerateDefaultConstructor>
NavigationBar\NavigationBarItems\RoslynNavigationBarItem.GenerateEventHandlerItem.cs (1)
11public class GenerateEventHandler(string text, Glyph glyph, string containerName, SymbolKey eventSymbolKey, SymbolKey destinationTypeSymbolKey) : AbstractGenerateCodeItem(RoslynNavigationBarItemKind.GenerateEventHandler, text, glyph, destinationTypeSymbolKey), IEquatable<GenerateEventHandler>
NavigationBar\NavigationBarItems\RoslynNavigationBarItem.GenerateFinalizerItem.cs (1)
11public class GenerateFinalizer(string text, SymbolKey destinationTypeSymbolKey) : AbstractGenerateCodeItem(RoslynNavigationBarItemKind.GenerateFinalizer, text, Glyph.MethodProtected, destinationTypeSymbolKey), IEquatable<GenerateFinalizer>
NavigationBar\NavigationBarItems\RoslynNavigationBarItem.GenerateMethodItem.cs (1)
11public class GenerateMethod(string text, Glyph glyph, SymbolKey destinationTypeSymbolId, SymbolKey methodToReplicateSymbolId) : AbstractGenerateCodeItem(RoslynNavigationBarItemKind.GenerateMethod, text, glyph, destinationTypeSymbolId), IEquatable<GenerateMethod>
NavigationBar\NavigationBarItems\RoslynNavigationBarItem.SymbolItem.cs (1)
19Glyph glyph,
QuickInfo\Presentation\QuickInfoContentBuilder.cs (16)
17private static readonly FrozenDictionary<Glyph, QuickInfoGlyphElement> s_glyphToElementMap = CreateGlyphToElementMap(); 19private static FrozenDictionary<Glyph, QuickInfoGlyphElement> CreateGlyphToElementMap() 21var glyphs = (Glyph[])Enum.GetValues(typeof(Glyph)); 22var result = new Dictionary<Glyph, QuickInfoGlyphElement>(capacity: glyphs.Length); 24foreach (var glyph in glyphs) 53if (symbolGlyph != Glyph.None) 60firstLineElements.Add(s_glyphToElementMap[Glyph.CompletionWarning]); 187private static (Glyph symbolGlyph, bool addWarningGlyph) ComputeGlyphs(QuickInfoItem quickInfoItem) 189var symbolGlyph = Glyph.None; 192foreach (var glyph in quickInfoItem.Tags.GetGlyphs()) 194if (symbolGlyph != Glyph.None && addWarningGlyph) 199if (symbolGlyph == Glyph.None && glyph != Glyph.CompletionWarning) 203else if (!addWarningGlyph && glyph == Glyph.CompletionWarning)
QuickInfo\Presentation\QuickInfoGlyphElement.cs (2)
7internal sealed class QuickInfoGlyphElement(Glyph glyph) : QuickInfoElement 9public Glyph Glyph { get; } = glyph;
Shared\Extensions\ISymbolExtensions_2.cs (37)
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.Keyword; 154return Glyph.RangeVariable; 157return Glyph.TypeParameter; 166publicIcon += Glyph.ClassPrivate - Glyph.ClassPublic; 172publicIcon += Glyph.ClassProtected - Glyph.ClassPublic; 176publicIcon += 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)
21public Glyph Glyph { get; } 28Glyph glyph,
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Extensions\Extensions.cs (1)
324/// Retrieves the <see cref="Guid"/> and id that can represent a particular <see cref="Glyph"/>
Microsoft.VisualStudio.LanguageServices.Xaml (1)
Features\InlineRename\XamlEditorInlineRenameService.cs (1)
121var glyph = Glyph.Error;