42 types derived from SafeHandleZeroOrMinusOneIsInvalid
Microsoft.AspNetCore.Cryptography.Internal (4)
SafeHandles\BCryptHandle.cs (1)
8internal abstract unsafe class BCryptHandle : SafeHandleZeroOrMinusOneIsInvalid
SafeHandles\LocalAllocHandle.cs (1)
12internal class LocalAllocHandle : SafeHandleZeroOrMinusOneIsInvalid
SafeHandles\NCryptDescriptorHandle.cs (1)
9internal sealed unsafe class NCryptDescriptorHandle : SafeHandleZeroOrMinusOneIsInvalid
SafeHandles\SafeLibraryHandle.cs (1)
16internal sealed unsafe partial class SafeLibraryHandle : SafeHandleZeroOrMinusOneIsInvalid
Microsoft.AspNetCore.Server.HttpSys (1)
NativeInterop\SafeLibraryHandle.cs (1)
13internal sealed unsafe partial class SafeLibraryHandle : SafeHandleZeroOrMinusOneIsInvalid
Microsoft.Build.Framework (1)
NativeMethods.cs (1)
265internal class SafeProcessHandle : SafeHandleZeroOrMinusOneIsInvalid
Microsoft.Extensions.Diagnostics.ResourceMonitoring (1)
Windows\Interop\JobObjectInfo.cs (1)
182public sealed class SafeJobHandle : SafeHandleZeroOrMinusOneIsInvalid
Microsoft.ML.LightGbm (2)
WrappedLightGbmInterface.cs (2)
70public sealed class SafeDataSetHandle : SafeHandleZeroOrMinusOneIsInvalid 165public sealed class SafeBoosterHandle : SafeHandleZeroOrMinusOneIsInvalid
Microsoft.ML.Transforms (1)
Text\LdaSingleBox.cs (1)
18public sealed class SafeLdaEngineHandle : SafeHandleZeroOrMinusOneIsInvalid
Microsoft.VisualBasic.Forms (1)
Microsoft\VisualBasic\Helpers\NativeTypes.vb (1)
32Inherits SafeHandleZeroOrMinusOneIsInvalid
Microsoft.Win32.Registry (1)
artifacts\obj\Microsoft.Win32.Registry\Debug\net10.0\Microsoft.Win32.Registry.notsupported.cs (1)
117public sealed partial class SafeRegistryHandle : Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid
PresentationCore (4)
System\Windows\Media\ColorContextHelper.cs (1)
15internal class SafeProfileHandle : SafeHandleZeroOrMinusOneIsInvalid
System\Windows\Media\ColorTransformHelper.cs (1)
14internal class ColorTransformHandle : SafeHandleZeroOrMinusOneIsInvalid
System\Windows\Media\SafeMILHandle.cs (1)
16internal class SafeMILHandle : SafeHandleZeroOrMinusOneIsInvalid
System\Windows\Media\SafeReversePInvokeHandle.cs (1)
17internal class SafeReversePInvokeWrapper : SafeHandleZeroOrMinusOneIsInvalid
PresentationFramework (5)
System\Windows\Standard\NativeMethods.cs (5)
1355internal sealed class SafeFindHandle : SafeHandleZeroOrMinusOneIsInvalid 1365internal sealed class SafeDC : SafeHandleZeroOrMinusOneIsInvalid 1509internal sealed class SafeHBITMAP : SafeHandleZeroOrMinusOneIsInvalid 1519internal sealed class SafeGdiplusStartupToken : SafeHandleZeroOrMinusOneIsInvalid 1547internal sealed class SafeConnectionPointCookie : SafeHandleZeroOrMinusOneIsInvalid
ReachFramework (1)
MS\Internal\Printing\Configuration\SafeModuleHandle.cs (1)
18internal class SafeModuleHandle : Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid
System.Diagnostics.Process (1)
artifacts\obj\System.Diagnostics.Process\Debug\net10.0\System.Diagnostics.Process.notsupported.cs (1)
9public sealed partial class SafeProcessHandle : Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid
System.IO.MemoryMappedFiles (1)
artifacts\obj\System.IO.MemoryMappedFiles\Debug\net10.0\System.IO.MemoryMappedFiles.notsupported.cs (1)
9public sealed partial class SafeMemoryMappedFileHandle : Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid
System.IO.Pipes (1)
artifacts\obj\System.IO.Pipes\Debug\net10.0\System.IO.Pipes.notsupported.cs (1)
9public sealed partial class SafePipeHandle : Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid
System.Net.Primitives (1)
artifacts\obj\System.Net.Primitives\Debug\net10.0\System.Net.Primitives.notsupported.cs (1)
593public abstract partial class ChannelBinding : Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid
System.Private.CoreLib (6)
src\libraries\System.Private.CoreLib\src\Microsoft\Win32\SafeHandles\SafeFileHandle.cs (1)
8public sealed partial class SafeFileHandle : SafeHandleZeroOrMinusOneIsInvalid
src\libraries\System.Private.CoreLib\src\Microsoft\Win32\SafeHandles\SafeFileHandle.ThreadPoolValueTaskSource.cs (1)
16public sealed partial class SafeFileHandle : SafeHandleZeroOrMinusOneIsInvalid
src\libraries\System.Private.CoreLib\src\Microsoft\Win32\SafeHandles\SafeFileHandle.Unix.cs (1)
12public sealed partial class SafeFileHandle : SafeHandleZeroOrMinusOneIsInvalid
src\libraries\System.Private.CoreLib\src\Microsoft\Win32\SafeHandles\SafeWaitHandle.cs (1)
8public sealed partial class SafeWaitHandle : SafeHandleZeroOrMinusOneIsInvalid
src\libraries\System.Private.CoreLib\src\Microsoft\Win32\SafeHandles\SafeWaitHandle.Windows.cs (1)
6public sealed partial class SafeWaitHandle : SafeHandleZeroOrMinusOneIsInvalid
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\SafeBuffer.cs (1)
72public abstract unsafe class SafeBuffer : SafeHandleZeroOrMinusOneIsInvalid
System.Security.Cryptography (2)
artifacts\obj\System.Security.Cryptography\Debug\net10.0\System.Security.Cryptography.notsupported.cs (2)
9public abstract partial class SafeNCryptHandle : Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid 38public sealed partial class SafeX509ChainHandle : Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid
UIAutomationClient (1)
MS\Internal\Automation\SafeProcessHandle.cs (1)
10internal sealed class SafeProcessHandle : SafeHandleZeroOrMinusOneIsInvalid
UIAutomationClientSideProviders (4)
MS\Internal\AutomationProxies\CommonRemoteMemoryBlock.cs (1)
23internal class RemoteMemoryBlock : SafeHandleZeroOrMinusOneIsInvalid
MS\Internal\AutomationProxies\SafeCoTaskMem.cs (1)
9internal sealed class SafeCoTaskMem : SafeHandleZeroOrMinusOneIsInvalid
MS\Internal\AutomationProxies\SafeProcessHandle.cs (1)
10internal sealed class SafeProcessHandle : SafeHandleZeroOrMinusOneIsInvalid
MS\Internal\AutomationProxies\SafeThemeHandle.cs (1)
12internal sealed class SafeThemeHandle : SafeHandleZeroOrMinusOneIsInvalid
UIAutomationTypes (2)
src\Microsoft.DotNet.Wpf\src\Shared\MS\Win32\NativeMethodsOther.cs (2)
207internal abstract class WpfSafeHandle : SafeHandleZeroOrMinusOneIsInvalid 548 internal sealed class SafeLocalMemHandle : SafeHandleZeroOrMinusOneIsInvalid
WindowsFormsIntegration (1)
MS\Win32\DCSafeHandle.cs (1)
8internal sealed class DCSafeHandle : SafeHandleZeroOrMinusOneIsInvalid
1 instantiation of SafeHandleZeroOrMinusOneIsInvalid
Microsoft.VisualBasic.Forms (1)
Microsoft\VisualBasic\Helpers\NativeTypes.vb (1)
35MyBase.New(True)
4 references to SafeHandleZeroOrMinusOneIsInvalid
Microsoft.VisualBasic.Forms (1)
Microsoft\VisualBasic\Helpers\NativeTypes.vb (1)
28''' Inherits <see cref="SafeHandleZeroOrMinusOneIsInvalid"/>, with additional InitialSetHandle method.
mscorlib (1)
src\libraries\shims\mscorlib\ref\mscorlib.cs (1)
25[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid))]
netstandard (1)
netstandard.cs (1)
9[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid))]
System.Runtime (1)
artifacts\obj\System.Runtime\Debug\net10.0\System.Runtime.Forwards.cs (1)
7[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid))]