File tree Expand file tree Collapse file tree 1 file changed +1
-16
lines changed
Expand file tree Collapse file tree 1 file changed +1
-16
lines changed Original file line number Diff line number Diff line change @@ -23,18 +23,6 @@ public class ProfileTracer
2323
2424 private readonly string _transactionId = Guid . NewGuid ( ) . ToString ( ) ;
2525 private string _requestId = null ;
26- private NameValueCollection _distributedHeaders ;
27- public NameValueCollection DistributedHeader
28- {
29- get
30- {
31- if ( _distributedHeaders == null )
32- {
33- _distributedHeaders = new NameValueCollection ( ) ;
34- }
35- return _distributedHeaders ;
36- }
37- }
3826
3927#if NETFULL
4028#if ! NET40
@@ -219,10 +207,7 @@ public ProfileTracer IgnoreChildFrames(bool value = true)
219207 [ MethodImpl ( MethodImplOptions . PreserveSig | MethodImplOptions . NoInlining | MethodImplOptions . NoOptimization ) ]
220208 public void ApplyDistributedHeaders ( string traceparent , string tracestate )
221209 {
222- DistributedHeader . Remove ( "traceparent" ) ;
223- DistributedHeader . Add ( "traceparent" , traceparent ) ;
224- DistributedHeader . Remove ( "tracestate" ) ;
225- DistributedHeader . Add ( "tracestate" , tracestate ) ;
210+
226211 }
227212
228213 //Method the profiler looks for
You can’t perform that action at this time.
0 commit comments