199 references to None
Microsoft.CodeAnalysis.CSharp.Features (1)
QuickInfo\CSharpDiagnosticAnalyzerQuickInfoProvider.cs (1)
155
? new TaggedText(TextTags.Text, descriptor.Id, TaggedTextStyle.
None
, descriptor.HelpLinkUri, descriptor.HelpLinkUri)
Microsoft.CodeAnalysis.Features (5)
Common\TaggedText.cs (2)
61
: this(tag, text, TaggedTextStyle.
None
, navigationTarget: null, navigationHint: null)
89
this IEnumerable<SymbolDisplayPart>? displayParts, TaggedTextStyle style = TaggedTextStyle.
None
, Func<ISymbol?, string?>? getNavigationHint = null, bool includeNavigationHints = true)
DocumentationComments\AbstractDocumentationCommentFormattingService.cs (2)
72
/// item of the stack will be <see cref="TaggedTextStyle.
None
"/>.
79
_styleStack.Push(TaggedTextStyle.
None
);
LanguageServices\SymbolDisplayService\AbstractSymbolDisplayService.AbstractSymbolDescriptionBuilder.cs (1)
436
var taggedText = parts.ToTaggedText(TaggedTextStyle.
None
, _getNavigationHint, includeNavigationHints);
Microsoft.CodeAnalysis.Features.UnitTests (192)
FindUsages\DefinitionItemFactoryTests.cs (192)
145
(tag: "Assembly", text: "Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", TaggedTextStyle.
None
, target: SymbolKey.CreateString(a), hint: "Test")
149
(tag: "Assembly", text: "Test", TaggedTextStyle.
None
, target: SymbolKey.CreateString(a), hint: "Test")
181
(tag: "Assembly", text: "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089", TaggedTextStyle.
None
, target: SymbolKey.CreateString(m), hint: "mscorlib")
185
(tag: "Assembly", text: "mscorlib", TaggedTextStyle.
None
, target: SymbolKey.CreateString(m), hint: "mscorlib")
223
(tag: "Module", text: "Test.dll", TaggedTextStyle.
None
, target: SymbolKey.CreateString(m), hint: "Test.dll")
227
(tag: "Module", text: "Test.dll", TaggedTextStyle.
None
, target: SymbolKey.CreateString(m), hint: "Test.dll")
259
(tag: "Module", text: "CommonLanguageRuntimeLibrary", TaggedTextStyle.
None
, target: SymbolKey.CreateString(m), hint: "CommonLanguageRuntimeLibrary")
263
(tag: "Module", text: "CommonLanguageRuntimeLibrary", TaggedTextStyle.
None
, target: SymbolKey.CreateString(m), hint: "CommonLanguageRuntimeLibrary")
302
(tag: "Keyword", text: "namespace", TaggedTextStyle.
None
, target: null, hint: null),
303
(tag: "Space", text: " ", TaggedTextStyle.
None
, target: null, hint: null),
304
(tag: "Namespace", text: "N", TaggedTextStyle.
None
, target: null, hint: null)
308
(tag: "Namespace", text: "N", TaggedTextStyle.
None
, target: null, hint: null)
344
(tag: "Keyword", text: "namespace", TaggedTextStyle.
None
, target: null, hint: null),
345
(tag: "Space", text: " ", TaggedTextStyle.
None
, target: null, hint: null),
346
(tag: "Namespace", text: "System", TaggedTextStyle.
None
, target: null, hint: null)
350
(tag: "Namespace", text: "System", TaggedTextStyle.
None
, target: null, hint: null)
397
(tag: "Keyword", text: "namespace", TaggedTextStyle.
None
, target: null, hint: null),
398
(tag: "Space", text: " ", TaggedTextStyle.
None
, target: null, hint: null),
399
(tag: "Namespace", text: "System", TaggedTextStyle.
None
, target: null, hint: null)
403
(tag: "Namespace", text: "System", TaggedTextStyle.
None
, target: null, hint: null)
451
(tag: "Keyword", text: "namespace", TaggedTextStyle.
None
, target: null, hint: null),
452
(tag: "Space", text: " ", TaggedTextStyle.
None
, target: null, hint: null),
453
(tag: "Text", text: "<global namespace>", TaggedTextStyle.
None
, target: SymbolKey.CreateString(symbol), hint: "")
457
(tag: "Text", text: "<global namespace>", TaggedTextStyle.
None
, target: SymbolKey.CreateString(symbol), hint: "")
491
(tag: "Keyword", text: "namespace", TaggedTextStyle.
None
, target: null, hint: null),
492
(tag: "Space", text: " ", TaggedTextStyle.
None
, target: null, hint: null),
493
(tag: "Text", text: "<global namespace>", TaggedTextStyle.
None
, target: SymbolKey.CreateString(symbol), hint: "")
497
(tag: "Text", text: "<global namespace>", TaggedTextStyle.
None
, target: SymbolKey.CreateString(symbol), hint: "")
530
(tag: "Keyword", text: "class", TaggedTextStyle.
None
, target: null, hint: null),
531
(tag: "Space", text: " ", TaggedTextStyle.
None
, target: null, hint: null),
532
(tag: "Class", text: "C", TaggedTextStyle.
None
, target: SymbolKey.CreateString(c), hint: "C")
536
(tag: "Class", text: "C", TaggedTextStyle.
None
, target: SymbolKey.CreateString(c), hint: "C")
572
(tag: "Keyword", text: "class", TaggedTextStyle.
None
, target: null, hint: null),
573
(tag: "Space", text: " ", TaggedTextStyle.
None
, target: null, hint: null),
574
(tag: "Class", text: "Activator", TaggedTextStyle.
None
, target: SymbolKey.CreateString(c), hint: "Activator")
578
(tag: "Class", text: "Activator", TaggedTextStyle.
None
, target: SymbolKey.CreateString(c), hint: "Activator")
630
(tag: "Keyword", text: "class", TaggedTextStyle.
None
, target: null, hint: null),
631
(tag: "Space", text: " ", TaggedTextStyle.
None
, target: null, hint: null),
632
(tag: "Class", text: "C", TaggedTextStyle.
None
, target: SymbolKey.CreateString(c), hint: "C")
636
(tag: "Class", text: "C", TaggedTextStyle.
None
, target: SymbolKey.CreateString(c), hint: "C")
676
(tag: "Keyword", text: "dynamic", TaggedTextStyle.
None
, target: SymbolKey.CreateString(c), hint: "dynamic")
680
(tag: "Keyword", text: "dynamic", TaggedTextStyle.
None
, target: SymbolKey.CreateString(c), hint: "dynamic")
716
(tag: "Punctuation", text: "(", TaggedTextStyle.
None
, target: null, hint: null),
717
(tag: "TypeParameter", text: "T1", TaggedTextStyle.
None
, target: SymbolKey.CreateString(t1), hint: "T1"),
718
(tag: "Punctuation", text: ",", TaggedTextStyle.
None
, target: null, hint: null),
719
(tag: "Space", text: " ", TaggedTextStyle.
None
, target: null, hint: null),
720
(tag: "TypeParameter", text: "T2", TaggedTextStyle.
None
, target: SymbolKey.CreateString(t2), hint: "T2"),
721
(tag: "Punctuation", text: ")", TaggedTextStyle.
None
, target: null, hint: null)
725
(tag: "Punctuation", text: "(", TaggedTextStyle.
None
, target: null, hint: null),
726
(tag: "TypeParameter", text: "T1", TaggedTextStyle.
None
, target: SymbolKey.CreateString(t1), hint: "T1"),
727
(tag: "Punctuation", text: ",", TaggedTextStyle.
None
, target: null, hint: null),
728
(tag: "Space", text: " ", TaggedTextStyle.
None
, target: null, hint: null),
729
(tag: "TypeParameter", text: "T2", TaggedTextStyle.
None
, target: SymbolKey.CreateString(t2), hint: "T2"),
730
(tag: "Punctuation", text: ")", TaggedTextStyle.
None
, target: null, hint: null)
778
(tag: "Punctuation", text: "(", TaggedTextStyle.
None
, target: null, hint: null),
779
(tag: "TypeParameter", text: "T1", TaggedTextStyle.
None
, target: SymbolKey.CreateString(t1), hint: "T1"),
780
(tag: "Punctuation", text: ",", TaggedTextStyle.
None
, target: null, hint: null),
781
(tag: "Space", text: " ", TaggedTextStyle.
None
, target: null, hint: null),
782
(tag: "TypeParameter", text: "T2", TaggedTextStyle.
None
, target: SymbolKey.CreateString(t2), hint: "T2"),
783
(tag: "Punctuation", text: ")", TaggedTextStyle.
None
, target: null, hint: null)
787
(tag: "Punctuation", text: "(", TaggedTextStyle.
None
, target: null, hint: null),
788
(tag: "TypeParameter", text: "T1", TaggedTextStyle.
None
, target: SymbolKey.CreateString(t1), hint: "T1"),
789
(tag: "Punctuation", text: ",", TaggedTextStyle.
None
, target: null, hint: null),
790
(tag: "Space", text: " ", TaggedTextStyle.
None
, target: null, hint: null),
791
(tag: "TypeParameter", text: "T2", TaggedTextStyle.
None
, target: SymbolKey.CreateString(t2), hint: "T2"),
792
(tag: "Punctuation", text: ")", TaggedTextStyle.
None
, target: null, hint: null)
834
(tag: "Keyword", text: "class", TaggedTextStyle.
None
, target: null, hint: null),
835
(tag: "Space", text: " ", TaggedTextStyle.
None
, target: null, hint: null),
836
(tag: "Class", text: "C", TaggedTextStyle.
None
, target: SymbolKey.CreateString(genericType), hint: "C<T1, T2>"),
837
(tag: "Punctuation", text: "<", TaggedTextStyle.
None
, target: null, hint: null),
838
(tag: "TypeParameter", text: "T1", TaggedTextStyle.
None
, target: SymbolKey.CreateString(t1), hint: "T1"),
839
(tag: "Punctuation", text: ",", TaggedTextStyle.
None
, target: null, hint: null),
840
(tag: "Space", text: " ", TaggedTextStyle.
None
, target: null, hint: null),
841
(tag: "TypeParameter", text: "T2", TaggedTextStyle.
None
, target: SymbolKey.CreateString(t2), hint: "T2"),
842
(tag: "Punctuation", text: ">", TaggedTextStyle.
None
, target: null, hint: null)
846
(tag: "Class", text: "C", TaggedTextStyle.
None
, target: SymbolKey.CreateString(genericType), hint: "C<T1, T2>")
888
(tag: "Keyword", text: "class", TaggedTextStyle.
None
, target: null, hint: null),
889
(tag: "Space", text: " ", TaggedTextStyle.
None
, target: null, hint: null),
890
(tag: "Class", text: "Dictionary", TaggedTextStyle.
None
, target: SymbolKey.CreateString(genericType), hint: "Dictionary<TKey, TValue>"),
891
(tag: "Punctuation", text: "<", TaggedTextStyle.
None
, target: null, hint: null),
892
(tag: "TypeParameter", text: "TKey", TaggedTextStyle.
None
, target: SymbolKey.CreateString(t1), hint: "TKey"),
893
(tag: "Punctuation", text: ",", TaggedTextStyle.
None
, target: null, hint: null),
894
(tag: "Space", text: " ", TaggedTextStyle.
None
, target: null, hint: null),
895
(tag: "TypeParameter", text: "TValue", TaggedTextStyle.
None
, target: SymbolKey.CreateString(t2), hint: "TValue"),
896
(tag: "Punctuation", text: ">", TaggedTextStyle.
None
, target: null, hint: null)
900
(tag: "Class", text: "Dictionary", TaggedTextStyle.
None
, target: SymbolKey.CreateString(genericType), hint: "Dictionary<TKey, TValue>")
948
(tag: "TypeParameter", text: "T", TaggedTextStyle.
None
, target: SymbolKey.CreateString(p), hint: "T")
952
(tag: "TypeParameter", text: "T", TaggedTextStyle.
None
, target: SymbolKey.CreateString(p), hint: "T")
992
(tag: "Keyword", text: "void", TaggedTextStyle.
None
, target: null, hint: null),
993
(tag: "Space", text: " ", TaggedTextStyle.
None
, target: null, hint: null),
994
(tag: "Class", text: "C", TaggedTextStyle.
None
, target: SymbolKey.CreateString(c), hint: "C"),
995
(tag: "Punctuation", text: ".", TaggedTextStyle.
None
, target: null, hint: null),
996
(tag: "Method", text: "M", TaggedTextStyle.
None
, target: SymbolKey.CreateString(m), hint: "void C.M(int x)"),
997
(tag: "Punctuation", text: "(", TaggedTextStyle.
None
, target: null, hint: null),
998
(tag: "Keyword", text: "int", TaggedTextStyle.
None
, target: SymbolKey.CreateString(i), hint: "int"),
999
(tag: "Punctuation", text: ")", TaggedTextStyle.
None
, target: null, hint: null)
1003
(tag: "Class", text: "C", TaggedTextStyle.
None
, target: SymbolKey.CreateString(c), hint: "C"),
1004
(tag: "Punctuation", text: ".", TaggedTextStyle.
None
, target: null, hint: null),
1005
(tag: "Method", text: "M", TaggedTextStyle.
None
, target: SymbolKey.CreateString(m), hint: "void C.M(int x)")
1047
(tag: "Keyword", text: "int", TaggedTextStyle.
None
, target: SymbolKey.CreateString(i), hint: "int"),
1048
(tag: "Space", text: " ", TaggedTextStyle.
None
, target: null, hint: null),
1049
(tag: "Class", text: "C", TaggedTextStyle.
None
, target: SymbolKey.CreateString(c), hint: "C"),
1050
(tag: "Punctuation", text: ".", TaggedTextStyle.
None
, target: null, hint: null),
1051
(tag: "Field", text: "M", TaggedTextStyle.
None
, target: SymbolKey.CreateString(m), hint: "int C.M")
1055
(tag: "Class", text: "C", TaggedTextStyle.
None
, target: SymbolKey.CreateString(c), hint: "C"),
1056
(tag: "Punctuation", text: ".", TaggedTextStyle.
None
, target: null, hint: null),
1057
(tag: "Field", text: "M", TaggedTextStyle.
None
, target: SymbolKey.CreateString(m), hint: "int C.M")
1099
(tag: "Keyword", text: "int", TaggedTextStyle.
None
, target: SymbolKey.CreateString(i), hint: "int"),
1100
(tag: "Space", text: " ", TaggedTextStyle.
None
, target: null, hint: null),
1101
(tag: "Class", text: "C", TaggedTextStyle.
None
, target: SymbolKey.CreateString(c), hint: "C"),
1102
(tag: "Punctuation", text: ".", TaggedTextStyle.
None
, target: null, hint: null),
1103
(tag: "Property", text: "P", TaggedTextStyle.
None
, target: SymbolKey.CreateString(p), hint: "int C.P"),
1104
(tag: "Space", text: " ", TaggedTextStyle.
None
, target: null, hint: null),
1105
(tag: "Punctuation", text: "{", TaggedTextStyle.
None
, target: null, hint: null),
1106
(tag: "Space", text: " ", TaggedTextStyle.
None
, target: null, hint: null),
1107
(tag: "Keyword", text: "get", TaggedTextStyle.
None
, target: null, hint: null),
1108
(tag: "Punctuation", text: ";", TaggedTextStyle.
None
, target: null, hint: null),
1109
(tag: "Space", text: " ", TaggedTextStyle.
None
, target: null, hint: null),
1110
(tag: "Keyword", text: "set", TaggedTextStyle.
None
, target: null, hint: null),
1111
(tag: "Punctuation", text: ";", TaggedTextStyle.
None
, target: null, hint: null),
1112
(tag: "Space", text: " ", TaggedTextStyle.
None
, target: null, hint: null),
1113
(tag: "Punctuation", text: "}", TaggedTextStyle.
None
, target: null, hint: null)
1117
(tag: "Class", text: "C", TaggedTextStyle.
None
, target: SymbolKey.CreateString(c), hint: "C"),
1118
(tag: "Punctuation", text: ".", TaggedTextStyle.
None
, target: null, hint: null),
1119
(tag: "Property", text: "P", TaggedTextStyle.
None
, target: SymbolKey.CreateString(p), hint: "int C.P")
1163
(tag: "Keyword", text: "int", TaggedTextStyle.
None
, target: SymbolKey.CreateString(i), hint: "int"),
1164
(tag: "Space", text: " ", TaggedTextStyle.
None
, target: null, hint: null),
1165
(tag: "Class", text: "C", TaggedTextStyle.
None
, target: SymbolKey.CreateString(c), hint: "C"),
1166
(tag: "Punctuation", text: ".", TaggedTextStyle.
None
, target: null, hint: null),
1167
(tag: "Property", text: "P", TaggedTextStyle.
None
, target: SymbolKey.CreateString(p), hint: "int C.P"),
1168
(tag: "Punctuation", text: ".", TaggedTextStyle.
None
, target: null, hint: null),
1169
(tag: "Keyword", text: "get", TaggedTextStyle.
None
, target: null, hint: null)
1173
(tag: "Class", text: "C", TaggedTextStyle.
None
, target: SymbolKey.CreateString(c), hint: "C"),
1174
(tag: "Punctuation", text: ".", TaggedTextStyle.
None
, target: null, hint: null),
1175
(tag: "Property", text: "P", TaggedTextStyle.
None
, target: SymbolKey.CreateString(p), hint: "int C.P"),
1176
(tag: "Punctuation", text: ".", TaggedTextStyle.
None
, target: null, hint: null),
1177
(tag: "Keyword", text: "get", TaggedTextStyle.
None
, target: null, hint: null)
1220
(tag: "Keyword", text: "void", TaggedTextStyle.
None
, target: null, hint: null),
1221
(tag: "Space", text: " ", TaggedTextStyle.
None
, target: null, hint: null),
1222
(tag: "Class", text: "C", TaggedTextStyle.
None
, target: SymbolKey.CreateString(c), hint: "C"),
1223
(tag: "Punctuation", text: ".", TaggedTextStyle.
None
, target: null, hint: null),
1224
(tag: "Property", text: "P", TaggedTextStyle.
None
, target: SymbolKey.CreateString(p), hint: "int C.P"),
1225
(tag: "Punctuation", text: ".", TaggedTextStyle.
None
, target: null, hint: null),
1226
(tag: "Keyword", text: "set", TaggedTextStyle.
None
, target: null, hint: null)
1230
(tag: "Class", text: "C", TaggedTextStyle.
None
, target: SymbolKey.CreateString(c), hint: "C"),
1231
(tag: "Punctuation", text: ".", TaggedTextStyle.
None
, target: null, hint: null),
1232
(tag: "Property", text: "P", TaggedTextStyle.
None
, target: SymbolKey.CreateString(p), hint: "int C.P"),
1233
(tag: "Punctuation", text: ".", TaggedTextStyle.
None
, target: null, hint: null),
1234
(tag: "Keyword", text: "set", TaggedTextStyle.
None
, target: null, hint: null)
1275
(tag: "Keyword", text: "abstract", TaggedTextStyle.
None
, target: null, hint: null),
1276
(tag: "Space", text: " ", TaggedTextStyle.
None
, target: null, hint: null),
1277
(tag: "Keyword", text: "int", TaggedTextStyle.
None
, target: SymbolKey.CreateString(i), hint: "int"),
1278
(tag: "Space", text: " ", TaggedTextStyle.
None
, target: null, hint: null),
1279
(tag: "Class", text: "C", TaggedTextStyle.
None
, target: SymbolKey.CreateString(c), hint: "C"),
1280
(tag: "Punctuation", text: ".", TaggedTextStyle.
None
, target: null, hint: null),
1281
(tag: "Keyword", text: "this", TaggedTextStyle.
None
, target: null, hint: null),
1282
(tag: "Punctuation", text: "[", TaggedTextStyle.
None
, target: null, hint: null),
1283
(tag: "Keyword", text: "int", TaggedTextStyle.
None
, target: SymbolKey.CreateString(i), hint: "int"),
1284
(tag: "Punctuation", text: "]", TaggedTextStyle.
None
, target: null, hint: null),
1285
(tag: "Space", text: " ", TaggedTextStyle.
None
, target: null, hint: null),
1286
(tag: "Punctuation", text: "{", TaggedTextStyle.
None
, target: null, hint: null),
1287
(tag: "Space", text: " ", TaggedTextStyle.
None
, target: null, hint: null),
1288
(tag: "Keyword", text: "get", TaggedTextStyle.
None
, target: null, hint: null),
1289
(tag: "Punctuation", text: ";", TaggedTextStyle.
None
, target: null, hint: null),
1290
(tag: "Space", text: " ", TaggedTextStyle.
None
, target: null, hint: null),
1291
(tag: "Keyword", text: "set", TaggedTextStyle.
None
, target: null, hint: null),
1292
(tag: "Punctuation", text: ";", TaggedTextStyle.
None
, target: null, hint: null),
1293
(tag: "Space", text: " ", TaggedTextStyle.
None
, target: null, hint: null),
1294
(tag: "Punctuation", text: "}", TaggedTextStyle.
None
, target: null, hint: null)
1298
(tag: "Class", text: "C", TaggedTextStyle.
None
, target: SymbolKey.CreateString(c), hint: "C"),
1299
(tag: "Punctuation", text: ".", TaggedTextStyle.
None
, target: null, hint: null),
1300
(tag: "Keyword", text: "this", TaggedTextStyle.
None
, target: null, hint: null)
1355
(tag: "Keyword", text: "int", TaggedTextStyle.
None
, target: SymbolKey.CreateString(i), hint: "int"),
1356
(tag: "Space", text: " ", TaggedTextStyle.
None
, target: null, hint: null),
1357
(tag: "Parameter", text: "p", TaggedTextStyle.
None
, target: SymbolKey.CreateString(p), hint: "int p")
1361
(tag: "Parameter", text: "p", TaggedTextStyle.
None
, target: SymbolKey.CreateString(p), hint: "int p")
1414
(tag: "TypeParameter", text: "T", TaggedTextStyle.
None
, target: SymbolKey.CreateString(p), hint: "T")
1418
(tag: "TypeParameter", text: "T", TaggedTextStyle.
None
, target: SymbolKey.CreateString(p), hint: "T")
1466
(tag: "Keyword", text: "void", TaggedTextStyle.
None
, target: null, hint: null),
1467
(tag: "Space", text: " ", TaggedTextStyle.
None
, target: null, hint: null),
1468
(tag: "Method", text: "F", TaggedTextStyle.
None
, target: SymbolKey.CreateString(f), hint: "void F()"),
1469
(tag: "Punctuation", text: "(", TaggedTextStyle.
None
, target: null, hint: null),
1470
(tag: "Punctuation", text: ")", TaggedTextStyle.
None
, target: null, hint: null)
1474
(tag: "Method", text: "F", TaggedTextStyle.
None
, target: SymbolKey.CreateString(f), hint: "void F()")
1533
(tag: "Keyword", text: "int", TaggedTextStyle.
None
, target: SymbolKey.CreateString(i), hint: "int"),
1534
(tag: "Space", text: " ", TaggedTextStyle.
None
, target: null, hint: null),
1535
(tag: "Local", text: "x", TaggedTextStyle.
None
, target: SymbolKey.CreateString(x), hint: "int x")
1539
(tag: "Local", text: "x", TaggedTextStyle.
None
, target: SymbolKey.CreateString(x), hint: "int x")
1604
(tag: "ErrorType", text: "?", TaggedTextStyle.
None
, target: null, hint: null),
1605
(tag: "Space", text: " ", TaggedTextStyle.
None
, target: null, hint: null),
1606
(tag: "RangeVariable", text: "x", TaggedTextStyle.
None
, target: SymbolKey.CreateString(r), hint: "? x")
1610
(tag: "RangeVariable", text: "x", TaggedTextStyle.
None
, target: SymbolKey.CreateString(r), hint: "? x")
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Extensions\ProtocolConversions.cs (1)
1000
TaggedTextStyle.
None
=> text,