Commit d2ae16e
authored
Minor refactor in
## Summary of changes
Don't re-do work in code fix
## Reason for change
Was looking at something else, and noticed that this was doing more work
than necessary
## Implementation details
The diagnostic is already located at the "problematic" catch, so we
don't need to try finding it _again_ in the code fix
## Test coverage
There are existing unit tests for this, and they all pass, so ThreadAbortCodeFixProvider (#6673)1 parent 7d24b3d commit d2ae16e
File tree
1 file changed
+4
-8
lines changed- tracer/src/Datadog.Trace.Tools.Analyzers/ThreadAbortAnalyzer
1 file changed
+4
-8
lines changedLines changed: 4 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
| 57 | + | |
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
63 | 63 | | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | 64 | | |
69 | 65 | | |
70 | 66 | | |
| |||
0 commit comments