Files
Apr2020-Cpp2Il-Dump/mscorlib/Microsoft/Win32/SafeHandles/SafeWaitHandle.cs
T
niko 8fc35183db a
2026-04-11 22:19:20 +02:00

33 lines
1.3 KiB
C#

using System;
using System.Runtime.ConstrainedExecution;
using Cpp2IlInjected;
namespace Microsoft.Win32.SafeHandles
{
/// <summary>Represents a wrapper class for a wait handle.</summary>
// Token: 0x02000073 RID: 115
[Token(Token = "0x2000073")]
public sealed class SafeWaitHandle : SafeHandleZeroOrMinusOneIsInvalid
{
/// <summary>Initializes a new instance of the <see cref="T:Microsoft.Win32.SafeHandles.SafeWaitHandle" /> class.</summary>
/// <param name="existingHandle">An <see cref="T:System.IntPtr" /> object that represents the pre-existing handle to use.</param>
/// <param name="ownsHandle">
/// <see langword="true" /> to reliably release the handle during the finalization phase; <see langword="false" /> to prevent reliable release (not recommended).</param>
// Token: 0x06000308 RID: 776 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000308")]
[Address(RVA = "0x2AB5380", Offset = "0x2AB4180", VA = "0x182AB5380")]
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.MayFail)]
public SafeWaitHandle(IntPtr existingHandle, bool ownsHandle)
{
}
// Token: 0x06000309 RID: 777 RVA: 0x000033C0 File Offset: 0x000015C0
[Token(Token = "0x6000309")]
[Address(RVA = "0x2AB5540", Offset = "0x2AB4340", VA = "0x182AB5540", Slot = "7")]
protected override bool ReleaseHandle()
{
return default(bool);
}
}
}