16 references to OperationContextScope
Binding.Http.IntegrationTests (3)
BasicHttpBindingTests.4.0.0.cs (2)
259using (new OperationContextScope((IContextChannel)serviceProxy)) 303using (new OperationContextScope((IContextChannel)serviceProxy))
OperationContextTests.cs (1)
45var scope = new OperationContextScope((IContextChannel)serviceProxy);
Binding.ReliableSession.IntegrationTests (2)
NetHttpBindingTests.cs (1)
312using (var scope = new OperationContextScope((IContextChannel)serviceProxy))
WSHttpBindingTests.cs (1)
312using (var scope = new OperationContextScope((IContextChannel)serviceProxy))
Binding.Tcp.IntegrationTests (3)
OperationContextAsyncFlowTests.cs (3)
31using (var scope = new OperationContextScope((IContextChannel)serviceProxy)) 66using (var scope = new OperationContextScope((IContextChannel)serviceProxy)) 74using (var scope2 = new OperationContextScope((IContextChannel)serviceProxy))
Client.ClientBase.IntegrationTests (2)
ClientBaseTests.4.0.0.cs (1)
775using (OperationContextScope scope = new OperationContextScope((IContextChannel)serviceProxy))
MessageInspectorTestHelpers.cs (1)
53using (new OperationContextScope((IContextChannel)base.InnerChannel))
Contract.XmlSerializer.IntegrationTests (1)
XmlSerializerFormatTest.4.1.0.cs (1)
82using (OperationContextScope scope = new OperationContextScope((IContextChannel)serviceProxy))
dotnet-svcutil.xmlserializer.IntegrationTests (1)
src\System.Private.ServiceModel\tests\Scenarios\Contract\XmlSerializer\XmlSerializerFormatTest.4.1.0.cs (1)
82using (OperationContextScope scope = new OperationContextScope((IContextChannel)serviceProxy))
Security.TransportSecurity.IntegrationTests (4)
Http\ClientCredentialTypeTests.4.1.0.cs (2)
43using (var scope = new OperationContextScope((IContextChannel)serviceProxy)) 104using (var scope = new OperationContextScope((IContextChannel)serviceProxy))
Https\ClientCredentialTypeTests.4.1.0.cs (2)
58using (var scope = new OperationContextScope((IContextChannel)serviceProxy)) 133using (var scope = new OperationContextScope((IContextChannel)serviceProxy))