14 references to ToTestDisplayString
Microsoft.CodeAnalysis.Test.Utilities (14)
Compilation\ControlFlowGraphVerifier.cs (6)
1385
stringBuilder.Append($" [{local.
ToTestDisplayString
()}]");
1396
stringBuilder.Append($" [{method.
ToTestDisplayString
()}]");
1446
enterRegion($".catch {{{getRegionId(region)}}} ({region.ExceptionType?.
ToTestDisplayString
() ?? "null"})");
1460
enterRegion($".catch {{{getRegionId(region)}}} ({region.ExceptionType?.
ToTestDisplayString
() ?? "null"})");
1520
appendLine("{ " + method.
ToTestDisplayString
());
1686
Assert.True(false, $"{(symbol.Kind == SymbolKind.Local ? "Local" : "Method")} without owning region {symbol.
ToTestDisplayString
()} in [{getBlockId(block)}]\n{finalGraph()}");
Compilation\OperationTreeVerifier.cs (8)
270
var symbolStr = symbol != null ? (logDisplayString ? symbol.
ToTestDisplayString
() : symbol.Name) : "null";
276
var typeStr = type != null ? type.
ToTestDisplayString
() : "null";
731
var exceptionTypeStr = operation.ExceptionType != null ? operation.ExceptionType.
ToTestDisplayString
() : "null";
1065
LogString($": {operation.Field.
ToTestDisplayString
()}");
1079
LogString($": {operation.Method.
ToTestDisplayString
()}");
1100
LogString($": {operation.Property.
ToTestDisplayString
()}");
1119
LogString($": {operation.Event.
ToTestDisplayString
()}");
1443
LogString($" (Constructor: {operation.Constructor?.
ToTestDisplayString
() ?? "<null>"})");