27 references to FreeBSTR
Microsoft.AspNetCore.Server.IIS (3)
Core\IISConfigurationData.cs (3)
55Marshal.FreeBSTR(native.pwzFullApplicationPath); 59Marshal.FreeBSTR(native.pwzVirtualApplicationPath); 63Marshal.FreeBSTR(native.pwzBindings);
Microsoft.VisualStudio.LanguageServices (1)
Snippets\AbstractSnippetInfoService.cs (1)
238Marshal.FreeBSTR(ptr);
PresentationFramework (13)
MS\Internal\WindowsRuntime\Generated\WinRT\Interop\ExceptionErrorInfo.cs (12)
138Marshal.FreeBSTR(source); 156Marshal.FreeBSTR(description); 174Marshal.FreeBSTR(helpFile); 192Marshal.FreeBSTR(helpFileContent); 231Marshal.FreeBSTR(__retval); 245Marshal.FreeBSTR(__retval); 259Marshal.FreeBSTR(__retval); 273Marshal.FreeBSTR(__retval); 426Marshal.FreeBSTR(_description); 427Marshal.FreeBSTR(_restrictedDescription); 428Marshal.FreeBSTR(_capabilitySid); 442Marshal.FreeBSTR(__retval);
System\Windows\Documents\InputScopeAttribute.cs (1)
104Marshal.FreeBSTR(Marshal.ReadIntPtr(ppbstrPhrases, offset));
System.Private.CoreLib (7)
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\Marshal.cs (1)
1172FreeBSTR(s);
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\Marshalling\BStrStringMarshaller.cs (1)
44=> Marshal.FreeBSTR((IntPtr)unmanaged);
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\Marshalling\ComVariant.cs (2)
150Marshal.FreeBSTR(_typeUnion._unionTypes._bstr); 215Marshal.FreeBSTR(str);
src\libraries\System.Private.CoreLib\src\System\Security\SecureString.cs (1)
335Marshal.FreeBSTR(ptr);
src\System\StubHelpers.cs (2)
333Marshal.FreeBSTR(pNative); 441Marshal.FreeBSTR(pNative);
System.Private.Windows.Core (1)
Windows\Win32\Foundation\BSTR.cs (1)
21Marshal.FreeBSTR((nint)Value);
System.Runtime.InteropServices (2)
System\Runtime\InteropServices\Marshalling\ComVariantMarshaller.cs (2)
306Marshal.FreeBSTR(bstrStorage); 313Marshal.FreeBSTR(bstrStorage);