Files
27Aug2021-Cpp2IL-Dump/System.Core/System/Dynamic/DynamicMetaObjectBinder.cs
T
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

81 lines
3.6 KiB
C#

using System;
using System.Collections.ObjectModel;
using System.Linq.Expressions;
using System.Runtime.CompilerServices;
using Cpp2IlInjected;
namespace System.Dynamic
{
/// <summary>The dynamic call site binder that participates in the <see cref="T:System.Dynamic.DynamicMetaObject" /> binding protocol.</summary>
// Token: 0x0200026B RID: 619
[Token(Token = "0x200026B")]
public abstract class DynamicMetaObjectBinder : CallSiteBinder
{
/// <summary>Initializes a new instance of the <see cref="T:System.Dynamic.DynamicMetaObjectBinder" /> class.</summary>
// Token: 0x06000C68 RID: 3176 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000C68")]
[Address(RVA = "0x860900", Offset = "0x85F900", VA = "0x180860900")]
protected DynamicMetaObjectBinder()
{
}
/// <summary>The result type of the operation.</summary>
/// <returns>The <see cref="T:System.Type" /> object representing the result type of the operation.</returns>
// Token: 0x17000276 RID: 630
// (get) Token: 0x06000C69 RID: 3177 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x17000276")]
public virtual Type ReturnType
{
[Token(Token = "0x6000C69")]
[Address(RVA = "0x860960", Offset = "0x85F960", VA = "0x180860960", Slot = "6")]
get
{
return null;
}
}
/// <summary>Performs the runtime binding of the dynamic operation on a set of arguments.</summary>
/// <param name="args">An array of arguments to the dynamic operation.</param>
/// <param name="parameters">The array of <see cref="T:System.Linq.Expressions.ParameterExpression" /> instances that represent the parameters of the call site in the binding process.</param>
/// <param name="returnLabel">A LabelTarget used to return the result of the dynamic binding.</param>
/// <returns>An Expression that performs tests on the dynamic operation arguments, and performs the dynamic operation if the tests are valid. If the tests fail on subsequent occurrences of the dynamic operation, Bind will be called again to produce a new <see cref="T:System.Linq.Expressions.Expression" /> for the new argument types.</returns>
// Token: 0x06000C6A RID: 3178 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000C6A")]
[Address(RVA = "0x85FE30", Offset = "0x85EE30", VA = "0x18085FE30", Slot = "4")]
public sealed override Expression Bind(object[] args, ReadOnlyCollection<ParameterExpression> parameters, LabelTarget returnLabel)
{
return null;
}
// Token: 0x06000C6B RID: 3179 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000C6B")]
[Address(RVA = "0x860790", Offset = "0x85F790", VA = "0x180860790")]
private static DynamicMetaObject[] CreateArgumentMetaObjects(object[] args, ReadOnlyCollection<ParameterExpression> parameters)
{
return null;
}
/// <summary>When overridden in the derived class, performs the binding of the dynamic operation.</summary>
/// <param name="target">The target of the dynamic operation.</param>
/// <param name="args">An array of arguments of the dynamic operation.</param>
/// <returns>The <see cref="T:System.Dynamic.DynamicMetaObject" /> representing the result of the binding.</returns>
// Token: 0x06000C6C RID: 3180
[Token(Token = "0x6000C6C")]
[Address(Slot = "7")]
public abstract DynamicMetaObject Bind(DynamicMetaObject target, DynamicMetaObject[] args);
// Token: 0x17000277 RID: 631
// (get) Token: 0x06000C6D RID: 3181 RVA: 0x000063F0 File Offset: 0x000045F0
[Token(Token = "0x17000277")]
internal virtual bool IsStandardBinder
{
[Token(Token = "0x6000C6D")]
[Address(RVA = "0x424690", Offset = "0x423690", VA = "0x180424690", Slot = "8")]
get
{
return default(bool);
}
}
}
}