31 references to Fx
System.ServiceModel.NetFramingBase (20)
System\ServiceModel\Channels\BufferedConnection.cs (2)
81
if (
Fx
.IsFatal(e))
180
_writeBuffer =
Fx
.AllocateByteArray(_writeBufferSize);
System\ServiceModel\Channels\Connection.cs (1)
58
_preReadData =
Fx
.AllocateByteArray(initialData.Length + _preReadData.Length);
System\ServiceModel\Channels\ConnectionPool.cs (1)
526
if (
Fx
.IsFatal(e))
System\ServiceModel\Channels\FramingChannels.cs (1)
176
Memory<byte> startBytes =
Fx
.AllocateByteArray(startSize);
System\ServiceModel\Channels\FramingDecoders.cs (1)
139
_encodedBytes =
Fx
.AllocateByteArray(_encodedSize);
System\ServiceModel\Channels\FramingEncoders.cs (1)
58
EncodedBytes =
Fx
.AllocateByteArray(checked(1 + sizeByteCount + valueByteCount));
System\ServiceModel\Channels\IdlingCommunicationPool.cs (3)
209
if (
Fx
.IsFatal(e))
248
Fx
.Assert(connectionsCopy[i] != null, "IdleConnections should only be modified under thisLock");
261
Fx
.Assert(successfulReturn, "IdleConnections should only be modified under thisLock");
System\ServiceModel\Channels\SessionConnectionReader.cs (2)
38
Fx
.Assert(_buffer != null, "_buffer can't be null");
44
Fx
.Assert(EnvelopeBuffer != null, "EnvelopeBuffer can't be null");
System\ServiceModel\Channels\SingletonConnectionReader.cs (4)
93
byte[] dummy =
Fx
.AllocateByteArray(_transportSettings.ConnectionBufferSize);
169
byte[] initialData =
Fx
.AllocateByteArray(size);
250
Fx
.Assert(_decoder.CurrentState == SingletonMessageDecoder.State.ReadingEnvelopeBytes || _decoder.CurrentState == SingletonMessageDecoder.State.ChunkEnd, "");
275
Fx
.Assert(size <= _chunkBuffer.Length, "");
System\ServiceModel\Channels\SslStreamSecurityUpgradeProvider.cs (1)
315
Fx
.Assert(IsChannelBindingSupportEnabled, "A request for the ChannelBinding is not permitted without enabling ChannelBinding first (through the IChannelBindingProvider interface)");
System\ServiceModel\Channels\StreamedFramingRequestChannel.cs (1)
56
Preamble =
Fx
.AllocateByteArray(startSize);
System\ServiceModel\Channels\TransportDuplexSessionChannel.cs (1)
222
Fx
.Assert(_channelBindingToken == null, "ChannelBinding token can only be set once.");
System\ServiceModel\Security\SecurityUtilsEx.cs (1)
169
if (
Fx
.IsFatal(e))
System.ServiceModel.NetNamedPipe (6)
System\ServiceModel\Channels\PipeConnection.cs (6)
387
Fx
.Assert(Monitor.IsEntered(_readLock), "_readLock must be entered");
393
Fx
.Assert(Monitor.IsEntered(_writeLock), "_writeLock must be entered");
399
Fx
.Assert(Monitor.IsEntered(_readLock), "_readLock must be entered");
405
Fx
.Assert(Monitor.IsEntered(_writeLock), "_writeLock must be entered");
508
Fx
.Assert(Monitor.IsEntered(_readLock), "_readLock must be entered");
530
Fx
.Assert(Monitor.IsEntered(_writeLock), "_writeLock must be entered");
System.ServiceModel.UnixDomainSocket (5)
System\ServiceModel\Channels\SocketConnection.cs (5)
254
Fx
.Assert(!_asyncWritePending, "Called BeginWrite twice.");
335
byte[] dummy =
Fx
.AllocateByteArray(1);
428
if (
Fx
.IsFatal(exception))
451
if (
Fx
.IsFatal(exception))
705
Fx
.Assert("Argument timeoutErrorString must not be null.");