Base:
6 references to ToString
dotnet-svcutil-lib (3)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpResponseMessageHelper.cs (2)
133
_contentType = mediaValueContentType == null ? string.Empty : mediaValueContentType.
ToString
();
341
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ProtocolException(string.Format(SRServiceModel.FramingContentTypeMismatch, _httpRequestMessage.Content.Headers.ContentType.
ToString
(), _httpRequestMessage.RequestUri)));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\MessageContent.cs (1)
113
new ProtocolException(string.Format(SRServiceModel.HttpContentTypeFormatException, formatException.Message, Headers.ContentType.
ToString
()), formatException));
System.ServiceModel.Http (3)
System\ServiceModel\Channels\HttpResponseMessageHelper.cs (2)
136
_contentType = mediaValueContentType == null ? string.Empty : mediaValueContentType.
ToString
();
369
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ProtocolException(SR.Format(SR.FramingContentTypeMismatch, _httpRequestMessage.Content.Headers.ContentType.
ToString
(), _httpRequestMessage.RequestUri)));
System\ServiceModel\Channels\MessageContent.cs (1)
119
new ProtocolException(SR.Format(SR.HttpContentTypeFormatException, formatException.Message, Headers.ContentType.
ToString
()), formatException));