243 lines
8.1 KiB
C#
243 lines
8.1 KiB
C#
using System;
|
|
using System.Diagnostics;
|
|
using System.Diagnostics.CodeAnalysis;
|
|
using System.Runtime.CompilerServices;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Linq.Expressions
|
|
{
|
|
/// <summary>Describes a lambda expression. This captures a block of code that is similar to a .NET method body.</summary>
|
|
// Token: 0x02000094 RID: 148
|
|
[Token(Token = "0x2000094")]
|
|
[DebuggerTypeProxy(typeof(Expression.LambdaExpressionProxy))]
|
|
public abstract class LambdaExpression : Expression, IParameterProvider
|
|
{
|
|
// Token: 0x06000461 RID: 1121 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000461")]
|
|
[Address(RVA = "0x579800", Offset = "0x578600", VA = "0x180579800")]
|
|
internal LambdaExpression(Expression body)
|
|
{
|
|
}
|
|
|
|
/// <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.LambdaExpression.Type" /> that represents the static type of the expression.</returns>
|
|
// Token: 0x1700009B RID: 155
|
|
// (get) Token: 0x06000462 RID: 1122 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x1700009B")]
|
|
public sealed override Type Type
|
|
{
|
|
[Token(Token = "0x6000462")]
|
|
[Address(RVA = "0x53B2E0", Offset = "0x53A0E0", VA = "0x18053B2E0", Slot = "5")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
// Token: 0x1700009C RID: 156
|
|
// (get) Token: 0x06000463 RID: 1123
|
|
[Token(Token = "0x1700009C")]
|
|
internal abstract Type TypeCore
|
|
{
|
|
[Token(Token = "0x6000463")]
|
|
[Address(Slot = "12")]
|
|
get;
|
|
}
|
|
|
|
// Token: 0x1700009D RID: 157
|
|
// (get) Token: 0x06000464 RID: 1124
|
|
[Token(Token = "0x1700009D")]
|
|
internal abstract Type PublicType
|
|
{
|
|
[Token(Token = "0x6000464")]
|
|
[Address(Slot = "13")]
|
|
get;
|
|
}
|
|
|
|
/// <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: 0x1700009E RID: 158
|
|
// (get) Token: 0x06000465 RID: 1125 RVA: 0x00002CE8 File Offset: 0x00000EE8
|
|
[Token(Token = "0x1700009E")]
|
|
public sealed override ExpressionType NodeType
|
|
{
|
|
[Token(Token = "0x6000465")]
|
|
[Address(RVA = "0x4B5B30", Offset = "0x4B4930", VA = "0x1804B5B30", Slot = "4")]
|
|
get
|
|
{
|
|
return ExpressionType.Add;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets the name of the lambda expression.</summary>
|
|
/// <returns>The name of the lambda expression.</returns>
|
|
// Token: 0x1700009F RID: 159
|
|
// (get) Token: 0x06000466 RID: 1126 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x1700009F")]
|
|
public string Name
|
|
{
|
|
[Token(Token = "0x6000466")]
|
|
[Address(RVA = "0x579870", Offset = "0x578670", VA = "0x180579870")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
// Token: 0x170000A0 RID: 160
|
|
// (get) Token: 0x06000467 RID: 1127 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x170000A0")]
|
|
internal virtual string NameCore
|
|
{
|
|
[Token(Token = "0x6000467")]
|
|
[Address(RVA = "0x43E630", Offset = "0x43D430", VA = "0x18043E630", Slot = "14")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets the body of the lambda expression.</summary>
|
|
/// <returns>An <see cref="T:System.Linq.Expressions.Expression" /> that represents the body of the lambda expression.</returns>
|
|
// Token: 0x170000A1 RID: 161
|
|
// (get) Token: 0x06000468 RID: 1128 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x170000A1")]
|
|
public Expression Body
|
|
{
|
|
[Token(Token = "0x6000468")]
|
|
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets the return type of the lambda expression.</summary>
|
|
/// <returns>The <see cref="T:System.Type" /> object representing the type of the lambda expression.</returns>
|
|
// Token: 0x170000A2 RID: 162
|
|
// (get) Token: 0x06000469 RID: 1129 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x170000A2")]
|
|
public Type ReturnType
|
|
{
|
|
[Token(Token = "0x6000469")]
|
|
[Address(RVA = "0x5798D0", Offset = "0x5786D0", VA = "0x1805798D0")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets the value that indicates if the lambda expression will be compiled with the tail call optimization.</summary>
|
|
/// <returns>True if the lambda expression will be compiled with the tail call optimization, otherwise false.</returns>
|
|
// Token: 0x170000A3 RID: 163
|
|
// (get) Token: 0x0600046A RID: 1130 RVA: 0x00002D00 File Offset: 0x00000F00
|
|
[Token(Token = "0x170000A3")]
|
|
public bool TailCall
|
|
{
|
|
[Token(Token = "0x600046A")]
|
|
[Address(RVA = "0x579920", Offset = "0x578720", VA = "0x180579920")]
|
|
get
|
|
{
|
|
return default(bool);
|
|
}
|
|
}
|
|
|
|
// Token: 0x170000A4 RID: 164
|
|
// (get) Token: 0x0600046B RID: 1131 RVA: 0x00002D18 File Offset: 0x00000F18
|
|
[Token(Token = "0x170000A4")]
|
|
internal virtual bool TailCallCore
|
|
{
|
|
[Token(Token = "0x600046B")]
|
|
[Address(RVA = "0x403930", Offset = "0x402730", VA = "0x180403930", Slot = "15")]
|
|
get
|
|
{
|
|
return default(bool);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600046C RID: 1132 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x600046C")]
|
|
[Address(RVA = "0x4A5380", Offset = "0x4A4180", VA = "0x1804A5380", Slot = "10")]
|
|
[ExcludeFromCodeCoverage]
|
|
ParameterExpression IParameterProvider.GetParameter(int index)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x0600046D RID: 1133 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x600046D")]
|
|
[Address(RVA = "0x5797C0", Offset = "0x5785C0", VA = "0x1805797C0", Slot = "16")]
|
|
[ExcludeFromCodeCoverage]
|
|
internal virtual ParameterExpression GetParameter(int index)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x170000A5 RID: 165
|
|
// (get) Token: 0x0600046E RID: 1134 RVA: 0x00002D30 File Offset: 0x00000F30
|
|
[Token(Token = "0x170000A5")]
|
|
[ExcludeFromCodeCoverage]
|
|
int IParameterProvider.ParameterCount
|
|
{
|
|
[Token(Token = "0x600046E")]
|
|
[Address(RVA = "0x4B2C40", Offset = "0x4B1A40", VA = "0x1804B2C40", Slot = "11")]
|
|
get
|
|
{
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
// Token: 0x170000A6 RID: 166
|
|
// (get) Token: 0x0600046F RID: 1135 RVA: 0x00002D48 File Offset: 0x00000F48
|
|
[Token(Token = "0x170000A6")]
|
|
[ExcludeFromCodeCoverage]
|
|
internal virtual int ParameterCount
|
|
{
|
|
[Token(Token = "0x600046F")]
|
|
[Address(RVA = "0x579890", Offset = "0x578690", VA = "0x180579890", Slot = "17")]
|
|
get
|
|
{
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
/// <summary>Produces a delegate that represents the lambda expression.</summary>
|
|
/// <returns>A <see cref="T:System.Delegate" /> that contains the compiled version of the lambda expression.</returns>
|
|
// Token: 0x06000470 RID: 1136 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000470")]
|
|
[Address(RVA = "0x579670", Offset = "0x578470", VA = "0x180579670")]
|
|
public Delegate Compile()
|
|
{
|
|
return null;
|
|
}
|
|
|
|
/// <summary>Produces an interpreted or compiled delegate that represents the lambda expression. </summary>
|
|
/// <param name="preferInterpretation">
|
|
/// <see langword="true" /> to indicate that the expression should be compiled to an interpreted form, if it's available; otherwise, <see langword="false" />.</param>
|
|
/// <returns>A delegate that represents the compiled lambda expression described by the <see cref="T:System.Linq.Expressions.LambdaExpression" /> object.</returns>
|
|
// Token: 0x06000471 RID: 1137 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000471")]
|
|
[Address(RVA = "0x579670", Offset = "0x578470", VA = "0x180579670")]
|
|
public Delegate Compile(bool preferInterpretation)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
/// <summary>Produces a delegate that represents the lambda expression.</summary>
|
|
/// <param name="debugInfoGenerator">Debugging information generator used by the compiler to mark sequence points and annotate local variables.</param>
|
|
/// <returns>A delegate containing the compiled version of the lambda.</returns>
|
|
// Token: 0x06000472 RID: 1138 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000472")]
|
|
[Address(RVA = "0x579670", Offset = "0x578470", VA = "0x180579670")]
|
|
public Delegate Compile(DebugInfoGenerator debugInfoGenerator)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x040001B7 RID: 439
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x40001B7")]
|
|
private readonly Expression _body;
|
|
}
|
|
}
|