2 writes to cbData
System.ServiceModel (2)
System\ServiceModel\Channels\PeerUnsafeNativeCryptMethods.cs (2)
169
cbData
= bytes.Length;
185
cbData
= size;
6 references to cbData
System.ServiceModel (6)
System\ServiceModel\Channels\PeerUnsafeNativeCryptMethods.cs (6)
177
Fx.Assert(
cbData
>= 0, "Size must be greater than or equal to zero");
178
return
cbData
;
201
return new InteropHelper(
cbData
, (IntPtr)data);
206
if (
cbData
== 0)
209
byte[] bytes = DiagnosticUtility.Utility.AllocateByteArray(
cbData
);
210
Marshal.Copy((IntPtr)data, bytes, 0,
cbData
);