150 lines
7.1 KiB
C#
150 lines
7.1 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq.Expressions;
|
|
using System.Runtime.CompilerServices;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Dynamic
|
|
{
|
|
/// <summary>Represents the dynamic binding and a binding logic of an object participating in the dynamic binding.</summary>
|
|
// Token: 0x0200026A RID: 618
|
|
[Token(Token = "0x200026A")]
|
|
public class DynamicMetaObject
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Dynamic.DynamicMetaObject" /> class.</summary>
|
|
/// <param name="expression">The expression representing this <see cref="T:System.Dynamic.DynamicMetaObject" /> during the dynamic binding process.</param>
|
|
/// <param name="restrictions">The set of binding restrictions under which the binding is valid.</param>
|
|
// Token: 0x06000C5D RID: 3165 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000C5D")]
|
|
[Address(RVA = "0x860E40", Offset = "0x85FE40", VA = "0x180860E40")]
|
|
public DynamicMetaObject(Expression expression, BindingRestrictions restrictions)
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Dynamic.DynamicMetaObject" /> class.</summary>
|
|
/// <param name="expression">The expression representing this <see cref="T:System.Dynamic.DynamicMetaObject" /> during the dynamic binding process.</param>
|
|
/// <param name="restrictions">The set of binding restrictions under which the binding is valid.</param>
|
|
/// <param name="value">The runtime value represented by the <see cref="T:System.Dynamic.DynamicMetaObject" />.</param>
|
|
// Token: 0x06000C5E RID: 3166 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000C5E")]
|
|
[Address(RVA = "0x860F50", Offset = "0x85FF50", VA = "0x180860F50")]
|
|
public DynamicMetaObject(Expression expression, BindingRestrictions restrictions, object value)
|
|
{
|
|
}
|
|
|
|
/// <summary>The expression representing the <see cref="T:System.Dynamic.DynamicMetaObject" /> during the dynamic binding process.</summary>
|
|
/// <returns>The expression representing the <see cref="T:System.Dynamic.DynamicMetaObject" /> during the dynamic binding process.</returns>
|
|
// Token: 0x17000272 RID: 626
|
|
// (get) Token: 0x06000C5F RID: 3167 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x17000272")]
|
|
public Expression Expression
|
|
{
|
|
[Token(Token = "0x6000C5F")]
|
|
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530")]
|
|
[CompilerGenerated]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>The set of binding restrictions under which the binding is valid.</summary>
|
|
/// <returns>The set of binding restrictions.</returns>
|
|
// Token: 0x17000273 RID: 627
|
|
// (get) Token: 0x06000C60 RID: 3168 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x17000273")]
|
|
public BindingRestrictions Restrictions
|
|
{
|
|
[Token(Token = "0x6000C60")]
|
|
[Address(RVA = "0x4157B0", Offset = "0x4147B0", VA = "0x1804157B0")]
|
|
[CompilerGenerated]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>The runtime value represented by this <see cref="T:System.Dynamic.DynamicMetaObject" />.</summary>
|
|
/// <returns>The runtime value represented by this <see cref="T:System.Dynamic.DynamicMetaObject" />.</returns>
|
|
// Token: 0x17000274 RID: 628
|
|
// (get) Token: 0x06000C61 RID: 3169 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x17000274")]
|
|
public object Value
|
|
{
|
|
[Token(Token = "0x6000C61")]
|
|
[Address(RVA = "0x4157C0", Offset = "0x4147C0", VA = "0x1804157C0")]
|
|
[CompilerGenerated]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets a value indicating whether the <see cref="T:System.Dynamic.DynamicMetaObject" /> has the runtime value.</summary>
|
|
/// <returns>True if the <see cref="T:System.Dynamic.DynamicMetaObject" /> has the runtime value, otherwise false.</returns>
|
|
// Token: 0x17000275 RID: 629
|
|
// (get) Token: 0x06000C62 RID: 3170 RVA: 0x000063D8 File Offset: 0x000045D8
|
|
[Token(Token = "0x17000275")]
|
|
public bool HasValue
|
|
{
|
|
[Token(Token = "0x6000C62")]
|
|
[Address(RVA = "0x51F260", Offset = "0x51E260", VA = "0x18051F260")]
|
|
[CompilerGenerated]
|
|
get
|
|
{
|
|
return default(bool);
|
|
}
|
|
}
|
|
|
|
/// <summary>Performs the binding of the dynamic get member operation.</summary>
|
|
/// <param name="binder">An instance of the <see cref="T:System.Dynamic.GetMemberBinder" /> that represents the details of the dynamic operation.</param>
|
|
/// <returns>The new <see cref="T:System.Dynamic.DynamicMetaObject" /> representing the result of the binding.</returns>
|
|
// Token: 0x06000C63 RID: 3171 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000C63")]
|
|
[Address(RVA = "0x8609C0", Offset = "0x85F9C0", VA = "0x1808609C0", Slot = "4")]
|
|
public virtual DynamicMetaObject BindGetMember(GetMemberBinder binder)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
/// <summary>Performs the binding of the dynamic set member operation.</summary>
|
|
/// <param name="binder">An instance of the <see cref="T:System.Dynamic.SetMemberBinder" /> that represents the details of the dynamic operation.</param>
|
|
/// <param name="value">The <see cref="T:System.Dynamic.DynamicMetaObject" /> representing the value for the set member operation.</param>
|
|
/// <returns>The new <see cref="T:System.Dynamic.DynamicMetaObject" /> representing the result of the binding.</returns>
|
|
// Token: 0x06000C64 RID: 3172 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000C64")]
|
|
[Address(RVA = "0x860A70", Offset = "0x85FA70", VA = "0x180860A70", Slot = "5")]
|
|
public virtual DynamicMetaObject BindSetMember(SetMemberBinder binder, DynamicMetaObject value)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
/// <summary>Returns the enumeration of all dynamic member names.</summary>
|
|
/// <returns>The list of dynamic member names.</returns>
|
|
// Token: 0x06000C65 RID: 3173 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000C65")]
|
|
[Address(RVA = "0x860DC0", Offset = "0x85FDC0", VA = "0x180860DC0", Slot = "6")]
|
|
public virtual IEnumerable<string> GetDynamicMemberNames()
|
|
{
|
|
return null;
|
|
}
|
|
|
|
/// <summary>Creates a meta-object for the specified object.</summary>
|
|
/// <param name="value">The object to get a meta-object for.</param>
|
|
/// <param name="expression">The expression representing this <see cref="T:System.Dynamic.DynamicMetaObject" /> during the dynamic binding process.</param>
|
|
/// <returns>If the given object implements <see cref="T:System.Dynamic.IDynamicMetaObjectProvider" /> and is not a remote object from outside the current AppDomain, returns the object's specific meta-object returned by <see cref="M:System.Dynamic.IDynamicMetaObjectProvider.GetMetaObject(System.Linq.Expressions.Expression)" />. Otherwise a plain new meta-object with no restrictions is created and returned.</returns>
|
|
// Token: 0x06000C66 RID: 3174 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000C66")]
|
|
[Address(RVA = "0x860B40", Offset = "0x85FB40", VA = "0x180860B40")]
|
|
public static DynamicMetaObject Create(object value, Expression expression)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
/// <summary>Represents an empty array of type <see cref="T:System.Dynamic.DynamicMetaObject" />. This field is read only.</summary>
|
|
// Token: 0x040004A9 RID: 1193
|
|
[Token(Token = "0x40004A9")]
|
|
public static readonly DynamicMetaObject[] EmptyMetaObjects;
|
|
}
|
|
}
|