27 references to
Infrastructure.Common (1)
SafeKeychainHandle.cs (1)
34: base(IntPtr.Zero, ownsHandle: true)
Microsoft.AspNetCore.Server.HttpSys (2)
NativeInterop\SafeNativeOverlapped.cs (2)
18: base(IntPtr.Zero, true) 23: base(IntPtr.Zero, true)
Microsoft.AspNetCore.Server.IIS (1)
Core\NativeSafeHandle.cs (1)
16public NativeSafeHandle(IntPtr handle) : base(IntPtr.Zero, ownsHandle: true)
Microsoft.CodeAnalysis.Workspaces (3)
Storage\SQLite\Interop\SafeSqliteBlobHandle.cs (1)
19: base(invalidHandleValue: IntPtr.Zero, ownsHandle: true)
Storage\SQLite\Interop\SafeSqliteHandle.cs (1)
18: base(invalidHandleValue: IntPtr.Zero, ownsHandle: true)
Storage\SQLite\Interop\SafeSqliteStatementHandle.cs (1)
19: base(invalidHandleValue: IntPtr.Zero, ownsHandle: true)
PresentationCore (2)
MS\Win32\UnsafeNativeMethodsTablet.cs (2)
73: base(IntPtr.Zero, ownHandle) 108: base(IntPtr.Zero, ownHandle)
ReachFramework (2)
MS\Internal\Printing\Configuration\SafeWinSpoolPrinterHandle.cs (1)
16: base(IntPtr.Zero, true)
PrintConfig\PTProvider.cs (1)
44private SafePTProviderHandle() : base(IntPtr.Zero, true)
System.Data.Odbc (4)
Common\System\Data\ProviderBase\DbBuffer.cs (2)
17protected DbBuffer(int initialSize) : base(IntPtr.Zero, true) 35protected DbBuffer(IntPtr invalidHandleValue, bool ownsHandle) : base(invalidHandleValue, ownsHandle)
System\Data\Odbc\OdbcHandle.cs (2)
17protected OdbcHandle(ODBC32.SQL_HANDLE handleType, OdbcHandle? parentHandle) : base(IntPtr.Zero, true) 78internal OdbcHandle(OdbcStatementHandle parentHandle, ODBC32.SQL_ATTR attribute) : base(IntPtr.Zero, true)
System.Private.CoreLib (2)
src\libraries\System.Private.CoreLib\src\Microsoft\Win32\SafeHandles\SafeHandleMinusOneIsInvalid.cs (1)
12protected SafeHandleMinusOneIsInvalid(bool ownsHandle) : base(new IntPtr(-1), ownsHandle)
src\libraries\System.Private.CoreLib\src\Microsoft\Win32\SafeHandles\SafeHandleZeroOrMinusOneIsInvalid.cs (1)
12protected SafeHandleZeroOrMinusOneIsInvalid(bool ownsHandle) : base(IntPtr.Zero, ownsHandle)
System.Security.Cryptography (2)
artifacts\obj\System.Security.Cryptography\Debug\net10.0\System.Security.Cryptography.notsupported.cs (2)
2736public SafeEvpPKeyHandle() : base (default(System.IntPtr), default(bool)) { throw new System.PlatformNotSupportedException(System.SR.SystemSecurityCryptography_PlatformNotSupported); } 2742public SafeEvpPKeyHandle(System.IntPtr handle, bool ownsHandle) : base (default(System.IntPtr), default(bool)) { throw new System.PlatformNotSupportedException(System.SR.SystemSecurityCryptography_PlatformNotSupported); }
System.Security.Principal.Windows (2)
artifacts\obj\System.Security.Principal.Windows\Debug\net10.0\System.Security.Principal.Windows.notsupported.cs (2)
11public SafeAccessTokenHandle() : base (default(System.IntPtr), default(bool)) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_Principal); } 12public SafeAccessTokenHandle(System.IntPtr handle) : base (default(System.IntPtr), default(bool)) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_Principal); }
System.Windows.Forms.Primitives (1)
Microsoft\Win32\SafeHandles\CoTaskMemSafeHandle.cs (1)
10internal CoTaskMemSafeHandle() : base(IntPtr.Zero, true)
UIAutomationClient (5)
MS\Internal\Automation\SafeHandles.cs (3)
20: base(IntPtr.Zero, true) 44: base(IntPtr.Zero, true) 65: base(IntPtr.Zero, true)
System\Windows\Automation\Condition.cs (1)
15: base(IntPtr.Zero, true)
System\Windows\Automation\Text\TextRange.cs (1)
22: base(IntPtr.Zero, true)