169 references to GetValue
mscorlib (54)
system\array.cs (45)
419
return this.
GetValue
((int) index);
706
get { return
GetValue
(index); }
767
object left =
GetValue
(i);
768
object right = o.
GetValue
(i);
795
object left =
GetValue
(i);
796
object right = o.
GetValue
(i);
820
ret = CombineHashCodes(ret, comparer.GetHashCode(
GetValue
(i)));
961
c = comparer.Compare(array.
GetValue
(i), value);
1352
Object obj = array.
GetValue
(i);
1496
Object obj = array.
GetValue
(i);
1623
Object temp = array.
GetValue
(i);
1624
array.SetValue(array.
GetValue
(j), i);
2271
if (comparer.Compare(keys.
GetValue
(a), keys.
GetValue
(b)) > 0)
2273
Object key = keys.
GetValue
(a);
2274
keys.SetValue(keys.
GetValue
(b), a);
2278
Object item = items.
GetValue
(a);
2279
items.SetValue(items.
GetValue
(b), a);
2288
Object t1 = keys.
GetValue
(i);
2289
keys.SetValue(keys.
GetValue
(j), i);
2294
Object t2 = items.
GetValue
(i);
2295
items.SetValue(items.
GetValue
(j), i);
2362
Object x = keys.
GetValue
(middle);
2369
while (comparer.Compare(keys.
GetValue
(i), x) < 0) i++;
2370
while (comparer.Compare(x, keys.
GetValue
(j)) < 0) j--;
2384
Object key = keys.
GetValue
(i);
2385
keys.SetValue(keys.
GetValue
(j), i);
2389
Object item = items.
GetValue
(i);
2390
items.SetValue(items.
GetValue
(j), i);
2485
Object pivot = keys.
GetValue
(mid);
2491
while (comparer.Compare(keys.
GetValue
(++left), pivot) < 0) ;
2492
while (comparer.Compare(pivot, keys.
GetValue
(--right)) < 0) ;
2522
Object d = keys.
GetValue
(lo + i - 1);
2523
Object dt = (items != null)? items.
GetValue
(lo + i - 1) : null;
2528
if (child < n && comparer.Compare(keys.
GetValue
(lo + child - 1), keys.
GetValue
(lo + child)) < 0)
2533
if (!(comparer.Compare(d, keys.
GetValue
(lo + child - 1)) < 0))
2536
keys.SetValue(keys.
GetValue
(lo + child - 1), lo + i - 1);
2538
items.SetValue(items.
GetValue
(lo + child - 1), lo + i - 1);
2553
t = keys.
GetValue
(i + 1);
2554
dt = (items != null)? items.
GetValue
(i + 1) : null;
2556
while (j >= lo && comparer.Compare(t, keys.
GetValue
(j)) < 0)
2558
keys.SetValue(keys.
GetValue
(j), j + 1);
2560
items.SetValue(items.
GetValue
(j), j + 1);
2601
return _array.
GetValue
(_index);
system\attribute.cs (2)
892
if (!AreFieldValuesEqual(thisValueArray.
GetValue
(j), thatValueArray.
GetValue
(j)))
system\reflection\emit\customattributebuilder.cs (1)
450
EmitValue(writer, et, a.
GetValue
(i));
system\rttype.cs (2)
5747
newArray[currElem] = wrapperCons.Invoke(new Object[] {(String)oldArray.
GetValue
(currElem)});
5751
newArray[currElem] = wrapperCons.Invoke(new Object[] {oldArray.
GetValue
(currElem)});
system\runtime\interopservices\windowsruntime\clripropertyvalueimpl.cs (1)
389
coercedArray[i] = CoerceScalarValue<T>(scalarType, dataArray.
GetValue
(i));
system\runtime\interopservices\windowsruntime\clrireferenceimpl.cs (1)
436
objArray[i] = obj.
GetValue
(i);
system\runtime\serialization\formatters\binary\binaryobjectwriter.cs (1)
833
WriteArrayMember(objectInfo, arrayElemTypeNameInfo, array.
GetValue
(i));
system\type.cs (1)
1566
ulArray[i] = Enum.ToUInt64(array.
GetValue
(i));
PresentationCore (3)
Core\CSharp\MS\Internal\Ink\ExtendedProperty.cs (2)
81
if (!array1.
GetValue
(i).Equals(array2.
GetValue
(i)))
Core\CSharp\System\Windows\Media\Imaging\WriteableBitmap.cs (1)
1293
object exemplar = sourceBuffer.
GetValue
(0);
System (7)
compmod\system\componentmodel\ArrayConverter.cs (1)
88
return array.
GetValue
(index);
compmod\system\componentmodel\ArraySubsetEnumerator.cs (1)
50
return array.
GetValue
(current);
compmod\system\componentmodel\EnumConverter.cs (1)
205
ulValues[idx] = Convert.ToInt64((Enum)objValues.
GetValue
(idx), culture);
compmod\system\componentmodel\TypeConverter.cs (2)
584
return valueArray.
GetValue
(index);
594
return valueArray.
GetValue
(index);
net\System\Net\cookiecontainer.cs (1)
444
CookieCollection cc = (CookieCollection)cookies.
GetValue
(i);
services\monitoring\system\diagnosticts\AlphabeticalEnumConverter.cs (1)
33
names[i] = ConvertTo(context, null, objValues.
GetValue
(i), typeof(string));
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\FlagStringConverter.cs (1)
70
flagDictionary.Add(flagNames[i].ToUpperInvariant(), flagValues.
GetValue
(i));
System.Data (3)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\FlagStringConverter.cs (1)
70
flagDictionary.Add(flagNames[i].ToUpperInvariant(), flagValues.
GetValue
(i));
fx\src\data\System\Data\Common\ObjectStorage.cs (2)
140
int c = CompareTo(arr1.
GetValue
(i),arr2.
GetValue
(i));
System.Data.DataSetExtensions (3)
System\Data\DataRowComparer.cs (3)
89
if (!AreElementEqual(a.
GetValue
(index1), b.
GetValue
(index2)))
224
hash = array.
GetValue
(array.GetLowerBound(0)).GetHashCode();
System.Management (27)
property.cs (22)
289
((UInt16[])val) [i] = (UInt16)((Int32)(wmiValueArray.
GetValue
(i)));
296
((UInt32[])val)[i] = (UInt32)((Int32)(wmiValueArray.
GetValue
(i)));
303
((UInt64[])val) [i] = Convert.ToUInt64((String)(wmiValueArray.
GetValue
(i)),(IFormatProvider)CultureInfo.CurrentCulture.GetFormat(typeof(System.UInt64)));
310
((SByte[])val) [i] = (SByte)((Int16)(wmiValueArray.
GetValue
(i)));
317
((Int64[])val) [i] = Convert.ToInt64((String)(wmiValueArray.
GetValue
(i)),(IFormatProvider)CultureInfo.CurrentCulture.GetFormat(typeof(System.Int64)));
324
((Char[])val) [i] = (Char)((Int16)(wmiValueArray.
GetValue
(i)));
331
((ManagementBaseObject[])val) [i] = new ManagementBaseObject(new IWbemClassObjectFreeThreaded(Marshal.GetIUnknownForObject(wmiValueArray.
GetValue
(i))));
403
((Int16[])(wmiValue))[i] = (Int16)Convert.ToSByte(valArray.
GetValue
(i),(IFormatProvider)culInfo.GetFormat(typeof(System.SByte)));
413
((Byte[])wmiValue)[i] = Convert.ToByte(valArray.
GetValue
(i),(IFormatProvider)culInfo.GetFormat(typeof(System.Byte)));
424
((Int16[])(wmiValue))[i] = Convert.ToInt16(valArray.
GetValue
(i),(IFormatProvider)culInfo.GetFormat(typeof(System.Int16)));
431
((Int32[])(wmiValue))[i] = (Int32)(Convert.ToUInt16(valArray.
GetValue
(i),(IFormatProvider)culInfo.GetFormat(typeof(System.UInt16))));
441
((Int32[])(wmiValue))[i] = Convert.ToInt32(valArray.
GetValue
(i),(IFormatProvider)culInfo.GetFormat(typeof(System.Int32)));
448
((Int32[])(wmiValue))[i] = (Int32)(Convert.ToUInt32(valArray.
GetValue
(i),(IFormatProvider)culInfo.GetFormat(typeof(System.UInt32))));
454
((String[])(wmiValue))[i] = (Convert.ToInt64(valArray.
GetValue
(i),(IFormatProvider)culInfo.GetFormat(typeof(System.Int64)))).ToString((IFormatProvider)culInfo.GetFormat(typeof(System.Int64)));
460
((String[])(wmiValue))[i] = (Convert.ToUInt64(valArray.
GetValue
(i),(IFormatProvider)culInfo.GetFormat(typeof(System.UInt64)))).ToString((IFormatProvider)culInfo.GetFormat(typeof(System.UInt64)));
470
((Single[])(wmiValue))[i] = Convert.ToSingle(valArray.
GetValue
(i),(IFormatProvider)culInfo.GetFormat(typeof(System.Single)));
481
((Double[])(wmiValue))[i] = Convert.ToDouble(valArray.
GetValue
(i),(IFormatProvider)culInfo.GetFormat(typeof(System.Double)));
488
((Int16[])(wmiValue))[i] = (Int16)Convert.ToChar(valArray.
GetValue
(i),(IFormatProvider)culInfo.GetFormat(typeof(System.Char)));
500
((String[])(wmiValue))[i] = (valArray.
GetValue
(i)).ToString();
511
((Boolean[])(wmiValue))[i] = Convert.ToBoolean(valArray.
GetValue
(i),(IFormatProvider)culInfo.GetFormat(typeof(System.Boolean)));
525
((IWbemClassObject_DoNotMarshal[])(wmiValue))[i] = (IWbemClassObject_DoNotMarshal)(Marshal.GetObjectForIUnknown(((ManagementBaseObject)valArray.
GetValue
(i)).wbemObject));
759
((IWbemClassObject_DoNotMarshal[])(wmiValue))[i] = (IWbemClassObject_DoNotMarshal)(Marshal.GetObjectForIUnknown(((ManagementBaseObject)valArray.
GetValue
(i)).wbemObject));
qualifier.cs (5)
116
Type elementType = (length > 0 ? valArray.
GetValue
(0).GetType() : null);
122
((Int32[])(wmiValue))[i] = Convert.ToInt32(valArray.
GetValue
(i),(IFormatProvider)CultureInfo.InvariantCulture.GetFormat(typeof(System.Int32)));
128
((Double[])(wmiValue))[i] = Convert.ToDouble(valArray.
GetValue
(i),(IFormatProvider)CultureInfo.InvariantCulture.GetFormat(typeof(System.Double)));
134
((String[])(wmiValue))[i] = (valArray.
GetValue
(i)).ToString();
140
((Boolean[])(wmiValue))[i] = Convert.ToBoolean(valArray.
GetValue
(i),(IFormatProvider)CultureInfo.InvariantCulture.GetFormat(typeof(System.Boolean)));
System.Runtime.Serialization (2)
System\Runtime\Serialization\Json\XmlJsonWriter.cs (1)
1696
WritePrimitiveValue(array.
GetValue
(i));
System\Xml\XmlBaseWriter.cs (1)
1734
WritePrimitiveValue(array.
GetValue
(i));
System.ServiceModel (3)
System\ServiceModel\Administration\WbemProvider.cs (2)
952
if (objs.GetLength(0) > 0 && objs.
GetValue
(0) is InstanceContext)
957
insts[i] = ((InstanceContext)objs.
GetValue
(i)).WbemObject;
System\ServiceModel\Dispatcher\XmlSerializerOperationFormatter.cs (1)
512
messageHeaderOfTArray[i] = TypedHeaderManager.Create(headerDescription.Type, headerValues.
GetValue
(i),
System.ServiceModel.Internals (1)
System\Runtime\TypeHelper.cs (1)
570
return enumValues.
GetValue
(0);
System.Web (6)
ModelBinding\ValueProviderResult.cs (2)
117
converted[i] = ConvertSimpleType(culture, valueAsArray.
GetValue
(i), destinationElementType);
132
value = valueAsArray.
GetValue
(0);
UI\DataBinder.cs (1)
270
prop = arrayProp.
GetValue
((int)indexValue);
UI\ObjectStateFormatter.cs (3)
1083
if (values.
GetValue
(i) != null) {
1103
SerializeValue(writer, values.
GetValue
(index));
1115
objectStack.Push(values.
GetValue
(i));
System.Web.DataVisualization (12)
Common\Converters\CustomAttributesConverters.cs (4)
298
if (array.
GetValue
(0) is Series)
342
if(((Array)obj).
GetValue
(0) is Series)
347
else if(((Array)obj).
GetValue
(0) is DataPointCustomProperties)
349
seriesArray = new Series[] { ((DataPointCustomProperties)((Array)obj).
GetValue
(0)).series };
Common\Converters\LegendConverters.cs (8)
133
if (((Array)context.Instance).Length > 0 && ((Array)context.Instance).
GetValue
(0) is Legend)
135
Legend legend = (Legend)((Array)context.Instance).
GetValue
(0);
141
else if (((Array)context.Instance).Length > 0 && ((Array)context.Instance).
GetValue
(0) is ChartArea)
143
ChartArea area = (ChartArea)((Array)context.Instance).
GetValue
(0);
149
else if (((Array)context.Instance).Length > 0 && ((Array)context.Instance).
GetValue
(0) is Title)
151
Title title = (Title)((Array)context.Instance).
GetValue
(0);
158
else if (((Array)context.Instance).Length > 0 && ((Array)context.Instance).
GetValue
(0) is Annotation)
160
Annotation annotation = (Annotation)((Array)context.Instance).
GetValue
(0);
System.Web.Extensions (1)
Script\Services\WebServiceEnumData.cs (1)
71
object enumValue = values.
GetValue
(i);
System.Web.Mobile (4)
UI\MobileControls\Design\Converters\FormConverter.cs (1)
77
control = list.
GetValue
(0) as MobileControl;
UI\MobileControls\Design\Converters\StyleReferenceConverter.cs (1)
79
return GetStyles(array.
GetValue
(0));
UI\MobileControls\Design\Converters\ValidatedMobileControlConverter.cs (2)
54
thisValidator = (BaseValidator) controlList.
GetValue
(0);
59
BaseValidator validator = (BaseValidator)controlList.
GetValue
(i);
System.Web.Services (1)
System\Web\Services\Protocols\UrlEncodedParameterWriter.cs (1)
59
Encode(writer, paramInfo.Name, array.
GetValue
(j));
System.Windows.Forms (10)
winforms\Managed\System\WinForms\AxHost.cs (2)
5045
o = ((Array)o).
GetValue
(0);
5059
o = ((Array)o).
GetValue
(0);
winforms\Managed\System\WinForms\PropertyGridInternal\ArrayElementGridEntry.cs (1)
66
return((Array)owner).
GetValue
(index);
winforms\Managed\System\WinForms\PropertyGridInternal\MergePropertyDescriptor.cs (1)
247
object propertyOwner = a.
GetValue
(i);
winforms\Managed\System\WinForms\PropertyGridInternal\MultiPropertyDescriptorGridEntry.cs (4)
217
changeService.OnComponentChanging(ownerArray.
GetValue
(i), pd);
218
changeService.OnComponentChanged(ownerArray.
GetValue
(i), pd, null, null);
317
if (a1.
GetValue
(i) != a2.
GetValue
(i)) {
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyDescriptorGridEntry.cs (2)
732
eventObj = objArray.
GetValue
(0);
896
component = objArray.
GetValue
(0) as IComponent;
System.Windows.Forms.DataVisualization (12)
Common\Converters\CustomAttributesConverters.cs (4)
298
if (array.
GetValue
(0) is Series)
342
if(((Array)obj).
GetValue
(0) is Series)
347
else if(((Array)obj).
GetValue
(0) is DataPointCustomProperties)
349
seriesArray = new Series[] { ((DataPointCustomProperties)((Array)obj).
GetValue
(0)).series };
Common\Converters\LegendConverters.cs (8)
133
if (((Array)context.Instance).Length > 0 && ((Array)context.Instance).
GetValue
(0) is Legend)
135
Legend legend = (Legend)((Array)context.Instance).
GetValue
(0);
141
else if (((Array)context.Instance).Length > 0 && ((Array)context.Instance).
GetValue
(0) is ChartArea)
143
ChartArea area = (ChartArea)((Array)context.Instance).
GetValue
(0);
149
else if (((Array)context.Instance).Length > 0 && ((Array)context.Instance).
GetValue
(0) is Title)
151
Title title = (Title)((Array)context.Instance).
GetValue
(0);
158
else if (((Array)context.Instance).Length > 0 && ((Array)context.Instance).
GetValue
(0) is Annotation)
160
Annotation annotation = (Annotation)((Array)context.Instance).
GetValue
(0);
System.Workflow.ComponentModel (4)
AuthoringOM\Activity.cs (1)
1755
Activity compensatableChild = (Activity)compensatableChildren.
GetValue
(i);
AuthoringOM\Compiler\TypeSystem\RTTypeWrapper.cs (2)
32
mismatch = (xArray.
GetValue
(index) != yArray.
GetValue
(index));
AuthoringOM\DependencyProperty.cs (1)
249
defaultValue = values.
GetValue
(0);
System.Xml (12)
System\Xml\Schema\ConstraintStruct.cs (7)
254
this.dstruct.Dvalue[i] = Convert.ToDecimal (((Array) this.ovalue).
GetValue
(i),NumberFormatInfo.InvariantInfo);
313
return atomicValues1.Length == 1 && atomicValues1.
GetValue
(0).Equals(other.Value);
316
return arr1.Length == 1 && arr1.
GetValue
(0).Equals(other.Value);
324
return atomicValues2.Length == 1 && atomicValues2.
GetValue
(0).Equals(this.Value);
327
return arr2.Length == 1 && arr2.
GetValue
(0).Equals(this.Value);
404
hashcode += ((XmlAtomicValue)atomicValues.
GetValue
(j)).TypedValue.GetHashCode();
409
hashcode += ((Array) this.ks[i].Value).
GetValue
(j).GetHashCode();
System\Xml\Schema\DataTypeImplementation.cs (3)
897
if ( itemType.Compare(arr1.
GetValue
(i), arr2.
GetValue
(i)) != 0) {
949
item = valuesToCheck.
GetValue
(i);
System\Xml\Serialization\XmlSerializationReader.cs (1)
1641
object currItem = array.
GetValue
(i);
System\Xml\Serialization\XmlSerializationWriter.cs (1)
1130
WritePotentiallyReferencingElement("Item", "", a.
GetValue
(i), elementType, false, true);
UIAutomationClient (3)
MS\Internal\Automation\Misc.cs (3)
125
if (!a.
GetValue
(src).Equals(a.
GetValue
(dest)))
128
a.SetValue(a.
GetValue
(src), dest);