Imported Upstream version 5.20.0.180

Former-commit-id: ff953ca879339fe1e1211f7220f563e1342e66cb
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2019-02-04 20:11:37 +00:00
parent 0e2d47d1c8
commit 0510252385
3360 changed files with 83827 additions and 39243 deletions

View File

@@ -149,4 +149,38 @@ namespace System.ServiceModel.Description
namespace System.ServiceModel.Channels
{
public interface ITransportTokenAssertionProvider {}
}
namespace System.ServiceModel
{
internal static class DiagnosticUtility
{
internal static class ExceptionUtility
{
internal static ArgumentException ThrowHelperArgument (string message)
{
return (ArgumentException)ThrowHelperError (new ArgumentException (message));
}
internal static ArgumentException ThrowHelperArgument (string paramName, string message)
{
return (ArgumentException)ThrowHelperError (new ArgumentException (message, paramName));
}
internal static ArgumentNullException ThrowHelperArgumentNull (string paramName)
{
return (ArgumentNullException)ThrowHelperError (new ArgumentNullException (paramName));
}
internal static Exception ThrowHelperError (Exception exception)
{
return exception;
}
internal static Exception ThrowHelperWarning (Exception exception)
{
return exception;
}
}
}
}