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