6 implementations of ToDisplayParts
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
Microsoft.CodeAnalysis.CSharp (2)
Microsoft.CodeAnalysis.Features (1)
Microsoft.CodeAnalysis.VisualBasic (1)
Microsoft.CodeAnalysis.Workspaces (1)
72 references to ToDisplayParts
Microsoft.CodeAnalysis (1)
Microsoft.CodeAnalysis.CodeStyle (1)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (54)
SymbolDisplay\SymbolDisplayTests.cs (54)
6616Verify(localSymbol.ToDisplayParts(SymbolDisplayFormat.TestFormat),
6659Verify(localSymbol.ToDisplayParts(changeSignatureFormat),
6694Verify(localSymbol.ToDisplayParts(SymbolDisplayFormat.TestFormat),
6788Verify(localSymbol.ToDisplayParts(SymbolDisplayFormat.TestFormat),
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),
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)",
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),
9037var displayParts = preprocessingSymbol.ToDisplayParts(format);
Microsoft.CodeAnalysis.Features (11)
Microsoft.CodeAnalysis.VisualBasic (1)
Microsoft.CodeAnalysis.Workspaces (2)
Microsoft.VisualStudio.LanguageServices (2)