13 references to FromSize
System.ServiceModel (13)
System\ServiceModel\Channels\PeerUnsafeNativeCryptMethods.cs (1)
184
data = CriticalAllocHandle.
FromSize
(size);
System\ServiceModel\Channels\PeerUnsafeNativeMethods.cs (2)
358
CriticalAllocHandle result = CriticalAllocHandle.
FromSize
(size);
369
CriticalAllocHandle result = CriticalAllocHandle.
FromSize
(guidSize);
System\ServiceModel\Channels\PnrpPeerResolver.cs (10)
1256
socketAddress.lpSockAddr = CriticalAllocHandle.
FromSize
(socketAddress.iSockaddrLength);
1266
socketAddress.lpSockAddr = CriticalAllocHandle.
FromSize
(socketAddress.iSockaddrLength);
1386
blob.pBlobData = CriticalAllocHandle.
FromSize
(blobSize + Marshal.SizeOf(typeof(BlobNative)));
1403
blob.pBlobData = CriticalAllocHandle.
FromSize
(blobSize + Marshal.SizeOf(typeof(BlobNative)));
1452
CriticalAllocHandle result = CriticalAllocHandle.
FromSize
(CalculateSize(safeQuerySet));
1725
dataPtr = CriticalAllocHandle.
FromSize
(size);
1802
CriticalAllocHandle nativeQuerySetPtr = CriticalAllocHandle.
FromSize
(size);
1825
nativeQuerySetPtr = CriticalAllocHandle.
FromSize
(size);
2058
CriticalAllocHandle nativeQuerySetPtr = CriticalAllocHandle.
FromSize
(size);
2081
nativeQuerySetPtr = CriticalAllocHandle.
FromSize
(size);