Base:
9 references to ToString
Microsoft.AspNetCore.Mvc.Api.Analyzers (1)
AddResponseTypeAttributeCodeFixAction.cs (1)
41public override string EquivalenceKey => _diagnostic.Location.ToString();
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (4)
Symbols\Source\PropertyTests.cs (4)
412Assert.Equal(prop.Locations[0].ToString(), backField.Locations[0].ToString()); 431Assert.Equal(prop.Locations[0].ToString(), backField.Locations[0].ToString());
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (2)
Diagnostics\LocationsTests.cs (2)
496Assert.Equal("SourceFile([91..93))", loc1.ToString()); 498Assert.Equal("SourceFile([148..150))", loc2.ToString());
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (2)
LocationTests.vb (2)
303Assert.Equal("SourceFile([76..77))", loc1.ToString) 'use the override in Location 305Assert.Equal("SourceFile([122..123))", loc2.ToString)