Base:
2 overrides of ToString
Microsoft.CodeAnalysis.CSharp (1)
Microsoft.CodeAnalysis.VisualBasic (1)
48 references to ToString
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.Test (1)
Microsoft.CodeAnalysis (1)
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (3)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (13)
SourceGeneration\GeneratorDriverTests.cs (12)
2163AssertEx.EqualOrDiff(generatedContent, generatedTree.ToString());
2224AssertEx.EqualOrDiff(generatedContent[i], trees[i].ToString());
2367AssertEx.EqualOrDiff(generatedContent[i], trees[i].ToString());
4316Assert.Equal("class Compilation1{} //generator1", result.GeneratedTrees[0].ToString());
4317Assert.Equal("class Compilation1{} //generator2", result.GeneratedTrees[1].ToString());
4326Assert.Equal("class Compilation2{} //generator1", result.GeneratedTrees[0].ToString());
4327Assert.Equal("class Compilation1{} //generator2", result.GeneratedTrees[1].ToString());
4335Assert.Equal("class Compilation2{} //generator1", result.GeneratedTrees[0].ToString());
4336Assert.Equal("class Compilation3{} //generator2", result.GeneratedTrees[1].ToString());
4344Assert.Equal("class Compilation4{} //generator1", result.GeneratedTrees[0].ToString());
4345Assert.Equal("class Compilation4{} //generator2", result.GeneratedTrees[1].ToString());
4386Assert.Equal("class Compilation1{} //generator1", result.GeneratedTrees[0].ToString());
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (6)
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (3)
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (1)
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (10)
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (8)
Microsoft.CodeAnalysis.Workspaces.UnitTests (1)
System.Windows.Forms.PrivateSourceGenerators.Tests (1)