154 references to GetValue
Aspire.Hosting.Tests (3)
dotnet-svcutil-lib (14)
Microsoft.AspNetCore.Components (1)
Microsoft.AspNetCore.Components.Forms (1)
Microsoft.AspNetCore.Mvc.Core (2)
Microsoft.Build (3)
Microsoft.Build.Framework (2)
Microsoft.DotNet.Build.Tasks.Installers (5)
Microsoft.ML.Data (1)
Microsoft.ML.FastTree (2)
Microsoft.ML.Tests (2)
Microsoft.TestPlatform.Utilities (1)
MSBuild (1)
PresentationCore (3)
System.ComponentModel.TypeConverter (5)
System.Data.Common (5)
System.Linq.Expressions (1)
System.Management (27)
System\Management\Property.cs (22)
292((ushort[])val)[i] = (ushort)((int)(wmiValueArray.GetValue(i)));
299((uint[])val)[i] = (uint)((int)(wmiValueArray.GetValue(i)));
306((ulong[])val)[i] = Convert.ToUInt64((string)(wmiValueArray.GetValue(i)), (IFormatProvider)CultureInfo.CurrentCulture.GetFormat(typeof(ulong)));
313((sbyte[])val)[i] = (sbyte)((short)(wmiValueArray.GetValue(i)));
320((long[])val)[i] = Convert.ToInt64((string)(wmiValueArray.GetValue(i)), (IFormatProvider)CultureInfo.CurrentCulture.GetFormat(typeof(long)));
327((char[])val)[i] = (char)((short)(wmiValueArray.GetValue(i)));
334((ManagementBaseObject[])val)[i] = new ManagementBaseObject(new IWbemClassObjectFreeThreaded(Marshal.GetIUnknownForObject(wmiValueArray.GetValue(i))));
383((short[])(wmiValue))[i] = (short)Convert.ToSByte(valArray.GetValue(i), (IFormatProvider)culInfo.GetFormat(typeof(sbyte)));
393((byte[])wmiValue)[i] = Convert.ToByte(valArray.GetValue(i), (IFormatProvider)culInfo.GetFormat(typeof(byte)));
404((short[])(wmiValue))[i] = Convert.ToInt16(valArray.GetValue(i), (IFormatProvider)culInfo.GetFormat(typeof(short)));
411((int[])(wmiValue))[i] = (int)(Convert.ToUInt16(valArray.GetValue(i), (IFormatProvider)culInfo.GetFormat(typeof(ushort))));
421((int[])(wmiValue))[i] = Convert.ToInt32(valArray.GetValue(i), (IFormatProvider)culInfo.GetFormat(typeof(int)));
428((int[])(wmiValue))[i] = (int)(Convert.ToUInt32(valArray.GetValue(i), (IFormatProvider)culInfo.GetFormat(typeof(uint))));
434((string[])(wmiValue))[i] = (Convert.ToInt64(valArray.GetValue(i), (IFormatProvider)culInfo.GetFormat(typeof(long)))).ToString((IFormatProvider)culInfo.GetFormat(typeof(long)));
440((string[])(wmiValue))[i] = (Convert.ToUInt64(valArray.GetValue(i), (IFormatProvider)culInfo.GetFormat(typeof(ulong)))).ToString((IFormatProvider)culInfo.GetFormat(typeof(ulong)));
450((float[])(wmiValue))[i] = Convert.ToSingle(valArray.GetValue(i), (IFormatProvider)culInfo.GetFormat(typeof(float)));
461((double[])(wmiValue))[i] = Convert.ToDouble(valArray.GetValue(i), (IFormatProvider)culInfo.GetFormat(typeof(double)));
468((short[])(wmiValue))[i] = (short)Convert.ToChar(valArray.GetValue(i), (IFormatProvider)culInfo.GetFormat(typeof(char)));
480((string[])(wmiValue))[i] = (valArray.GetValue(i)).ToString();
491((bool[])(wmiValue))[i] = Convert.ToBoolean(valArray.GetValue(i), (IFormatProvider)culInfo.GetFormat(typeof(bool)));
500((IWbemClassObject_DoNotMarshal[])(wmiValue))[i] = (IWbemClassObject_DoNotMarshal)(Marshal.GetObjectForIUnknown(((ManagementBaseObject)valArray.GetValue(i)).wbemObject));
723((IWbemClassObject_DoNotMarshal[])(wmiValue))[i] = (IWbemClassObject_DoNotMarshal)(Marshal.GetObjectForIUnknown(((ManagementBaseObject)valArray.GetValue(i)).wbemObject));
System.Private.CoreLib (42)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Array.cs (37)
924return this.GetValue(iindex);
1071get => GetValue(index);
1138object? left = GetValue(i);
1139object? right = o.GetValue(i);
1168object? left = GetValue(i);
1169object? right = o.GetValue(i);
1190hashCode.Add(comparer.GetHashCode(GetValue(i)!));
1392c = comparer.Compare(array.GetValue(i), value);
1894object? obj = array.GetValue(i);
2121object? obj = array.GetValue(i);
2320object? temp = array.GetValue(i);
2321array.SetValue(array.GetValue(j), i);
2912if (comparer.Compare(keys.GetValue(a), keys.GetValue(b)) > 0)
2914object? key = keys.GetValue(a);
2915keys.SetValue(keys.GetValue(b), a);
2919object? item = items.GetValue(a);
2920items.SetValue(items.GetValue(b), a);
2929object? t1 = keys.GetValue(i);
2930keys.SetValue(keys.GetValue(j), i);
2935object? t2 = items.GetValue(i);
2936items.SetValue(items.GetValue(j), i);
3022object? pivot = keys.GetValue(mid);
3028while (comparer.Compare(keys.GetValue(++left), pivot) < 0) ;
3029while (comparer.Compare(pivot, keys.GetValue(--right)) < 0) ;
3062object? d = keys.GetValue(lo + i - 1);
3063object? dt = items?.GetValue(lo + i - 1);
3068if (child < n && comparer.Compare(keys.GetValue(lo + child - 1), keys.GetValue(lo + child)) < 0)
3073if (!(comparer.Compare(d, keys.GetValue(lo + child - 1)) < 0))
3076keys.SetValue(keys.GetValue(lo + child - 1), lo + i - 1);
3077items?.SetValue(items.GetValue(lo + child - 1), lo + i - 1);
3092t = keys.GetValue(i + 1);
3093dt = items?.GetValue(i + 1);
3095while (j >= lo && comparer.Compare(t, keys.GetValue(j)) < 0)
3097keys.SetValue(keys.GetValue(j), j + 1);
3098items?.SetValue(items.GetValue(j), j + 1);
System.Private.DataContractSerialization (4)
System.Private.Xml (16)
System.ServiceModel.Primitives (1)
System.Windows.Forms (9)
UIAutomationClient (3)