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)
73 references to ToDisplayParts
Microsoft.CodeAnalysis (1)
Microsoft.CodeAnalysis.CodeStyle (1)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (54)
SymbolDisplay\SymbolDisplayTests.cs (54)
6444Verify(localSymbol.ToDisplayParts(SymbolDisplayFormat.TestFormat),
6487Verify(localSymbol.ToDisplayParts(changeSignatureFormat),
6522Verify(localSymbol.ToDisplayParts(SymbolDisplayFormat.TestFormat),
6616Verify(localSymbol.ToDisplayParts(SymbolDisplayFormat.TestFormat),
6872Verify(semanticModel.GetDeclaredSymbol(declarations[0]).ToDisplayParts(format),
6880Verify(semanticModel.GetDeclaredSymbol(declarations[1]).ToDisplayParts(format),
6910Verify(semanticModel.GetDeclaredSymbol(declarations[0]).ToDisplayParts(format),
6918Verify(semanticModel.GetDeclaredSymbol(declarations[1]).ToDisplayParts(format),
6948Verify(semanticModel.GetDeclaredSymbol(declarations[0]).ToDisplayParts(format),
6958Verify(semanticModel.GetDeclaredSymbol(declarations[1]).ToDisplayParts(format),
7006Verify(members[0].ToDisplayParts(format), "int X.P1 { }",
7017Verify(members[1].ToDisplayParts(format), "int X.P2 { }",
7028Verify(members[2].ToDisplayParts(format), "event System.Action X.E1",
7039Verify(members[3].ToDisplayParts(format), "readonly event System.Action X.E2",
7078Verify(members[0].ToDisplayParts(format),
7090Verify(members[1].ToDisplayParts(format),
7107Verify(members[2].ToDisplayParts(format),
7119Verify(members[3].ToDisplayParts(format),
7136Verify(members[4].ToDisplayParts(format),
7148Verify(members[5].ToDisplayParts(format),
7168Verify(members[6].ToDisplayParts(format),
7180Verify(members[7].ToDisplayParts(format),
7192Verify(members[8].ToDisplayParts(format),
7212Verify(members[9].ToDisplayParts(format),
7224Verify(members[10].ToDisplayParts(format),
7234Verify(members[11].ToDisplayParts(format),
7254Verify(members[12].ToDisplayParts(format),
7264Verify(members[13].ToDisplayParts(format),
7276Verify(members[14].ToDisplayParts(format),
7290Verify(members[15].ToDisplayParts(format),
7302Verify(members[16].ToDisplayParts(format),
7338Verify(members[0].ToDisplayParts(format),
7348Verify(members[1].ToDisplayParts(format),
7363Verify(members[2].ToDisplayParts(format),
7373Verify(members[3].ToDisplayParts(format),
7388Verify(members[4].ToDisplayParts(format),
7398Verify(members[5].ToDisplayParts(format),
7416Verify(members[6].ToDisplayParts(format),
7426Verify(members[7].ToDisplayParts(format),
7436Verify(members[8].ToDisplayParts(format),
7448Verify(members[9].ToDisplayParts(format),
7458Verify(members[10].ToDisplayParts(format),
7491Verify(members[0].ToDisplayParts(format),
8230Verify(type.ToDisplayParts(), "System.Func<int, string>",
8241Verify(type.ToDisplayParts(s_fullDelegateFormat), "delegate string System.Func<int, string>(int arg)",
8281Verify(type.ToDisplayParts(), "<anonymous delegate>",
8284Verify(type.ToDisplayParts(s_fullDelegateFormat), "delegate string <anonymous delegate>(ref int arg)",
8709Verify(locals[0].ToDisplayParts(formatTypeOnly),
8715Verify(locals[0].ToDisplayParts(formatTypeRefAndScoped),
8723Verify(locals[1].ToDisplayParts(formatTypeOnly),
8729Verify(locals[1].ToDisplayParts(formatTypeRefAndScoped),
8763Verify(op.ToDisplayParts(SymbolDisplayFormat.TestFormat),
8820Verify(op.ToDisplayParts(ideFormat),
8865var displayParts = preprocessingSymbol.ToDisplayParts(format);
Microsoft.CodeAnalysis.Features (12)
Microsoft.CodeAnalysis.VisualBasic (1)
Microsoft.CodeAnalysis.Workspaces (2)
Microsoft.VisualStudio.LanguageServices (2)