137 lines
5.0 KiB
C#
137 lines
5.0 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Diagnostics;
|
|
using System.Diagnostics.CodeAnalysis;
|
|
using System.Reflection;
|
|
using System.Runtime.CompilerServices;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Linq.Expressions
|
|
{
|
|
/// <summary>Represents a call to either static or an instance method.</summary>
|
|
// Token: 0x020000B3 RID: 179
|
|
[Token(Token = "0x20000B3")]
|
|
[DebuggerTypeProxy(typeof(Expression.MethodCallExpressionProxy))]
|
|
public class MethodCallExpression : Expression, IArgumentProvider
|
|
{
|
|
// Token: 0x06000539 RID: 1337 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000539")]
|
|
[Address(RVA = "0x10D7960", Offset = "0x10D6960", VA = "0x1810D7960")]
|
|
internal MethodCallExpression(MethodInfo method)
|
|
{
|
|
}
|
|
|
|
// Token: 0x0600053A RID: 1338 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x600053A")]
|
|
[Address(RVA = "0x4242C0", Offset = "0x4232C0", VA = "0x1804242C0", Slot = "12")]
|
|
internal virtual Expression GetInstance()
|
|
{
|
|
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: 0x170000E1 RID: 225
|
|
// (get) Token: 0x0600053B RID: 1339 RVA: 0x000030F0 File Offset: 0x000012F0
|
|
[Token(Token = "0x170000E1")]
|
|
public sealed override ExpressionType NodeType
|
|
{
|
|
[Token(Token = "0x600053B")]
|
|
[Address(RVA = "0x62FA10", Offset = "0x62EA10", VA = "0x18062FA10", Slot = "4")]
|
|
get
|
|
{
|
|
return ExpressionType.Add;
|
|
}
|
|
}
|
|
|
|
/// <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.MethodCallExpression.Type" /> that represents the static type of the expression.</returns>
|
|
// Token: 0x170000E2 RID: 226
|
|
// (get) Token: 0x0600053C RID: 1340 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x170000E2")]
|
|
public sealed override Type Type
|
|
{
|
|
[Token(Token = "0x600053C")]
|
|
[Address(RVA = "0x10D8770", Offset = "0x10D7770", VA = "0x1810D8770", Slot = "5")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets the <see cref="T:System.Reflection.MethodInfo" /> for the method to be called.</summary>
|
|
/// <returns>The <see cref="T:System.Reflection.MethodInfo" /> that represents the called method.</returns>
|
|
// Token: 0x170000E3 RID: 227
|
|
// (get) Token: 0x0600053D RID: 1341 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x170000E3")]
|
|
public MethodInfo Method
|
|
{
|
|
[Token(Token = "0x600053D")]
|
|
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530")]
|
|
[CompilerGenerated]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets the <see cref="T:System.Linq.Expressions.Expression" /> that represents the instance for instance method calls or null for static method calls.</summary>
|
|
/// <returns>An <see cref="T:System.Linq.Expressions.Expression" /> that represents the receiving object of the method.</returns>
|
|
// Token: 0x170000E4 RID: 228
|
|
// (get) Token: 0x0600053E RID: 1342 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x170000E4")]
|
|
public Expression Object
|
|
{
|
|
[Token(Token = "0x600053E")]
|
|
[Address(RVA = "0x85E360", Offset = "0x85D360", VA = "0x18085E360")]
|
|
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: 0x0600053F RID: 1343 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x600053F")]
|
|
[Address(RVA = "0xFA2250", Offset = "0xFA1250", VA = "0x180FA2250", Slot = "9")]
|
|
protected internal override Expression Accept(ExpressionVisitor visitor)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x06000540 RID: 1344 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000540")]
|
|
[Address(RVA = "0x10D86F0", Offset = "0x10D76F0", VA = "0x1810D86F0", Slot = "13")]
|
|
[ExcludeFromCodeCoverage]
|
|
internal virtual MethodCallExpression Rewrite(Expression instance, IReadOnlyList<Expression> args)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x06000541 RID: 1345 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000541")]
|
|
[Address(RVA = "0x10D86B0", Offset = "0x10D76B0", VA = "0x1810D86B0", Slot = "14")]
|
|
[ExcludeFromCodeCoverage]
|
|
public virtual Expression GetArgument(int index)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x170000E5 RID: 229
|
|
// (get) Token: 0x06000542 RID: 1346 RVA: 0x00003108 File Offset: 0x00001308
|
|
[Token(Token = "0x170000E5")]
|
|
[ExcludeFromCodeCoverage]
|
|
public virtual int ArgumentCount
|
|
{
|
|
[Token(Token = "0x6000542")]
|
|
[Address(RVA = "0x10D8730", Offset = "0x10D7730", VA = "0x1810D8730", Slot = "15")]
|
|
get
|
|
{
|
|
return 0;
|
|
}
|
|
}
|
|
}
|
|
}
|