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