Files
Apr2020-Cpp2Il-Dump/System.Core/System/Linq/Expressions/MethodCallExpression.cs
T
niko 8fc35183db a
2026-04-11 22:19:20 +02:00

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: 0x020000A8 RID: 168
[Token(Token = "0x20000A8")]
[DebuggerTypeProxy(typeof(Expression.MethodCallExpressionProxy))]
public class MethodCallExpression : Expression, IArgumentProvider
{
// Token: 0x060004AD RID: 1197 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60004AD")]
[Address(RVA = "0x57D150", Offset = "0x57BF50", VA = "0x18057D150")]
internal MethodCallExpression(MethodInfo method)
{
}
// Token: 0x060004AE RID: 1198 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60004AE")]
[Address(RVA = "0x43E630", Offset = "0x43D430", VA = "0x18043E630", 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: 0x170000C1 RID: 193
// (get) Token: 0x060004AF RID: 1199 RVA: 0x00002E20 File Offset: 0x00001020
[Token(Token = "0x170000C1")]
public sealed override ExpressionType NodeType
{
[Token(Token = "0x60004AF")]
[Address(RVA = "0x46CC50", Offset = "0x46BA50", VA = "0x18046CC50", 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: 0x170000C2 RID: 194
// (get) Token: 0x060004B0 RID: 1200 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x170000C2")]
public sealed override Type Type
{
[Token(Token = "0x60004B0")]
[Address(RVA = "0x57DB80", Offset = "0x57C980", VA = "0x18057DB80", 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: 0x170000C3 RID: 195
// (get) Token: 0x060004B1 RID: 1201 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x170000C3")]
public MethodInfo Method
{
[Token(Token = "0x60004B1")]
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20")]
[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: 0x170000C4 RID: 196
// (get) Token: 0x060004B2 RID: 1202 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x170000C4")]
public Expression Object
{
[Token(Token = "0x60004B2")]
[Address(RVA = "0x53B2E0", Offset = "0x53A0E0", VA = "0x18053B2E0")]
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: 0x060004B3 RID: 1203 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60004B3")]
[Address(RVA = "0x57DA90", Offset = "0x57C890", VA = "0x18057DA90", Slot = "9")]
protected internal override Expression Accept(ExpressionVisitor visitor)
{
return null;
}
// Token: 0x060004B4 RID: 1204 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60004B4")]
[Address(RVA = "0x57DB00", Offset = "0x57C900", VA = "0x18057DB00", Slot = "13")]
[ExcludeFromCodeCoverage]
internal virtual MethodCallExpression Rewrite(Expression instance, IReadOnlyList<Expression> args)
{
return null;
}
// Token: 0x060004B5 RID: 1205 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60004B5")]
[Address(RVA = "0x57DAC0", Offset = "0x57C8C0", VA = "0x18057DAC0", Slot = "14")]
[ExcludeFromCodeCoverage]
public virtual Expression GetArgument(int index)
{
return null;
}
// Token: 0x170000C5 RID: 197
// (get) Token: 0x060004B6 RID: 1206 RVA: 0x00002E38 File Offset: 0x00001038
[Token(Token = "0x170000C5")]
[ExcludeFromCodeCoverage]
public virtual int ArgumentCount
{
[Token(Token = "0x60004B6")]
[Address(RVA = "0x57DB40", Offset = "0x57C940", VA = "0x18057DB40", Slot = "15")]
get
{
return 0;
}
}
}
}