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