17 references to AssertAndThrow
dotnet-svcutil-lib (17)
FrameworkFork\System.ServiceModel\Internals\System\Runtime\Fx.cs (2)
113
AssertAndThrow
(description);
306
AssertAndThrow
("Creation of the Guid failed.");
FrameworkFork\System.ServiceModel\SMDiagnostics\System\ServiceModel\Diagnostics\ExceptionUtility.cs (1)
71
return fatal ? Fx.AssertAndThrowFatal("Fatal InternalException should never be thrown.") : Fx.
AssertAndThrow
("InternalException should never be thrown.");
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\CommunicationObject.cs (9)
215
throw Fx.
AssertAndThrow
("CommunicationObject.BeginClose: Unknown CommunicationState");
282
throw Fx.
AssertAndThrow
("DoneReceivingInCurrentState: Unknown CommunicationObject.state");
527
throw Fx.
AssertAndThrow
("ThrowIfFaulted: Unknown CommunicationObject.state");
576
throw Fx.
AssertAndThrow
("ThrowIfClosed: Unknown CommunicationObject.state");
610
throw Fx.
AssertAndThrow
("ThrowIfDisposed: Unknown CommunicationObject.state");
639
throw Fx.
AssertAndThrow
("ThrowIfClosedOrOpened: Unknown CommunicationObject.state");
668
throw Fx.
AssertAndThrow
("ThrowIfDisposedOrImmutable: Unknown CommunicationObject.state");
697
throw Fx.
AssertAndThrow
("ThrowIfDisposedOrNotOpen: Unknown CommunicationObject.state");
732
throw Fx.
AssertAndThrow
("ThrowIfClosedOrNotOpen: Unknown CommunicationObject.state");
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpChannelFactory.cs (1)
382
throw Fx.
AssertAndThrow
("CreateAndOpenTokenProvider: Invalid authentication scheme");
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpChannelHelpers.cs (1)
106
throw Fx.
AssertAndThrow
("GetCredential: Invalid authentication scheme");
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\LifetimeManager.cs (1)
138
throw Fx.
AssertAndThrow
("LifetimeManager.DecrementBusyCount: (this.busyCount > 0)");
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ReliableSessionBindingElementImporter.cs (1)
103
throw Fx.
AssertAndThrow
("Argument assertion cannot be null.");
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\SecurityUtils.cs (1)
413
throw Fx.
AssertAndThrow
("target should not be null - expecting an EndpointAddress");