Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mcs/class/referencesource/System.ServiceModel/System/ServiceModel/Channels/HttpChannelFactory.cs')
-rw-r--r--mcs/class/referencesource/System.ServiceModel/System/ServiceModel/Channels/HttpChannelFactory.cs18
1 files changed, 9 insertions, 9 deletions
diff --git a/mcs/class/referencesource/System.ServiceModel/System/ServiceModel/Channels/HttpChannelFactory.cs b/mcs/class/referencesource/System.ServiceModel/System/ServiceModel/Channels/HttpChannelFactory.cs
index 8dd38356431..482d0bfde8f 100644
--- a/mcs/class/referencesource/System.ServiceModel/System/ServiceModel/Channels/HttpChannelFactory.cs
+++ b/mcs/class/referencesource/System.ServiceModel/System/ServiceModel/Channels/HttpChannelFactory.cs
@@ -1305,7 +1305,7 @@ namespace System.ServiceModel.Channels
}
catch (NullReferenceException nullReferenceException)
{
- // workaround for Whidbey
+ // workaround for Whidbey bug #558605 - only happens in streamed case.
if (TransferModeHelper.IsRequestStreamed(this.factory.transferMode))
{
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
@@ -1496,7 +1496,7 @@ namespace System.ServiceModel.Channels
{
completeSelf = thisPtr.OnGetWebRequestCompleted(result);
}
-#pragma warning suppress 56500 // Microsoft, transferring exception to another thread
+#pragma warning suppress 56500 // [....], transferring exception to another thread
catch (Exception e)
{
if (Fx.IsFatal(e))
@@ -1610,7 +1610,7 @@ namespace System.ServiceModel.Channels
}
catch (NullReferenceException nullReferenceException)
{
- // workaround for Whidbey
+ // workaround for Whidbey bug #558605 - only happens in streamed case.
if (TransferModeHelper.IsRequestStreamed(this.factory.transferMode))
{
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
@@ -1667,7 +1667,7 @@ namespace System.ServiceModel.Channels
}
catch (NullReferenceException nullReferenceException)
{
- // workaround for Whidbey
+ // workaround for Whidbey bug #558605 - only happens in streamed case.
if (TransferModeHelper.IsRequestStreamed(this.factory.transferMode))
{
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
@@ -1810,7 +1810,7 @@ namespace System.ServiceModel.Channels
{
thisPtr.CompleteParseIncomingMessage(result);
}
-#pragma warning suppress 56500 // Microsoft, transferring exception to another thread
+#pragma warning suppress 56500 // [....], transferring exception to another thread
catch (Exception e)
{
if (Fx.IsFatal(e))
@@ -1837,7 +1837,7 @@ namespace System.ServiceModel.Channels
{
completeSelf = thisPtr.CompleteSend(result);
}
-#pragma warning suppress 56500 // Microsoft, transferring exception to another thread
+#pragma warning suppress 56500 // [....], transferring exception to another thread
catch (Exception e)
{
if (Fx.IsFatal(e))
@@ -1882,7 +1882,7 @@ namespace System.ServiceModel.Channels
completeSelf = true;
completionException = new CommunicationException(webException.Message, webException);
}
-#pragma warning suppress 56500 // Microsoft, transferring exception to another thread
+#pragma warning suppress 56500 // [....], transferring exception to another thread
catch (Exception e)
{
if (Fx.IsFatal(e))
@@ -2068,7 +2068,7 @@ namespace System.ServiceModel.Channels
thisPtr.CompleteGetSspiCredential(result);
thisPtr.CloseTokenProvidersIfRequired();
}
-#pragma warning suppress 56500 // Microsoft, transferring exception to another thread
+#pragma warning suppress 56500 // [....], transferring exception to another thread
catch (Exception e)
{
if (Fx.IsFatal(e))
@@ -2096,7 +2096,7 @@ namespace System.ServiceModel.Channels
thisPtr.CompleteGetUserNameCredential(result);
thisPtr.CloseTokenProvidersIfRequired();
}
-#pragma warning suppress 56500 // Microsoft, transferring exception to another thread
+#pragma warning suppress 56500 // [....], transferring exception to another thread
catch (Exception e)
{
if (Fx.IsFatal(e))