@@ -2549,7 +2549,7 @@ public void OnError(Exception error) { }
25492549
25502550 private const int MaxClockErrorMSec = 20 ;
25512551
2552- [ Fact ]
2552+ [ ConditionalFact ( typeof ( PlatformDetection ) , nameof ( PlatformDetection . IsDebuggerTypeProxyAttributeSupported ) ) ]
25532553 public void TestActivityDebuggerDisplay ( )
25542554 {
25552555 Activity activity = new Activity ( "TestOperation" ) ;
@@ -2562,7 +2562,7 @@ public void TestActivityDebuggerDisplay()
25622562 activity . Stop ( ) ;
25632563 }
25642564
2565- [ Fact ]
2565+ [ ConditionalFact ( typeof ( PlatformDetection ) , nameof ( PlatformDetection . IsDebuggerTypeProxyAttributeSupported ) ) ]
25662566 public void TestActivityDebuggerProxy ( )
25672567 {
25682568 Activity activity = new Activity ( "TestOperation" ) ;
@@ -2577,7 +2577,7 @@ public void TestActivityDebuggerProxy()
25772577 activity . Stop ( ) ;
25782578 }
25792579
2580- [ Fact ]
2580+ [ ConditionalFact ( typeof ( PlatformDetection ) , nameof ( PlatformDetection . IsDebuggerTypeProxyAttributeSupported ) ) ]
25812581 public void TestActivityContextDebuggerDisplay ( )
25822582 {
25832583 ActivityTraceId traceId = ActivityTraceId . CreateRandom ( ) ;
@@ -2588,7 +2588,7 @@ public void TestActivityContextDebuggerDisplay()
25882588 Assert . NotNull ( debuggerDisplay ) ;
25892589 }
25902590
2591- [ Fact ]
2591+ [ ConditionalFact ( typeof ( PlatformDetection ) , nameof ( PlatformDetection . IsDebuggerTypeProxyAttributeSupported ) ) ]
25922592 public void TestActivityLinkDebuggerDisplay ( )
25932593 {
25942594 ActivityTraceId traceId = ActivityTraceId . CreateRandom ( ) ;
@@ -2599,7 +2599,7 @@ public void TestActivityLinkDebuggerDisplay()
25992599 DebuggerAttributes . ValidateDebuggerDisplayReferences ( link ) ;
26002600 }
26012601
2602- [ Fact ]
2602+ [ ConditionalFact ( typeof ( PlatformDetection ) , nameof ( PlatformDetection . IsDebuggerTypeProxyAttributeSupported ) ) ]
26032603 public void TestActivityEventDebuggerDisplay ( )
26042604 {
26052605 ActivityEvent activityEvent = new ActivityEvent ( "TestEvent" ) ;
0 commit comments