Skip to content

Commit f6b9578

Browse files
authored
Fix ConcurrentDictionary test by rooting members accessed via reflection (#81957)
1 parent 2e9087a commit f6b9578

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

src/libraries/System.Collections.Concurrent/tests/System.Collections.Concurrent.Tests.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
<TargetFramework>$(NetCoreAppCurrent)</TargetFramework>
66
<DebuggerSupport Condition="'$(DebuggerSupport)' == '' and '$(TargetOS)' == 'browser'">true</DebuggerSupport>
77
</PropertyGroup>
8+
<ItemGroup>
9+
<RdXmlFile Include="default.rd.xml" />
10+
</ItemGroup>
811
<ItemGroup>
912
<Compile Include="$(CoreLibSharedDir)System\Collections\Concurrent\IProducerConsumerCollectionDebugView.cs"
1013
Link="System\Collections\Concurrent\IProducerConsumerCollectionDebugView.cs" />
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<Directives>
2+
<Application>
3+
<Assembly Name="System.Collections.Concurrent">
4+
<Type Name="System.Collections.Concurrent.ConcurrentDictionary`2[[System.String, System.Private.CoreLib],[System.String, System.Private.CoreLib]]" Dynamic="Required All" />
5+
<Type Name="System.Collections.Concurrent.ConcurrentDictionary`2[[System.String, System.Private.CoreLib],[System.String, System.Private.CoreLib]]+Tables" Dynamic="Required All" />
6+
</Assembly>
7+
</Application>
8+
</Directives>

0 commit comments

Comments
 (0)