Files
Aug2021-Cpp2IL-Dump/System.Core/System/Linq/Expressions/ConstantExpression.cs
T
2026-04-10 22:50:51 +02:00

79 lines
3.0 KiB
C#

using System;
using System.Diagnostics;
using System.Runtime.CompilerServices;
using Cpp2IlInjected;
namespace System.Linq.Expressions
{
/// <summary>Represents an expression that has a constant value.</summary>
// Token: 0x02000082 RID: 130
[Token(Token = "0x2000082")]
[DebuggerTypeProxy(typeof(Expression.ConstantExpressionProxy))]
public class ConstantExpression : Expression
{
// Token: 0x0600036E RID: 878 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600036E")]
[Address(RVA = "0x53C0D0", Offset = "0x53AED0", VA = "0x18053C0D0")]
internal ConstantExpression(object value)
{
}
/// <summary>Gets the static type of the expression that this <see cref="T:System.Linq.Expressions.Expression" /> represents.</summary>
/// <returns>The <see cref="P:System.Linq.Expressions.ConstantExpression.Type" /> that represents the static type of the expression.</returns>
// Token: 0x17000077 RID: 119
// (get) Token: 0x0600036F RID: 879 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x17000077")]
public override Type Type
{
[Token(Token = "0x600036F")]
[Address(RVA = "0x53C140", Offset = "0x53AF40", VA = "0x18053C140", Slot = "5")]
get
{
return null;
}
}
/// <summary>Returns the node type of this Expression. Extension nodes should return <see cref="F:System.Linq.Expressions.ExpressionType.Extension" /> when overriding this method.</summary>
/// <returns>The <see cref="T:System.Linq.Expressions.ExpressionType" /> of the expression.</returns>
// Token: 0x17000078 RID: 120
// (get) Token: 0x06000370 RID: 880 RVA: 0x00002B38 File Offset: 0x00000D38
[Token(Token = "0x17000078")]
public sealed override ExpressionType NodeType
{
[Token(Token = "0x6000370")]
[Address(RVA = "0x46AA40", Offset = "0x469840", VA = "0x18046AA40", Slot = "4")]
get
{
return ExpressionType.Add;
}
}
/// <summary>Gets the value of the constant expression.</summary>
/// <returns>An <see cref="T:System.Object" /> equal to the value of the represented expression.</returns>
// Token: 0x17000079 RID: 121
// (get) Token: 0x06000371 RID: 881 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x17000079")]
public object Value
{
[Token(Token = "0x6000371")]
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20")]
[CompilerGenerated]
get
{
return null;
}
}
/// <summary>Dispatches to the specific visit method for this node type. For example, <see cref="T:System.Linq.Expressions.MethodCallExpression" /> calls the <see cref="M:System.Linq.Expressions.ExpressionVisitor.VisitMethodCall(System.Linq.Expressions.MethodCallExpression)" />.</summary>
/// <param name="visitor">The visitor to visit this node with.</param>
/// <returns>The result of visiting this node.</returns>
// Token: 0x06000372 RID: 882 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000372")]
[Address(RVA = "0x53C0A0", Offset = "0x53AEA0", VA = "0x18053C0A0", Slot = "9")]
protected internal override Expression Accept(ExpressionVisitor visitor)
{
return null;
}
}
}