using System; using System.Runtime.ConstrainedExecution; using System.Runtime.InteropServices; using Cpp2IlInjected; namespace System.Threading { /// Provides atomic operations for variables that are shared by multiple threads. // Token: 0x02000361 RID: 865 [Token(Token = "0x2000361")] public static class Interlocked { /// Compares two 32-bit signed integers for equality and, if they are equal, replaces the first value. /// The destination, whose value is compared with and possibly replaced. /// The value that replaces the destination value if the comparison results in equality. /// The value that is compared to the value at . /// The original value in . /// The address of is a null pointer. // Token: 0x0600204C RID: 8268 RVA: 0x00015858 File Offset: 0x00013A58 [Token(Token = "0x600204C")] [Address(RVA = "0xF2CD40", Offset = "0xF2BD40", VA = "0x180F2CD40")] [ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)] public static int CompareExchange(ref int location1, int value, int comparand) { return 0; } // Token: 0x0600204D RID: 8269 RVA: 0x00015870 File Offset: 0x00013A70 [Token(Token = "0x600204D")] [Address(RVA = "0xF2CD30", Offset = "0xF2BD30", VA = "0x180F2CD30")] [ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)] internal static int CompareExchange(ref int location1, int value, int comparand, ref bool succeeded) { return 0; } /// Compares two objects for reference equality and, if they are equal, replaces the first object. /// The destination object that is compared by reference with and possibly replaced. /// The object that replaces the destination object if the reference comparison results in equality. /// The object that is compared by reference to the object at . /// The original value in . /// The address of is a null pointer. // Token: 0x0600204E RID: 8270 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x600204E")] [Address(RVA = "0xF2CD00", Offset = "0xF2BD00", VA = "0x180F2CD00")] [ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)] public static object CompareExchange(ref object location1, object value, object comparand) { return null; } /// Compares two single-precision floating point numbers for equality and, if they are equal, replaces the first value. /// The destination, whose value is compared with and possibly replaced. /// The value that replaces the destination value if the comparison results in equality. /// The value that is compared to the value at . /// The original value in . /// The address of is a null pointer. // Token: 0x0600204F RID: 8271 RVA: 0x00015888 File Offset: 0x00013A88 [Token(Token = "0x600204F")] [Address(RVA = "0xF2CD10", Offset = "0xF2BD10", VA = "0x180F2CD10")] public static float CompareExchange(ref float location1, float value, float comparand) { return 0f; } /// Decrements a specified variable and stores the result, as an atomic operation. /// The variable whose value is to be decremented. /// The decremented value. /// The address of is a null pointer. // Token: 0x06002050 RID: 8272 RVA: 0x000158A0 File Offset: 0x00013AA0 [Token(Token = "0x6002050")] [Address(RVA = "0xF2CD50", Offset = "0xF2BD50", VA = "0x180F2CD50")] [ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)] public static int Decrement(ref int location) { return 0; } /// Increments a specified variable and stores the result, as an atomic operation. /// The variable whose value is to be incremented. /// The incremented value. /// The address of is a null pointer. // Token: 0x06002051 RID: 8273 RVA: 0x000158B8 File Offset: 0x00013AB8 [Token(Token = "0x6002051")] [Address(RVA = "0xF2CDA0", Offset = "0xF2BDA0", VA = "0x180F2CDA0")] [ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)] public static int Increment(ref int location) { return 0; } /// Increments a specified variable and stores the result, as an atomic operation. /// The variable whose value is to be incremented. /// The incremented value. /// The address of is a null pointer. // Token: 0x06002052 RID: 8274 RVA: 0x000158D0 File Offset: 0x00013AD0 [Token(Token = "0x6002052")] [Address(RVA = "0xF2CDB0", Offset = "0xF2BDB0", VA = "0x180F2CDB0")] [ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)] public static long Increment(ref long location) { return 0L; } /// Sets a 32-bit signed integer to a specified value and returns the original value, as an atomic operation. /// The variable to set to the specified value. /// The value to which the parameter is set. /// The original value of . /// The address of is a null pointer. // Token: 0x06002053 RID: 8275 RVA: 0x000158E8 File Offset: 0x00013AE8 [Token(Token = "0x6002053")] [Address(RVA = "0xF2CD90", Offset = "0xF2BD90", VA = "0x180F2CD90")] [ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)] public static int Exchange(ref int location1, int value) { return 0; } /// Sets an object to a specified value and returns a reference to the original object, as an atomic operation. /// The variable to set to the specified value. /// The value to which the parameter is set. /// The original value of . /// The address of is a null pointer. // Token: 0x06002054 RID: 8276 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x6002054")] [Address(RVA = "0xF2CD60", Offset = "0xF2BD60", VA = "0x180F2CD60")] [ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)] public static object Exchange(ref object location1, object value) { return null; } /// Sets a single-precision floating point number to a specified value and returns the original value, as an atomic operation. /// The variable to set to the specified value. /// The value to which the parameter is set. /// The original value of . /// The address of is a null pointer. // Token: 0x06002055 RID: 8277 RVA: 0x00015900 File Offset: 0x00013B00 [Token(Token = "0x6002055")] [Address(RVA = "0xF2CD70", Offset = "0xF2BD70", VA = "0x180F2CD70")] public static float Exchange(ref float location1, float value) { return 0f; } /// Compares two 64-bit signed integers for equality and, if they are equal, replaces the first value. /// The destination, whose value is compared with and possibly replaced. /// The value that replaces the destination value if the comparison results in equality. /// The value that is compared to the value at . /// The original value in . /// The address of is a null pointer. // Token: 0x06002056 RID: 8278 RVA: 0x00015918 File Offset: 0x00013B18 [Token(Token = "0x6002056")] [Address(RVA = "0xF2CD00", Offset = "0xF2BD00", VA = "0x180F2CD00")] public static long CompareExchange(ref long location1, long value, long comparand) { return 0L; } /// Compares two platform-specific handles or pointers for equality and, if they are equal, replaces the first one. /// The destination , whose value is compared with the value of and possibly replaced by . /// The that replaces the destination value if the comparison results in equality. /// The that is compared to the value at . /// The original value in . /// The address of is a null pointer. // Token: 0x06002057 RID: 8279 RVA: 0x00015930 File Offset: 0x00013B30 [Token(Token = "0x6002057")] [Address(RVA = "0xF2CD00", Offset = "0xF2BD00", VA = "0x180F2CD00")] [ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)] public static IntPtr CompareExchange(ref IntPtr location1, IntPtr value, IntPtr comparand) { return 0; } /// Compares two double-precision floating point numbers for equality and, if they are equal, replaces the first value. /// The destination, whose value is compared with and possibly replaced. /// The value that replaces the destination value if the comparison results in equality. /// The value that is compared to the value at . /// The original value in . /// The address of is a null pointer. // Token: 0x06002058 RID: 8280 RVA: 0x00015948 File Offset: 0x00013B48 [Token(Token = "0x6002058")] [Address(RVA = "0xF2CD20", Offset = "0xF2BD20", VA = "0x180F2CD20")] public static double CompareExchange(ref double location1, double value, double comparand) { return 0.0; } /// Compares two instances of the specified reference type for reference equality and, if they are equal, replaces the first one. /// The destination, whose value is compared by reference with and possibly replaced. This is a reference parameter ( in C#, in Visual Basic). /// The value that replaces the destination value if the comparison by reference results in equality. /// The value that is compared by reference to the value at . /// The type to be used for , , and . This type must be a reference type. /// The original value in . /// The address of is a null pointer. // Token: 0x06002059 RID: 8281 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x6002059")] [ComVisible(false)] [ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)] public static T CompareExchange(ref T location1, T value, T comparand) where T : class { return null; } /// Sets a 64-bit signed integer to a specified value and returns the original value, as an atomic operation. /// The variable to set to the specified value. /// The value to which the parameter is set. /// The original value of . /// The address of is a null pointer. // Token: 0x0600205A RID: 8282 RVA: 0x00015960 File Offset: 0x00013B60 [Token(Token = "0x600205A")] [Address(RVA = "0xF2CD60", Offset = "0xF2BD60", VA = "0x180F2CD60")] public static long Exchange(ref long location1, long value) { return 0L; } /// Sets a platform-specific handle or pointer to a specified value and returns the original value, as an atomic operation. /// The variable to set to the specified value. /// The value to which the parameter is set. /// The original value of . /// The address of is a null pointer. // Token: 0x0600205B RID: 8283 RVA: 0x00015978 File Offset: 0x00013B78 [Token(Token = "0x600205B")] [Address(RVA = "0xF2CD60", Offset = "0xF2BD60", VA = "0x180F2CD60")] [ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)] public static IntPtr Exchange(ref IntPtr location1, IntPtr value) { return 0; } /// Sets a double-precision floating point number to a specified value and returns the original value, as an atomic operation. /// The variable to set to the specified value. /// The value to which the parameter is set. /// The original value of . /// The address of is a null pointer. // Token: 0x0600205C RID: 8284 RVA: 0x00015990 File Offset: 0x00013B90 [Token(Token = "0x600205C")] [Address(RVA = "0xF2CD80", Offset = "0xF2BD80", VA = "0x180F2CD80")] public static double Exchange(ref double location1, double value) { return 0.0; } /// Sets a variable of the specified type to a specified value and returns the original value, as an atomic operation. /// The variable to set to the specified value. This is a reference parameter ( in C#, in Visual Basic). /// The value to which the parameter is set. /// The type to be used for and . This type must be a reference type. /// The original value of . /// The address of is a null pointer. // Token: 0x0600205D RID: 8285 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x600205D")] [ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)] [ComVisible(false)] public static T Exchange(ref T location1, T value) where T : class { return null; } /// Returns a 64-bit value, loaded as an atomic operation. /// The 64-bit value to be loaded. /// The loaded value. // Token: 0x0600205E RID: 8286 RVA: 0x000159A8 File Offset: 0x00013BA8 [Token(Token = "0x600205E")] [Address(RVA = "0xF2CDC0", Offset = "0xF2BDC0", VA = "0x180F2CDC0")] public static long Read(ref long location) { return 0L; } /// Adds two 32-bit integers and replaces the first integer with the sum, as an atomic operation. /// A variable containing the first value to be added. The sum of the two values is stored in . /// The value to be added to the integer at . /// The new value stored at . /// The address of is a null pointer. // Token: 0x0600205F RID: 8287 RVA: 0x000159C0 File Offset: 0x00013BC0 [Token(Token = "0x600205F")] [Address(RVA = "0xF2CCF0", Offset = "0xF2BCF0", VA = "0x180F2CCF0")] [ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)] public static int Add(ref int location1, int value) { return 0; } /// Adds two 64-bit integers and replaces the first integer with the sum, as an atomic operation. /// A variable containing the first value to be added. The sum of the two values is stored in . /// The value to be added to the integer at . /// The new value stored at . /// The address of is a null pointer. // Token: 0x06002060 RID: 8288 RVA: 0x000159D8 File Offset: 0x00013BD8 [Token(Token = "0x6002060")] [Address(RVA = "0xF2CCE0", Offset = "0xF2BCE0", VA = "0x180F2CCE0")] [ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)] public static long Add(ref long location1, long value) { return 0L; } } }