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)
GenerateConstructors\CSharpGenerateConstructorsCodeRefactoringProvider.cs (1)
48=> SymbolDisplay.ToDisplayString(parameter, format);
LanguageServices\CSharpSymbolDisplayService.SymbolDescriptionBuilder.cs (1)
167=> 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)
5057Assert.Equal("Outer.Inner<T>", CSharp.SymbolDisplay.ToDisplayString(type, SymbolDisplayFormat.TestFormat)); 5058Assert.Equal("void Outer.M<U>()", CSharp.SymbolDisplay.ToDisplayString(method, SymbolDisplayFormat.TestFormat)); 5059Assert.Equal("System.String Outer.P { set; }", CSharp.SymbolDisplay.ToDisplayString(property, SymbolDisplayFormat.TestFormat)); 5060Assert.Equal("System.Int32 Outer.F", CSharp.SymbolDisplay.ToDisplayString(field, SymbolDisplayFormat.TestFormat)); 5061Assert.Equal("event Outer.EEventHandler Outer.E", CSharp.SymbolDisplay.ToDisplayString(@event, SymbolDisplayFormat.TestFormat)); 5062Assert.Equal("Outer.D", CSharp.SymbolDisplay.ToDisplayString(@delegate, SymbolDisplayFormat.TestFormat)); 5063Assert.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);