Files
27Aug2021-Cpp2IL-Dump/System.Core/System/Linq/Expressions/ConstantExpression.cs
T
niko c12fbe3fc6 m
2026-04-12 16:51:38 +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: 0x02000087 RID: 135
[Token(Token = "0x2000087")]
[DebuggerTypeProxy(typeof(Expression.ConstantExpressionProxy))]
public class ConstantExpression : Expression
{
// Token: 0x060003CD RID: 973 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60003CD")]
[Address(RVA = "0x85F8B0", Offset = "0x85E8B0", VA = "0x18085F8B0")]
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: 0x1700008F RID: 143
// (get) Token: 0x060003CE RID: 974 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x1700008F")]
public override Type Type
{
[Token(Token = "0x60003CE")]
[Address(RVA = "0x85F920", Offset = "0x85E920", VA = "0x18085F920", 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: 0x17000090 RID: 144
// (get) Token: 0x060003CF RID: 975 RVA: 0x00002D60 File Offset: 0x00000F60
[Token(Token = "0x17000090")]
public sealed override ExpressionType NodeType
{
[Token(Token = "0x60003CF")]
[Address(RVA = "0x68E020", Offset = "0x68D020", VA = "0x18068E020", 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: 0x17000091 RID: 145
// (get) Token: 0x060003D0 RID: 976 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x17000091")]
public object Value
{
[Token(Token = "0x60003D0")]
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530")]
[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: 0x060003D1 RID: 977 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60003D1")]
[Address(RVA = "0x85F880", Offset = "0x85E880", VA = "0x18085F880", Slot = "9")]
protected internal override Expression Accept(ExpressionVisitor visitor)
{
return null;
}
}
}