2 references to ThrowingOnCloseBindingElement
System.ServiceModel.Primitives.Tests (2)
ServiceModel\ChannelFactoryTest.cs (1)
309customBinding.Elements.Insert(0, new ThrowingOnCloseBindingElement(new CommunicationException(nameof(ChannelFactory_AsyncDisposable_NoThrow)), false));
ServiceModel\ClientBaseTest.cs (1)
199customBinding.Elements.Insert(0, new ThrowingOnCloseBindingElement(new CommunicationException(nameof(ClientBaseDisposeAsyncNoThrow)), channelThrows));