121 lines
4.9 KiB
C#
121 lines
4.9 KiB
C#
using System;
|
|
using System.Diagnostics;
|
|
using System.Runtime.CompilerServices;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Linq.Expressions
|
|
{
|
|
/// <summary>Represents an infinite loop. It can be exited with "break".</summary>
|
|
// Token: 0x020000A9 RID: 169
|
|
[Token(Token = "0x20000A9")]
|
|
[DebuggerTypeProxy(typeof(Expression.LoopExpressionProxy))]
|
|
public sealed class LoopExpression : Expression
|
|
{
|
|
// Token: 0x0600051B RID: 1307 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x600051B")]
|
|
[Address(RVA = "0xE61840", Offset = "0xE60840", VA = "0x180E61840")]
|
|
internal LoopExpression(Expression body, LabelTarget @break, LabelTarget @continue)
|
|
{
|
|
}
|
|
|
|
/// <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.LoopExpression.Type" /> that represents the static type of the expression.</returns>
|
|
// Token: 0x170000D0 RID: 208
|
|
// (get) Token: 0x0600051C RID: 1308 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x170000D0")]
|
|
public sealed override Type Type
|
|
{
|
|
[Token(Token = "0x600051C")]
|
|
[Address(RVA = "0xE618E0", Offset = "0xE608E0", VA = "0x180E618E0", 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: 0x170000D1 RID: 209
|
|
// (get) Token: 0x0600051D RID: 1309 RVA: 0x000030A8 File Offset: 0x000012A8
|
|
[Token(Token = "0x170000D1")]
|
|
public sealed override ExpressionType NodeType
|
|
{
|
|
[Token(Token = "0x600051D")]
|
|
[Address(RVA = "0xE618D0", Offset = "0xE608D0", VA = "0x180E618D0", Slot = "4")]
|
|
get
|
|
{
|
|
return ExpressionType.Add;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets the <see cref="T:System.Linq.Expressions.Expression" /> that is the body of the loop.</summary>
|
|
/// <returns>The <see cref="T:System.Linq.Expressions.Expression" /> that is the body of the loop.</returns>
|
|
// Token: 0x170000D2 RID: 210
|
|
// (get) Token: 0x0600051E RID: 1310 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x170000D2")]
|
|
public Expression Body
|
|
{
|
|
[Token(Token = "0x600051E")]
|
|
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530")]
|
|
[CompilerGenerated]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets the <see cref="T:System.Linq.Expressions.LabelTarget" /> that is used by the loop body as a break statement target.</summary>
|
|
/// <returns>The <see cref="T:System.Linq.Expressions.LabelTarget" /> that is used by the loop body as a break statement target.</returns>
|
|
// Token: 0x170000D3 RID: 211
|
|
// (get) Token: 0x0600051F RID: 1311 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x170000D3")]
|
|
public LabelTarget BreakLabel
|
|
{
|
|
[Token(Token = "0x600051F")]
|
|
[Address(RVA = "0x4157B0", Offset = "0x4147B0", VA = "0x1804157B0")]
|
|
[CompilerGenerated]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets the <see cref="T:System.Linq.Expressions.LabelTarget" /> that is used by the loop body as a continue statement target.</summary>
|
|
/// <returns>The <see cref="T:System.Linq.Expressions.LabelTarget" /> that is used by the loop body as a continue statement target.</returns>
|
|
// Token: 0x170000D4 RID: 212
|
|
// (get) Token: 0x06000520 RID: 1312 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x170000D4")]
|
|
public LabelTarget ContinueLabel
|
|
{
|
|
[Token(Token = "0x6000520")]
|
|
[Address(RVA = "0x4157C0", Offset = "0x4147C0", VA = "0x1804157C0")]
|
|
[CompilerGenerated]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000521 RID: 1313 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000521")]
|
|
[Address(RVA = "0xE61770", Offset = "0xE60770", VA = "0x180E61770", Slot = "9")]
|
|
protected internal override Expression Accept(ExpressionVisitor visitor)
|
|
{
|
|
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="breakLabel">The <see cref="P:System.Linq.Expressions.LoopExpression.BreakLabel" /> property of the result.</param>
|
|
/// <param name="continueLabel">The <see cref="P:System.Linq.Expressions.LoopExpression.ContinueLabel" /> property of the result.</param>
|
|
/// <param name="body">The <see cref="P:System.Linq.Expressions.LoopExpression.Body" /> property of the result.</param>
|
|
/// <returns>This expression if no children are changed or an expression with the updated children.</returns>
|
|
// Token: 0x06000522 RID: 1314 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000522")]
|
|
[Address(RVA = "0xE617A0", Offset = "0xE607A0", VA = "0x180E617A0")]
|
|
public LoopExpression Update(LabelTarget breakLabel, LabelTarget continueLabel, Expression body)
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
}
|