2 instantiations of ExpandoClass
System.Linq.Expressions (2)
System\Dynamic\ExpandoClass.cs (2)
21internal static readonly ExpandoClass Empty = new ExpandoClass(); // The empty Expando class - all Expando objects start off w/ this class. 79ExpandoClass ec = new ExpandoClass(keys, hashCode);
25 references to ExpandoClass
System.Linq.Expressions (25)
System\Dynamic\ExpandoClass.cs (5)
21internal static readonly ExpandoClass Empty = new ExpandoClass(); // The empty Expando class - all Expando objects start off w/ this class. 49internal ExpandoClass FindNewClass(string newKey) 60ExpandoClass? klass = infos[i].Target as ExpandoClass; 79ExpandoClass ec = new ExpandoClass(keys, hashCode);
System\Dynamic\ExpandoObject.cs (20)
149ExpandoClass newClass = data.Class.FindNewClass(name); 257internal ExpandoClass Class => _data.Class; 263private ExpandoData PromoteClassCore(ExpandoClass oldClass, ExpandoClass newClass) 285PromoteClassCore((ExpandoClass)oldClass, (ExpandoClass)newClass); 785ExpandoClass klass = Value.Class; 855ExpandoClass klass; 858ExpandoClass? originalClass = GetClassEnsureIndex(binder.Name, binder.IgnoreCase, Value, out klass, out index); 906var klass = expandoData.Class; 921private DynamicMetaObject AddDynamicTestAndDefer(DynamicMetaObjectBinder binder, ExpandoClass klass, ExpandoClass? originalClass, DynamicMetaObject succeeds) 964private ExpandoClass? GetClassEnsureIndex(string name, bool caseInsensitive, ExpandoObject obj, out ExpandoClass klass, out int index) 966ExpandoClass originalClass = Value.Class; 977ExpandoClass newClass = originalClass.FindNewClass(name); 1034internal readonly ExpandoClass Class; 1071Class = ExpandoClass.Empty; 1083internal ExpandoData(ExpandoClass klass, object?[] data, int version) 1093internal ExpandoData UpdateClass(ExpandoClass newClass)