6 writes to _channelFactoryRef
System.ServiceModel.Primitives (6)
System\ServiceModel\ClientBase.cs (6)
79
_channelFactoryRef
= new ChannelFactoryRef<TChannel>(new ChannelFactory<TChannel>(binding, remoteAddress));
101
_channelFactoryRef
= new ChannelFactoryRef<TChannel>(new ChannelFactory<TChannel>(endpoint));
133
_channelFactoryRef
= new ChannelFactoryRef<TChannel>(
645
_channelFactoryRef
= factoryRef;
660
_channelFactoryRef
= CreateChannelFactoryRef(_endpointTrait);
697
_channelFactoryRef
= CreateChannelFactoryRef(_endpointTrait);
19 references to _channelFactoryRef
System.ServiceModel.Primitives (19)
System\ServiceModel\ClientBase.cs (19)
80
_channelFactoryRef
.ChannelFactory.TraceOpenAndClose = false;
102
_channelFactoryRef
.ChannelFactory.TraceOpenAndClose = false;
135
_channelFactoryRef
.ChannelFactory.TraceOpenAndClose = false;
319
if (
_channelFactoryRef
.Release())
332
_channelFactoryRef
.Abort();
369
if (
_channelFactoryRef
.Release())
383
_channelFactoryRef
.Abort();
509
if (
_channelFactoryRef
.Release())
523
_channelFactoryRef
.Abort();
527
_channelFactoryRef
.Close(timeoutHelper.RemainingTime());
626
return
_channelFactoryRef
.ChannelFactory;
631
Fx.Assert(
_channelFactoryRef
== null, "The channelFactory should have never been assigned");
646
_channelFactoryRef
.AddRef();
657
if (
_channelFactoryRef
== null)
696
ChannelFactoryRef<TChannel> pendingFactoryRef =
_channelFactoryRef
;
727
Fx.Assert(
_channelFactoryRef
.ChannelFactory.State == CommunicationState.Opened,
737
_channelFactoryRef
.AddRef();
738
s_factoryRefCache.Add(_endpointTrait,
_channelFactoryRef
);
763
if (object.ReferenceEquals(
_channelFactoryRef
, factoryRef))