File tree 2 files changed +2
-1
lines changed
System.Diagnostics.Tracing/tests/TrimmingTests
2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change 3
3
4
4
using System . Collections . Generic ;
5
5
using System . Collections . ObjectModel ;
6
+ using System . Diagnostics . CodeAnalysis ;
6
7
using System . Diagnostics . Tracing ;
7
8
8
9
/// <summary>
@@ -34,6 +35,7 @@ private class TestEventSource : EventSource
34
35
public TestEventSource ( ) : base ( EventSourceSettings . EtwSelfDescribingEventFormat ) { }
35
36
36
37
[ Event ( 1 ) ]
38
+ [ DynamicDependency ( DynamicallyAccessedMemberTypes . PublicProperties , typeof ( TestSubData ) ) ]
37
39
public void LogData ( TestData data )
38
40
{
39
41
Write ( "LogData" , data ) ;
Original file line number Diff line number Diff line change 648
648
Condition =" '$(TestPackages)' == 'true'" />
649
649
650
650
<!-- We need to go over these disablements: https://github.com/dotnet/runtime/issues/101228 -->
651
- <ProjectExclusions Condition =" '$(RunNativeAotTestApps)' == 'true'" Include =" $(MSBuildThisFileDirectory)\System.Diagnostics.Tracing\tests\TrimmingTests\System.Diagnostics.Tracing.TrimmingTests.proj" />
652
651
<ProjectExclusions Condition =" '$(RunNativeAotTestApps)' == 'true'" Include =" $(MSBuildThisFileDirectory)\System.Linq.Queryable\tests\TrimmingTests\System.Linq.Queryable.TrimmingTests.proj" />
653
652
<ProjectExclusions Condition =" '$(RunNativeAotTestApps)' == 'true'" Include =" $(MSBuildThisFileDirectory)\System.Private.Xml.Linq\tests\TrimmingTests\System.Xml.Linq.TrimmingTests.proj" />
654
653
<ProjectExclusions Condition =" '$(RunNativeAotTestApps)' == 'true'" Include =" $(MSBuildThisFileDirectory)\System.Net.Http\tests\TrimmingTests\System.Net.Http.TrimmingTests.proj" />
You can’t perform that action at this time.
0 commit comments