35 references to ExpandoObject
System.Core (35)
Microsoft\Scripting\Actions\ExpandoClass.cs (6)
113
internal int GetValueIndex(string name, bool caseInsensitive,
ExpandoObject
obj) {
134
return
ExpandoObject
.NoMatch;
149
private int GetValueIndexCaseInsensitive(string name,
ExpandoObject
obj) {
150
int caseInsensitiveMatch =
ExpandoObject
.NoMatch; //the location of the case-insensitive matching member
159
if (caseInsensitiveMatch ==
ExpandoObject
.NoMatch) {
163
return
ExpandoObject
.AmbiguousMatchFound;
Microsoft\Scripting\Actions\ExpandoObject.cs (29)
81
if (index ==
ExpandoObject
.AmbiguousMatchFound) {
86
if (index ==
ExpandoObject
.NoMatch) {
123
if (index ==
ExpandoObject
.AmbiguousMatchFound) {
126
if (index ==
ExpandoObject
.NoMatch) {
133
if (exactMatch !=
ExpandoObject
.NoMatch) {
142
Debug.Assert(index !=
ExpandoObject
.NoMatch);
179
if (index ==
ExpandoObject
.AmbiguousMatchFound) {
183
if (index ==
ExpandoObject
.NoMatch) {
229
return _data[index] ==
ExpandoObject
.Uninitialized;
316
private readonly
ExpandoObject
_expando;
321
internal KeyCollection(
ExpandoObject
expando) {
432
private readonly
ExpandoObject
_expando;
437
internal ValueCollection(
ExpandoObject
expando) {
687
public MetaExpando(Expression expression,
ExpandoObject
value)
808
if (val !=
ExpandoObject
.Uninitialized) {
860
private ExpandoClass GetClassEnsureIndex(string name, bool caseInsensitive,
ExpandoObject
obj, out ExpandoClass klass, out int index) {
864
if (index ==
ExpandoObject
.AmbiguousMatchFound) {
868
if (index ==
ExpandoObject
.NoMatch) {
875
Debug.Assert(index !=
ExpandoObject
.NoMatch);
903
public new
ExpandoObject
Value {
905
return (
ExpandoObject
)base.Value;
987
this[newClass.Keys.Length - 1] =
ExpandoObject
.Uninitialized;
995
newData[oldLength] =
ExpandoObject
.Uninitialized;
1041
public static bool ExpandoTryGetValue(
ExpandoObject
expando, object indexClass, int index, string name, bool ignoreCase, out object value) {
1058
public static object ExpandoTrySetValue(
ExpandoObject
expando, object indexClass, int index, object value, string name, bool ignoreCase) {
1073
public static bool ExpandoTryDeleteValue(
ExpandoObject
expando, object indexClass, int index, string name, bool ignoreCase) {
1074
return expando.TryDeleteValue(indexClass, index, name, ignoreCase,
ExpandoObject
.Uninitialized);
1084
public static bool ExpandoCheckVersion(
ExpandoObject
expando, object version) {
1095
public static void ExpandoPromoteClass(
ExpandoObject
expando, object oldClass, object newClass) {