16 writes to Length
System.Runtime.InteropServices.JavaScript (16)
System\Runtime\InteropServices\JavaScript\Marshaling\JSMarshalerArgument.Byte.cs (3)
110slot.Length = value.Length; 148slot.Length = value.Count; 169slot.Length = value.Length;
System\Runtime\InteropServices\JavaScript\Marshaling\JSMarshalerArgument.Double.cs (3)
118slot.Length = value.Length; 154slot.Length = value.Count; 175slot.Length = value.Length;
System\Runtime\InteropServices\JavaScript\Marshaling\JSMarshalerArgument.Int32.cs (3)
112slot.Length = value.Length; 148slot.Length = value.Count; 169slot.Length = value.Length;
System\Runtime\InteropServices\JavaScript\Marshaling\JSMarshalerArgument.JSObject.cs (1)
109slot.Length = value.Length;
System\Runtime\InteropServices\JavaScript\Marshaling\JSMarshalerArgument.Object.cs (1)
390slot.Length = value.Length;
System\Runtime\InteropServices\JavaScript\Marshaling\JSMarshalerArgument.Single.cs (3)
118slot.Length = value.Length; 154slot.Length = value.Count; 175slot.Length = value.Length;
System\Runtime\InteropServices\JavaScript\Marshaling\JSMarshalerArgument.String.cs (2)
55slot.Length = value.Length; 117slot.Length = value.Length;
30 references to Length
System.Runtime.InteropServices.JavaScript (30)
System\Runtime\InteropServices\JavaScript\Marshaling\JSMarshalerArgument.Byte.cs (5)
93value = new byte[slot.Length]; 94Marshal.Copy(slot.IntPtrValue, value, 0, slot.Length); 114Marshal.Copy(value, 0, slot.IntPtrValue, slot.Length); 128value = new ArraySegment<byte>(array, byteOffset, slot.Length); 158value = new Span<byte>((void*)slot.IntPtrValue, slot.Length);
System\Runtime\InteropServices\JavaScript\Marshaling\JSMarshalerArgument.Double.cs (5)
96value = new double[slot.Length]; 97Marshal.Copy(slot.IntPtrValue, value, 0, slot.Length); 120Marshal.Copy(value, 0, slot.IntPtrValue, slot.Length); 134value = new ArraySegment<double>(array, byteOffset / sizeof(double), slot.Length); 164value = new Span<double>((void*)slot.IntPtrValue, slot.Length);
System\Runtime\InteropServices\JavaScript\Marshaling\JSMarshalerArgument.Int32.cs (5)
93value = new int[slot.Length]; 94Marshal.Copy(slot.IntPtrValue, value, 0, slot.Length); 114Marshal.Copy(value, 0, slot.IntPtrValue, slot.Length); 128value = new ArraySegment<int>(array, byteOffset / sizeof(int), slot.Length); 158value = new Span<int>((void*)slot.IntPtrValue, slot.Length);
System\Runtime\InteropServices\JavaScript\Marshaling\JSMarshalerArgument.JSObject.cs (3)
82value = new JSObject?[slot.Length]; 84for (int i = 0; i < slot.Length; i++) 115for (int i = 0; i < slot.Length; i++)
System\Runtime\InteropServices\JavaScript\Marshaling\JSMarshalerArgument.Object.cs (3)
360value = new object?[slot.Length]; 362for (int i = 0; i < slot.Length; i++) 398for (int i = 0; i < slot.Length; i++)
System\Runtime\InteropServices\JavaScript\Marshaling\JSMarshalerArgument.Single.cs (5)
96value = new float[slot.Length]; 97Marshal.Copy(slot.IntPtrValue, value, 0, slot.Length); 120Marshal.Copy(value, 0, slot.IntPtrValue, slot.Length); 134value = new ArraySegment<float>(array, byteOffset / sizeof(float), slot.Length); 164value = new Span<float>((void*)slot.IntPtrValue, slot.Length);
System\Runtime\InteropServices\JavaScript\Marshaling\JSMarshalerArgument.String.cs (4)
26value = Marshal.PtrToStringUni(slot.IntPtrValue, slot.Length); 87value = new string?[slot.Length]; 89for (int i = 0; i < slot.Length; i++) 125for (int i = 0; i < slot.Length; i++)