292 references to CloseCommunicationObjects
Binding.Custom.IntegrationTests (3)
CustomBindingTests.4.0.0.cs (1)
44ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory);
CustomBindingTests.4.1.0.cs (2)
52ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 90ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory);
Binding.Http.IntegrationTests (15)
BasicHttpBindingTests.4.0.0.cs (9)
52ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 92ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 137ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 194ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 232ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 279ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 323ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 362ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 402ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory);
NetHttpBindingTests.4.0.0.cs (1)
45ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory);
NetHttpsBindingTests.4.1.0.cs (3)
47ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 77ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 114ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory);
OperationContextTests.cs (1)
60ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory);
WSHttpBindingTests.cs (1)
43ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory);
Binding.ReliableSession.IntegrationTests (15)
NetHttpBindingTests.cs (6)
53ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 90ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 173ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 254ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 342ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 395ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory);
NetTcpBindingTests.cs (3)
47ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 83ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 123ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory);
WSHttpBindingTests.cs (6)
53ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 90ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 173ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 254ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 342ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 395ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory);
Binding.Tcp.IntegrationTests (10)
NetTcpBindingTests.4.0.0.cs (5)
43ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 81ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 120ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 157ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 195ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory);
NetTcpBindingTests.4.1.0.cs (2)
45ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 82ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory);
OperationContextAsyncFlowTests.cs (3)
47ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 94ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 134ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory);
Binding.WS.FederationHttp.IntegrationTests (3)
WSFederationHttpBindingTests.cs (3)
74ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 125ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 176ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory);
Client.ChannelLayer.IntegrationTests (13)
DuplexChannelShapeTests.4.0.0.cs (2)
74ScenarioTestHelpers.CloseCommunicationObjects(channel, factory); 131ScenarioTestHelpers.CloseCommunicationObjects(channel, factory);
DuplexChannelShapeTests.4.1.0.cs (2)
74ScenarioTestHelpers.CloseCommunicationObjects(channel, factory); 132ScenarioTestHelpers.CloseCommunicationObjects(channel, factory);
DuplexChannelWithSynchronizationContext.cs (4)
72ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 136ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 205ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 251ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory);
RequestReplyChannelShapeTests.4.0.0.cs (4)
69ScenarioTestHelpers.CloseCommunicationObjects(channel, factory); 124ScenarioTestHelpers.CloseCommunicationObjects(channel, factory); 177ScenarioTestHelpers.CloseCommunicationObjects(channel, factory); 234ScenarioTestHelpers.CloseCommunicationObjects(channel, factory);
RequestReplyChannelShapeTests.4.1.0.cs (1)
66ScenarioTestHelpers.CloseCommunicationObjects(channel, factory);
Client.ClientBase.IntegrationTests (34)
ChannelBaseTests.4.0.0.cs (5)
51ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, (ICommunicationObject)client); 103ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, (ICommunicationObject)client); 157ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, (ICommunicationObject)client); 208ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, (ICommunicationObject)client); 262ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, client, factory);
ClientBaseTests.4.0.0.cs (15)
52ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, (ICommunicationObject)client); 99ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, (ICommunicationObject)client); 147ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, (ICommunicationObject)client); 195ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, (ICommunicationObject)client); 270ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, client, factory); 347ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, client, factory); 426ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, client, factory); 476ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, client, factory); 527ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, client, factory); 577ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)proxy, (ICommunicationObject)client); 631ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)proxy, (ICommunicationObject)client); 680ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)proxy, (ICommunicationObject)client); 717ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, (ICommunicationObject)client); 752ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, (ICommunicationObject)client); 808ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, (ICommunicationObject)client);
ClientBaseTests.4.1.0.cs (2)
53ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 106ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory);
ClientBaseTests.4.4.0.cs (1)
50ScenarioTestHelpers.CloseCommunicationObjects(client);
DuplexClientBaseTests.4.1.0.cs (2)
56ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)proxy, duplexService); 96ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)proxy, (ICommunicationObject)duplexService);
MessageInspectorTests.4.4.0.cs (2)
66ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)mi_ClientBase_ClientAuth1, (ICommunicationObject)mi_ClientBase_ClientAuth2); 110ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)mi_ClientBase_ClientAuth);
SessionTests.cs (7)
44ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)channel, factory); 90ScenarioTestHelpers.CloseCommunicationObjects( 114ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)channel1); 138ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)channel2); 162ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)channel3); 207ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)channel); 496ScenarioTestHelpers.CloseCommunicationObjects(o);
Client.ExpectedExceptions.IntegrationTests (21)
CallbackDebugBehaviorTests.cs (2)
81ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 82ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy2, factory2);
ExpectedExceptionTests.4.0.0.cs (6)
44ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 89ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 135ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 174ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 209ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 390ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory);
ExpectedExceptionTests.4.1.0.cs (12)
45ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 82ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)setupHostServiceProxy, setupHostFactory); 124ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 143ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 177ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 215ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 265ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 317ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 369ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 416ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 463ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 642ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory);
ExpectedExceptionTests.4.1.1.cs (1)
51ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory);
Client.TypedClient.IntegrationTests (9)
TypedProxyTests.4.0.0.cs (8)
148ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 211ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 274ScenarioTestHelpers.CloseCommunicationObjects(channel, factory); 338ScenarioTestHelpers.CloseCommunicationObjects(channel, factory); 403ScenarioTestHelpers.CloseCommunicationObjects(channel, factory); 491ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 532ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 565ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory);
TypedProxyTests.4.1.0.cs (1)
84ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory);
Contract.Data.IntegrationTests (4)
DataContractTests.4.0.0.cs (1)
56ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory);
DataContractTests.4.1.0.cs (2)
47ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 85ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory);
DataContractTests.4.1.1.cs (1)
52ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)client, factory);
Contract.Fault.IntegrationTests (8)
FaultExceptionTests.4.0.0.cs (7)
40ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 74ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 116ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 149ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 186ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 223ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 264ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory);
FaultExceptionTests.cs (1)
51ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, (ICommunicationObject)client);
Contract.Message.IntegrationTests (6)
MessageContractTests.4.4.0.cs (2)
65ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)clientProxy, factory); 122ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)clientProxy, factory);
MessageContractTests.cs (3)
51ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)proxy); 67ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)proxy); 85ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)proxy, factory);
MessageTests.4.0.0.cs (1)
102ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory);
Contract.Service.IntegrationTests (29)
ServiceContractTests.4.0.0.cs (10)
59ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 107ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 153ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 201ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 247ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 285ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 324ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 377ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 428ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 478ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory);
ServiceContractTests.4.1.0.cs (18)
53ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 89ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 124ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 161ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 198ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 290ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 346ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 383ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 419ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 454ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 491ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 528ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 565ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 602ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 666ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 754ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy1, 844ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy1, 935ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy1,
ServiceKnownTypeTests.4.0.0.cs (1)
127ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory);
Contract.XmlSerializer.IntegrationTests (20)
XmlSerializerFormatSoapTest.cs (1)
103ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy);
XmlSerializerFormatTest.4.0.0.cs (3)
146ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 183ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 214ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory);
XmlSerializerFormatTest.4.1.0.cs (3)
36ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 63ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 105ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, client);
XmlSerializerFormatTest.cs (13)
100ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy); 122ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 154ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy1); 202ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy1); 250ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy1); 298ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy1); 354ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy1); 355ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy2); 411ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy1); 412ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy2); 468ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy1); 469ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy2); 506ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy1);
dotnet-svcutil.xmlserializer.IntegrationTests (20)
src\System.Private.ServiceModel\tests\Scenarios\Contract\XmlSerializer\XmlSerializerFormatSoapTest.cs (1)
103ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy);
src\System.Private.ServiceModel\tests\Scenarios\Contract\XmlSerializer\XmlSerializerFormatTest.4.0.0.cs (3)
146ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 183ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 214ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory);
src\System.Private.ServiceModel\tests\Scenarios\Contract\XmlSerializer\XmlSerializerFormatTest.4.1.0.cs (3)
36ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 63ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 105ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, client);
src\System.Private.ServiceModel\tests\Scenarios\Contract\XmlSerializer\XmlSerializerFormatTest.cs (13)
100ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy); 122ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 154ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy1); 202ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy1); 250ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy1); 298ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy1); 354ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy1); 355ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy2); 411ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy1); 412ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy2); 468ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy1); 469ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy2); 506ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy1);
Encoding.Encoders.IntegrationTests (5)
BinaryEncodingTests.4.0.0.cs (2)
49ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 88ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory);
TextEncodingTests.4.0.0.cs (1)
49ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory);
TextEncodingTests.4.1.0.cs (2)
42ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 69ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)channel, factory);
Encoding.MessageVersion.IntegrationTests (7)
MessageVersionTests.4.0.0.cs (2)
48ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 84ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory);
MessageVersionTests.cs (5)
48ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 84ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 120ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 156ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 192ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory);
Extensibility.MessageEncoder.IntegrationTests (2)
TextTests.4.1.0.cs (2)
55ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)client, channelFactory); 129ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory);
Extensibility.MessageInterceptor.IntegrationTests (1)
MessageInterceptorTests.4.1.1.cs (1)
65ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory);
Extensibility.WebSockets.IntegrationTests (14)
WebSocketTests.4.1.0.cs (14)
108ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)client, channelFactory); 176ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)client, channelFactory); 244ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)client, channelFactory); 340ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)client, channelFactory); 411ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)client, channelFactory); 477ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)client, channelFactory); 531ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)client, channelFactory); 585ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)client, channelFactory); 640ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)client, channelFactory); 697ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)client, channelFactory); 737ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)duplexProxy, factory); 777ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)duplexProxy, factory); 821ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)proxy, factory); 860ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)client, channelFactory);
ScenarioTests.Common.Tests (1)
ScenarioTestHelpers.cs (1)
89ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory);
Security.TransportSecurity.IntegrationTests (52)
Http\ClientCredentialTypeTests.4.1.0.cs (2)
73ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 136ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory);
Https\ClientCredentialTypeTests.4.1.0.cs (3)
92ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 156ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 198ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory);
Https\HttpsTests.4.1.0.cs (8)
62ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 267ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 308ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 346ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 396ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 447ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 506ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 570ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory);
Https\HttpsTests.4.1.1.cs (4)
60ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 121ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 169ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 214ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory);
Negotiate\NegotiateStream_Http_Tests.4.1.0.cs (7)
103ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 154ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 206ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 254ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 298ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 354ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 404ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory);
Negotiate\NegotiateStream_Tcp_Tests.4.1.0.cs (6)
88ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 137ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 182ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 223ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 278ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 325ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory);
Tcp\ClientCredentialTypeCertificateCanonicalNameTests.4.1.0.cs (3)
94ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 170ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 253ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory);
Tcp\ClientCredentialTypeTests.4.1.0.cs (3)
60ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 113ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 155ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory);
Tcp\ClientCredentialTypeTests.4.1.1.cs (5)
60ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 119ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 167ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 214ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 273ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory);
Tcp\ClientCredentialTypeTests.OSX.cs (1)
87ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory);
Tcp\IdentityTests.4.1.0.cs (1)
43ScenarioTestHelpers.CloseCommunicationObjects(factory);
Tcp\IdentityTests.4.1.1.cs (1)
46ScenarioTestHelpers.CloseCommunicationObjects(factory);
Tcp\StreamingTests.4.1.0.cs (8)
57ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 98ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 140ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 191ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 250ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 292ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 334ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory); 376ScenarioTestHelpers.CloseCommunicationObjects((ICommunicationObject)serviceProxy, factory);