31 references to SymbolExtensions
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (31)
DocumentationComments\CrefTests.cs (1)
3380
AssertEx.SetEqual(model.LookupSymbols(position).Select(
SymbolExtensions
.ToTestDisplayString),
DocumentationComments\ParameterTests.cs (30)
411
AssertEx.SetEqual(model.LookupSymbols(pos1).Select(
SymbolExtensions
.ToTestDisplayString));
412
AssertEx.SetEqual(model.LookupSymbols(pos2).Select(
SymbolExtensions
.ToTestDisplayString));
413
AssertEx.SetEqual(model.LookupSymbols(pos3).Select(
SymbolExtensions
.ToTestDisplayString), "T");
414
AssertEx.SetEqual(model.LookupSymbols(pos4).Select(
SymbolExtensions
.ToTestDisplayString), "T");
438
AssertEx.SetEqual(model.LookupSymbols(pos1).Select(
SymbolExtensions
.ToTestDisplayString), "System.Int32 x");
439
AssertEx.SetEqual(model.LookupSymbols(pos2).Select(
SymbolExtensions
.ToTestDisplayString), "System.Int32 x");
440
AssertEx.SetEqual(model.LookupSymbols(pos3).Select(
SymbolExtensions
.ToTestDisplayString), "T");
441
AssertEx.SetEqual(model.LookupSymbols(pos4).Select(
SymbolExtensions
.ToTestDisplayString), "T");
465
AssertEx.SetEqual(model.LookupSymbols(pos1).Select(
SymbolExtensions
.ToTestDisplayString), "System.Int32 value");
466
AssertEx.SetEqual(model.LookupSymbols(pos2).Select(
SymbolExtensions
.ToTestDisplayString), "System.Int32 value");
467
AssertEx.SetEqual(model.LookupSymbols(pos3).Select(
SymbolExtensions
.ToTestDisplayString));
468
AssertEx.SetEqual(model.LookupSymbols(pos4).Select(
SymbolExtensions
.ToTestDisplayString));
492
AssertEx.SetEqual(model.LookupSymbols(pos1).Select(
SymbolExtensions
.ToTestDisplayString));
493
AssertEx.SetEqual(model.LookupSymbols(pos2).Select(
SymbolExtensions
.ToTestDisplayString));
494
AssertEx.SetEqual(model.LookupSymbols(pos3).Select(
SymbolExtensions
.ToTestDisplayString));
495
AssertEx.SetEqual(model.LookupSymbols(pos4).Select(
SymbolExtensions
.ToTestDisplayString));
519
AssertEx.SetEqual(model.LookupSymbols(pos1).Select(
SymbolExtensions
.ToTestDisplayString), "System.Int32 x", "System.Int32 value");
520
AssertEx.SetEqual(model.LookupSymbols(pos2).Select(
SymbolExtensions
.ToTestDisplayString), "System.Int32 x", "System.Int32 value");
521
AssertEx.SetEqual(model.LookupSymbols(pos3).Select(
SymbolExtensions
.ToTestDisplayString));
522
AssertEx.SetEqual(model.LookupSymbols(pos4).Select(
SymbolExtensions
.ToTestDisplayString));
546
AssertEx.SetEqual(model.LookupSymbols(pos1).Select(
SymbolExtensions
.ToTestDisplayString), "System.Int32 x");
547
AssertEx.SetEqual(model.LookupSymbols(pos2).Select(
SymbolExtensions
.ToTestDisplayString), "System.Int32 x");
548
AssertEx.SetEqual(model.LookupSymbols(pos3).Select(
SymbolExtensions
.ToTestDisplayString));
549
AssertEx.SetEqual(model.LookupSymbols(pos4).Select(
SymbolExtensions
.ToTestDisplayString));
574
AssertEx.SetEqual(model.LookupSymbols(pos1).Select(
SymbolExtensions
.ToTestDisplayString));
575
AssertEx.SetEqual(model.LookupSymbols(pos2).Select(
SymbolExtensions
.ToTestDisplayString));
576
AssertEx.SetEqual(model.LookupSymbols(pos3).Select(
SymbolExtensions
.ToTestDisplayString));
602
AssertEx.SetEqual(model.LookupSymbols(pos1).Select(
SymbolExtensions
.ToTestDisplayString));
603
AssertEx.SetEqual(model.LookupSymbols(pos2).Select(
SymbolExtensions
.ToTestDisplayString));
604
AssertEx.SetEqual(model.LookupSymbols(pos3).Select(
SymbolExtensions
.ToTestDisplayString));