using System;
using System.Runtime.InteropServices;
using System.Text;
using Cpp2IlInjected;
namespace System
{
/// Represents the version number of an assembly, operating system, or the common language runtime. This class cannot be inherited.
// Token: 0x0200015A RID: 346
[Token(Token = "0x200015A")]
[ComVisible(true)]
[Serializable]
public sealed class Version : ICloneable, IComparable, IComparable, IEquatable
{
/// Initializes a new instance of the class with the specified major, minor, build, and revision numbers.
/// The major version number.
/// The minor version number.
/// The build number.
/// The revision number.
///
/// , , , or is less than zero.
// Token: 0x06000E59 RID: 3673 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000E59")]
[Address(RVA = "0x328B5D0", Offset = "0x328A3D0", VA = "0x18328B5D0")]
public Version(int major, int minor, int build, int revision)
{
}
/// Initializes a new instance of the class using the specified major, minor, and build values.
/// The major version number.
/// The minor version number.
/// The build number.
///
/// , , or is less than zero.
// Token: 0x06000E5A RID: 3674 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000E5A")]
[Address(RVA = "0x328B230", Offset = "0x328A030", VA = "0x18328B230")]
public Version(int major, int minor, int build)
{
}
/// Initializes a new instance of the class using the specified major and minor values.
/// The major version number.
/// The minor version number.
///
/// or is less than zero.
// Token: 0x06000E5B RID: 3675 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000E5B")]
[Address(RVA = "0x328B4E0", Offset = "0x328A2E0", VA = "0x18328B4E0")]
public Version(int major, int minor)
{
}
/// Initializes a new instance of the class using the specified string.
/// A string containing the major, minor, build, and revision numbers, where each number is delimited with a period character ('.').
///
/// has fewer than two components or more than four components.
///
/// is .
/// A major, minor, build, or revision component is less than zero.
/// At least one component of does not parse to an integer.
/// At least one component of represents a number greater than .
// Token: 0x06000E5C RID: 3676 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000E5C")]
[Address(RVA = "0x328B380", Offset = "0x328A180", VA = "0x18328B380")]
public Version(string version)
{
}
/// Initializes a new instance of the class.
// Token: 0x06000E5D RID: 3677 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000E5D")]
[Address(RVA = "0x328B200", Offset = "0x328A000", VA = "0x18328B200")]
public Version()
{
}
/// Gets the value of the major component of the version number for the current object.
/// The major version number.
// Token: 0x17000151 RID: 337
// (get) Token: 0x06000E5E RID: 3678 RVA: 0x0000C288 File Offset: 0x0000A488
[Token(Token = "0x17000151")]
public int Major
{
[Token(Token = "0x6000E5E")]
[Address(RVA = "0x3FA560", Offset = "0x3F9360", VA = "0x1803FA560")]
get
{
return 0;
}
}
/// Gets the value of the minor component of the version number for the current object.
/// The minor version number.
// Token: 0x17000152 RID: 338
// (get) Token: 0x06000E5F RID: 3679 RVA: 0x0000C2A0 File Offset: 0x0000A4A0
[Token(Token = "0x17000152")]
public int Minor
{
[Token(Token = "0x6000E5F")]
[Address(RVA = "0x495080", Offset = "0x493E80", VA = "0x180495080")]
get
{
return 0;
}
}
/// Gets the value of the build component of the version number for the current object.
/// The build number, or -1 if the build number is undefined.
// Token: 0x17000153 RID: 339
// (get) Token: 0x06000E60 RID: 3680 RVA: 0x0000C2B8 File Offset: 0x0000A4B8
[Token(Token = "0x17000153")]
public int Build
{
[Token(Token = "0x6000E60")]
[Address(RVA = "0x40B720", Offset = "0x40A520", VA = "0x18040B720")]
get
{
return 0;
}
}
/// Gets the value of the revision component of the version number for the current object.
/// The revision number, or -1 if the revision number is undefined.
// Token: 0x17000154 RID: 340
// (get) Token: 0x06000E61 RID: 3681 RVA: 0x0000C2D0 File Offset: 0x0000A4D0
[Token(Token = "0x17000154")]
public int Revision
{
[Token(Token = "0x6000E61")]
[Address(RVA = "0x41F5B0", Offset = "0x41E3B0", VA = "0x18041F5B0")]
get
{
return 0;
}
}
/// Returns a new object whose value is the same as the current object.
/// A new whose values are a copy of the current object.
// Token: 0x06000E62 RID: 3682 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6000E62")]
[Address(RVA = "0x3289F30", Offset = "0x3288D30", VA = "0x183289F30", Slot = "4")]
public object Clone()
{
return null;
}
/// Compares the current object to a specified object and returns an indication of their relative values.
/// An object to compare, or .
/// A signed integer that indicates the relative values of the two objects, as shown in the following table.
/// Return value
///
/// Meaning
///
/// Less than zero
///
/// The current object is a version before .
///
/// Zero
///
/// The current object is the same version as .
///
/// Greater than zero
///
/// The current object is a version subsequent to .
///
/// -or-
///
/// is .
///
/// is not of type .
// Token: 0x06000E63 RID: 3683 RVA: 0x0000C2E8 File Offset: 0x0000A4E8
[Token(Token = "0x6000E63")]
[Address(RVA = "0x3289FB0", Offset = "0x3288DB0", VA = "0x183289FB0", Slot = "5")]
public int CompareTo(object version)
{
return 0;
}
/// Compares the current object to a specified object and returns an indication of their relative values.
/// A object to compare to the current object, or .
/// A signed integer that indicates the relative values of the two objects, as shown in the following table.
/// Return value
///
/// Meaning
///
/// Less than zero
///
/// The current object is a version before .
///
/// Zero
///
/// The current object is the same version as .
///
/// Greater than zero
///
/// The current object is a version subsequent to .
///
/// -or-
///
/// is .
// Token: 0x06000E64 RID: 3684 RVA: 0x0000C300 File Offset: 0x0000A500
[Token(Token = "0x6000E64")]
[Address(RVA = "0x328A110", Offset = "0x3288F10", VA = "0x18328A110", Slot = "6")]
public int CompareTo(Version value)
{
return 0;
}
/// Returns a value indicating whether the current object is equal to a specified object.
/// An object to compare with the current object, or .
///
/// if the current object and are both objects, and every component of the current object matches the corresponding component of ; otherwise, .
// Token: 0x06000E65 RID: 3685 RVA: 0x0000C318 File Offset: 0x0000A518
[Token(Token = "0x6000E65")]
[Address(RVA = "0x328A2B0", Offset = "0x32890B0", VA = "0x18328A2B0", Slot = "0")]
public override bool Equals(object obj)
{
return default(bool);
}
/// Returns a value indicating whether the current object and a specified object represent the same value.
/// A object to compare to the current object, or .
///
/// if every component of the current object matches the corresponding component of the parameter; otherwise, .
// Token: 0x06000E66 RID: 3686 RVA: 0x0000C330 File Offset: 0x0000A530
[Token(Token = "0x6000E66")]
[Address(RVA = "0x328A210", Offset = "0x3289010", VA = "0x18328A210", Slot = "7")]
public bool Equals(Version obj)
{
return default(bool);
}
/// Returns a hash code for the current object.
/// A 32-bit signed integer hash code.
// Token: 0x06000E67 RID: 3687 RVA: 0x0000C348 File Offset: 0x0000A548
[Token(Token = "0x6000E67")]
[Address(RVA = "0x328A3B0", Offset = "0x32891B0", VA = "0x18328A3B0", Slot = "2")]
public override int GetHashCode()
{
return 0;
}
/// Converts the value of the current object to its equivalent representation.
/// The representation of the values of the major, minor, build, and revision components of the current object, as depicted in the following format. Each component is separated by a period character ('.'). Square brackets ('[' and ']') indicate a component that will not appear in the return value if the component is not defined:
/// major.minor[.build[.revision]]
/// For example, if you create a object using the constructor Version(1,1), the returned string is "1.1". If you create a object using the constructor Version(1,3,4,2), the returned string is "1.3.4.2".
// Token: 0x06000E68 RID: 3688 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6000E68")]
[Address(RVA = "0x328A910", Offset = "0x3289710", VA = "0x18328A910", Slot = "3")]
public override string ToString()
{
return null;
}
/// Converts the value of the current object to its equivalent representation. A specified count indicates the number of components to return.
/// The number of components to return. The ranges from 0 to 4.
/// The representation of the values of the major, minor, build, and revision components of the current object, each separated by a period character ('.'). The parameter determines how many components are returned.
/// fieldCount
///
/// Return Value
///
/// 0
///
/// An empty string ("").
///
/// 1
///
/// major
///
/// 2
///
/// major.minor
///
/// 3
///
/// major.minor.build
///
/// 4
///
/// major.minor.build.revision
///
///
///
/// For example, if you create object using the constructor Version(1,3,5), ToString(2) returns "1.3" and ToString(4) throws an exception.
///
/// is less than 0, or more than 4.
/// -or-
/// is more than the number of components defined in the current object.
// Token: 0x06000E69 RID: 3689 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6000E69")]
[Address(RVA = "0x328A4C0", Offset = "0x32892C0", VA = "0x18328A4C0")]
public string ToString(int fieldCount)
{
return null;
}
// Token: 0x06000E6A RID: 3690 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000E6A")]
[Address(RVA = "0x3289EA0", Offset = "0x3288CA0", VA = "0x183289EA0")]
private static void AppendPositiveNumber(int num, StringBuilder sb)
{
}
/// Converts the string representation of a version number to an equivalent object.
/// A string that contains a version number to convert.
/// An object that is equivalent to the version number specified in the parameter.
///
/// is .
///
/// has fewer than two or more than four version components.
/// At least one component in is less than zero.
/// At least one component in is not an integer.
/// At least one component in represents a number that is greater than .
// Token: 0x06000E6B RID: 3691 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6000E6B")]
[Address(RVA = "0x328A3E0", Offset = "0x32891E0", VA = "0x18328A3E0")]
public static Version Parse(string input)
{
return null;
}
// Token: 0x06000E6C RID: 3692 RVA: 0x0000C360 File Offset: 0x0000A560
[Token(Token = "0x6000E6C")]
[Address(RVA = "0x328AB20", Offset = "0x3289920", VA = "0x18328AB20")]
private static bool TryParseVersion(string version, ref Version.VersionResult result)
{
return default(bool);
}
// Token: 0x06000E6D RID: 3693 RVA: 0x0000C378 File Offset: 0x0000A578
[Token(Token = "0x6000E6D")]
[Address(RVA = "0x328A9F0", Offset = "0x32897F0", VA = "0x18328A9F0")]
private static bool TryParseComponent(string component, string componentName, ref Version.VersionResult result, out int parsedComponent)
{
return default(bool);
}
/// Determines whether two specified objects are equal.
/// The first object.
/// The second object.
///
/// if equals ; otherwise, .
// Token: 0x06000E6E RID: 3694 RVA: 0x0000C390 File Offset: 0x0000A590
[Token(Token = "0x6000E6E")]
[Address(RVA = "0x328B770", Offset = "0x328A570", VA = "0x18328B770")]
public static bool operator ==(Version v1, Version v2)
{
return default(bool);
}
/// Determines whether two specified objects are not equal.
/// The first object.
/// The second object.
///
/// if does not equal ; otherwise, .
// Token: 0x06000E6F RID: 3695 RVA: 0x0000C3A8 File Offset: 0x0000A5A8
[Token(Token = "0x6000E6F")]
[Address(RVA = "0x328B9B0", Offset = "0x328A7B0", VA = "0x18328B9B0")]
public static bool operator !=(Version v1, Version v2)
{
return default(bool);
}
/// Determines whether the first specified object is less than the second specified object.
/// The first object.
/// The second object.
///
/// if is less than ; otherwise, .
///
/// is .
// Token: 0x06000E70 RID: 3696 RVA: 0x0000C3C0 File Offset: 0x0000A5C0
[Token(Token = "0x6000E70")]
[Address(RVA = "0x328BAA0", Offset = "0x328A8A0", VA = "0x18328BAA0")]
public static bool operator <(Version v1, Version v2)
{
return default(bool);
}
/// Determines whether the first specified object is less than or equal to the second object.
/// The first object.
/// The second object.
///
/// if is less than or equal to ; otherwise, .
///
/// is .
// Token: 0x06000E71 RID: 3697 RVA: 0x0000C3D8 File Offset: 0x0000A5D8
[Token(Token = "0x6000E71")]
[Address(RVA = "0x328BA20", Offset = "0x328A820", VA = "0x18328BA20")]
public static bool operator <=(Version v1, Version v2)
{
return default(bool);
}
/// Determines whether the first specified object is greater than the second specified object.
/// The first object.
/// The second object.
///
/// if is greater than ; otherwise, .
// Token: 0x06000E72 RID: 3698 RVA: 0x0000C3F0 File Offset: 0x0000A5F0
[Token(Token = "0x6000E72")]
[Address(RVA = "0x328B8F0", Offset = "0x328A6F0", VA = "0x18328B8F0")]
public static bool operator >(Version v1, Version v2)
{
return default(bool);
}
/// Determines whether the first specified object is greater than or equal to the second specified object.
/// The first object.
/// The second object.
///
/// if is greater than or equal to ; otherwise, .
// Token: 0x06000E73 RID: 3699 RVA: 0x0000C408 File Offset: 0x0000A608
[Token(Token = "0x6000E73")]
[Address(RVA = "0x328B830", Offset = "0x328A630", VA = "0x18328B830")]
public static bool operator >=(Version v1, Version v2)
{
return default(bool);
}
// Token: 0x04000586 RID: 1414
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
[Token(Token = "0x4000586")]
private int _Major;
// Token: 0x04000587 RID: 1415
[global::Cpp2IlInjected.FieldOffset(Offset = "0x14")]
[Token(Token = "0x4000587")]
private int _Minor;
// Token: 0x04000588 RID: 1416
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
[Token(Token = "0x4000588")]
private int _Build;
// Token: 0x04000589 RID: 1417
[global::Cpp2IlInjected.FieldOffset(Offset = "0x1C")]
[Token(Token = "0x4000589")]
private int _Revision;
// Token: 0x0400058A RID: 1418
[Token(Token = "0x400058A")]
private static readonly char[] SeparatorsArray;
// Token: 0x0400058B RID: 1419
[Token(Token = "0x400058B")]
private const int ZERO_CHAR_VALUE = 48;
// Token: 0x0200015B RID: 347
[Token(Token = "0x200015B")]
internal enum ParseFailureKind
{
// Token: 0x0400058D RID: 1421
[Token(Token = "0x400058D")]
ArgumentNullException,
// Token: 0x0400058E RID: 1422
[Token(Token = "0x400058E")]
ArgumentException,
// Token: 0x0400058F RID: 1423
[Token(Token = "0x400058F")]
ArgumentOutOfRangeException,
// Token: 0x04000590 RID: 1424
[Token(Token = "0x4000590")]
FormatException
}
// Token: 0x0200015C RID: 348
[Token(Token = "0x200015C")]
internal struct VersionResult
{
// Token: 0x06000E75 RID: 3701 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000E75")]
[Address(RVA = "0x3289D80", Offset = "0x3288B80", VA = "0x183289D80")]
internal void Init(string argumentName, bool canThrow)
{
}
// Token: 0x06000E76 RID: 3702 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000E76")]
[Address(RVA = "0x3289E00", Offset = "0x3288C00", VA = "0x183289E00")]
internal void SetFailure(Version.ParseFailureKind failure)
{
}
// Token: 0x06000E77 RID: 3703 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000E77")]
[Address(RVA = "0x3289D90", Offset = "0x3288B90", VA = "0x183289D90")]
internal void SetFailure(Version.ParseFailureKind failure, string argument)
{
}
// Token: 0x06000E78 RID: 3704 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6000E78")]
[Address(RVA = "0x3289BF0", Offset = "0x32889F0", VA = "0x183289BF0")]
internal Exception GetVersionParseException()
{
return null;
}
// Token: 0x04000591 RID: 1425
[global::Cpp2IlInjected.FieldOffset(Offset = "0x0")]
[Token(Token = "0x4000591")]
internal Version m_parsedVersion;
// Token: 0x04000592 RID: 1426
[global::Cpp2IlInjected.FieldOffset(Offset = "0x8")]
[Token(Token = "0x4000592")]
internal Version.ParseFailureKind m_failure;
// Token: 0x04000593 RID: 1427
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
[Token(Token = "0x4000593")]
internal string m_exceptionArgument;
// Token: 0x04000594 RID: 1428
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
[Token(Token = "0x4000594")]
internal string m_argumentName;
// Token: 0x04000595 RID: 1429
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
[Token(Token = "0x4000595")]
internal bool m_canThrow;
}
}
}