Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ GetValueIndexCaseSensitive()

int System.Dynamic.ExpandoClass.GetValueIndexCaseSensitive ( string name)
inlinepackage

Definition at line 78 of file ExpandoClass.cs.

79 {
80 for (int i = 0; i < _keys.Length; i++)
81 {
82 if (string.Equals(_keys[i], name, StringComparison.Ordinal))
83 {
84 return i;
85 }
86 }
87 return -1;
88 }
readonly string[] _keys

References System.Dynamic.ExpandoClass._keys.

Referenced by System.Dynamic.ExpandoObject.ContainsKey(), System.Dynamic.ExpandoObject.ExpandoContainsKey(), and System.Dynamic.ExpandoClass.GetValueIndex().