1 write to m_handle
System.Core (1)
System\IO\Pipes\PipeStream.cs (1)
172
m_handle
= handle;
38 references to m_handle
System.Core (38)
System\IO\Pipes\PipeStream.cs (38)
204
Debug.Assert(
m_handle
!= null, "_handle is null");
205
Debug.Assert(!
m_handle
.IsClosed, "_handle is closed");
217
int r = ReadFileNative(
m_handle
, buffer, offset, count, null, out hr);
264
asyncResult._handle =
m_handle
;
283
Debug.Assert(
m_handle
!= null, "_handle is null");
284
Debug.Assert(!
m_handle
.IsClosed, "_handle is closed");
293
asyncResult._handle =
m_handle
;
323
int r = ReadFileNative(
m_handle
, buffer, offset, count, intOverlapped, out hr);
447
Debug.Assert(!
m_handle
.IsClosed, "_handle is closed");
460
int r = WriteFileNative(
m_handle
, buffer, offset, count, null, out hr);
500
Debug.Assert(!
m_handle
.IsClosed, "_handle is closed");
512
asyncResult._handle =
m_handle
;
539
int r = WriteFileNative(
m_handle
, buffer, offset, count, intOverlapped, out hr);
759
if (!UnsafeNativeMethods.FlushFileBuffers(
m_handle
)) {
769
if (
m_handle
!= null && !
m_handle
.IsClosed) {
770
m_handle
.Dispose();
811
if (
m_handle
== null) {
818
if (
m_handle
.IsClosed) {
841
if (!UnsafeNativeMethods.GetNamedPipeInfo(
m_handle
, out pipeFlags, UnsafeNativeMethods.NULL, UnsafeNativeMethods.NULL,
870
if (!UnsafeNativeMethods.GetNamedPipeInfo(
m_handle
, UnsafeNativeMethods.NULL, UnsafeNativeMethods.NULL, out inBufferSize, UnsafeNativeMethods.NULL)) {
897
else if (!UnsafeNativeMethods.GetNamedPipeInfo(
m_handle
, UnsafeNativeMethods.NULL, out outBufferSize,
930
if (!UnsafeNativeMethods.SetNamedPipeHandleState(
m_handle
, &pipeReadType, UnsafeNativeMethods.NULL, UnsafeNativeMethods.NULL)) {
966
if (
m_handle
== null) {
969
if (
m_handle
.IsClosed) {
973
return new PipeSecurity(
m_handle
, AccessControlSections.Access | AccessControlSections.Owner | AccessControlSections.Group);
985
pipeSecurity.Persist(
m_handle
);
992
if (
m_handle
== null) {
995
if (
m_handle
.IsClosed) {
1000
return
m_handle
;
1007
return
m_handle
;
1069
if (
m_handle
== null) {
1077
if (
m_handle
.IsClosed) {
1095
if (
m_handle
== null) {
1103
if (
m_handle
.IsClosed) {
1120
if (
m_handle
== null) {
1133
if (
m_handle
.IsClosed) {
1162
m_handle
.SetHandleAsInvalid();