if (err != ERR_NONE)
return err;
+ if (m_class_get_rank (arr->obj.vtable->klass) == 0)
+ return ERR_INVALID_OBJECT;
+
switch (command) {
case CMD_ARRAY_REF_GET_TYPE: {
buffer_add_byte(buf, m_class_get_byval_arg (m_class_get_element_class (arr->obj.vtable->klass))->type);
}
[ConditionalFact(nameof(RunningOnChrome))]
- [Trait("Category", "windows-failing")] // https://github.com/dotnet/runtime/issues/65742
- [Trait("Category", "linux-failing")] // https://github.com/dotnet/runtime/issues/65742
public async Task InvalidArrayId() => await CheckInspectLocalsAtBreakpointSite(
"DebuggerTests.Container", "PlaceholderMethod", 1, "DebuggerTests.Container.PlaceholderMethod",
"window.setTimeout(function() { invoke_static_method ('[debugger-test] DebuggerTests.ArrayTestsClass:ObjectArrayMembers'); }, 1);",