using System;
using System.Diagnostics;
using Cpp2IlInjected;
namespace System
{
/// Represents a value type that can be assigned .
/// The underlying value type of the generic type.
// Token: 0x0200018F RID: 399
[Token(Token = "0x200018F")]
[DebuggerStepThrough]
[Serializable]
public struct Nullable where T : struct
{
/// Initializes a new instance of the structure to the specified value.
/// A value type.
// Token: 0x06000FB7 RID: 4023 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000FB7")]
[Address(RVA = "0x30FC8E0", Offset = "0x30FB8E0", VA = "0x1830FC8E0")]
public Nullable(T value)
{
}
/// Gets a value indicating whether the current object has a valid value of its underlying type.
///
/// if the current object has a value; if the current object has no value.
// Token: 0x1700017D RID: 381
// (get) Token: 0x06000FB8 RID: 4024 RVA: 0x0000CCC0 File Offset: 0x0000AEC0
[Token(Token = "0x1700017D")]
public bool HasValue
{
[Token(Token = "0x6000FB8")]
[Address(RVA = "0x844BB0", Offset = "0x843BB0", VA = "0x180844BB0")]
get
{
return default(bool);
}
}
/// Gets the value of the current object if it has been assigned a valid underlying value.
/// The value of the current object if the property is . An exception is thrown if the property is .
/// The property is .
// Token: 0x1700017E RID: 382
// (get) Token: 0x06000FB9 RID: 4025 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x1700017E")]
public T Value
{
[Token(Token = "0x6000FB9")]
[Address(RVA = "0x30FE0F0", Offset = "0x30FD0F0", VA = "0x1830FE0F0")]
get
{
return null;
}
}
/// Indicates whether the current object is equal to a specified object.
/// An object.
///
/// if the parameter is equal to the current object; otherwise, .
/// This table describes how equality is defined for the compared values:
/// Return Value
///
/// Description
///
/// The property is , and the parameter is . That is, two null values are equal by definition.
///
/// -or-
///
/// The property is , and the value returned by the property is equal to the parameter.
///
/// The property for the current structure is , and the parameter is .
///
/// -or-
///
/// The property for the current structure is , and the parameter is not .
///
/// -or-
///
/// The property for the current structure is , and the value returned by the property is not equal to the parameter.
// Token: 0x06000FBA RID: 4026 RVA: 0x0000CCD8 File Offset: 0x0000AED8
[Token(Token = "0x6000FBA")]
[Address(RVA = "0x2CDB260", Offset = "0x2CDA260", VA = "0x182CDB260", Slot = "0")]
public override bool Equals(object other)
{
return default(bool);
}
// Token: 0x06000FBB RID: 4027 RVA: 0x0000CCF0 File Offset: 0x0000AEF0
[Token(Token = "0x6000FBB")]
[Address(RVA = "0x2CDB900", Offset = "0x2CDA900", VA = "0x182CDB900")]
private bool Equals(T? other)
{
return default(bool);
}
/// Retrieves the hash code of the object returned by the property.
/// The hash code of the object returned by the property if the property is , or zero if the property is .
// Token: 0x06000FBC RID: 4028 RVA: 0x0000CD08 File Offset: 0x0000AF08
[Token(Token = "0x6000FBC")]
[Address(RVA = "0x2CDBDD0", Offset = "0x2CDADD0", VA = "0x182CDBDD0", Slot = "2")]
public override int GetHashCode()
{
return 0;
}
/// Retrieves the value of the current object, or the default value of the underlying type.
/// The value of the property if the property is ; otherwise, the default value of the underlying type.
// Token: 0x06000FBD RID: 4029 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6000FBD")]
[Address(RVA = "0x5C1530", Offset = "0x5C0530", VA = "0x1805C1530")]
public T GetValueOrDefault()
{
return null;
}
/// Retrieves the value of the current object, or the specified default value.
/// A value to return if the property is .
/// The value of the property if the property is ; otherwise, the parameter.
// Token: 0x06000FBE RID: 4030 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6000FBE")]
[Address(RVA = "0x30F96A0", Offset = "0x30F86A0", VA = "0x1830F96A0")]
public T GetValueOrDefault(T defaultValue)
{
return null;
}
/// Returns the text representation of the value of the current object.
/// The text representation of the value of the current object if the property is , or an empty string ("") if the property is .
// Token: 0x06000FBF RID: 4031 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6000FBF")]
[Address(RVA = "0x2CDC950", Offset = "0x2CDB950", VA = "0x182CDC950", Slot = "3")]
public override string ToString()
{
return null;
}
// Token: 0x06000FC0 RID: 4032 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6000FC0")]
[Address(RVA = "0x2CDA520", Offset = "0x2CD9520", VA = "0x182CDA520")]
private static object Box(T? o)
{
return null;
}
// Token: 0x06000FC1 RID: 4033 RVA: 0x0000CD20 File Offset: 0x0000AF20
[Token(Token = "0x6000FC1")]
[Address(RVA = "0x2CDD400", Offset = "0x2CDC400", VA = "0x182CDD400")]
private static T? Unbox(object o)
{
return null;
}
// Token: 0x0400064B RID: 1611
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x400064B")]
internal T value;
// Token: 0x0400064C RID: 1612
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x400064C")]
internal bool has_value;
}
}