2 writes to currentConnection
System.ServiceModel (2)
System\ServiceModel\Channels\SingletonConnectionReader.cs (2)
407this.currentConnection = this.parent.Connection; 607this.currentConnection = InitialServerConnectionReader.EndUpgradeConnection(upgradeAsyncResult);
14 references to currentConnection
System.ServiceModel (14)
System\ServiceModel\Channels\SingletonConnectionReader.cs (14)
332Complete(this.currentConnection, true); 418return this.currentConnection.BeginRead(0, this.ConnectionBuffer.Length, timeoutHelper.RemainingTime(), onReadCompleted, this) == AsyncCompletionResult.Completed; 423this.Size = currentConnection.EndRead(); 489if (this.currentConnection.BeginWrite(ServerSingletonEncoder.UpgradeResponseBytes, 0, ServerSingletonEncoder.UpgradeResponseBytes.Length, 499this.currentConnection.EndWrite(); 505IConnection connectionToUpgrade = this.currentConnection; 561if (this.currentConnection.BeginWrite(ServerSessionEncoder.AckResponseBytes, 0, ServerSessionEncoder.AckResponseBytes.Length, 571this.currentConnection.EndWrite(); 594upgradeAsyncResult = InitialServerConnectionReader.BeginUpgradeConnection(this.currentConnection, upgradeAcceptor, this.parent.transportSettings, onUpgradeComplete, this); 609this.ConnectionBuffer = this.currentConnection.AsyncReadBuffer; 710thisPtr.Complete(thisPtr.currentConnection, false); 723thisPtr.currentConnection.EndWrite(); 754thisPtr.Complete(thisPtr.currentConnection, false); 793thisPtr.Complete(thisPtr.currentConnection, false);