8 references to cbElements
System.Private.Windows.Core (5)
Windows\Win32\System\Com\SAFEARRAY.cs (4)
44
if (hardwiredType == FADF_BSTR &&
cbElements
== sizeof(char*))
48
else if (hardwiredType == FADF_UNKNOWN &&
cbElements
== sizeof(IntPtr))
52
else if (hardwiredType == FADF_DISPATCH &&
cbElements
== sizeof(IntPtr))
56
else if (hardwiredType == FADF_VARIANT &&
cbElements
== sizeof(VARIANT))
Windows\Win32\System\Variant\VARIANT.cs (1)
632
if (psa->
cbElements
!= GetElementSizeForVarType(vt))
System.Windows.Forms.Primitives.Tests (3)
Interop\Oleaut32\SAFEARRAYTests.cs (3)
67
Assert.Equal(expectedCbElements, psa->
cbElements
);
103
Assert.Equal((uint)sizeof(int), psa->
cbElements
);
192
Assert.Equal(expectedCbElements, psa->
cbElements
);