37 [DebuggerDisplay(
"Count = {Count}")]
105 for (
int i = 0; i < data.
Class.
Keys.Length; i++)
144 public object[] Items
162 [DebuggerDisplay(
"Count = {Count}")]
219 for (
int i = 0; i < data.
Class.
Keys.Length; i++)
221 if (
object.Equals(data[i],
item))
238 for (
int i = 0; i < data.
Class.
Keys.Length; i++)
256 for (
int i = 0; i < data.
Class.
Keys.Length; i++)
259 object obj = data[i];
316 return AddDynamicTestAndDefer(
binder,
klass,
classEnsureIndex,
new DynamicMetaObject(
System.
Linq.
Expressions.
Expression.
Call(
s_expandoTrySetValue,
GetLimitedSelf(),
System.
Linq.
Expressions.
Expression.
Constant(
klass,
typeof(
object)),
System.
Linq.
Expressions.
Utils.
Constant(
index),
System.
Linq.
Expressions.
Expression.
Convert(
value.Expression,
typeof(
object)),
System.
Linq.
Expressions.
Expression.
Constant(
binder.Name),
System.
Linq.
Expressions.
Utils.
Constant(
binder.IgnoreCase)),
BindingRestrictions.
Empty));
333 for (
int i = 0; i <
klass.
Keys.Length; i++)
356 index =
@class.GetValueIndex(name, caseInsensitive,
obj);
364 index = (
klass =
@class.FindNewClass(name)).GetValueIndexCaseSensitive(name);
375 return base.Expression;
443 return (
len + 7) & -8;
494 event PropertyChangedEventHandler? INotifyPropertyChanged.PropertyChanged
714 for (
int num = data.
Class.
Keys.Length; i < num; i++)
764 for (
int i = 0; i < data.
Class.
Keys.Length; i++)
770 object obj = data[i];
static unsafe void Copy(Array sourceArray, Array destinationArray, int length)
bool TryGetValue(TKey key, [MaybeNullWhen(false)] out TValue value)
bool ContainsKey(TKey key)
bool ICollection< KeyValuePair< TKey, TValue > >. Remove(KeyValuePair< TKey, TValue > keyValuePair)
void CopyTo(KeyValuePair< TKey, TValue >[] array, int index)
bool ICollection< KeyValuePair< TKey, TValue > >. Contains(KeyValuePair< TKey, TValue > keyValuePair)
bool ICollection< KeyValuePair< TKey, TValue > >. IsReadOnly
Enumerator GetEnumerator()
void Add(TKey key, TValue value)
static ? Delegate Remove(Delegate? source, Delegate? value)
static ? Delegate Combine(Delegate? a, Delegate? b)
static readonly BindingRestrictions Empty
static BindingRestrictions GetTypeRestriction(Expression expression, Type type)
static readonly ExpandoClass Empty
int GetValueIndex(string name, bool caseInsensitive, ExpandoObject obj)
int GetValueIndexCaseSensitive(string name)
static int GetAlignedSize(int len)
readonly object[] _dataArray
ExpandoData UpdateClass(ExpandoClass newClass)
ExpandoData(ExpandoClass klass, object[] data, int version)
readonly ExpandoClass Class
readonly ICollection< string > _collection
KeyCollectionDebugView(ICollection< string > collection)
readonly ExpandoData _expandoData
KeyCollection(ExpandoObject expando)
bool Contains(string item)
readonly ExpandoObject _expando
void CopyTo(string[] array, int arrayIndex)
readonly int _expandoCount
IEnumerator< string > GetEnumerator()
readonly int _expandoVersion
ValueCollectionDebugView(ICollection< object > collection)
readonly ICollection< object > _collection
readonly int _expandoVersion
bool Contains(object item)
IEnumerator< object > GetEnumerator()
readonly ExpandoObject _expando
ValueCollection(ExpandoObject expando)
readonly ExpandoData _expandoData
readonly int _expandoCount
void CopyTo(object[] array, int arrayIndex)
bool TryGetValue(object indexClass, int index, string name, bool ignoreCase, out object value)
void PromoteClass(object oldClass, object newClass)
IEnumerator< KeyValuePair< string, object > > GetExpandoEnumerator(ExpandoData data, int version)
static readonly MethodInfo s_expandoTryGetValue
bool ExpandoContainsKey(string key)
void TrySetValue(object indexClass, int index, object value, string name, bool ignoreCase, bool add)
static readonly MethodInfo s_expandoTrySetValue
static readonly MethodInfo s_expandoPromoteClass
ExpandoData PromoteClassCore(ExpandoClass oldClass, ExpandoClass newClass)
PropertyChangedEventHandler _propertyChanged
static readonly object Uninitialized
void TryAddMember(string key, object value)
bool TryGetValueForKey(string key, out object value)
static readonly MethodInfo s_expandoCheckVersion
bool IsDeletedMember(int index)
static readonly MethodInfo s_expandoTryDeleteValue
readonly object LockObject
bool TryDeleteValue(object indexClass, int index, string name, bool ignoreCase, object deleteValue)
static void RequiresNotNull(object value, string paramName)
static bool AreEquivalent(Type t1, Type t2)
static Exception CollectionModifiedWhileEnumerating()
static Exception KeyDoesNotExistInExpando(object p0)
static Exception CollectionReadOnly()
static Exception AmbiguousMatchInExpandoObject(object p0)
static Exception SameKeyExistsInExpando(object key)
static ConstantExpression Constant(object? value)
static BlockExpression Block(Expression arg0, Expression arg1)
static MethodCallExpression Call(MethodInfo method)
static ParameterExpression Parameter(Type type)
static UnaryExpression Not(Expression expression)
static ConditionalExpression Condition(Expression test, Expression ifTrue, Expression ifFalse)
static ConditionalExpression IfThen(Expression test, Expression ifTrue)
static UnaryExpression Convert(Expression expression, Type type)
static ConstantExpression Constant(bool value)
void CopyTo(T[] array, int arrayIndex)
new IEnumerator< T > GetEnumerator()
delegate void PropertyChangedEventHandler(object? sender, PropertyChangedEventArgs e)