SymbolDisplay\SymbolDisplayTests.cs (133)
2187Verify(
2260Verify(
2288Verify(
3098Verify(nestedTypeSymbol.ToMinimalDisplayParts(model, position: 0, s_memberSignatureDisplayFormat),
3624Verify(description, expectedText, expectedKinds);
4850Verify(
5585Verify(
5590Verify(
5596Verify(
5599Verify(
5628Verify(
5638Verify(
5694Verify(
5707Verify(
5722Verify(
5740Verify(
5750Verify(
5765Verify(
5782Verify(
5802Verify(
5814Verify(
5898Verify(
5911Verify(
5926Verify(
5946Verify(
5956Verify(
5973Verify(
5992Verify(
6016Verify(
6030Verify(
6105Verify(
6119Verify(
6136Verify(
6139Verify(
6144Verify(
6147Verify(
6177Verify(
6190Verify(
6206Verify(
6209Verify(
6214Verify(
6217Verify(
6242Verify(
6255Verify(
6269Verify(
6287Verify(
6290Verify(
6293Verify(
6298Verify(
6301Verify(
6304Verify(
6327Verify(
6330Verify(
6376Verify(SymbolDisplay.ToDisplayParts(member, formatWithoutModifiers), withoutModifiers);
6377Verify(SymbolDisplay.ToDisplayParts(member, formatWithNullableModifier), withNullableModifier);
6378Verify(SymbolDisplay.ToDisplayParts(member, formatWithBothModifiers), withBothModifiers);
6400Verify(
6454Verify(
6457Verify(
6462Verify(
6465Verify(
6470Verify(
6473Verify(
6498Verify(
6501Verify(
6527Verify(
6558Verify(
6616Verify(localSymbol.ToDisplayParts(SymbolDisplayFormat.TestFormat),
6659Verify(localSymbol.ToDisplayParts(changeSignatureFormat),
6694Verify(localSymbol.ToDisplayParts(SymbolDisplayFormat.TestFormat),
6751Verify(
6788Verify(localSymbol.ToDisplayParts(SymbolDisplayFormat.TestFormat),
6845Verify(
6878Verify(
6890Verify(
6923Verify(
6937Verify(
7044Verify(semanticModel.GetDeclaredSymbol(declarations[0]).ToDisplayParts(format),
7052Verify(semanticModel.GetDeclaredSymbol(declarations[1]).ToDisplayParts(format),
7082Verify(semanticModel.GetDeclaredSymbol(declarations[0]).ToDisplayParts(format),
7090Verify(semanticModel.GetDeclaredSymbol(declarations[1]).ToDisplayParts(format),
7120Verify(semanticModel.GetDeclaredSymbol(declarations[0]).ToDisplayParts(format),
7130Verify(semanticModel.GetDeclaredSymbol(declarations[1]).ToDisplayParts(format),
7178Verify(members[0].ToDisplayParts(format), "int X.P1 { }",
7189Verify(members[1].ToDisplayParts(format), "int X.P2 { }",
7200Verify(members[2].ToDisplayParts(format), "event System.Action X.E1",
7211Verify(members[3].ToDisplayParts(format), "readonly event System.Action X.E2",
7250Verify(members[0].ToDisplayParts(format),
7262Verify(members[1].ToDisplayParts(format),
7279Verify(members[2].ToDisplayParts(format),
7291Verify(members[3].ToDisplayParts(format),
7308Verify(members[4].ToDisplayParts(format),
7320Verify(members[5].ToDisplayParts(format),
7340Verify(members[6].ToDisplayParts(format),
7352Verify(members[7].ToDisplayParts(format),
7364Verify(members[8].ToDisplayParts(format),
7384Verify(members[9].ToDisplayParts(format),
7396Verify(members[10].ToDisplayParts(format),
7406Verify(members[11].ToDisplayParts(format),
7426Verify(members[12].ToDisplayParts(format),
7436Verify(members[13].ToDisplayParts(format),
7448Verify(members[14].ToDisplayParts(format),
7462Verify(members[15].ToDisplayParts(format),
7474Verify(members[16].ToDisplayParts(format),
7510Verify(members[0].ToDisplayParts(format),
7520Verify(members[1].ToDisplayParts(format),
7535Verify(members[2].ToDisplayParts(format),
7545Verify(members[3].ToDisplayParts(format),
7560Verify(members[4].ToDisplayParts(format),
7570Verify(members[5].ToDisplayParts(format),
7588Verify(members[6].ToDisplayParts(format),
7598Verify(members[7].ToDisplayParts(format),
7608Verify(members[8].ToDisplayParts(format),
7620Verify(members[9].ToDisplayParts(format),
7630Verify(members[10].ToDisplayParts(format),
7663Verify(members[0].ToDisplayParts(format),
7691Verify(SymbolDisplay.ToDisplayParts(semanticModel.GetDeclaredSymbol(structure), format),
7912Verify(
8007Verify(
8067Verify(
8099Verify(
8402Verify(type.ToDisplayParts(), "System.Func<int, string>",
8413Verify(type.ToDisplayParts(s_fullDelegateFormat), "delegate string System.Func<int, string>(int arg)",
8453Verify(type.ToDisplayParts(), "<anonymous delegate>",
8456Verify(type.ToDisplayParts(s_fullDelegateFormat), "delegate string <anonymous delegate>(ref int arg)",
8487Verify(SymbolDisplay.ToDisplayParts(type), "<anonymous delegate>",
8490Verify(SymbolDisplay.ToDisplayParts(type, s_fullDelegateFormat), "delegate string <anonymous delegate>(ref int i)",
8881Verify(locals[0].ToDisplayParts(formatTypeOnly),
8887Verify(locals[0].ToDisplayParts(formatTypeRefAndScoped),
8895Verify(locals[1].ToDisplayParts(formatTypeOnly),
8901Verify(locals[1].ToDisplayParts(formatTypeRefAndScoped),
8935Verify(op.ToDisplayParts(SymbolDisplayFormat.TestFormat),
8992Verify(op.ToDisplayParts(ideFormat),