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