BindingContext
struct BindingContext
using System.Runtime.CompilerServices;
namespace Microsoft.CSharp.RuntimeBinder.Semantics
{
internal readonly struct BindingContext
{
public AggregateSymbol ContextForMemberLookup {
[System.Runtime.CompilerServices.IsReadOnly]
get;
}
public bool Checked {
[System.Runtime.CompilerServices.IsReadOnly]
get;
}
public BindingContext(AggregateSymbol context, bool isChecked)
{
ContextForMemberLookup = context;
Checked = isChecked;
}
public BindingContext(BindingContext parent)
{
ContextForMemberLookup = parent.ContextForMemberLookup;
Checked = false;
}
}
}