18 writes to cElements
System.Private.Windows.Core (2)
Windows\Win32\System\Com\SAFEARRAY.cs (1)
31cElements = 0,
Windows\Win32\System\Com\SafeArrayScope.cs (1)
123cElements = size,
System.Windows.Forms.Primitives (1)
Windows\Win32\System\Com\ComSafeArrayScope.cs (1)
37cElements = size,
System.Windows.Forms.Primitives.Tests (15)
Interop\Oleaut32\SAFEARRAYTests.cs (10)
56cElements = 10, 90cElements = 10, 176cElements = 10, 181cElements = 20, 217cElements = 10, 264cElements = 10, 312cElements = 10, 318cElements = 20, 366cElements = 10, 372cElements = 20,
Interop\Oleaut32\VARIANTTests.cs (5)
5394cElements = 0, 5416cElements = (uint)result.Length, 5449cElements = (uint)multiDimArray.GetLength(0), 5455cElements = (uint)multiDimArray.GetLength(1), 5740cElements = (uint)result.Length,
9 references to cElements
System.Private.Windows.Core (4)
Windows\Win32\System\Com\SAFEARRAY.cs (1)
88dimensionSize *= bounds[boundIndex--].cElements;
Windows\Win32\System\Com\SafeArrayScope.cs (1)
229public int Length => (int)Value->GetBounds().cElements;
Windows\Win32\System\Variant\VARIANT.cs (2)
674return Array.CreateInstance(elementType, (int)psa->GetBounds().cElements); 684lengths[counter] = (int)psa->GetBounds(i).cElements;
System.Windows.Forms.Primitives (1)
System\Windows\Forms\Automation\UiaTextRange.cs (1)
338|| result.data.parray->GetBounds().cElements != 4)
System.Windows.Forms.Primitives.Tests (4)
Interop\Oleaut32\SAFEARRAYTests.cs (4)
70Assert.Equal(10u, psa->rgsabound.AsSpan(1)[0].cElements); 106Assert.Equal(10u, psa->rgsabound.AsSpan(1)[0].cElements); 195Assert.Equal(20u, psa->rgsabound.AsSpan(1)[0].cElements); 197Assert.Equal(10u, ((SAFEARRAYBOUND*)&psa->rgsabound)[1].cElements);