1 write to s_nativePathOffset
System.Net.Sockets (1)
System\Net\Sockets\UnixDomainSocketEndPoint.Unix.cs (1)
20
fixed (int* pathOffset = &
s_nativePathOffset
)
7 references to s_nativePathOffset
System.Net.Sockets (7)
System\Net\Sockets\UnixDomainSocketEndPoint.cs (4)
71
if (socketAddress.Length >
s_nativePathOffset
)
73
_encodedPath = new byte[socketAddress.Length -
s_nativePathOffset
];
76
_encodedPath[i] = socketAddress[
s_nativePathOffset
+ i];
106
result[
s_nativePathOffset
+ index] = _encodedPath[index];
System\Net\Sockets\UnixDomainSocketEndPoint.Unix.cs (3)
28
Debug.Assert(
s_nativePathOffset
>= 0, "Expected path offset to be positive");
29
Debug.Assert(
s_nativePathOffset
+ s_nativePathLength <= s_nativeAddressSize, "Expected address size to include all of the path length");
34
new SocketAddress(AddressFamily.Unix,
s_nativePathOffset
+ _encodedPath.Length);