1 write to pElems
System.Windows.Forms.Primitives.Tests (1)
Interop\Ole32\CALPOLESTRTests.cs (1)
38pElems = (PWSTR*)Marshal.AllocCoTaskMem(IntPtr.Size * values.Length)
4 references to pElems
System.Windows.Forms.Primitives (2)
Windows\Win32\System\Ole\CALPOLESTR.cs (2)
10if (cElems == 0 || pElems is null) 18values[i] = pElems[i].ToStringAndCoTaskMemFree();
System.Windows.Forms.Primitives.Tests (2)
Interop\Ole32\CALPOLESTRTests.cs (2)
41allocations?.Add((IntPtr)ca.pElems); 43Span<IntPtr> elements = new(ca.pElems, values.Length);