未验证 提交 ca1a4d89 编写于 作者: A Ankit Jain 提交者: GitHub

PropertyVisibilityTests.cs: Fix invalid change in tests merged earlier (#72043)

上级 5e94a46c
......@@ -1191,7 +1191,7 @@ public async Task JsonIgnoreAttribute_UnsupportedCollection()
var dictionary = new Dictionary<object, object>();
// Uri is an unsupported dictionary key.
dictionary.Add(new Uri("http://typeof(PlatformDetection), nameof(PlatformDetection.IsBrowser), nameof(PlatformDetection.IsMonoAOT))]"), "bar");
dictionary.Add(new Uri("http://foo"), "bar");
var concurrentDictionary = new ConcurrentDictionary<object, object>(dictionary);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册