208 lines
7.3 KiB
C#
208 lines
7.3 KiB
C#
using System;
|
|
using System.Diagnostics;
|
|
using System.Reflection;
|
|
using System.Runtime.CompilerServices;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Linq.Expressions
|
|
{
|
|
/// <summary>Represents an expression that has a unary operator.</summary>
|
|
// Token: 0x020000D2 RID: 210
|
|
[Token(Token = "0x20000D2")]
|
|
[DebuggerTypeProxy(typeof(Expression.UnaryExpressionProxy))]
|
|
public sealed class UnaryExpression : Expression
|
|
{
|
|
// Token: 0x06000620 RID: 1568 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000620")]
|
|
[Address(RVA = "0x10DF660", Offset = "0x10DE660", VA = "0x1810DF660")]
|
|
internal UnaryExpression(ExpressionType nodeType, Expression expression, Type type, MethodInfo method)
|
|
{
|
|
}
|
|
|
|
/// <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.UnaryExpression.Type" /> that represents the static type of the expression.</returns>
|
|
// Token: 0x17000146 RID: 326
|
|
// (get) Token: 0x06000621 RID: 1569 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x17000146")]
|
|
public sealed override Type Type
|
|
{
|
|
[Token(Token = "0x6000621")]
|
|
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530", Slot = "5")]
|
|
[CompilerGenerated]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Returns the node type of this <see cref="T:System.Linq.Expressions.Expression" />.</summary>
|
|
/// <returns>The <see cref="T:System.Linq.Expressions.ExpressionType" /> that represents this expression.</returns>
|
|
// Token: 0x17000147 RID: 327
|
|
// (get) Token: 0x06000622 RID: 1570 RVA: 0x00003300 File Offset: 0x00001500
|
|
[Token(Token = "0x17000147")]
|
|
public sealed override ExpressionType NodeType
|
|
{
|
|
[Token(Token = "0x6000622")]
|
|
[Address(RVA = "0x411540", Offset = "0x410540", VA = "0x180411540", Slot = "4")]
|
|
[CompilerGenerated]
|
|
get
|
|
{
|
|
return ExpressionType.Add;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets the operand of the unary operation.</summary>
|
|
/// <returns>An <see cref="T:System.Linq.Expressions.Expression" /> that represents the operand of the unary operation.</returns>
|
|
// Token: 0x17000148 RID: 328
|
|
// (get) Token: 0x06000623 RID: 1571 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x17000148")]
|
|
public Expression Operand
|
|
{
|
|
[Token(Token = "0x6000623")]
|
|
[Address(RVA = "0x4157C0", Offset = "0x4147C0", VA = "0x1804157C0")]
|
|
[CompilerGenerated]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets the implementing method for the unary operation.</summary>
|
|
/// <returns>The <see cref="T:System.Reflection.MethodInfo" /> that represents the implementing method.</returns>
|
|
// Token: 0x17000149 RID: 329
|
|
// (get) Token: 0x06000624 RID: 1572 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x17000149")]
|
|
public MethodInfo Method
|
|
{
|
|
[Token(Token = "0x6000624")]
|
|
[Address(RVA = "0x4157D0", Offset = "0x4147D0", VA = "0x1804157D0")]
|
|
[CompilerGenerated]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets a value that indicates whether the expression tree node represents a lifted call to an operator.</summary>
|
|
/// <returns>
|
|
/// <see langword="true" /> if the node represents a lifted call; otherwise, <see langword="false" />.</returns>
|
|
// Token: 0x1700014A RID: 330
|
|
// (get) Token: 0x06000625 RID: 1573 RVA: 0x00003318 File Offset: 0x00001518
|
|
[Token(Token = "0x1700014A")]
|
|
public bool IsLifted
|
|
{
|
|
[Token(Token = "0x6000625")]
|
|
[Address(RVA = "0x10DF760", Offset = "0x10DE760", VA = "0x1810DF760")]
|
|
get
|
|
{
|
|
return default(bool);
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets a value that indicates whether the expression tree node represents a lifted call to an operator whose return type is lifted to a nullable type.</summary>
|
|
/// <returns>
|
|
/// <see langword="true" /> if the operator's return type is lifted to a nullable type; otherwise, <see langword="false" />.</returns>
|
|
// Token: 0x1700014B RID: 331
|
|
// (get) Token: 0x06000626 RID: 1574 RVA: 0x00003330 File Offset: 0x00001530
|
|
[Token(Token = "0x1700014B")]
|
|
public bool IsLiftedToNull
|
|
{
|
|
[Token(Token = "0x6000626")]
|
|
[Address(RVA = "0x10DF720", Offset = "0x10DE720", VA = "0x1810DF720")]
|
|
get
|
|
{
|
|
return default(bool);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000627 RID: 1575 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000627")]
|
|
[Address(RVA = "0x10DE3C0", Offset = "0x10DD3C0", VA = "0x1810DE3C0", Slot = "9")]
|
|
protected internal override Expression Accept(ExpressionVisitor visitor)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
/// <summary>Gets a value that indicates whether the expression tree node can be reduced.</summary>
|
|
/// <returns>True if a node can be reduced, otherwise false.</returns>
|
|
// Token: 0x1700014C RID: 332
|
|
// (get) Token: 0x06000628 RID: 1576 RVA: 0x00003348 File Offset: 0x00001548
|
|
[Token(Token = "0x1700014C")]
|
|
public override bool CanReduce
|
|
{
|
|
[Token(Token = "0x6000628")]
|
|
[Address(RVA = "0x10DF6F0", Offset = "0x10DE6F0", VA = "0x1810DF6F0", Slot = "6")]
|
|
get
|
|
{
|
|
return default(bool);
|
|
}
|
|
}
|
|
|
|
/// <summary>Reduces the expression node to a simpler expression. </summary>
|
|
/// <returns>The reduced expression.</returns>
|
|
// Token: 0x06000629 RID: 1577 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000629")]
|
|
[Address(RVA = "0x10DF510", Offset = "0x10DE510", VA = "0x1810DF510", Slot = "7")]
|
|
public override Expression Reduce()
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x1700014D RID: 333
|
|
// (get) Token: 0x0600062A RID: 1578 RVA: 0x00003360 File Offset: 0x00001560
|
|
[Token(Token = "0x1700014D")]
|
|
private bool IsPrefix
|
|
{
|
|
[Token(Token = "0x600062A")]
|
|
[Address(RVA = "0x10DF990", Offset = "0x10DE990", VA = "0x1810DF990")]
|
|
get
|
|
{
|
|
return default(bool);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600062B RID: 1579 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x600062B")]
|
|
[Address(RVA = "0x10DE3F0", Offset = "0x10DD3F0", VA = "0x1810DE3F0")]
|
|
private UnaryExpression FunctionalOp(Expression operand)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x0600062C RID: 1580 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x600062C")]
|
|
[Address(RVA = "0x10DF1F0", Offset = "0x10DE1F0", VA = "0x1810DF1F0")]
|
|
private Expression ReduceVariable()
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x0600062D RID: 1581 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x600062D")]
|
|
[Address(RVA = "0x10DEBF0", Offset = "0x10DDBF0", VA = "0x1810DEBF0")]
|
|
private Expression ReduceMember()
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x0600062E RID: 1582 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x600062E")]
|
|
[Address(RVA = "0x10DE510", Offset = "0x10DD510", VA = "0x1810DE510")]
|
|
private Expression ReduceIndex()
|
|
{
|
|
return null;
|
|
}
|
|
|
|
/// <summary>Creates a new expression that is like this one, but using the supplied children. If all of the children are the same, it will return this expression.</summary>
|
|
/// <param name="operand">The <see cref="P:System.Linq.Expressions.UnaryExpression.Operand" /> property of the result.</param>
|
|
/// <returns>This expression if no children are changed or an expression with the updated children.</returns>
|
|
// Token: 0x0600062F RID: 1583 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x600062F")]
|
|
[Address(RVA = "0x10DF590", Offset = "0x10DE590", VA = "0x1810DF590")]
|
|
public UnaryExpression Update(Expression operand)
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
}
|