Commit c5987de
committed
- Consolidate GetCurrentOperationContext delegate into a property in the WcfCommon.cs class (intentionally new file to avoid rename conflicts with existing WcfIntegration.cs)
- Populate the GetCurrentOperationContext delegate lazily
- Check that the WCF integration is enabled and the feature flag is enabled FIRST, before checking whether the GetCurrentOperationContext is non-null1 parent e529a6b commit c5987de
File tree
5 files changed
+46
-66
lines changed- tracer/src/Datadog.Trace/ClrProfiler/AutoInstrumentation/Wcf
5 files changed
+46
-66
lines changedLines changed: 3 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | 33 | | |
48 | 34 | | |
49 | 35 | | |
| |||
63 | 49 | | |
64 | 50 | | |
65 | 51 | | |
66 | | - | |
| 52 | + | |
67 | 53 | | |
68 | 54 | | |
69 | 55 | | |
70 | 56 | | |
71 | | - | |
| 57 | + | |
72 | 58 | | |
73 | 59 | | |
74 | 60 | | |
| |||
Lines changed: 1 addition & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | 32 | | |
47 | 33 | | |
48 | 34 | | |
| |||
Lines changed: 3 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | 34 | | |
49 | 35 | | |
50 | 36 | | |
| |||
62 | 48 | | |
63 | 49 | | |
64 | 50 | | |
65 | | - | |
| 51 | + | |
66 | 52 | | |
67 | 53 | | |
68 | 54 | | |
69 | 55 | | |
70 | | - | |
| 56 | + | |
71 | 57 | | |
72 | 58 | | |
73 | 59 | | |
| |||
Lines changed: 3 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | 33 | | |
48 | 34 | | |
49 | 35 | | |
| |||
61 | 47 | | |
62 | 48 | | |
63 | 49 | | |
64 | | - | |
| 50 | + | |
65 | 51 | | |
66 | 52 | | |
67 | 53 | | |
68 | 54 | | |
69 | | - | |
| 55 | + | |
70 | 56 | | |
71 | 57 | | |
72 | 58 | | |
| |||
Lines changed: 36 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
0 commit comments