22 references to ToDisplayString
Microsoft.CodeAnalysis.CSharp (6)
Errors\MessageProvider.cs (1)
106return SymbolDisplay.ToDisplayString(symbol, SymbolDisplayFormat.CSharpShortErrorMessageFormat);
Symbols\PublicModel\PreprocessingSymbol.cs (2)
80return SymbolDisplay.ToDisplayString(this, format); 136return SymbolDisplay.ToDisplayString(this);
Symbols\PublicModel\Symbol.cs (2)
166return SymbolDisplay.ToDisplayString(this, format); 254return SymbolDisplay.ToDisplayString(this);
Symbols\Symbol.cs (1)
1458return SymbolDisplay.ToDisplayString(ISymbol, format);
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Analyzers\CSharp\CodeFixes\ImplementInterface\CSharpImplementInterfaceService.cs (1)
36=> SymbolDisplay.ToDisplayString(disposeImplMethod, format);
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
CodeGen\CodeGenTupleTest.cs (1)
27463Assert.Equal(expectedCSharp, CSharp.SymbolDisplay.ToDisplayString(type, SymbolDisplayFormat.TestFormat));
Microsoft.CodeAnalysis.CSharp.Features (3)
GenerateConstructorFromMembers\CSharpGenerateConstructorFromMembersCodeRefactoringProvider.cs (1)
48=> SymbolDisplay.ToDisplayString(parameter, format);
LanguageServices\CSharpSymbolDisplayService.SymbolDescriptionBuilder.cs (1)
109=> symbol == null ? null : CodeAnalysis.CSharp.SymbolDisplay.ToDisplayString(symbol, SymbolDisplayFormat.MinimallyQualifiedFormat);
src\Analyzers\CSharp\CodeFixes\ImplementInterface\CSharpImplementInterfaceService.cs (1)
36=> SymbolDisplay.ToDisplayString(disposeImplMethod, format);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (7)
SymbolDisplay\SymbolDisplayTests.cs (7)
4885Assert.Equal("Outer.Inner<T>", CSharp.SymbolDisplay.ToDisplayString(type, SymbolDisplayFormat.TestFormat)); 4886Assert.Equal("void Outer.M<U>()", CSharp.SymbolDisplay.ToDisplayString(method, SymbolDisplayFormat.TestFormat)); 4887Assert.Equal("System.String Outer.P { set; }", CSharp.SymbolDisplay.ToDisplayString(property, SymbolDisplayFormat.TestFormat)); 4888Assert.Equal("System.Int32 Outer.F", CSharp.SymbolDisplay.ToDisplayString(field, SymbolDisplayFormat.TestFormat)); 4889Assert.Equal("event Outer.EEventHandler Outer.E", CSharp.SymbolDisplay.ToDisplayString(@event, SymbolDisplayFormat.TestFormat)); 4890Assert.Equal("Outer.D", CSharp.SymbolDisplay.ToDisplayString(@delegate, SymbolDisplayFormat.TestFormat)); 4891Assert.Equal("Missing Outer.Error()", CSharp.SymbolDisplay.ToDisplayString(error, SymbolDisplayFormat.TestFormat));
Microsoft.CodeAnalysis.Test.Utilities (4)
Compilation\TestOperationVisitor.cs (4)
807CSharp.SymbolDisplay.ToDisplayString(method, SymbolDisplayFormat.TestFormat); 808CSharp.SymbolDisplay.ToDisplayString(method); 869CSharp.SymbolDisplay.ToDisplayString(operatorMethod, SymbolDisplayFormat.TestFormat); 870CSharp.SymbolDisplay.ToDisplayString(operatorMethod);