Base:
method
ToString
System.Object.ToString()
360 references to ToString
Aspire.Hosting (3)
Aspire.Hosting.Tests (2)
Aspire.Microsoft.Azure.Cosmos.Tests (3)
AuthSamples.FunctionalTests (7)
BuildActionTelemetryTable (1)
BuildBoss (1)
dotnet-svcutil-lib (52)
FrameworkFork\Microsoft.Xml\Xml\Core\XmlTextReaderImpl.cs (7)
596_ps.baseUriStr = _ps.baseUri.ToString();
609string baseUriStr = baseUri.ToString();
2888InitStreamInput(baseUri, baseUri.ToString(), stream, null, 0, encoding);
2900Debug.Assert(baseUri == null || (baseUri.ToString().Equals(baseUriStr)));
3145_ps.baseUriStr = _ps.baseUri.ToString();
8073Throw(new XmlException(entityName == null ? ResXml.Xml_ErrorOpeningExternalDtd : ResXml.Xml_ErrorOpeningExternalEntity, new string[] { uri.ToString(), innerMessage }, e, 0, 0));
8105InitTextReaderInput(uri.ToString(), uri, textReader);
FrameworkFork\Microsoft.Xml\Xml\schema\DtdParser.cs (7)
271_documentBaseUri = baseUri.ToString();
330_documentBaseUri = baseUriOb.ToString();
521_externalDtdBaseUri = baseUri.ToString();
3520return (tmp != null) ? tmp.ToString() : string.Empty;
3539_readerAdapter.Throw(new XmlException(res, arg, (int)LineNo, (int)LinePos, baseUri == null ? null : baseUri.ToString()));
3545_readerAdapter.Throw(new XmlException(res, args, (int)LineNo, (int)LinePos, baseUri == null ? null : baseUri.ToString()));
3551_readerAdapter.Throw(new XmlException(res, arg, (int)lineNo, (int)linePos, baseUri == null ? null : baseUri.ToString()));
IIS.FunctionalTests (24)
IISExpress.FunctionalTests (2)
Microsoft.Arcade.Common (2)
Microsoft.AspNetCore.Authentication.Test (11)
Microsoft.AspNetCore.Components.WebView (1)
Microsoft.AspNetCore.Components.WebView.Maui (1)
Microsoft.AspNetCore.Components.WebView.WindowsForms (1)
Microsoft.AspNetCore.Components.WebView.Wpf (1)
Microsoft.AspNetCore.Connections.Abstractions (1)
Microsoft.AspNetCore.Http.Extensions.Tests (3)
Microsoft.AspNetCore.Http.Results.Tests (7)
Microsoft.AspNetCore.HttpsPolicy.Tests (7)
Microsoft.AspNetCore.Identity.FunctionalTests (9)
Microsoft.AspNetCore.JsonPatch.Tests (1)
Microsoft.AspNetCore.Mvc.FunctionalTests (27)
RazorPagesTest.cs (12)
961Assert.Equal(expected, response.Headers.Location.ToString());
975Assert.Equal(expected, response.Headers.Location.ToString());
997Assert.Equal(expected, response.Headers.Location.ToString());
1011Assert.Equal(expected, response.Headers.Location.ToString());
1025Assert.Equal(expected, response.Headers.Location.ToString());
1039Assert.Equal(expected, response.Headers.Location.ToString());
1053Assert.Equal(expected, response.Headers.Location.ToString());
1065Assert.Equal(expected, response.Headers.Location.ToString());
1077Assert.Equal(expected, response.Headers.Location.ToString());
1089Assert.Equal(expected, response.Headers.Location.ToString());
1103Assert.Equal(expected, response.Headers.Location.ToString());
1115Assert.Equal(expected, response.Headers.Location.ToString());
Microsoft.AspNetCore.Server.IntegrationTesting (4)
Microsoft.AspNetCore.Server.IntegrationTesting.IIS (2)
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (1)
Microsoft.AspNetCore.SignalR.Client.Tests (18)
HttpConnectionTests.Negotiate.cs (17)
75negotiateUrlTcs.TrySetResult(request.RequestUri.ToString());
203Assert.Equal("http://fakeuri.org/negotiate?negotiateVersion=1", testHttpHandler.ReceivedRequests[0].RequestUri.ToString());
204Assert.Equal("http://fakeuri.org/?id=different-id", testHttpHandler.ReceivedRequests[1].RequestUri.ToString());
243Assert.Equal("http://fakeuri.org/negotiate?negotiateVersion=1", testHttpHandler.ReceivedRequests[0].RequestUri.ToString());
244Assert.Equal("http://fakeuri.org/?id=0rge0d00-0040-0030-0r00-000q00r00e00", testHttpHandler.ReceivedRequests[1].RequestUri.ToString());
300Assert.Equal("http://fakeuri.org/negotiate?negotiateVersion=1", testHttpHandler.ReceivedRequests[0].RequestUri.ToString());
301Assert.Equal("https://another.domain.url/chat/negotiate?negotiateVersion=1", testHttpHandler.ReceivedRequests[1].RequestUri.ToString());
302Assert.Equal("https://another.domain.url/chat?id=0rge0d00-0040-0030-0r00-000q00r00e00", testHttpHandler.ReceivedRequests[2].RequestUri.ToString());
303Assert.Equal("https://another.domain.url/chat?id=0rge0d00-0040-0030-0r00-000q00r00e00", testHttpHandler.ReceivedRequests[3].RequestUri.ToString());
406Assert.Equal("http://fakeuri.org/negotiate?negotiateVersion=1", testHttpHandler.ReceivedRequests[0].RequestUri.ToString());
407Assert.Equal("https://another.domain.url/chat/negotiate?negotiateVersion=1", testHttpHandler.ReceivedRequests[1].RequestUri.ToString());
408Assert.Equal("https://another.domain.url/chat?id=0rge0d00-0040-0030-0r00-000q00r00e00", testHttpHandler.ReceivedRequests[2].RequestUri.ToString());
409Assert.Equal("https://another.domain.url/chat?id=0rge0d00-0040-0030-0r00-000q00r00e00", testHttpHandler.ReceivedRequests[3].RequestUri.ToString());
471Assert.Equal("http://fakeuri.org/negotiate?negotiateVersion=1", testHttpHandler.ReceivedRequests[0].RequestUri.ToString());
472Assert.Equal("https://another.domain.url/chat/negotiate?negotiateVersion=1", testHttpHandler.ReceivedRequests[1].RequestUri.ToString());
473Assert.Equal("https://another.domain.url/chat?negotiateVersion=1&id=0rge0d00-0040-0030-0r00-000q00r00e00", testHttpHandler.ReceivedRequests[2].RequestUri.ToString());
474Assert.Equal("https://another.domain.url/chat?negotiateVersion=1&id=0rge0d00-0040-0030-0r00-000q00r00e00", testHttpHandler.ReceivedRequests[3].RequestUri.ToString());
Microsoft.AspNetCore.SpaServices.Extensions (3)
Microsoft.AspNetCore.SpaServices.Extensions.Tests (1)
Microsoft.Build.Tasks.Core (2)
Microsoft.CodeAnalysis (1)
Microsoft.CodeAnalysis.CSharp (1)
Microsoft.CodeAnalysis.Test.Utilities (1)
Microsoft.DotNet.Build.Tasks.Feed (2)
Microsoft.DotNet.Helix.JobSender (5)
Microsoft.Extensions.Http (1)
Microsoft.Extensions.Http.Resilience.Tests (2)
Microsoft.Extensions.ServiceDiscovery.Yarp (2)
Microsoft.Gen.Logging.Generated.Tests (1)
Microsoft.Maui (2)
Microsoft.Maui.Controls (4)
Microsoft.Maui.Controls.Compatibility (8)
Microsoft.ML.Parquet (1)
MSBuild (1)
PresentationCore (8)
PresentationFramework (38)
PresentationUI (5)
ReachFramework (4)
Sockets.BindTests (8)
src\Servers\Kestrel\test\BindTests\AddressRegistrationTests.cs (8)
217Assert.Equal(uri.ToString(), response);
337Assert.Equal(new Uri(testUrlWithPort).ToString(), response);
392Assert.Equal(new Uri(testUrl).ToString(), response);
439Assert.Equal(new Uri(testUrl).ToString(), response);
526Assert.Equal(new Uri(address).ToString(), await HttpClientSlim.GetStringAsync(address, validateCertificate: false));
641Assert.Equal(new Uri(useUrlsAddressWithPort).ToString(), await HttpClientSlim.GetStringAsync(useUrlsAddressWithPort));
686Assert.Equal(new Uri(endPointAddress).ToString(), await HttpClientSlim.GetStringAsync(endPointAddress, validateCertificate: false));
722Assert.Equal(new Uri(endPointAddress).ToString(), await HttpClientSlim.GetStringAsync(endPointAddress, validateCertificate: false));
System.Configuration.ConfigurationManager (1)
System.IO.IsolatedStorage (1)
System.Net.Http (4)
System.Net.Primitives (1)
System.Net.WebClient (1)
System.Private.Uri (2)
System.Private.Xml (41)
System\Xml\Core\XmlTextReaderImpl.cs (7)
576_ps.baseUriStr = _ps.baseUri.ToString();
589string baseUriStr = baseUri.ToString();
2832InitStreamInput(baseUri, baseUri.ToString(), stream, null, 0, encoding);
2844Debug.Assert(baseUri == null || (baseUri.ToString().Equals(baseUriStr)));
3063_ps.baseUriStr = _ps.baseUri.ToString();
7930Throw(new XmlException(entityName == null ? SR.Xml_ErrorOpeningExternalDtd : SR.Xml_ErrorOpeningExternalEntity, new string[] { uri.ToString(), innerMessage }, e, 0, 0));
7962InitTextReaderInput(uri.ToString(), uri, textReader);
System\Xml\Core\XmlTextReaderImplAsync.cs (4)
863return InitStreamInputAsync(baseUri, baseUri.ToString(), stream, null, 0, encoding);
870Debug.Assert(baseUri == null || (baseUri.ToString().Equals(baseUriStr)));
5139Throw(new XmlException(entityName == null ? SR.Xml_ErrorOpeningExternalDtd : SR.Xml_ErrorOpeningExternalEntity, new string[] { uri.ToString(), innerMessage }, e, 0, 0));
5173await InitTextReaderInputAsync(uri.ToString(), uri, textReader).ConfigureAwait(false);
System\Xml\Schema\DtdParser.cs (7)
262_documentBaseUri = baseUri.ToString();
318_documentBaseUri = baseUriOb.ToString();
509_externalDtdBaseUri = baseUri.ToString();
3441return (tmp != null) ? tmp.ToString() : string.Empty;
3461_readerAdapter.Throw(new XmlException(res, arg, (int)LineNo, (int)LinePos, baseUri?.ToString()));
3469_readerAdapter.Throw(new XmlException(res, args, (int)LineNo, (int)LinePos, baseUri?.ToString()));
3476_readerAdapter.Throw(new XmlException(res, arg, (int)lineNo, (int)linePos, baseUri?.ToString()));
System.Security.Cryptography (2)
System.ServiceModel.NetFramingBase (1)
System.ServiceModel.NetNamedPipe (1)
System.ServiceModel.Syndication (4)
System.Windows.Forms (6)
System.Windows.Forms.Tests (1)
System.Xaml (1)