@@ -1013,7 +1013,7 @@ public void GetTraceHeader_NoSpanActive_ReturnsHeaderFromPropagationContext()
10131013 var propagationContext = new SentryPropagationContext (
10141014 SentryId . Parse ( "75302ac48a024bde9a3b3734a82e36c8" ) ,
10151015 SpanId . Parse ( "2000000000000000" ) ) ;
1016- hub . ConfigureScope ( scope => scope . PropagationContext = propagationContext ) ;
1016+ hub . ConfigureScope ( scope => scope . SetPropagationContext ( propagationContext ) ) ;
10171017
10181018 // Act
10191019 var header = hub . GetTraceHeader ( ) ;
@@ -1052,7 +1052,7 @@ public void GetBaggage_NoSpanActive_ReturnsBaggageFromPropagationContext()
10521052 var hub = _fixture . GetSut ( ) ;
10531053 var propagationContext = new SentryPropagationContext (
10541054 SentryId . Parse ( "43365712692146d08ee11a729dfbcaca" ) , SpanId . Parse ( "1000000000000000" ) ) ;
1055- hub . ConfigureScope ( scope => scope . PropagationContext = propagationContext ) ;
1055+ hub . ConfigureScope ( scope => scope . SetPropagationContext ( propagationContext ) ) ;
10561056
10571057 // Act
10581058 var baggage = hub . GetBaggage ( ) ;
@@ -1069,7 +1069,7 @@ public void ContinueTrace_SetsPropagationContextAndReturnsTransactionContext()
10691069 var hub = _fixture . GetSut ( ) ;
10701070 var propagationContext = new SentryPropagationContext (
10711071 SentryId . Parse ( "43365712692146d08ee11a729dfbcaca" ) , SpanId . Parse ( "1000000000000000" ) ) ;
1072- hub . ConfigureScope ( scope => scope . PropagationContext = propagationContext ) ;
1072+ hub . ConfigureScope ( scope => scope . SetPropagationContext ( propagationContext ) ) ;
10731073
10741074 var traceHeader = new SentryTraceHeader ( SentryId . Parse ( "5bd5f6d346b442dd9177dce9302fd737" ) ,
10751075 SpanId . Parse ( "2000000000000000" ) , null ) ;
@@ -1104,7 +1104,7 @@ public void ContinueTrace_ReceivesHeadersAsStrings_SetsPropagationContextAndRetu
11041104 var hub = _fixture . GetSut ( ) ;
11051105 var propagationContext = new SentryPropagationContext (
11061106 SentryId . Parse ( "43365712692146d08ee11a729dfbcaca" ) , SpanId . Parse ( "1000000000000000" ) ) ;
1107- hub . ConfigureScope ( scope => scope . PropagationContext = propagationContext ) ;
1107+ hub . ConfigureScope ( scope => scope . SetPropagationContext ( propagationContext ) ) ;
11081108 var traceHeader = "5bd5f6d346b442dd9177dce9302fd737-2000000000000000" ;
11091109 var baggageHeader = "sentry-trace_id=5bd5f6d346b442dd9177dce9302fd737, sentry-public_key=49d0f7386ad645858ae85020e393bef3, sentry-sample_rate=1.0" ;
11101110
0 commit comments