322 references to FSharpGlyph
Microsoft.CodeAnalysis.ExternalAccess.FSharp (164)
Completion\FSharpCommonCompletionItem.cs (1)
19
FSharpGlyph
? glyph = null,
Completion\FSharpFileSystemCompletionHelper.cs (2)
20
FSharpGlyph
folderGlyph,
21
FSharpGlyph
fileGlyph,
Editor\FSharpNavigationBarItem.cs (2)
17
public
FSharpGlyph
Glyph { get; }
28
FSharpGlyph
glyph,
Editor\IFSharpEditorInlineRenameService.cs (1)
102
FSharpGlyph
Glyph { get; }
Editor\InlineRename\FSharpInlineRenameInfo.cs (1)
25
public abstract
FSharpGlyph
Glyph { get; }
FSharpGlyphTags.cs (1)
14
public static ImmutableArray<string> GetTags(
FSharpGlyph
glyph)
Internal\FSharpGlyphHelpers.cs (154)
14
public static
FSharpGlyph
ConvertFrom(Microsoft.CodeAnalysis.Glyph glyph)
20
return
FSharpGlyph
.None;
24
return
FSharpGlyph
.Assembly;
28
return
FSharpGlyph
.BasicFile;
32
return
FSharpGlyph
.BasicProject;
36
return
FSharpGlyph
.ClassPublic;
40
return
FSharpGlyph
.ClassProtected;
44
return
FSharpGlyph
.ClassPrivate;
48
return
FSharpGlyph
.ClassInternal;
52
return
FSharpGlyph
.CSharpFile;
56
return
FSharpGlyph
.CSharpProject;
60
return
FSharpGlyph
.ConstantPublic;
64
return
FSharpGlyph
.ConstantProtected;
68
return
FSharpGlyph
.ConstantPrivate;
72
return
FSharpGlyph
.ConstantInternal;
76
return
FSharpGlyph
.DelegatePublic;
80
return
FSharpGlyph
.DelegateProtected;
84
return
FSharpGlyph
.DelegatePrivate;
88
return
FSharpGlyph
.DelegateInternal;
92
return
FSharpGlyph
.EnumPublic;
96
return
FSharpGlyph
.EnumProtected;
100
return
FSharpGlyph
.EnumPrivate;
104
return
FSharpGlyph
.EnumInternal;
108
return
FSharpGlyph
.EnumMemberPublic;
112
return
FSharpGlyph
.EnumMemberProtected;
116
return
FSharpGlyph
.EnumMemberPrivate;
120
return
FSharpGlyph
.EnumMemberInternal;
124
return
FSharpGlyph
.Error;
128
return
FSharpGlyph
.StatusInformation;
132
return
FSharpGlyph
.EventPublic;
136
return
FSharpGlyph
.EventProtected;
140
return
FSharpGlyph
.EventPrivate;
144
return
FSharpGlyph
.EventInternal;
148
return
FSharpGlyph
.ExtensionMethodPublic;
152
return
FSharpGlyph
.ExtensionMethodProtected;
156
return
FSharpGlyph
.ExtensionMethodPrivate;
160
return
FSharpGlyph
.ExtensionMethodInternal;
164
return
FSharpGlyph
.FieldPublic;
168
return
FSharpGlyph
.FieldProtected;
172
return
FSharpGlyph
.FieldPrivate;
176
return
FSharpGlyph
.FieldInternal;
180
return
FSharpGlyph
.InterfacePublic;
184
return
FSharpGlyph
.InterfaceProtected;
188
return
FSharpGlyph
.InterfacePrivate;
192
return
FSharpGlyph
.InterfaceInternal;
196
return
FSharpGlyph
.Intrinsic;
200
return
FSharpGlyph
.Keyword;
204
return
FSharpGlyph
.Label;
208
return
FSharpGlyph
.Local;
212
return
FSharpGlyph
.Namespace;
216
return
FSharpGlyph
.MethodPublic;
220
return
FSharpGlyph
.MethodProtected;
224
return
FSharpGlyph
.MethodPrivate;
228
return
FSharpGlyph
.MethodInternal;
232
return
FSharpGlyph
.ModulePublic;
236
return
FSharpGlyph
.ModuleProtected;
240
return
FSharpGlyph
.ModulePrivate;
244
return
FSharpGlyph
.ModuleInternal;
248
return
FSharpGlyph
.OpenFolder;
252
return
FSharpGlyph
.Operator;
256
return
FSharpGlyph
.Parameter;
260
return
FSharpGlyph
.PropertyPublic;
264
return
FSharpGlyph
.PropertyProtected;
268
return
FSharpGlyph
.PropertyPrivate;
272
return
FSharpGlyph
.PropertyInternal;
276
return
FSharpGlyph
.RangeVariable;
280
return
FSharpGlyph
.Reference;
284
return
FSharpGlyph
.StructurePublic;
288
return
FSharpGlyph
.StructureProtected;
292
return
FSharpGlyph
.StructurePrivate;
296
return
FSharpGlyph
.StructureInternal;
300
return
FSharpGlyph
.TypeParameter;
304
return
FSharpGlyph
.Snippet;
308
return
FSharpGlyph
.CompletionWarning;
312
return
FSharpGlyph
.AddReference;
316
return
FSharpGlyph
.NuGet;
320
return
FSharpGlyph
.TargetTypeMatch;
329
public static Microsoft.CodeAnalysis.Glyph ConvertTo(
FSharpGlyph
glyph)
333
case
FSharpGlyph
.None:
337
case
FSharpGlyph
.Assembly:
341
case
FSharpGlyph
.BasicFile:
345
case
FSharpGlyph
.BasicProject:
349
case
FSharpGlyph
.ClassPublic:
353
case
FSharpGlyph
.ClassProtected:
357
case
FSharpGlyph
.ClassPrivate:
361
case
FSharpGlyph
.ClassInternal:
365
case
FSharpGlyph
.CSharpFile:
369
case
FSharpGlyph
.CSharpProject:
373
case
FSharpGlyph
.ConstantPublic:
377
case
FSharpGlyph
.ConstantProtected:
381
case
FSharpGlyph
.ConstantPrivate:
385
case
FSharpGlyph
.ConstantInternal:
389
case
FSharpGlyph
.DelegatePublic:
393
case
FSharpGlyph
.DelegateProtected:
397
case
FSharpGlyph
.DelegatePrivate:
401
case
FSharpGlyph
.DelegateInternal:
405
case
FSharpGlyph
.EnumPublic:
409
case
FSharpGlyph
.EnumProtected:
413
case
FSharpGlyph
.EnumPrivate:
417
case
FSharpGlyph
.EnumInternal:
421
case
FSharpGlyph
.EnumMemberPublic:
425
case
FSharpGlyph
.EnumMemberProtected:
429
case
FSharpGlyph
.EnumMemberPrivate:
433
case
FSharpGlyph
.EnumMemberInternal:
437
case
FSharpGlyph
.Error:
441
case
FSharpGlyph
.StatusInformation:
445
case
FSharpGlyph
.EventPublic:
449
case
FSharpGlyph
.EventProtected:
453
case
FSharpGlyph
.EventPrivate:
457
case
FSharpGlyph
.EventInternal:
461
case
FSharpGlyph
.ExtensionMethodPublic:
465
case
FSharpGlyph
.ExtensionMethodProtected:
469
case
FSharpGlyph
.ExtensionMethodPrivate:
473
case
FSharpGlyph
.ExtensionMethodInternal:
477
case
FSharpGlyph
.FieldPublic:
481
case
FSharpGlyph
.FieldProtected:
485
case
FSharpGlyph
.FieldPrivate:
489
case
FSharpGlyph
.FieldInternal:
493
case
FSharpGlyph
.InterfacePublic:
497
case
FSharpGlyph
.InterfaceProtected:
501
case
FSharpGlyph
.InterfacePrivate:
505
case
FSharpGlyph
.InterfaceInternal:
509
case
FSharpGlyph
.Intrinsic:
513
case
FSharpGlyph
.Keyword:
517
case
FSharpGlyph
.Label:
521
case
FSharpGlyph
.Local:
525
case
FSharpGlyph
.Namespace:
529
case
FSharpGlyph
.MethodPublic:
533
case
FSharpGlyph
.MethodProtected:
537
case
FSharpGlyph
.MethodPrivate:
541
case
FSharpGlyph
.MethodInternal:
545
case
FSharpGlyph
.ModulePublic:
549
case
FSharpGlyph
.ModuleProtected:
553
case
FSharpGlyph
.ModulePrivate:
557
case
FSharpGlyph
.ModuleInternal:
561
case
FSharpGlyph
.OpenFolder:
565
case
FSharpGlyph
.Operator:
569
case
FSharpGlyph
.Parameter:
573
case
FSharpGlyph
.PropertyPublic:
577
case
FSharpGlyph
.PropertyProtected:
581
case
FSharpGlyph
.PropertyPrivate:
585
case
FSharpGlyph
.PropertyInternal:
589
case
FSharpGlyph
.RangeVariable:
593
case
FSharpGlyph
.Reference:
597
case
FSharpGlyph
.StructurePublic:
601
case
FSharpGlyph
.StructureProtected:
605
case
FSharpGlyph
.StructurePrivate:
609
case
FSharpGlyph
.StructureInternal:
613
case
FSharpGlyph
.TypeParameter:
617
case
FSharpGlyph
.Snippet:
621
case
FSharpGlyph
.CompletionWarning:
625
case
FSharpGlyph
.AddReference:
629
case
FSharpGlyph
.NuGet:
633
case
FSharpGlyph
.TargetTypeMatch:
Navigation\FSharpNavigableItem.cs (2)
14
public FSharpNavigableItem(
FSharpGlyph
glyph, ImmutableArray<TaggedText> displayTaggedParts, Document document, TextSpan sourceSpan)
22
public
FSharpGlyph
Glyph { get; }
Microsoft.CodeAnalysis.ExternalAccess.FSharp.UnitTests (158)
FSharpGlyphTests.cs (158)
19
foreach (var number in Enum.GetValues(typeof(
FSharpGlyph
)))
33
internal static
FSharpGlyph
GetExpectedFSharpGlyph(Microsoft.CodeAnalysis.Glyph glyph)
39
return
FSharpGlyph
.None;
43
return
FSharpGlyph
.Assembly;
47
return
FSharpGlyph
.BasicFile;
51
return
FSharpGlyph
.BasicProject;
55
return
FSharpGlyph
.ClassPublic;
59
return
FSharpGlyph
.ClassProtected;
63
return
FSharpGlyph
.ClassPrivate;
67
return
FSharpGlyph
.ClassInternal;
71
return
FSharpGlyph
.CSharpFile;
75
return
FSharpGlyph
.CSharpProject;
79
return
FSharpGlyph
.ConstantPublic;
83
return
FSharpGlyph
.ConstantProtected;
87
return
FSharpGlyph
.ConstantPrivate;
91
return
FSharpGlyph
.ConstantInternal;
95
return
FSharpGlyph
.DelegatePublic;
99
return
FSharpGlyph
.DelegateProtected;
103
return
FSharpGlyph
.DelegatePrivate;
107
return
FSharpGlyph
.DelegateInternal;
111
return
FSharpGlyph
.EnumPublic;
115
return
FSharpGlyph
.EnumProtected;
119
return
FSharpGlyph
.EnumPrivate;
123
return
FSharpGlyph
.EnumInternal;
127
return
FSharpGlyph
.EnumMemberPublic;
131
return
FSharpGlyph
.EnumMemberProtected;
135
return
FSharpGlyph
.EnumMemberPrivate;
139
return
FSharpGlyph
.EnumMemberInternal;
143
return
FSharpGlyph
.Error;
147
return
FSharpGlyph
.StatusInformation;
151
return
FSharpGlyph
.EventPublic;
155
return
FSharpGlyph
.EventProtected;
159
return
FSharpGlyph
.EventPrivate;
163
return
FSharpGlyph
.EventInternal;
167
return
FSharpGlyph
.ExtensionMethodPublic;
171
return
FSharpGlyph
.ExtensionMethodProtected;
175
return
FSharpGlyph
.ExtensionMethodPrivate;
179
return
FSharpGlyph
.ExtensionMethodInternal;
183
return
FSharpGlyph
.FieldPublic;
187
return
FSharpGlyph
.FieldProtected;
191
return
FSharpGlyph
.FieldPrivate;
195
return
FSharpGlyph
.FieldInternal;
199
return
FSharpGlyph
.InterfacePublic;
203
return
FSharpGlyph
.InterfaceProtected;
207
return
FSharpGlyph
.InterfacePrivate;
211
return
FSharpGlyph
.InterfaceInternal;
215
return
FSharpGlyph
.Intrinsic;
219
return
FSharpGlyph
.Keyword;
223
return
FSharpGlyph
.Label;
227
return
FSharpGlyph
.Local;
231
return
FSharpGlyph
.Namespace;
235
return
FSharpGlyph
.MethodPublic;
239
return
FSharpGlyph
.MethodProtected;
243
return
FSharpGlyph
.MethodPrivate;
247
return
FSharpGlyph
.MethodInternal;
251
return
FSharpGlyph
.ModulePublic;
255
return
FSharpGlyph
.ModuleProtected;
259
return
FSharpGlyph
.ModulePrivate;
263
return
FSharpGlyph
.ModuleInternal;
267
return
FSharpGlyph
.OpenFolder;
271
return
FSharpGlyph
.Operator;
275
return
FSharpGlyph
.Parameter;
279
return
FSharpGlyph
.PropertyPublic;
283
return
FSharpGlyph
.PropertyProtected;
287
return
FSharpGlyph
.PropertyPrivate;
291
return
FSharpGlyph
.PropertyInternal;
295
return
FSharpGlyph
.RangeVariable;
299
return
FSharpGlyph
.Reference;
303
return
FSharpGlyph
.StructurePublic;
307
return
FSharpGlyph
.StructureProtected;
311
return
FSharpGlyph
.StructurePrivate;
315
return
FSharpGlyph
.StructureInternal;
319
return
FSharpGlyph
.TypeParameter;
323
return
FSharpGlyph
.Snippet;
327
return
FSharpGlyph
.CompletionWarning;
331
return
FSharpGlyph
.AddReference;
335
return
FSharpGlyph
.NuGet;
339
return
FSharpGlyph
.TargetTypeMatch;
348
internal static Microsoft.CodeAnalysis.Glyph GetExpectedGlyph(
FSharpGlyph
glyph)
352
case
FSharpGlyph
.None:
356
case
FSharpGlyph
.Assembly:
360
case
FSharpGlyph
.BasicFile:
364
case
FSharpGlyph
.BasicProject:
368
case
FSharpGlyph
.ClassPublic:
372
case
FSharpGlyph
.ClassProtected:
376
case
FSharpGlyph
.ClassPrivate:
380
case
FSharpGlyph
.ClassInternal:
384
case
FSharpGlyph
.CSharpFile:
388
case
FSharpGlyph
.CSharpProject:
392
case
FSharpGlyph
.ConstantPublic:
396
case
FSharpGlyph
.ConstantProtected:
400
case
FSharpGlyph
.ConstantPrivate:
404
case
FSharpGlyph
.ConstantInternal:
408
case
FSharpGlyph
.DelegatePublic:
412
case
FSharpGlyph
.DelegateProtected:
416
case
FSharpGlyph
.DelegatePrivate:
420
case
FSharpGlyph
.DelegateInternal:
424
case
FSharpGlyph
.EnumPublic:
428
case
FSharpGlyph
.EnumProtected:
432
case
FSharpGlyph
.EnumPrivate:
436
case
FSharpGlyph
.EnumInternal:
440
case
FSharpGlyph
.EnumMemberPublic:
444
case
FSharpGlyph
.EnumMemberProtected:
448
case
FSharpGlyph
.EnumMemberPrivate:
452
case
FSharpGlyph
.EnumMemberInternal:
456
case
FSharpGlyph
.Error:
460
case
FSharpGlyph
.StatusInformation:
464
case
FSharpGlyph
.EventPublic:
468
case
FSharpGlyph
.EventProtected:
472
case
FSharpGlyph
.EventPrivate:
476
case
FSharpGlyph
.EventInternal:
480
case
FSharpGlyph
.ExtensionMethodPublic:
484
case
FSharpGlyph
.ExtensionMethodProtected:
488
case
FSharpGlyph
.ExtensionMethodPrivate:
492
case
FSharpGlyph
.ExtensionMethodInternal:
496
case
FSharpGlyph
.FieldPublic:
500
case
FSharpGlyph
.FieldProtected:
504
case
FSharpGlyph
.FieldPrivate:
508
case
FSharpGlyph
.FieldInternal:
512
case
FSharpGlyph
.InterfacePublic:
516
case
FSharpGlyph
.InterfaceProtected:
520
case
FSharpGlyph
.InterfacePrivate:
524
case
FSharpGlyph
.InterfaceInternal:
528
case
FSharpGlyph
.Intrinsic:
532
case
FSharpGlyph
.Keyword:
536
case
FSharpGlyph
.Label:
540
case
FSharpGlyph
.Local:
544
case
FSharpGlyph
.Namespace:
548
case
FSharpGlyph
.MethodPublic:
552
case
FSharpGlyph
.MethodProtected:
556
case
FSharpGlyph
.MethodPrivate:
560
case
FSharpGlyph
.MethodInternal:
564
case
FSharpGlyph
.ModulePublic:
568
case
FSharpGlyph
.ModuleProtected:
572
case
FSharpGlyph
.ModulePrivate:
576
case
FSharpGlyph
.ModuleInternal:
580
case
FSharpGlyph
.OpenFolder:
584
case
FSharpGlyph
.Operator:
588
case
FSharpGlyph
.Parameter:
592
case
FSharpGlyph
.PropertyPublic:
596
case
FSharpGlyph
.PropertyProtected:
600
case
FSharpGlyph
.PropertyPrivate:
604
case
FSharpGlyph
.PropertyInternal:
608
case
FSharpGlyph
.RangeVariable:
612
case
FSharpGlyph
.Reference:
616
case
FSharpGlyph
.StructurePublic:
620
case
FSharpGlyph
.StructureProtected:
624
case
FSharpGlyph
.StructurePrivate:
628
case
FSharpGlyph
.StructureInternal:
632
case
FSharpGlyph
.TypeParameter:
636
case
FSharpGlyph
.Snippet:
640
case
FSharpGlyph
.CompletionWarning:
644
case
FSharpGlyph
.AddReference:
648
case
FSharpGlyph
.NuGet:
652
case
FSharpGlyph
.TargetTypeMatch:
665
internal void MapsCorrectly(
FSharpGlyph
glyph)
676
var
actual = FSharpGlyphHelpers.ConvertFrom(glyph);
677
var
expected = GetExpectedFSharpGlyph(glyph);