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