4 writes to ReasonPhrase
dotnet-svcutil-lib (1)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpResponseMessageProperty.cs (1)
337this.HttpResponseMessage.ReasonPhrase = value;
System.Net.Http (1)
System\Net\Http\SocketsHttpHandler\HttpConnection.cs (1)
1117response.ReasonPhrase = HttpRuleParser.DefaultHttpEncoding.GetString(reasonBytes);
System.Net.Http.WinHttpHandler (1)
System\Net\Http\WinHttpResponseParser.cs (1)
56response.ReasonPhrase = reasonPhraseLength > 0 ?
System.ServiceModel.Http (1)
System\ServiceModel\Channels\HttpResponseMessageProperty.cs (1)
276HttpResponseMessage.ReasonPhrase = value;
31 references to ReasonPhrase
Aspire.EndToEnd.Tests (1)
tests\Shared\TemplatesTesting\AspireProject.cs (1)
530$" due to StatusCode: {(int?)args.Outcome.Result?.StatusCode} ReasonPhrase: '{args.Outcome.Result?.ReasonPhrase}'";
Aspire.Hosting.Azure (1)
AcrLoginService.cs (1)
118$"POST /oauth2/exchange failed {(int)response.StatusCode} {response.ReasonPhrase}. Body: {truncatedBody}",
Aspire.Hosting.OpenAI (1)
OpenAIHealthCheck.cs (1)
85return HealthCheckResult.Unhealthy($"StatusPage returned {(int)resp.StatusCode} {resp.ReasonPhrase}.");
Aspire.Templates.Tests (1)
tests\Shared\TemplatesTesting\AspireProject.cs (1)
530$" due to StatusCode: {(int?)args.Outcome.Result?.StatusCode} ReasonPhrase: '{args.Outcome.Result?.ReasonPhrase}'";
dotnet (2)
NugetSearch\NugetToolSearchApiRequest.cs (2)
33queryUrl.AbsoluteUri, response.ReasonPhrase, response.StatusCode)); 39queryUrl.AbsoluteUri, response.ReasonPhrase, response.StatusCode));
dotnet-sourcelink (1)
dotnet-svcutil-lib (4)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpChannelHelpers.cs (1)
149string statusDescription = response.ReasonPhrase;
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpResponseMessageHelper.cs (2)
333string statusDescription = _httpResponseMessage.ReasonPhrase; 346throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new TimeoutException(_httpResponseMessage.StatusCode + " " + _httpResponseMessage.ReasonPhrase));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpResponseMessageProperty.cs (1)
332return this.HttpResponseMessage.ReasonPhrase;
Microsoft.DotNet.Arcade.Sdk (2)
src\DownloadFile.cs (2)
186httpResponse.ReasonPhrase.StartsWith("The requested URI does not represent any resource on the server.", StringComparison.OrdinalIgnoreCase)) 188Log.LogMessage($"Problems downloading file from '{uri}'. Does the resource exist on the storage? {httpResponse.StatusCode} : {httpResponse.ReasonPhrase}");
Microsoft.Extensions.AI.Evaluation.Safety (4)
ContentSafetyService.cs (4)
212{response.StatusCode} ({(int)response.StatusCode}): {response.ReasonPhrase}. 264{response.StatusCode} ({(int)response.StatusCode}): {response.ReasonPhrase}. 321{response.StatusCode} ({(int)response.StatusCode}): {response.ReasonPhrase}. 380{response.StatusCode} ({(int)response.StatusCode}): {response.ReasonPhrase}.
Microsoft.NET.Sdk.Publish.Tasks (2)
Kudu\KuduVfsDeploy.cs (1)
78_logger.LogMessage(Build.Framework.MessageImportance.High, string.Format(Resources.KUDUDEPLOY_AddingFileFailed, ConnectionInfo.SiteName + "/" + relUrl, response.ReasonPhrase));
Kudu\KuduZipDeploy.cs (1)
67_logger.LogError(string.Format(Resources.KUDUDEPLOY_PublishZipFailedReason, ConnectionInfo.SiteName, response.ReasonPhrase));
NuGet.Packaging (1)
Signing\Timestamp\Rfc3161TimestampRequestNetstandard21Wrapper.cs (1)
68httpResponse.ReasonPhrase));
NuGet.Protocol (3)
LegacyFeed\V2FeedParser.cs (1)
619response.ReasonPhrase));
Resources\PackageUpdateResource.cs (2)
472bool logOccurred = DetectAndLogSkippedErrorOccurrence(responseStatusCode, source, pathToPackage, response.ReasonPhrase, logger); 514bool logOccurred = DetectAndLogSkippedErrorOccurrence(responseStatusCode, source, pathToPackage, response.ReasonPhrase, logger);
System.Net.Http (3)
System\Net\Http\HttpResponseMessage.cs (3)
168string.IsNullOrWhiteSpace(ReasonPhrase) ? SR.net_http_message_not_success_statuscode : SR.net_http_message_not_success_statuscode_reason, 170ReasonPhrase), 186sb.Append(ReasonPhrase ?? "<null>");
System.Net.Requests (1)
System\Net\HttpWebResponse.cs (1)
255return _httpResponseMessage.ReasonPhrase ?? string.Empty;
System.ServiceModel.Http (4)
System\ServiceModel\Channels\HttpChannelHelpers.cs (1)
165string statusDescription = response.ReasonPhrase;
System\ServiceModel\Channels\HttpResponseMessageHelper.cs (2)
361string statusDescription = _httpResponseMessage.ReasonPhrase; 374throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new TimeoutException(_httpResponseMessage.StatusCode + " " + _httpResponseMessage.ReasonPhrase));
System\ServiceModel\Channels\HttpResponseMessageProperty.cs (1)
271return HttpResponseMessage.ReasonPhrase;