116 references to FreeCoTaskMem
mscorlib (23)
system\deployment\cmsinterop.cs (12)
271Marshal.FreeCoTaskMem(StringIds); 276Marshal.FreeCoTaskMem(IntegerIds); 323Marshal.FreeCoTaskMem(StringIds); 328Marshal.FreeCoTaskMem(IntegerIds); 375Marshal.FreeCoTaskMem(ResourceTypeIdInt); 380Marshal.FreeCoTaskMem(ResourceTypeIdString); 432Marshal.FreeCoTaskMem(TransformMetadata); 437Marshal.FreeCoTaskMem(DigestValue); 503Marshal.FreeCoTaskMem(HashValue); 780Marshal.FreeCoTaskMem(HashValue); 1148Marshal.FreeCoTaskMem(ManifestHash); 1153Marshal.FreeCoTaskMem(MvidValue);
system\deployment\isolationinterop.cs (6)
22Marshal.FreeCoTaskMem(BlobData); 1313Marshal.FreeCoTaskMem(ip); 1613Marshal.FreeCoTaskMem(rgItems); 2482Marshal.FreeCoTaskMem(op.Data.DataPtr); 2752Marshal.FreeCoTaskMem(p); 2798Marshal.FreeCoTaskMem(p);
system\runtime\interopservices\marshal.cs (2)
2704FreeCoTaskMem(s); 2711FreeCoTaskMem(s);
system\security\cryptography\x509certificates\x509utils.cs (1)
173Marshal.FreeCoTaskMem(rawKey);
system\security\securestring.cs (2)
576Marshal.FreeCoTaskMem(ptr); 639Marshal.FreeCoTaskMem(ptr);
PresentationCore (13)
Core\CSharp\MS\Internal\Ink\GestureRecognizer\NativeRecognizer.cs (3)
679Marshal.FreeCoTaskMem(pd.pPacketProperties); 685Marshal.FreeCoTaskMem(pd.pguidButtons); 691Marshal.FreeCoTaskMem(packets);
Core\CSharp\System\Windows\DataObject.cs (1)
2885Marshal.FreeCoTaskMem(formatetc[formatetcIndex].ptd);
Core\CSharp\System\Windows\Input\InputProcessorProfiles.cs (1)
199Marshal.FreeCoTaskMem(langids);
Core\CSharp\System\Windows\Media\Imaging\BitmapEncoder.cs (1)
65Marshal.FreeCoTaskMem(pstrName);
Core\CSharp\System\Windows\Media\Imaging\BitmapMetadataEnumerator.cs (1)
115Marshal.FreeCoTaskMem(ppStr);
Core\CSharp\System\Windows\Media\Imaging\PropVariant.cs (6)
198Marshal.FreeCoTaskMem(destPtr); 259Marshal.FreeCoTaskMem(pString); 262Marshal.FreeCoTaskMem(destPtr); 520Marshal.FreeCoTaskMem(Marshal.ReadIntPtr(strPtr, (int) (i*sizeIntPtr))); 524Marshal.FreeCoTaskMem(ca.pElems); 531Marshal.FreeCoTaskMem(pwszVal);
PresentationFramework (2)
src\Framework\MS\Internal\IO\Packaging\indexingfiltermarshaler.cs (2)
257Marshal.FreeCoTaskMem(pszVal); 262Marshal.FreeCoTaskMem(pNative);
System.Core (5)
Microsoft\Win32\SafeHandles\BCryptSafeHandles.cs (1)
70Marshal.FreeCoTaskMem(m_hashObject);
System\Diagnostics\Eventing\Reader\CoTaskMemSafeHandle.cs (1)
50Marshal.FreeCoTaskMem(handle);
System\Security\Cryptography\BCryptHashAlgorithm.cs (1)
158Marshal.FreeCoTaskMem(hashObjectBuffer);
System\Security\Cryptography\CapiNative.cs (1)
689Marshal.FreeCoTaskMem(buffer);
System\Security\Cryptography\NCryptNative.cs (1)
1094Marshal.FreeCoTaskMem(hashAlgorithmString);
System.Drawing (8)
commonui\System\Drawing\Printing\PrinterSettings.cs (8)
250Marshal.FreeCoTaskMem(buffer); 261Marshal.FreeCoTaskMem(buffer); 1216Marshal.FreeCoTaskMem(namesBuffer); 1217Marshal.FreeCoTaskMem(kindsBuffer); 1218Marshal.FreeCoTaskMem(dimensionsBuffer); 1254Marshal.FreeCoTaskMem(namesBuffer); 1255Marshal.FreeCoTaskMem(kindsBuffer); 1292Marshal.FreeCoTaskMem(buffer);
System.Web (8)
Configuration\MULTI_QI.cs (2)
46Marshal.FreeCoTaskMem(piid); 79Marshal.FreeCoTaskMem(piid);
Configuration\RemoteWebConfigurationHost.cs (6)
541Marshal.FreeCoTaskMem(captr); 545Marshal.FreeCoTaskMem(ciptr); 548Marshal.FreeCoTaskMem(guidbuf); 600Marshal.FreeCoTaskMem(captr); 604Marshal.FreeCoTaskMem(ciptr); 607Marshal.FreeCoTaskMem(guidbuf);
System.Web.Services (2)
System\Web\Services\Protocols\RemoteDebugger.cs (2)
203Marshal.FreeCoTaskMem(bufferPtr); 308Marshal.FreeCoTaskMem(bufferPtr);
System.Windows.Forms (43)
parent\parent\parent\public\Internal\NDP\Inc\CmsInterop.cs (16)
275Marshal.FreeCoTaskMem(StringIds); 280Marshal.FreeCoTaskMem(IntegerIds); 327Marshal.FreeCoTaskMem(StringIds); 332Marshal.FreeCoTaskMem(IntegerIds); 379Marshal.FreeCoTaskMem(ResourceTypeIdInt); 384Marshal.FreeCoTaskMem(ResourceTypeIdString); 436Marshal.FreeCoTaskMem(TransformMetadata); 441Marshal.FreeCoTaskMem(DigestValue); 507Marshal.FreeCoTaskMem(HashValue); 784Marshal.FreeCoTaskMem(HashValue); 1152Marshal.FreeCoTaskMem(ManifestHash); 1157Marshal.FreeCoTaskMem(MvidValue); 1373Marshal.FreeCoTaskMem(SecurityDescriptor); 1378Marshal.FreeCoTaskMem(Values); 1383Marshal.FreeCoTaskMem(Keys); 1440Marshal.FreeCoTaskMem(SecurityDescriptor);
parent\parent\parent\public\Internal\NDP\Inc\IsolationInterop.cs (7)
27Marshal.FreeCoTaskMem(BlobData); 1328Marshal.FreeCoTaskMem(ip); 1628Marshal.FreeCoTaskMem(rgItems); 2498Marshal.FreeCoTaskMem(op.Data.DataPtr); 2768Marshal.FreeCoTaskMem(p); 2790Marshal.FreeCoTaskMem(p); 2814Marshal.FreeCoTaskMem(p);
winforms\Managed\System\WinForms\AxHost.cs (2)
3295Marshal.FreeCoTaskMem(uuids.pElems); 3391Marshal.FreeCoTaskMem(uuids.pElems);
winforms\Managed\System\WinForms\ColorDialog.cs (1)
303Marshal.FreeCoTaskMem(custColorPtr);
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\BaseCAMarshaler.cs (1)
135Marshal.FreeCoTaskMem(caArrayAddress);
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2ComponentEditor.cs (2)
42Marshal.FreeCoTaskMem(uuids.pElems); 97Marshal.FreeCoTaskMem(uuids.pElems);
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2IManagedPerPropertyBrowsingHandler.cs (2)
218Marshal.FreeCoTaskMem(ptr); 251Marshal.FreeCoTaskMem(ptr);
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2PropertyDescriptor.cs (1)
1323Marshal.FreeCoTaskMem(mem);
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\OleStrCAMarshaler.cs (1)
46Marshal.FreeCoTaskMem(addr);
winforms\Managed\System\WinForms\ControlPaint.cs (1)
208Marshal.FreeCoTaskMem(bitmapInfo);
winforms\Managed\System\WinForms\FileDialog.cs (2)
769Marshal.FreeCoTaskMem(ofn.lpstrFile); 1035Marshal.FreeCoTaskMem(ofn.lpstrFile);
winforms\Managed\System\WinForms\FontDialog.cs (1)
626Marshal.FreeCoTaskMem(logFontPtr);
winforms\Managed\System\WinForms\Help.cs (1)
180Marshal.FreeCoTaskMem(pszText);
winforms\Managed\System\WinForms\HtmlDocument.cs (1)
834Marshal.FreeCoTaskMem(mem);
winforms\Managed\System\WinForms\RichTextBox.cs (2)
2215if (txrg.lpstrText != IntPtr.Zero) Marshal.FreeCoTaskMem(txrg.lpstrText); 3387Marshal.FreeCoTaskMem(unmanagedBuffer);
winforms\Managed\System\WinForms\ToolStripMenuItem.cs (1)
756Marshal.FreeCoTaskMem(allocatedStringBuffer);
winforms\Managed\System\WinForms\UnsafeNativeMethods.cs (1)
1694Marshal.FreeCoTaskMem(pBytes);
System.Workflow.ComponentModel (3)
AuthoringOM\Compiler\XomlCompilerHelpers.cs (3)
863Marshal.FreeCoTaskMem(typeRefNamePtr); 910Marshal.FreeCoTaskMem(assemblyName); 916Marshal.FreeCoTaskMem(assemblyMetadata.locale);
System.Workflow.Runtime (3)
DebugEngine\DebugController.cs (3)
167Marshal.FreeCoTaskMem(securityDescriptorPtr); 201Marshal.FreeCoTaskMem(securityDescriptorPtr); 219Marshal.FreeCoTaskMem(securityDescriptorPtr);
UIAutomationClient (2)
MS\Internal\Automation\UiaCoreAPI.cs (1)
179Marshal.FreeCoTaskMem(_pProperties);
System\Windows\Automation\Condition.cs (1)
45Marshal.FreeCoTaskMem(handle);
UIAutomationClientsideProviders (1)
MS\Internal\AutomationProxies\SafeCoTaskMem.cs (1)
52Marshal.FreeCoTaskMem(handle);
WindowsBase (3)
Base\MS\Internal\IO\Packaging\StorageBasedPackageProperties.cs (2)
738Marshal.FreeCoTaskMem(pszVal); 774Marshal.FreeCoTaskMem(pszVal);
Shared\MS\Win32\UnsafeNativeMethodsCLR.cs (1)
4098Marshal.FreeCoTaskMem(mem);