提交 5a73676b 编写于 作者: A Ankit Jain 提交者: GitHub

[wasm] fix test failing when trimming

```
[06:37:05] fail: [FAIL] System.Diagnostics.Tests.StopwatchTests.DebuggerAttributesValid
[06:37:05] info: System.InvalidOperationException : Expected one DebuggerDisplayAttribute on System.Diagnostics.Stopwatch.
[06:37:05] info:    at System.Diagnostics.DebuggerAttributes.ValidateDebuggerDisplayReferences(Object obj)
[06:37:05] info:    at System.Diagnostics.Tests.StopwatchTests.DebuggerAttributesValid()
[06:37:05] info:    at System.Reflection.MethodInvoker.InterpretedInvoke(Object , Span`1 , BindingFlags )
```

Fixed by preserving the `DebuggerDisplayAttribute`.
上级 1873182e
......@@ -4,4 +4,7 @@
<assembly fullname="VoidMainWithExitCodeApp" />
<assembly fullname="TestApp" />
<assembly fullname="TargetFrameworkNameTestApp" />
<assembly fullname="System.Private.CoreLib">
<type fullname="System.Diagnostics.DebuggerDisplayAttribute" />
</assembly>
</linker>
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册