{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"id":"D9","name":"Test Distribution","shortDescription":{"text":"Test Distribution"},"helpUri":"https://codehealth.canine.dev/dimensions/D9"},{"id":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D18","name":"Solution Shape","shortDescription":{"text":"Solution Shape"},"helpUri":"https://codehealth.canine.dev/dimensions/D18"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D23","name":"Boundary Type-Coupling","shortDescription":{"text":"Boundary Type-Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D23"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX1","name":"Captive dependencies","shortDescription":{"text":"Captive dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/AX1"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX2","name":"Stateful singletons","shortDescription":{"text":"Stateful singletons"},"helpUri":"https://codehealth.canine.dev/dimensions/AX2"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX5","name":"Architecture \u0026 structure","shortDescription":{"text":"Architecture \u0026 structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AX5"},{"id":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"AX8","name":"Test isolation","shortDescription":{"text":"Test isolation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX8"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"C2","name":"Access Controls","shortDescription":{"text":"Access Controls"},"helpUri":"https://codehealth.canine.dev/dimensions/C2"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"GD1","name":"Unfinished \u0026 placeholder code","shortDescription":{"text":"Unfinished \u0026 placeholder code"},"helpUri":"https://codehealth.canine.dev/dimensions/GD1"},{"id":"IC1","name":"Incompleteness \u0026 stubs","shortDescription":{"text":"Incompleteness \u0026 stubs"},"helpUri":"https://codehealth.canine.dev/dimensions/IC1"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"P7","name":"Outbound HTTP resilience","shortDescription":{"text":"Outbound HTTP resilience"},"helpUri":"https://codehealth.canine.dev/dimensions/P7"},{"id":"P8","name":"Schema migrations","shortDescription":{"text":"Schema migrations"},"helpUri":"https://codehealth.canine.dev/dimensions/P8"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X2","name":"Cancellation propagation","shortDescription":{"text":"Cancellation propagation"},"helpUri":"https://codehealth.canine.dev/dimensions/X2"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"DrawableCanvasEx.OnResizeElement (cyclomatic 19): DrawableCanvasEx.OnResizeElement has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.WPF/CustomControls/DrawableCanvasEx.cs"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"1def4a03f8ebb1dfc16f98b91a21668ce55610ec1f4917b0ff3ad1976fdf38b2"}},{"ruleId":"D1","level":"warning","message":{"text":"CanvasEx.OnItemsSourceChanged (cyclomatic 17): CanvasEx.OnItemsSourceChanged has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (CanvasEx.OnShapeItemsChanged) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Avalonia/CustomControls/CanvasEx.cs"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4d7069ba2da33780977110d6550da559a6a204dab02d4f4aae4390c5a3caac5"}},{"ruleId":"D1","level":"warning","message":{"text":"CanvasEx.OnShapeItemsChanged (cyclomatic 17): CanvasEx.OnShapeItemsChanged has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (CanvasEx.OnItemsSourceChanged) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Avalonia/CustomControls/CanvasEx.cs"},"region":{"startLine":691}}}],"partialFingerprints":{"codehealthFindingId/v1":"b45bec9c0b51cc6f3af99d39ae9608f4db9d1225107bee8db399541807debbe3"}},{"ruleId":"D1","level":"warning","message":{"text":"CanvasEx.OnItemsSourceChanged (cyclomatic 17): CanvasEx.OnItemsSourceChanged has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (CanvasEx.OnShapeItemsChanged) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.WPF/CustomControls/CanvasEx.cs"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"c058a6b7a79298117fd374afa2fdddd5d770ab4f1999dce12130f9194fe96ef7"}},{"ruleId":"D1","level":"warning","message":{"text":"CanvasEx.OnShapeItemsChanged (cyclomatic 17): CanvasEx.OnShapeItemsChanged has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (CanvasEx.OnItemsSourceChanged) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.WPF/CustomControls/CanvasEx.cs"},"region":{"startLine":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"b812b2dda149d8ca0f150feed6eee316ebff6e9c4f6797a5d6413eb4eda6b0ab"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkflowExtension.TypifyParameters (cyclomatic 16): WorkflowExtension.TypifyParameters has cyclomatic complexity 16 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure/WorkflowBase/WorkflowExtension.cs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"6415a27b31c919a9b9f0ba3158831a8d1a6f50d5e91daf52c03479cd723a39d6"}},{"ruleId":"D2","level":"warning","message":{"text":"CanvasEx.OnItemsSourceChanged (cognitive 36): CanvasEx.OnItemsSourceChanged has cognitive complexity 36 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (CanvasEx.OnShapeItemsChanged) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Avalonia/CustomControls/CanvasEx.cs"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"1844949303cf3d7f988d8e7128e706054f5a627dac1addb4974d358193c6bac9"}},{"ruleId":"D2","level":"warning","message":{"text":"CanvasEx.OnShapeItemsChanged (cognitive 36): CanvasEx.OnShapeItemsChanged has cognitive complexity 36 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (CanvasEx.OnItemsSourceChanged) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Avalonia/CustomControls/CanvasEx.cs"},"region":{"startLine":691}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1ab1b96349dd3983bcb1c6e9c02c3be4c8a79fc5cf9cb7d8b0784d2acce302c"}},{"ruleId":"D2","level":"warning","message":{"text":"CanvasEx.OnItemsSourceChanged (cognitive 36): CanvasEx.OnItemsSourceChanged has cognitive complexity 36 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (CanvasEx.OnShapeItemsChanged) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.WPF/CustomControls/CanvasEx.cs"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"67c7bc059063dd80ed965706ee9ad1aa8438fd9deef34afc5530401093928c50"}},{"ruleId":"D2","level":"warning","message":{"text":"CanvasEx.OnShapeItemsChanged (cognitive 36): CanvasEx.OnShapeItemsChanged has cognitive complexity 36 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (CanvasEx.OnItemsSourceChanged) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.WPF/CustomControls/CanvasEx.cs"},"region":{"startLine":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"80f0aae9bcf61b678d6e6868714f344d65056fce9bbda9a68df8dc2571793064"}},{"ruleId":"D2","level":"warning","message":{"text":"DrawableCanvasEx.OnResizeElement (cognitive 31): DrawableCanvasEx.OnResizeElement has cognitive complexity 31 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.WPF/CustomControls/DrawableCanvasEx.cs"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cdb83838a0c1ac8b3b7c6563541b3b0bae5f3cbf01bfe884b4287561457c493"}},{"ruleId":"D2","level":"warning","message":{"text":"BusyExtension.GlobalIdle (cognitive 21): BusyExtension.GlobalIdle has cognitive complexity 21 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Avalonia.Caliburn/Extensions/BusyExtension.cs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"40ce8b5ff7b641e3abb1b94b15aad198ed7f821cb562c0d48961b8ab6fb4dec9"}},{"ruleId":"D2","level":"warning","message":{"text":"DrawableCanvasEx.OnCanvasMouseMove (cognitive 20): DrawableCanvasEx.OnCanvasMouseMove has cognitive complexity 20 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.WPF/CustomControls/DrawableCanvasEx.cs"},"region":{"startLine":744}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a9c452502f3dcf505fa52003e757c0e8c0a57048ba3d26d9d4f0f0c3b5cba0b"}},{"ruleId":"D2","level":"warning","message":{"text":"EFUnitOfWorkProvider.GetEntityHistories (cognitive 20): EFUnitOfWorkProvider.GetEntityHistories has cognitive complexity 20 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFUnitOfWorkProvider.cs"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"7442d13e4826191dbecde522e391392268934b9c96ac6b4cffda18fa282fcd3a"}},{"ruleId":"D2","level":"warning","message":{"text":"EFEntityRepositoryProvider.ExecuteSqlQuery (cognitive 19): EFEntityRepositoryProvider.ExecuteSqlQuery has cognitive complexity 19 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (EFEntityRepositoryProvider.ExecuteSqlQueryAsync) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFEntityRepositoryProvider.cs"},"region":{"startLine":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc8df0207125adea5d5a043e4b63a2d9faa1f9ef5b93110e08d9ef5e646ad1b2"}},{"ruleId":"D2","level":"warning","message":{"text":"EFEntityRepositoryProvider.ExecuteSqlQueryAsync (cognitive 19): EFEntityRepositoryProvider.ExecuteSqlQueryAsync has cognitive complexity 19 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (EFEntityRepositoryProvider.ExecuteSqlQuery) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFEntityRepositoryProvider.cs"},"region":{"startLine":733}}}],"partialFingerprints":{"codehealthFindingId/v1":"722c87b472872671e7a5d2282646009b42636f96a5607cc774b1559f0bb7ef06"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MongoRepositoryProvider: TooManyMethods \u2014 446 significant lines (blank, comment-only and punctuation-only lines excluded), 99 methods. The bar is 30 methods; this is 69 over it, 3.30\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.MongoDB/MongoRepositoryProvider.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf9c9286fac3ec142c81db2a8a6bb22c7933de8aed06f194b70ca42136cabffc"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: EFEntityRepositoryProvider: TooManyMethods \u2014 298 significant lines (blank, comment-only and punctuation-only lines excluded), 72 methods. The bar is 30 methods; this is 42 over it, 2.40\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFEntityRepositoryProvider.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f538be8b8260e5b30453dbc7de9d0b24e4d6fdaa9deb5f6ec12e072984df197"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: CustomControls/DrawableCanvasEx.cs: FileTooLong \u2014 907 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 407 over it, 1.81\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.WPF/CustomControls/DrawableCanvasEx.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcb5112c989e54b70ff8cf2f075c87773bee3fbc3edea1bb67e7ce62379f413d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: EFUnitOfWorkProvider: TooManyMethods \u2014 432 significant lines (blank, comment-only and punctuation-only lines excluded), 54 methods. The bar is 30 methods; this is 24 over it, 1.80\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFUnitOfWorkProvider.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbd00943f0355a608deaa076d738459fe46f4aee576356980eaf2d575bef6e2d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: EFAggRootRepositoryProvider: TooManyMethods \u2014 242 significant lines (blank, comment-only and punctuation-only lines excluded), 43 methods. The bar is 30 methods; this is 13 over it, 1.43\u00D7 the bar. The type holds no instance state, so there is no shared data to group its members by. To reduce it, split it by area instead: give each cohesive family of members its own smaller type, so no one type has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFAggRootRepositoryProvider.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e188c3f81d1feba1e376cf8cdd458a0f2d74edbe37945bf900c1f6e134daa50"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DrawableCanvasEx: TooManyMethods \u2014 891 significant lines (blank, comment-only and punctuation-only lines excluded), 42 methods. The bar is 30 methods; this is 12 over it, 1.40\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.WPF/CustomControls/DrawableCanvasEx.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cceee0554bb05114edd4f3a30ba79efa660716e72511a2d47f86fdee184ed9cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (9 members, 50\u002B identical tokens): src/SD.Infrastructure.WPF/CustomControls/DrawableCanvasEx.cs:885-903 | src/SD.Infrastructure.WPF/CustomControls/DrawableCanvasEx.cs:911-929 | src/SD.Infrastructure.WPF/CustomControls/DrawableCanvasEx.cs:1015-1033 | src/SD.Infrastructure.WPF/CustomControls/DrawableCanvasEx.cs:1041-1059 | src/SD.Infrastructure.WPF/CustomControls/DrawableCanvasEx.cs:1067-1085 | src/SD.Infrastructure.WPF/CustomControls/DrawableCanvasEx.cs:1093-1111 | src/SD.Infrastructure.WPF/CustomControls/DrawableCanvasEx.cs:1119-1137 | src/SD.Infrastructure.WPF/CustomControls/DrawableCanvasEx.cs:1145-1163 | src/SD.Infrastructure.WPF/CustomControls/DrawableCanvasEx.cs:1171-1189 \u2014 These 9 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 9 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 9 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.WPF/CustomControls/DrawableCanvasEx.cs"},"region":{"startLine":885}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6cbd9f19e2785ababdc0e12cef65aedfe02e047257870a8b7fcfb448d4531b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): src/SD.Infrastructure.Repository.EntityFrameworkCore/EFUnitOfWorkProvider.cs:715-748 | src/SD.Infrastructure.Repository.EntityFrameworkCore/EFUnitOfWorkProvider.cs:759-792 | src/SD.Infrastructure.Repository.EntityFrameworkCore/EFUnitOfWorkProvider.cs:803-836 | src/SD.Infrastructure.Repository.EntityFrameworkCore/EFUnitOfWorkProvider.cs:847-879 | src/SD.Infrastructure.Repository.EntityFrameworkCore/EFUnitOfWorkProvider.cs:1400-1433 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFUnitOfWorkProvider.cs"},"region":{"startLine":715}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c5678a847ece8b1234014a421fe46b490c1a9b10af00d985d78b6013e270d5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/SD.Infrastructure.Avalonia/Visual2Ds/RectangleVisual2D.cs:135-174 | src/SD.Infrastructure.Avalonia/Visual2Ds/RotatedRectangleVisual2D.cs:250-299 | src/SD.Infrastructure.WPF/Visual2Ds/RectangleVisual2D.cs:137-175 | src/SD.Infrastructure.WPF/Visual2Ds/RotatedRectangleVisual2D.cs:249-297 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Avalonia/Visual2Ds/RectangleVisual2D.cs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"b08f93538805e346a2dba735b531945362f8fbf382c60bb17af93d042ce5cc18"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/SD.Infrastructure.Repository.EntityFrameworkCore/EFUnitOfWorkProvider.cs:556-583 | src/SD.Infrastructure.Repository.EntityFrameworkCore/EFUnitOfWorkProvider.cs:594-630 | src/SD.Infrastructure.Repository.EntityFrameworkCore/EFUnitOfWorkProvider.cs:641-668 | src/SD.Infrastructure.Repository.EntityFrameworkCore/EFUnitOfWorkProvider.cs:679-704 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFUnitOfWorkProvider.cs"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8b976109ea4545c0f4089d624b4506d25a016a3109294e06b1c6e7c2fdc271b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): src/SD.Infrastructure.CrontabBase/Mediators/ScheduleMediator.cs:122-128 | src/SD.Infrastructure.CrontabBase/Mediators/ScheduleMediator.cs:182-188 | src/SD.Infrastructure.CrontabBase/Mediators/ScheduleMediator.cs:242-248 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/SD.Infrastructure.CrontabBase/Mediators/ScheduleMediator.cs:122\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.CrontabBase/Mediators/ScheduleMediator.cs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"78dcb5cd48b7ec18d964905bda1e6b84b8cf7b26bc717956a7a2487873f293d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): src/SD.Infrastructure.Repository.EntityFrameworkCore/EFUnitOfWorkProvider.cs:143-175 | src/SD.Infrastructure.Repository.EntityFrameworkCore/EFUnitOfWorkProvider.cs:202-234 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/SD.Infrastructure.Repository.EntityFrameworkCore/EFUnitOfWorkProvider.cs:143\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFUnitOfWorkProvider.cs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cb046853628de6bd355a7989914ef99abde56bbe1e5967af9ccbdc41dbce658"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/SD.Infrastructure.WPF/Extensions/ShapeExtension.cs:520-526 | src/SD.Infrastructure.WPF/Extensions/ShapeExtension.cs:576-582 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/SD.Infrastructure.WPF/Extensions/ShapeExtension.cs:520\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.WPF/Extensions/ShapeExtension.cs"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"3349104f25bc592e8aaa1e87baa8e7746c79e4ef3bb71a4177743b0dc70c0a23"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): src/SD.Infrastructure.Avalonia/CustomControls/CanvasEx.cs:655-684 | src/SD.Infrastructure.WPF/CustomControls/CanvasEx.cs:668-697 \u2014 before extracting anything, compare \u0060src/SD.Infrastructure.Avalonia/CustomControls/CanvasEx.cs\u0060 and \u0060src/SD.Infrastructure.WPF/CustomControls/CanvasEx.cs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 164 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/SD.Infrastructure.Avalonia/CustomControls/CanvasEx.cs:655\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Avalonia/CustomControls/CanvasEx.cs"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e7d77cd30a23bfb3c355b7ed473a92ba01cdf05a200019d1e316172e2de294b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): src/SD.Infrastructure.Avalonia/CustomControls/CanvasEx.cs:944-973 | src/SD.Infrastructure.WPF/CustomControls/CanvasEx.cs:949-978 \u2014 before extracting anything, compare \u0060src/SD.Infrastructure.Avalonia/CustomControls/CanvasEx.cs\u0060 and \u0060src/SD.Infrastructure.WPF/CustomControls/CanvasEx.cs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 164 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/SD.Infrastructure.Avalonia/CustomControls/CanvasEx.cs:944\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060eventArgs\u0060 to \u0060PointerWheelEventArgs\u0060 in one and \u0060MouseWheelEventArgs\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Avalonia/CustomControls/CanvasEx.cs"},"region":{"startLine":944}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed70539ead33b8679bf9d183e17f71921a6205531ac855142ce1d9052a2dd6f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 3): src/SD.Infrastructure.Repository.EntityFrameworkCore/EFUnitOfWorkProvider.cs:724-746 | src/SD.Infrastructure.Repository.EntityFrameworkCore/EFUnitOfWorkProvider.cs:768-790 | src/SD.Infrastructure.Repository.EntityFrameworkCore/EFUnitOfWorkProvider.cs:812-834 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/SD.Infrastructure.Repository.EntityFrameworkCore/EFUnitOfWorkProvider.cs:724\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFUnitOfWorkProvider.cs"},"region":{"startLine":724}}}],"partialFingerprints":{"codehealthFindingId/v1":"88aa37b5d327908804f27eec5a3febe395b73f5e6758173382af9c207cd121bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28\u201329 lines \u00D7 3): src/SD.Infrastructure.CrontabBase/Aspects/RunningAspect.cs:104-132 | src/SD.Infrastructure.SignalR.Client/Extensions/HubConnectionExtension.cs:141-168 | src/SD.Infrastructure.WWF/Base/WorkflowApplicationProxy.cs:371-398 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.CrontabBase/Aspects/RunningAspect.cs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"4462a15e3f2e26f0e87fc5e95f516e787d9eed4c5568ab43cdb20ffc19c28992"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28\u201329 lines \u00D7 2): src/SD.Infrastructure.WPF/Visual2Ds/RectangleVisual2D.cs:147-174 | src/SD.Infrastructure.WPF/Visual2Ds/RotatedRectangleVisual2D.cs:261-289 \u2014 before extracting anything, compare \u0060src/SD.Infrastructure.WPF/Visual2Ds/RectangleVisual2D.cs\u0060 and \u0060src/SD.Infrastructure.WPF/Visual2Ds/RotatedRectangleVisual2D.cs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 64 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/SD.Infrastructure.WPF/Visual2Ds/RectangleVisual2D.cs:147\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.WPF/Visual2Ds/RectangleVisual2D.cs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"e528eccc1558b2983d8ce1892b9db0d210ff4f8637edea2c7215fb588c001668"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): src/SD.Infrastructure.Repository.EntityFrameworkCore/EFEntityRepositoryProvider.cs:693-719 | src/SD.Infrastructure.Repository.EntityFrameworkCore/EFEntityRepositoryProvider.cs:761-787 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/SD.Infrastructure.Repository.EntityFrameworkCore/EFEntityRepositoryProvider.cs:693\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFEntityRepositoryProvider.cs"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffd4e584ac13fd3727e31dbe7222ba1dc015a553b88777ba7dd55811b9d08822"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): src/SD.Infrastructure.Avalonia/CustomControls/CanvasEx.cs:624-651 | src/SD.Infrastructure.WPF/CustomControls/CanvasEx.cs:637-664 \u2014 before extracting anything, compare \u0060src/SD.Infrastructure.Avalonia/CustomControls/CanvasEx.cs\u0060 and \u0060src/SD.Infrastructure.WPF/CustomControls/CanvasEx.cs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 164 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/SD.Infrastructure.Avalonia/CustomControls/CanvasEx.cs:624\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060eventArgs\u0060 to \u0060AvaloniaPropertyChangedEventArgs\u0060 in one and \u0060DependencyPropertyChangedEventArgs\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Avalonia/CustomControls/CanvasEx.cs"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d87bfec7e8655e64ba5de4b9a7f425dad5276b609d79d275f06cf4a950c7fc5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): src/SD.Infrastructure.Avalonia/CustomControls/CanvasEx.cs:693-718 | src/SD.Infrastructure.WPF/CustomControls/CanvasEx.cs:706-731 \u2014 before extracting anything, compare \u0060src/SD.Infrastructure.Avalonia/CustomControls/CanvasEx.cs\u0060 and \u0060src/SD.Infrastructure.WPF/CustomControls/CanvasEx.cs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 164 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/SD.Infrastructure.Avalonia/CustomControls/CanvasEx.cs:693\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Avalonia/CustomControls/CanvasEx.cs"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4907a7962db1ef041afb66330bc6bc36a04e7c94f6eab834d2b7796aa30b546"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): src/SD.Infrastructure.Avalonia/CustomControls/CanvasEx.cs:722-748 | src/SD.Infrastructure.WPF/CustomControls/CanvasEx.cs:735-761 \u2014 before extracting anything, compare \u0060src/SD.Infrastructure.Avalonia/CustomControls/CanvasEx.cs\u0060 and \u0060src/SD.Infrastructure.WPF/CustomControls/CanvasEx.cs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 164 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/SD.Infrastructure.Avalonia/CustomControls/CanvasEx.cs:722\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Avalonia/CustomControls/CanvasEx.cs"},"region":{"startLine":722}}}],"partialFingerprints":{"codehealthFindingId/v1":"95cc2dc96f4a12fbb166ea83c0346c715bb5f78ee424cb8ca256c5f8a3d59176"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): src/SD.Infrastructure.Avalonia/Visual2Ds/RotatedRectangleVisual2D.cs:260-285 | src/SD.Infrastructure.WPF/Visual2Ds/RotatedRectangleVisual2D.cs:259-284 \u2014 before extracting anything, compare \u0060src/SD.Infrastructure.Avalonia/Visual2Ds/RotatedRectangleVisual2D.cs\u0060 and \u0060src/SD.Infrastructure.WPF/Visual2Ds/RotatedRectangleVisual2D.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 51 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/SD.Infrastructure.Avalonia/Visual2Ds/RotatedRectangleVisual2D.cs:260\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Avalonia/Visual2Ds/RotatedRectangleVisual2D.cs"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"079efc041d07b253b1e571c370e6166352b3977115ff704b8452aabb9278555e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): src/SD.Infrastructure.WPF/UserControls/ImageCompareViewer.xaml.cs:151-176 | src/SD.Infrastructure.WPF/UserControls/ImageViewer.xaml.cs:100-125 \u2014 before extracting anything, compare \u0060src/SD.Infrastructure.WPF/UserControls/ImageCompareViewer.xaml.cs\u0060 and \u0060src/SD.Infrastructure.WPF/UserControls/ImageViewer.xaml.cs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 65 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.WPF/UserControls/ImageCompareViewer.xaml.cs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"64cf2ddd84d7ab7c1954081f9ffc7da0d131327b44158f2b73ed07dbadc43ae2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): src/SD.Infrastructure.WPF/CustomControls/DrawableCanvasEx.cs:1763-1788 | src/SD.Infrastructure.WPF/CustomControls/DrawableCanvasEx.cs:1819-1844 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/SD.Infrastructure.WPF/CustomControls/DrawableCanvasEx.cs:1763\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.WPF/CustomControls/DrawableCanvasEx.cs"},"region":{"startLine":1763}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cb3de7c5c222ac6c2f640129f98b9fc789e77e090323ecc61d929a9941bcc74"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 3): src/SD.Infrastructure.Repository.EntityFrameworkCore/EFUnitOfWorkProvider.cs:559-581 | src/SD.Infrastructure.Repository.EntityFrameworkCore/EFUnitOfWorkProvider.cs:606-628 | src/SD.Infrastructure.Repository.EntityFrameworkCore/EFUnitOfWorkProvider.cs:644-666 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFUnitOfWorkProvider.cs"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"43d3bd0464ff803e14b8dc2566f03d1a65c170c3c1fdf126d07ce95681c5f2c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): src/SD.Infrastructure.Avalonia/Visual2Ds/RectangleVisual2D.cs:144-167 | src/SD.Infrastructure.WPF/Visual2Ds/RectangleVisual2D.cs:146-169 \u2014 before extracting anything, compare \u0060src/SD.Infrastructure.Avalonia/Visual2Ds/RectangleVisual2D.cs\u0060 and \u0060src/SD.Infrastructure.WPF/Visual2Ds/RectangleVisual2D.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 49 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/SD.Infrastructure.Avalonia/Visual2Ds/RectangleVisual2D.cs:144\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Avalonia/Visual2Ds/RectangleVisual2D.cs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"21cd2abc360859f1e5a455b5904e04cb999f859366d1ea1595d361bf27454e55"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201325 lines \u00D7 2): src/SD.Infrastructure.Avalonia/Visual2Ds/RectangleVisual2D.cs:150-173 | src/SD.Infrastructure.Avalonia/Visual2Ds/RotatedRectangleVisual2D.cs:267-291 \u2014 before extracting anything, compare \u0060src/SD.Infrastructure.Avalonia/Visual2Ds/RectangleVisual2D.cs\u0060 and \u0060src/SD.Infrastructure.Avalonia/Visual2Ds/RotatedRectangleVisual2D.cs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 60 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/SD.Infrastructure.Avalonia/Visual2Ds/RectangleVisual2D.cs:150\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Avalonia/Visual2Ds/RectangleVisual2D.cs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"09ed29909c4ee9ca4575b935ccd09a29c3392929285dc105d5d26c28c75a52bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): src/SD.Infrastructure.Avalonia/Models/LiveMessage.cs:30-51 | src/SD.Infrastructure.WPF/Models/LiveMessage.cs:30-51 \u2014 before extracting anything, compare \u0060src/SD.Infrastructure.Avalonia/Models/LiveMessage.cs\u0060 and \u0060src/SD.Infrastructure.WPF/Models/LiveMessage.cs\u0060 as WHOLE FILES: 94% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Avalonia/Models/LiveMessage.cs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"28d46ce3a5a76e2ec3117df84dc225571aa9c3ff1ca7ded0366daad7ab7e01ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): src/SD.Infrastructure.Maui/Converters/BooleanDescriptionConverter.cs:41-61 | src/SD.Infrastructure.WPF/Converters/BooleanDescriptionConverter.cs:43-63 \u2014 before extracting anything, compare \u0060src/SD.Infrastructure.Maui/Converters/BooleanDescriptionConverter.cs\u0060 and \u0060src/SD.Infrastructure.WPF/Converters/BooleanDescriptionConverter.cs\u0060 as WHOLE FILES: 88% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Maui/Converters/BooleanDescriptionConverter.cs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2f22882c0a2783bde99a81cb23d8c570fda9018ba2faba24650a0d0dcf53235"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): src/SD.Infrastructure.WPF.Caliburn/Base/OneActiveConductorBase.cs:43-63 | src/SD.Infrastructure.WPF.Caliburn/Base/ScreenBase.cs:37-57 \u2014 before extracting anything, compare \u0060src/SD.Infrastructure.WPF.Caliburn/Base/OneActiveConductorBase.cs\u0060 and \u0060src/SD.Infrastructure.WPF.Caliburn/Base/ScreenBase.cs\u0060 as WHOLE FILES: 94% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.WPF.Caliburn/Base/OneActiveConductorBase.cs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d1a36fc8632a0a39043c85d2db8e47abc70cd089b32ca21b29c8853997e2d78"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 4): src/SD.Infrastructure.Avalonia/Visual2Ds/RectangleVisual2D.cs:150-168 | src/SD.Infrastructure.Avalonia/Visual2Ds/RotatedRectangleVisual2D.cs:267-286 | src/SD.Infrastructure.WPF/Visual2Ds/RectangleVisual2D.cs:152-170 | src/SD.Infrastructure.WPF/Visual2Ds/RotatedRectangleVisual2D.cs:266-285 \u2014 before extracting anything, compare \u0060src/SD.Infrastructure.Avalonia/Visual2Ds/RectangleVisual2D.cs\u0060 and \u0060src/SD.Infrastructure.Avalonia/Visual2Ds/RotatedRectangleVisual2D.cs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 60 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Avalonia/Visual2Ds/RectangleVisual2D.cs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"f171cb801cf1a66353742ac2c3c61a7010865aa68e49992dfef7d15f907b05f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/SD.Infrastructure.WPF/CustomControls/DrawableCanvasEx.cs:508-523 | src/SD.Infrastructure.WPF/CustomControls/DrawableCanvasEx.cs:531-546 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/SD.Infrastructure.WPF/CustomControls/DrawableCanvasEx.cs:508\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.WPF/CustomControls/DrawableCanvasEx.cs"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"a14ba06760b6740ad0511853a9d865b38074bbc903a9c90e3a0ae1751a778343"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/SD.Infrastructure.WPF.3D/Extensions/TransformExtension.cs:58-72 | src/SD.Infrastructure.WPF.3D/Extensions/TransformExtension.cs:86-100 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/SD.Infrastructure.WPF.3D/Extensions/TransformExtension.cs:58\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.WPF.3D/Extensions/TransformExtension.cs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"eba40fe6a8dfa1bfc70948a04ce7bc5a2d5cfa872948dbf8ef4a116af031bebb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/SD.Infrastructure.Repository.EntityFrameworkCore/EFAggRootRepositoryProvider.cs:404-416 | src/SD.Infrastructure.Repository.EntityFrameworkCore/EFAggRootRepositoryProvider.cs:431-443 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFAggRootRepositoryProvider.cs"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"877b5219de99c4f9ddd4304d40ce03cbc2eadd29c4893e2a615f18b1d1d32161"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/SD.Infrastructure.Repository.EntityFrameworkCore/EFAggRootRepositoryProvider.cs:458-470 | src/SD.Infrastructure.Repository.EntityFrameworkCore/EFAggRootRepositoryProvider.cs:485-497 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFAggRootRepositoryProvider.cs"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"0364bc6ffba9545ed0cab1d5751068763c0aa3a6e34645178dbf56acdaa540f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/SD.Infrastructure.Repository.EntityFrameworkCore/EFEntityRepositoryProvider.cs:380-392 | src/SD.Infrastructure.Repository.EntityFrameworkCore/EFEntityRepositoryProvider.cs:407-419 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFEntityRepositoryProvider.cs"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"e02e31fdf19fcf5edfb22462e062a20fef64831737d8089a07fdf7031e6ba88a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/SD.Infrastructure.Repository.EntityFrameworkCore/EFEntityRepositoryProvider.cs:434-446 | src/SD.Infrastructure.Repository.EntityFrameworkCore/EFEntityRepositoryProvider.cs:461-473 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFEntityRepositoryProvider.cs"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ffb8be95639168d005cdf409295f1dc9d69c34bb04a554e110567260fd8b3b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/SD.Infrastructure.Repository.EntityFrameworkCore/EFEntityRepositoryProvider.cs:488-500 | src/SD.Infrastructure.Repository.EntityFrameworkCore/EFEntityRepositoryProvider.cs:515-527 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFEntityRepositoryProvider.cs"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"a275b5b2b2af5e8d87e0af4424269350bad7314aca66443a230169d704c8a8b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/SD.Infrastructure.Avalonia/Commands/AsyncRelayCommand\u0060.cs:55-71 | src/SD.Infrastructure.Avalonia/Commands/RelayCommand\u0060.cs:53-67 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/SD.Infrastructure.Avalonia/Commands/AsyncRelayCommand\u0060.cs:55\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Avalonia/Commands/AsyncRelayCommand\u0060.cs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"0debba1283870eb95fcca6a8365f18fc64149bf0e632af8bb5a09049cb44b202"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/SD.Infrastructure.Avalonia/CustomControls/CanvasEx.cs:529-543 | src/SD.Infrastructure.WPF/CustomControls/CanvasEx.cs:538-552 \u2014 before extracting anything, compare \u0060src/SD.Infrastructure.Avalonia/CustomControls/CanvasEx.cs\u0060 and \u0060src/SD.Infrastructure.WPF/CustomControls/CanvasEx.cs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 164 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/SD.Infrastructure.WPF/CustomControls/CanvasEx.cs:538\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060eventArgs\u0060 to \u0060AvaloniaPropertyChangedEventArgs\u0060 in one and \u0060DependencyPropertyChangedEventArgs\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Avalonia/CustomControls/CanvasEx.cs"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"e17fa6ada68826bf6bf8f1503557652e01add16cf67c802882940dfe45179f9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 2): src/SD.Infrastructure.WPF/CustomControls/DrawableCanvasEx.cs:1738-1752 | src/SD.Infrastructure.WPF/CustomControls/DrawableCanvasEx.cs:1796-1808 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/SD.Infrastructure.WPF/CustomControls/DrawableCanvasEx.cs:1738\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.WPF/CustomControls/DrawableCanvasEx.cs"},"region":{"startLine":1738}}}],"partialFingerprints":{"codehealthFindingId/v1":"47ce96f57de7d772d2673ddcac25f77ffb8ef2bc7d8fcbe76c6450f663e80a7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/SD.Infrastructure.WPF/UserControls/ImageCompareViewer.xaml.cs:185-198 | src/SD.Infrastructure.WPF/UserControls/ImageViewer.xaml.cs:134-147 \u2014 before extracting anything, compare \u0060src/SD.Infrastructure.WPF/UserControls/ImageCompareViewer.xaml.cs\u0060 and \u0060src/SD.Infrastructure.WPF/UserControls/ImageViewer.xaml.cs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 65 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.WPF/UserControls/ImageCompareViewer.xaml.cs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"38c37eae635242882700bc3824c369f3a0bbbe7e8a5b9a99186c0ee12631afb5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): src/SD.Infrastructure.Repository.EntityFrameworkCore/EFUnitOfWorkProvider.cs:570-583 | src/SD.Infrastructure.Repository.EntityFrameworkCore/EFUnitOfWorkProvider.cs:617-630 | src/SD.Infrastructure.Repository.EntityFrameworkCore/EFUnitOfWorkProvider.cs:655-668 | src/SD.Infrastructure.Repository.EntityFrameworkCore/EFUnitOfWorkProvider.cs:691-704 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/SD.Infrastructure.Repository.EntityFrameworkCore/EFUnitOfWorkProvider.cs:570\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFUnitOfWorkProvider.cs"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"49be7bf5670873a1281656e1a136ef341e161956e12046a73ebad9b761ce2dae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/SD.Infrastructure.WPF/CustomControls/DrawableCanvasEx.cs:1418-1429 | src/SD.Infrastructure.WPF/CustomControls/DrawableCanvasEx.cs:1450-1461 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/SD.Infrastructure.WPF/CustomControls/DrawableCanvasEx.cs:1418\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.WPF/CustomControls/DrawableCanvasEx.cs"},"region":{"startLine":1418}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcb9225f07debb93c6a18bcc63aa5d7e0632f29276b1b0e8d6b453df0a852481"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): src/SD.Infrastructure.WPF/CustomControls/DrawableCanvasEx.cs:1098-1106 | src/SD.Infrastructure.WPF/CustomControls/DrawableCanvasEx.cs:1124-1132 | src/SD.Infrastructure.WPF/CustomControls/DrawableCanvasEx.cs:1150-1158 | src/SD.Infrastructure.WPF/CustomControls/DrawableCanvasEx.cs:1176-1184 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Note what the matched lines are: every one of them assigns one field to another, so the block is a hand-written mapper between two data shapes rather than behaviour with a helper inside it. Extracting one shared function only works if both sites map the SAME pair of types in the same direction \u2014 check that first, because inverse or differently-typed mappers have no single function they can both call. Where they do not, the moves that exist are a generated or reflective mapper, a common embedded/base type the fields live on once, or accepting the run and covering it with a test that fails when a field is added to one side only."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.WPF/CustomControls/DrawableCanvasEx.cs"},"region":{"startLine":1098}}}],"partialFingerprints":{"codehealthFindingId/v1":"dddd62033180b1781ad1dcc1b750aa3afde22502f6449334b5c58b05099dcc95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/SD.Infrastructure.WPF/CustomControls/DrawableCanvasEx.cs:892-903 | src/SD.Infrastructure.WPF/CustomControls/DrawableCanvasEx.cs:918-929 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/SD.Infrastructure.WPF/CustomControls/DrawableCanvasEx.cs:892\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.WPF/CustomControls/DrawableCanvasEx.cs"},"region":{"startLine":892}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b8a355649c014a1a6ab8528629faf65e98fb56b9adc517a75172a12e486b7ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/SD.Infrastructure.SignalR.Client.Receiver/Program.cs:14-25 | src/SD.Infrastructure.SignalR.Client.Sender/Program.cs:14-25 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.SignalR.Client.Receiver/Program.cs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"638d46aed49a7a0341feb9b6bb4da9828c008ef141c46793ee625a707832e403"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 7): src/SD.Infrastructure.WPF/CustomControls/DrawableCanvasEx.cs:1016-1025 | src/SD.Infrastructure.WPF/CustomControls/DrawableCanvasEx.cs:1042-1051 | src/SD.Infrastructure.WPF/CustomControls/DrawableCanvasEx.cs:1068-1077 | src/SD.Infrastructure.WPF/CustomControls/DrawableCanvasEx.cs:1094-1103 | src/SD.Infrastructure.WPF/CustomControls/DrawableCanvasEx.cs:1120-1129 | src/SD.Infrastructure.WPF/CustomControls/DrawableCanvasEx.cs:1146-1155 | src/SD.Infrastructure.WPF/CustomControls/DrawableCanvasEx.cs:1172-1181 \u2014 all 7 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/SD.Infrastructure.WPF/CustomControls/DrawableCanvasEx.cs:1016\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.WPF/CustomControls/DrawableCanvasEx.cs"},"region":{"startLine":1016}}}],"partialFingerprints":{"codehealthFindingId/v1":"202361e05b4c8e36a3b32d087bf7ccd93d0c0c100ec91f78d49e6db89ff08683"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/SD.Infrastructure.Avalonia/UserControls/Paginator.axaml.cs:199-210 | src/SD.Infrastructure.WPF/UserControls/Paginator.xaml.cs:197-208 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060eventArgs\u0060 to \u0060AvaloniaPropertyChangedEventArgs\u0060 in one and \u0060DependencyPropertyChangedEventArgs\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Avalonia/UserControls/Paginator.axaml.cs"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"03362e352139b5fa267c6d2f1cf633515118a59d01ef5c4812e3fe4ef1220261"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/SD.Infrastructure.WPF.3D/Visual3Ds/GridLinesVisual3D.cs:259-269 | src/SD.Infrastructure.WPF.3D/Visual3Ds/GridLinesVisual3D.cs:287-297 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/SD.Infrastructure.WPF.3D/Visual3Ds/GridLinesVisual3D.cs:259\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.WPF.3D/Visual3Ds/GridLinesVisual3D.cs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"14e5b0de2e7248128a5ce6528191ee669b9c610bbb2310e6b4647a2336fb8e5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): src/SD.Infrastructure.Avalonia/Converters/EnumMemberConverter.cs:40-49 | src/SD.Infrastructure.Maui/Converters/EnumMemberConverter.cs:40-50 \u2014 before extracting anything, compare \u0060src/SD.Infrastructure.Avalonia/Converters/EnumMemberConverter.cs\u0060 and \u0060src/SD.Infrastructure.Maui/Converters/EnumMemberConverter.cs\u0060 as WHOLE FILES: 95% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Avalonia/Converters/EnumMemberConverter.cs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"8810b05ac5c3b4af07ce254edd859babaeb24ef5081ab7636613ac6eebc15a49"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/SD.Infrastructure.Avalonia/Visual2Ds/ShapeVisual2D.cs:67-77 | src/SD.Infrastructure.WPF/Visual2Ds/ShapeVisual2D.cs:66-76 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/SD.Infrastructure.Avalonia/Visual2Ds/ShapeVisual2D.cs:67\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060eventArgs\u0060 to \u0060AvaloniaPropertyChangedEventArgs\u0060 in one and \u0060DependencyPropertyChangedEventArgs\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Avalonia/Visual2Ds/ShapeVisual2D.cs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d7ee7f58730e9278467281ed27612cab4502bf153809272acdb4cda970c5f26"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/SD.Infrastructure.WPF/CustomControls/DrawableCanvasEx.cs:891-900 | src/SD.Infrastructure.WPF/CustomControls/DrawableCanvasEx.cs:1178-1187 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note what the matched lines are: every one of them assigns one field to another, so the block is a hand-written mapper between two data shapes rather than behaviour with a helper inside it. Extracting one shared function only works if both sites map the SAME pair of types in the same direction \u2014 check that first, because inverse or differently-typed mappers have no single function they can both call. Where they do not, the moves that exist are a generated or reflective mapper, a common embedded/base type the fields live on once, or accepting the run and covering it with a test that fails when a field is added to one side only."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.WPF/CustomControls/DrawableCanvasEx.cs"},"region":{"startLine":891}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebda1cbcf085babf737fd196329993bb8d4334a991455ebabab6f376021a7937"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5): src/SD.Infrastructure.Repository.EntityFrameworkCore/EFUnitOfWorkProvider.cs:739-748 | src/SD.Infrastructure.Repository.EntityFrameworkCore/EFUnitOfWorkProvider.cs:783-792 | src/SD.Infrastructure.Repository.EntityFrameworkCore/EFUnitOfWorkProvider.cs:827-836 | src/SD.Infrastructure.Repository.EntityFrameworkCore/EFUnitOfWorkProvider.cs:870-879 | src/SD.Infrastructure.Repository.EntityFrameworkCore/EFUnitOfWorkProvider.cs:1424-1433 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/SD.Infrastructure.Repository.EntityFrameworkCore/EFUnitOfWorkProvider.cs:739\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/SD.Infrastructure.Repository.EntityFrameworkCore/EFUnitOfWorkProvider.cs:1421\u0060 calls \u0060Where\u0060 and \u0060src/SD.Infrastructure.Repository.EntityFrameworkCore/EFUnitOfWorkProvider.cs:866\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFUnitOfWorkProvider.cs"},"region":{"startLine":739}}}],"partialFingerprints":{"codehealthFindingId/v1":"e623552a6fe8b8c9d67872fd640eed0d0028f5b36532759aa0de2e10cc9b18fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): src/SD.Infrastructure.Avalonia/Extensions/ShapeExtension.cs:40-44 | src/SD.Infrastructure.WPF/Extensions/ShapeExtension.cs:40-44 | src/SD.Infrastructure.WPF/Extensions/ShapeExtension.cs:67-71 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060points\u0060 to \u0060this IList\u003CPoint\u003E\u0060 in one and \u0060this PointCollection\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Avalonia/Extensions/ShapeExtension.cs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"f35d687503f66640fed2e47b6e234a96a40e0a540f89d5c080e28bdcce3fcd2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/SD.Infrastructure/Shapes/PolygonL.cs:121-129 | src/SD.Infrastructure/Shapes/PolylineL.cs:121-129 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure/Shapes/PolygonL.cs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"05063ae646e2b9176b69abd023c222ffa6fcc72fa3e7a881f1119e6064b2ff41"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/SD.Infrastructure.Avalonia/CustomControls/CanvasEx.cs:852-859 | src/SD.Infrastructure.WPF/CustomControls/CanvasEx.cs:859-866 \u2014 before extracting anything, compare \u0060src/SD.Infrastructure.Avalonia/CustomControls/CanvasEx.cs\u0060 and \u0060src/SD.Infrastructure.WPF/CustomControls/CanvasEx.cs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 164 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Avalonia/CustomControls/CanvasEx.cs"},"region":{"startLine":852}}}],"partialFingerprints":{"codehealthFindingId/v1":"d64dd0049c75aecf32922c92b5e3b96e2ed2d1048aad5a5bfa8a6648769db0c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/SD.Infrastructure.SignalR.Client/Extensions/HubConnectionExtension.cs:70-79 | src/SD.Infrastructure.SignalR.Client/Extensions/HubConnectionExtension.cs:96-105 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/SD.Infrastructure.SignalR.Client/Extensions/HubConnectionExtension.cs:70\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.SignalR.Client/Extensions/HubConnectionExtension.cs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"3652192106779e3c5bc850cd4aa9b4a27f0e3bcfedebae92446a1ee11f9d223e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): src/SD.Infrastructure.Avalonia/Visual2Ds/PointVisual2D.cs:144-153 | src/SD.Infrastructure.Avalonia/Visual2Ds/RectangleVisual2D.cs:135-143 | src/SD.Infrastructure.Avalonia/Visual2Ds/RotatedRectangleVisual2D.cs:250-259 \u2014 before extracting anything, compare \u0060src/SD.Infrastructure.Avalonia/Visual2Ds/RectangleVisual2D.cs\u0060 and \u0060src/SD.Infrastructure.Avalonia/Visual2Ds/RotatedRectangleVisual2D.cs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 60 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/SD.Infrastructure.Avalonia/Visual2Ds/PointVisual2D.cs:144\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Avalonia/Visual2Ds/PointVisual2D.cs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"88e37ccac554b7781d82b7e72694dfa518f75820d975fbafd36c5a7ed4fcb42f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): src/SD.Infrastructure.WPF/CustomControls/DrawableCanvasEx.cs:1332-1340 | src/SD.Infrastructure.WPF/CustomControls/DrawableCanvasEx.cs:1361-1369 | src/SD.Infrastructure.WPF/CustomControls/DrawableCanvasEx.cs:1388-1396 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/SD.Infrastructure.WPF/CustomControls/DrawableCanvasEx.cs:1332\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.WPF/CustomControls/DrawableCanvasEx.cs"},"region":{"startLine":1332}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0b239337050551a309b234de1068832210315324e9a196d60777bacad3c5e34"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): src/SD.Infrastructure.WPF/Visual2Ds/PointVisual2D.cs:140-149 | src/SD.Infrastructure.WPF/Visual2Ds/RectangleVisual2D.cs:137-145 | src/SD.Infrastructure.WPF/Visual2Ds/RotatedRectangleVisual2D.cs:249-258 \u2014 before extracting anything, compare \u0060src/SD.Infrastructure.WPF/Visual2Ds/RectangleVisual2D.cs\u0060 and \u0060src/SD.Infrastructure.WPF/Visual2Ds/RotatedRectangleVisual2D.cs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 64 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/SD.Infrastructure.WPF/Visual2Ds/PointVisual2D.cs:140\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.WPF/Visual2Ds/PointVisual2D.cs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cdc40b72b56656639c18b931985a00d68516573adda5fd7cb47c7351d0d2684"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): src/SD.Infrastructure.SignalR.Client/Extensions/HubConnectionExtension.cs:71-77 | src/SD.Infrastructure.SignalR.Client/Extensions/HubConnectionExtension.cs:97-103 | src/SD.Infrastructure.WWF/Base/WorkflowApplicationProxy.cs:354-360 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/SD.Infrastructure.SignalR.Client/Extensions/HubConnectionExtension.cs:71\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.SignalR.Client/Extensions/HubConnectionExtension.cs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e9456703a3a2bc8cc48be7e09cee9bed6204ec93e76105ea12362e85805ba01"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/SD.Infrastructure/Shapes/RotatedRectangleL.cs:129-134 | src/SD.Infrastructure/Shapes/RotatedRectangleL.cs:148-153 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/SD.Infrastructure/Shapes/RotatedRectangleL.cs:129\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure/Shapes/RotatedRectangleL.cs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad6fb14f95bb3ba33cd4d235b1ed8f92127dfe286ea260fd78189bda58f2ade8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/SD.Infrastructure/Shapes/RotatedRectangleL.cs:167-172 | src/SD.Infrastructure/Shapes/RotatedRectangleL.cs:186-191 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/SD.Infrastructure/Shapes/RotatedRectangleL.cs:167\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure/Shapes/RotatedRectangleL.cs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"69baf64a201bd1cc9bd790a80b19a63739cff6d5a151ff0d7aa074f6e9b75ba0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/SD.Infrastructure.Maui.Caliburn/Extensions/NavigationExtension.cs:76-82 | src/SD.Infrastructure.Maui.Caliburn/Extensions/NavigationExtension.cs:97-103 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/SD.Infrastructure.Maui.Caliburn/Extensions/NavigationExtension.cs:76\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/SD.Infrastructure.Maui.Caliburn/Extensions/NavigationExtension.cs:96\u0060 calls \u0060Bind\u0060 and \u0060src/SD.Infrastructure.Maui.Caliburn/Extensions/NavigationExtension.cs:74\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Maui.Caliburn/Extensions/NavigationExtension.cs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a2940125e5d15096900305e8ce906da88382858010370cffcfec6d94045ce93"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/SD.Infrastructure.Avalonia.Caliburn/Base/OneActiveConductorBase.cs:124-128 | src/SD.Infrastructure.WPF.Caliburn/Base/OneActiveConductorBase.cs:265-269 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Avalonia.Caliburn/Base/OneActiveConductorBase.cs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"92b2e464032eef4f7d1a0660380543f14b4e77bb2980219c01e23790db83c262"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (90 lines \u00D7 2): src/SD.Infrastructure.Avalonia/Models/Item.cs:28-117 | src/SD.Infrastructure.Maui/Models/Item.cs:28-117 \u2014 before extracting anything, compare \u0060src/SD.Infrastructure.Avalonia/Models/Item.cs\u0060 and \u0060src/SD.Infrastructure.Maui/Models/Item.cs\u0060 as WHOLE FILES: 96% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/SD.Infrastructure.Avalonia/Models/Item.cs:28\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Avalonia/Models/Item.cs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"953c0b0085824961ba4ea0086e5be2fae141c0c1a37986846bfec8da41e28eb2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (72 lines \u00D7 2): src/SD.Infrastructure.Avalonia/Models/Wrap.cs:27-98 | src/SD.Infrastructure.Maui/Models/Wrap.cs:27-98 \u2014 before extracting anything, compare \u0060src/SD.Infrastructure.Avalonia/Models/Wrap.cs\u0060 and \u0060src/SD.Infrastructure.Maui/Models/Wrap.cs\u0060 as WHOLE FILES: 97% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/SD.Infrastructure.Avalonia/Models/Wrap.cs:27\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Avalonia/Models/Wrap.cs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b71c7f8d7231762b8506ff4893cc04cf81b58a0befa3f9591c2a13a06281267"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (111 lines \u00D7 2): src/SD.Infrastructure.Maui.Caliburn/Base/OneActiveConductorBase.cs:26-136 | src/SD.Infrastructure.Maui.Caliburn/Base/ScreenBase.cs:26-136 \u2014 before extracting anything, compare \u0060src/SD.Infrastructure.Maui.Caliburn/Base/OneActiveConductorBase.cs\u0060 and \u0060src/SD.Infrastructure.Maui.Caliburn/Base/ScreenBase.cs\u0060 as WHOLE FILES: 95% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Maui.Caliburn/Base/OneActiveConductorBase.cs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a3647e74d5575437cc594e581663a49d55b343d2c6a0fccffc6f55805fb78f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/SD.Infrastructure/Shapes/PolygonL.cs:37-42 | src/SD.Infrastructure/Shapes/PolylineL.cs:37-42 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure/Shapes/PolygonL.cs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6af345e2c91cd86ffc899fc5302f94cf45b141efaf77dac19605def8e910d2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/SD.Infrastructure/Shapes/PolygonL.cs:105-112 | src/SD.Infrastructure/Shapes/PolylineL.cs:105-112 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure/Shapes/PolygonL.cs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"13131ef7fe075b8bb97178b73170f7a5b05198af885acd733b990a71e7d7fe04"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/SD.Infrastructure.Avalonia.Caliburn/Aspects/DependencyPropertyAspect.cs:19-31 | src/SD.Infrastructure.WPF.Caliburn/Aspects/DependencyPropertyAspect.cs:20-32 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Avalonia.Caliburn/Aspects/DependencyPropertyAspect.cs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"b41f2abba601ae25b6a223e1a0976552de13747c2c184b3ae04a235a1accc6f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): src/SD.Infrastructure.Avalonia/Converters/EnumMemberConverter.cs:19-32 | src/SD.Infrastructure.Maui/Converters/EnumMemberConverter.cs:19-32 | src/SD.Infrastructure.WPF/Converters/EnumMemberConverter.cs:19-32 \u2014 before extracting anything, compare \u0060src/SD.Infrastructure.Avalonia/Converters/EnumMemberConverter.cs\u0060 and \u0060src/SD.Infrastructure.Maui/Converters/EnumMemberConverter.cs\u0060 as WHOLE FILES: 95% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Avalonia/Converters/EnumMemberConverter.cs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"95f6e3ffec56f098b751f1c2ad690f7fd1822a6932b77e6e1e330ef7e390757c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 10): src/SD.Infrastructure.Avalonia/Visual2Ds/CircleVisual2D.cs:48-52 | src/SD.Infrastructure.Avalonia/Visual2Ds/EllipseVisual2D.cs:54-58 | src/SD.Infrastructure.Avalonia/Visual2Ds/LineVisual2D.cs:43-47 | src/SD.Infrastructure.Avalonia/Visual2Ds/RectangleVisual2D.cs:57-61 | src/SD.Infrastructure.Avalonia/Visual2Ds/RotatedRectangleVisual2D.cs:72-76 | src/SD.Infrastructure.WPF/Visual2Ds/CircleVisual2D.cs:48-52 | src/SD.Infrastructure.WPF/Visual2Ds/EllipseVisual2D.cs:54-58 | src/SD.Infrastructure.WPF/Visual2Ds/LineVisual2D.cs:42-46 | src/SD.Infrastructure.WPF/Visual2Ds/RectangleVisual2D.cs:57-61 | src/SD.Infrastructure.WPF/Visual2Ds/RotatedRectangleVisual2D.cs:69-73 \u2014 before extracting anything, compare \u0060src/SD.Infrastructure.Avalonia/Visual2Ds/RectangleVisual2D.cs\u0060 and \u0060src/SD.Infrastructure.Avalonia/Visual2Ds/RotatedRectangleVisual2D.cs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 60 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Avalonia/Visual2Ds/CircleVisual2D.cs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"05d4aa3d67b87356028c95d98b5d9c6cae44ac579b3aeaba2357bb929f887850"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): src/SD.Infrastructure.Avalonia/Visual2Ds/CircleVisual2D.cs:102-123 | src/SD.Infrastructure.Avalonia/Visual2Ds/EllipseVisual2D.cs:119-140 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Avalonia/Visual2Ds/CircleVisual2D.cs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"6844f5efcd9b3b3b296cd62e4ed8b9ee656a3eabcf5fdd3e22cb6f093ced9804"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/SD.Infrastructure.Avalonia/Visual2Ds/PointVisual2D.cs:61-65 | src/SD.Infrastructure.WPF/Visual2Ds/PointVisual2D.cs:60-64 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Avalonia/Visual2Ds/PointVisual2D.cs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"8665553cf383469b7209ab9f6c26d74833acc6b94f33143d293e1b59310805b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/SD.Infrastructure.Avalonia/Visual2Ds/PolygonVisual2D.cs:40-44 | src/SD.Infrastructure.Avalonia/Visual2Ds/PolylineVisual2D.cs:40-44 \u2014 before extracting anything, compare \u0060src/SD.Infrastructure.Avalonia/Visual2Ds/PolygonVisual2D.cs\u0060 and \u0060src/SD.Infrastructure.Avalonia/Visual2Ds/PolylineVisual2D.cs\u0060 as WHOLE FILES: 85% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Avalonia/Visual2Ds/PolygonVisual2D.cs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5eb43b9ac22240343fe71adedc3884c3bc1fbb2cf48342f22a5362ac4fb77f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/SD.Infrastructure.WPF/UserControls/ImageCompareViewer.xaml.cs:127-142 | src/SD.Infrastructure.WPF/UserControls/ImageViewer.xaml.cs:76-91 \u2014 before extracting anything, compare \u0060src/SD.Infrastructure.WPF/UserControls/ImageCompareViewer.xaml.cs\u0060 and \u0060src/SD.Infrastructure.WPF/UserControls/ImageViewer.xaml.cs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 65 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.WPF/UserControls/ImageCompareViewer.xaml.cs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a9f426c1e32a30b4a384c4825b007df6c7daa68ad84f3db6a6a66911debcc5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/SD.Infrastructure.WPF/UserControls/ImageCompareViewer.xaml.cs:207-215 | src/SD.Infrastructure.WPF/UserControls/ImageViewer.xaml.cs:156-164 \u2014 before extracting anything, compare \u0060src/SD.Infrastructure.WPF/UserControls/ImageCompareViewer.xaml.cs\u0060 and \u0060src/SD.Infrastructure.WPF/UserControls/ImageViewer.xaml.cs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 65 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.WPF/UserControls/ImageCompareViewer.xaml.cs"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ece3c3c10871b66cca34f494e42c36a1580d0edac19616f5b7b56c3fbb19c3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/SD.Infrastructure.WPF/Visual2Ds/CircleVisual2D.cs:116-125 | src/SD.Infrastructure.WPF/Visual2Ds/EllipseVisual2D.cs:133-142 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.WPF/Visual2Ds/CircleVisual2D.cs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"b64f93016485cd59644d814d491023a61f37c72843ec27fe53c8fea32c0e9841"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: SD.Infrastructure.Repository.EntityFrameworkCore(net8.0): SD.Infrastructure.Repository.EntityFrameworkCore(net8.0): abstractness 0.80, instability 1.00, distance 0.80 \u2014 zone of uselessness \u2014 abstract and unstable, so it\u0027s likely unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/SD.Infrastructure.Repository.EntityFrameworkCore.csproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"84627bf9711acd22ee89a0e49c5fad08156f641275e964e8e6cb4b9a9c1a6000"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: TestConfigurations: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.CrontabBase.Tests/TestCases/ConfigurationTests.cs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"32d08aeaaec5e6a648aa373450f24cc2702c36c43c93c0201413858b4fc26370"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: TestCrontabSetting: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.CrontabBase.Tests/TestCases/ConfigurationTests.cs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"47040ba06a3b1edc7d257786712a46b96fcb3fdf4a12ab9133f92b24a2d8c50c"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: TestCrontabConfiguration: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.CrontabBase.Tests/TestCases/ScheduleTests.cs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"15849f8be066e88e3b295b4ce99c8a275829da97f2f37845848ba84f05b0d363"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: TestHelloWorld: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.CrontabBase.Tests/TestCases/ScheduleTests.cs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"4baa89130eca3fbb6793e73bbe8bcb2b105be750a7bed79faf57efb03fc8dd53"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: TestRecoverCrontabs: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.CrontabBase.Tests/TestCases/ScheduleTests.cs"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aff1bca1085d2d2b3f5ec321094ed09edd86ab332d171612920b9d7aa07deaa"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: TestCreate: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore.Tests/TestCases/CrudTests.cs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6a3519b9745eb0dcba33819e62d80bb4b56150b2ada1b1fcc2c89c6e07a1985"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: TestRegisterSqlCommand: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore.Tests/TestCases/RegisterSqlTests.cs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"f11dccec1dacec2368001f6a7b2dd0242673ee56b0ed040ce05babda791eaea5"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: TestApplicationId: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Tests/TestCases/ConfigurationTests.cs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee711da08ce4813a40ff6a87c7fa61785e54f84756000b07a10408ef48df6047"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO \u5BFC\u51FA\u5B9E\u65F6\u6D88\u606F \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Avalonia.Caliburn/Base/OneActiveConductorBase.cs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9f94d42247b3d42c615c444e2e31528da2a8b8dc41ae1c2cf3d0a8ba89d9e01"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 12 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Avalonia.Caliburn/Base/OneActiveConductorBase.cs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fc922c07daacd60e6af31b4e81d934fce3c142196f0fec1c2fd451538f3ff6e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO \u8C03\u8BD5 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Maui.Caliburn/Base/OneActiveConductorBase.cs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2157fe3f14c3971f61db9a8c6826318036ef4e33862038d726fa04cab331084"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO \u8C03\u8BD5 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Maui.Caliburn/Base/ScreenBase.cs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec1a467cb446a7cc2ae9aa9336da5964f42e4ef04e3b1e46149d99a531010b80"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO \u6CE8\u610F\u8C03\u8BD5 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Maui.Caliburn/Extensions/NavigationExtension.cs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b14bda60b75167f58c39f54573b0be0bafa0a2b29c299c021a0d6f0d961e423"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO \u6CE8\u610F\u8C03\u8BD5 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Maui.Caliburn/Extensions/NavigationExtension.cs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"31f4cb06d874927791da51cdb2744b98b9d5532f58283229e47b2d81b5fc520d"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d2bea044ff79d7d275f5a91a6e2f548586178eaf480274c33960ad020c854631"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060SD.Infrastructure(net462)\u0060 overshoots its size bounds (6278 LoC, 80 public types across 17 namespaces). 3 of 32 project(s) overshoot their size bounds, lowering Project Cohesion to 8.7/10. Review these for cohesion \u2014 split a project that spans unrelated responsibilities."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure/SD.Infrastructure.csproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cf54eb6897e00713dad01852f4ea8394b6821941b7c3742e723ec28aa2bc456"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060SD.Infrastructure.WPF(net462)\u0060 overshoots its size bounds (6969 LoC, 42 public types across 11 namespaces). 3 of 32 project(s) overshoot their size bounds, lowering Project Cohesion to 8.7/10. Review these for cohesion \u2014 split a project that spans unrelated responsibilities."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.WPF/SD.Infrastructure.WPF.csproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eef7afe7f5051135230f1ca327ce08159c0530d47d5cd6910089346392b70b2"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060SD.Infrastructure.Avalonia\u0060 overshoots its size bounds (6074 LoC, 53 public types across 11 namespaces). 3 of 32 project(s) overshoot their size bounds, lowering Project Cohesion to 8.7/10. Review these for cohesion \u2014 split a project that spans unrelated responsibilities."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Avalonia/SD.Infrastructure.Avalonia.csproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"60f4db6598ca6456b5a9a67fd3714e0882bc0cc3194510f9f919c73411d27190"}},{"ruleId":"D26","level":"note","message":{"text":"Split SD.Infrastructure(net462): \u0060SD.Infrastructure(net462)\u0060 overshoots its size bounds (6278 LoC, 80 public types across 17 namespaces). These parts reach the rest of the project only through its shared core (\u0060Configurations\u0060, \u0060CrontabBase\u0060, \u0060EntityBase\u0060), so they are the cleanest seams: \u0060SD.Infrastructure.Shapes\u0060 (11 types in 11 files): 0 of 142 of its type references cross into a sibling namespace, and the rest of the project uses it 0 times and it uses the rest 0 times; \u0060SD.Infrastructure.RepositoryBase\u0060 (6 types in 6 files): 3 of 74 of its type references cross into a sibling namespace, and the rest of the project uses it 0 times and it uses the rest 72 times. Extract each into its own project."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure/SD.Infrastructure.csproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c4d0997a9af6e96252ce2cf716a22c51e0c41adc90b0dce14bf4fdc3ff73179"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6e43b76a24140984b99fb49df564fc80f9d10bd2c9b227d3a0a847660ce1ea79"},"properties":{"commitSha":"4928b18855c58ed03913d8069f6eafcb2e47b3e4"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-540","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cf7f0b0b3df57c2c9cb46ed8fdfabfa851343bdc20dfc6914614d2d5b97351bc"},"properties":{"commitSha":"e7275f72b6d4bafadb0d15501174fc46898e3ce5"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-540","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8e52505a450fa53b13a4afc3100aef590b0cf0d3bea8755037186188ae8d7c30"},"properties":{"commitSha":"daf2cf8f26cb8d5cb427444b9bbcabfdce452f0b"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-540","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"24513920135755dbea829f9f3fb5871a59efa9e0c365a064ffac4c8c684b8514"},"properties":{"commitSha":"011a518ececec9ebf4c4250302831deb3f4bd4e9"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-540","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9d82d223fa3c6c8810d36c87cf5e9a9681c0ff778811935267bd786485debc5f"},"properties":{"commitSha":"011a518ececec9ebf4c4250302831deb3f4bd4e9"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-540","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D28","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3cdfd7beb31b791ae18dcb425e21eb157c842e7bbcd522cc330573c1a6538db1"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fe1a2af69d14f0f0f7eb2662772d5ad8a99d974409d4744b9d14c5ce2f4b57e1"},"taxa":[{"id":"CWE-502","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5d1eed517f375a87e62cf649c401fe36ace935ee14c913bd1300ef118e3219cd"},"taxa":[{"id":"CWE-502","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7b0cf3ee3ddd53bd5ed124e9c1c103611af27358fbeddbb794447a6c410eee1b"},"taxa":[{"id":"CWE-776","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: EFEntityRepositoryProvider.cs \u2194 EFUnitOfWorkProvider.cs: \u0060src/SD.Infrastructure.Repository.EntityFrameworkCore/EFEntityRepositoryProvider.cs\u0060 and \u0060src/SD.Infrastructure.Repository.EntityFrameworkCore/EFUnitOfWorkProvider.cs\u0060 change together 50% of the time (9 of the 18 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 9 shared commits counted here, the most recent 3 are \u006002272c44\u0060 \u66F4\u65B0nuget\u5305\uFF1B; \u006079613fe3\u0060 \u4F18\u5316\u91CD\u547D\u540D\uFF1B; \u0060ba5f09db\u0060 \u4F18\u5316\u5206\u9875\u76F8\u5173\uFF1B \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFEntityRepositoryProvider.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6c48550b91c46834448c12a30be7812b06c4f456874895d95a9b26c31ddf52f"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: FrameworkSection: \u0060FrameworkSection\u0060 keeps mutable \u0060static\u0060 state \u2014 one slot for the whole process, shared by every thread that reaches the type however its instances are created \u2014 and mutates it outside any lock (_Setting; e.g. \u0060_Setting\u0060 at line 46). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure/Configurations/FrameworkSection.cs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"17eaef2fe0c6692b29afa94b86ed8b0cac14e9f4b3b979c5aa022562f94aa9c5"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: GlobalSetting: \u0060GlobalSetting\u0060 keeps mutable \u0060static\u0060 state \u2014 one slot for the whole process, shared by every thread that reaches the type however its instances are created \u2014 and mutates it outside any lock (_ReadConnectionString, _WriteConnectionString; e.g. \u0060_ReadConnectionString\u0060 at line 113). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure/Constants/GlobalSetting.cs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae605729f60d4b556e2da2dd741eef6ae35bee0ece960561a7e457720b9b4016"}},{"ruleId":"AX3","level":"error","message":{"text":"Namespace dependency cycle: The namespaces SD.Infrastructure.Avalonia.CustomControls \u2194 SD.Infrastructure.Avalonia.Models depend on each other. The lightest dependency in the cycle is SD.Infrastructure.Avalonia.CustomControls \u2192 SD.Infrastructure.Avalonia.Models (SD.Infrastructure.Avalonia.CustomControls.CanvasEx \u2192 SD.Infrastructure.Avalonia.Models.CanvasEventHandler, 2 type pair(s)); cut that one first, e.g. by moving the shared type to a namespace both can use or inverting it behind an interface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Avalonia/CustomControls/CanvasEx.cs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba17a95550492ed68c35159dc2a9f6aaf2f978794690485c684e3fa62eebfafb"}},{"ruleId":"AX3","level":"error","message":{"text":"Namespace dependency cycle: The namespaces SD.Infrastructure.WPF.CustomControls \u2194 SD.Infrastructure.WPF.Models depend on each other. The lightest dependency in the cycle is SD.Infrastructure.WPF.Models \u2192 SD.Infrastructure.WPF.CustomControls (SD.Infrastructure.WPF.Models.CanvasEventHandler \u2192 SD.Infrastructure.WPF.CustomControls.CanvasEx, 2 type pair(s)); cut that one first, e.g. by moving the shared type to a namespace both can use or inverting it behind an interface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.WPF/Models/CanvasEventHandler.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d176254e7cb1fe0feed971c7458e5e263efbd3e303aaacaadaa926eac19988dd"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: IAggRootRepository\u003CT\u003E (40 members): \u0060IAggRootRepository\u003CT\u003E\u0060 declares 40 members under just 12 distinct name(s): \u0060SingleOrDefault\u0060, \u0060SingleOrDefaultAsync\u0060, \u0060SingleOrDefault\u0060, \u0060SingleOrDefaultAsync\u0060, \u0060Single\u0060, \u0060SingleAsync\u0060, \u0060Single\u0060, \u0060SingleAsync\u0060, \u0060Find\u0060, \u0060FindAsync\u0060, \u0060Find\u0060, \u0060FindAsync\u0060, \u0060FindByPage\u0060, \u0060FindByPageAsync\u0060, \u0060FindByPage\u0060, \u0060FindByPageAsync\u0060, \u0060Find\u0060, \u0060FindAsync\u0060, \u0060Find\u0060, \u0060FindAsync\u0060, \u0060ExistsNo\u0060, \u0060ExistsNoAsync\u0060, \u0060ExistsNo\u0060, \u0060ExistsNoAsync\u0060, \u0060ExistsNo\u0060, \u0060ExistsNoAsync\u0060, \u0060ExistsNo\u0060, \u0060ExistsNoAsync\u0060, \u0060ExistsName\u0060, \u0060ExistsNameAsync\u0060, \u0060ExistsName\u0060, \u0060ExistsNameAsync\u0060, \u0060ExistsName\u0060, \u0060ExistsNameAsync\u0060, \u0060ExistsName\u0060, \u0060ExistsNameAsync\u0060, \u0060ExistsName\u0060, \u0060ExistsNameAsync\u0060, \u0060ExistsName\u0060, \u0060ExistsNameAsync\u0060. Counted as the author wrote them \u2014 a property is ONE member and its get/set accessors are not counted separately, and an event counts once. That is an OVERLOAD SET, not 40 separate responsibilities: a caller binds to 12 operation(s) and uses the overload it selected, so the Interface-Segregation harm does NOT apply on the caller\u0027s side and splitting this into role-interfaces would scatter one operation without relieving anything. The burden that does remain is the IMPLEMENTER\u0027s \u2014 all 40 signatures must be written and kept in step. Reduce it by collapsing overloads (optional or default parameters, or an options object) rather than by segregating the interface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure/RepositoryBase/IAggRootRepository.cs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4c81f355ec168710af1d3e6ed576fc64ce4904b46cd87ca9b2648198e9f68d3"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: IEntityRepository\u003CT\u003E (38 members): \u0060IEntityRepository\u003CT\u003E\u0060 declares 38 members: \u0060SingleOrDefault\u0060, \u0060SingleOrDefaultAsync\u0060, \u0060SingleOrDefault\u0060, \u0060SingleOrDefaultAsync\u0060, \u0060Single\u0060, \u0060SingleAsync\u0060, \u0060Single\u0060, \u0060SingleAsync\u0060, \u0060SingleOrDefault\u0060, \u0060SingleOrDefaultAsync\u0060, \u0060Single\u0060, \u0060SingleAsync\u0060, \u0060FirstOrDefault\u0060, \u0060FirstOrDefaultAsync\u0060, \u0060FirstOrDefault\u0060, \u0060FirstOrDefaultAsync\u0060, \u0060FindAll\u0060, \u0060FindAllAsync\u0060, \u0060FindAll\u0060, \u0060FindAllAsync\u0060, \u0060Find\u0060, \u0060FindAsync\u0060, \u0060Find\u0060, \u0060FindAsync\u0060, \u0060Find\u0060, \u0060FindAsync\u0060, \u0060Count\u0060, \u0060CountAsync\u0060, \u0060Count\u0060, \u0060CountAsync\u0060, \u0060Exists\u0060, \u0060ExistsAsync\u0060, \u0060Exists\u0060, \u0060ExistsAsync\u0060, \u0060Exists\u0060, \u0060ExistsAsync\u0060, \u0060ExecuteSqlQuery\u0060, \u0060ExecuteSqlQueryAsync\u0060. Counted as the author wrote them \u2014 a property is ONE member and its get/set accessors are not counted separately, and an event counts once. Those 38 declarations carry 16 distinct name(s), so part of the width is overloading rather than separate responsibilities \u2014 but 16 operations clears the \u003E15 bar on its own, so the row is about responsibilities, not signatures. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure/RepositoryBase/IEntityRepository.cs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"45f71cb9381554c6da3f847eb693c756bda2153a6887e83156cecc5c39178dd9"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: IUnitOfWork (42 members): \u0060IUnitOfWork\u0060 declares 42 members: \u0060BeginTransaction\u0060, \u0060UseTransaction\u0060, \u0060GetCurrentTransaction\u0060, \u0060GetEntityHistory\u0060, \u0060GetEntityHistories\u0060, \u0060RegisterAdd\u0060, \u0060RegisterAddRange\u0060, \u0060RegisterSave\u0060, \u0060RegisterSaveRange\u0060, \u0060RegisterPhysicsRemove\u0060, \u0060RegisterPhysicsRemove\u0060, \u0060RegisterPhysicsRemove\u0060, \u0060RegisterPhysicsRemove\u0060, \u0060RegisterPhysicsRemoveRange\u0060, \u0060RegisterPhysicsRemoveRange\u0060, \u0060RegisterPhysicsRemoveRange\u0060, \u0060RegisterPhysicsRemoveRange\u0060, \u0060RegisterRemove\u0060, \u0060RegisterRemove\u0060, \u0060RegisterRemove\u0060, \u0060RegisterRemove\u0060, \u0060RegisterRemoveRange\u0060, \u0060RegisterRemoveRange\u0060, \u0060RegisterRemoveRange\u0060, \u0060RegisterRemoveRange\u0060, \u0060Resolve\u0060, \u0060ResolveAsync\u0060, \u0060Resolve\u0060, \u0060ResolveAsync\u0060, \u0060Resolve\u0060, \u0060ResolveAsync\u0060, \u0060ResolveRange\u0060, \u0060ResolveRangeAsync\u0060, \u0060ResolveRange\u0060, \u0060ResolveRangeAsync\u0060, \u0060ResolveRange\u0060, \u0060ResolveRangeAsync\u0060, \u0060Commit\u0060, \u0060CommitAsync\u0060, \u0060RollBack\u0060, and 2 more. Counted as the author wrote them \u2014 a property is ONE member and its get/set accessors are not counted separately, and an event counts once. Those 42 declarations carry 22 distinct name(s), so part of the width is overloading rather than separate responsibilities \u2014 but 22 operations clears the \u003E15 bar on its own, so the row is about responsibilities, not signatures. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure/RepositoryBase/IUnitOfWork.cs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"79b121e3152bc45cb7f2de088a7f9775798c13460f03e58617eabce6be3f9b01"}},{"ruleId":"C2","level":"note","message":{"text":"Thin authorization enforcement: Authorization machinery exists but no [Authorize] usage and no imperative guard calls were found at handlers."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1240e406e864a89e38d5e3fa370dee11971db94808c3db2fda9b41bf2e5b8efb"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.WPF/Converters/EmptyObjectToVisibilityConverter.cs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3dfe7017ac3ef30f5cc8b5a9968b7e40c773b3771e7f4d4716085d18fee4113"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Avalonia.Caliburn/Base/OneActiveConductorBase.cs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"216d1030a49567ad53ea000a697d140c1269b2878cb803c5fac593e585692b0a"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Avalonia.Caliburn/Base/OneActiveConductorBase.cs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"f811b5c2dcccff4857ec211e313db3656f349fe2a94f7929a6225c85083b4156"}},{"ruleId":"M1","level":"note","message":{"text":"Thin README: The root README is 46 words, against a bar of 120. Of the three newcomer-critical sections this check looks for by heading, in the README and in the repository documents it links, it found no a build/run or getting-started section, no a testing section, no an architecture or project-map section. Sections are matched on HEADING text only, so material written under a heading this check does not recognise \u2014 or with no heading at all \u2014 is not seen and this row may understate what the document covers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c88b11295dc6ac6146c259ace6043143959f96dc98628f8c8578b6c5f95b8149"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"M2","level":"note","message":{"text":"No architecture diagram/doc: No C4/Structurizr/PlantUML/Mermaid/Graphviz/D2 diagram, no drawn diagram named for the architecture, no file named \u0060architecture\u0060 or \u0060design\u0060 in any markup this check reads, and nothing in the README, docs or contributor guides that announces the shape \u2014 no \u0060## Architecture\u0060 heading, no \u0022architecture overview\u0022/\u0022high-level design\u0022 phrasing, no \u0022the architecture is \u2026\u0022 introduction, no guided code tour. A shape laid out in prose that never names itself as the architecture is not visible to this check, and neither is one kept outside the repository, so this row reports the absence of a re-findable shape document \u2014 not evidence that nobody wrote the shape down."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0c190e7c159d1850ee706c3ac4486e151e8a4fe169de4bf61436b9f399654f06"}},{"ruleId":"P1","level":"warning","message":{"text":"No CI pipeline: No CI workflow found (.github/workflows, azure-pipelines.yml, .gitlab-ci.yml, \u2026) \u2014 changes aren\u0027t gated by an automated build/test."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"44f01af96e50474fba2df84d95ddf4f7e1d34c29c307830b9efc9057daa6b670"}},{"ruleId":"P2","level":"warning","message":{"text":"No structured logging: No logging call was found in the 382 \u0060.cs\u0060 file(s) this check read. Each was searched for the framework names \u0060ILogger\u0060, \u0060Serilog\u0060, \u0060NLog\u0060 and \u0060log4net\u0060; for a call on a receiver whose name ends in \u0060Logger\u0060; for a \u0060System.Diagnostics\u0060 write; for a level-gated log facade; and for the builder spellings that CONFIGURE logging for everyone else (\u0060AddLogging(\u0060, \u0060ConfigureLogging(\u0060, \u0060UseSerilog(\u0060, \u0060UseNLog(\u0060, \u0060.Logging.Add\u2026(\u0060); and for emission through an \u0060EventSource\u0060, \u0060ActivitySource\u0060 or \u0060DiagnosticSource\u0060 (\u0060WriteEvent(\u0060, \u0060StartActivity(\u0060, \u0060.Write(\u0022event\u0022, \u2026)\u0060). That walk sees only \u0060.cs\u0060 documents from projects the workspace loaded, so it cannot see logging in source that did not load, in another language, or through a repo-local wrapper whose name does not end in \u0060Logger\u0060 \u2014 this is \u0027no logging found by this walk\u0027, not a verdict that nothing here logs. If it is right, production issues will be hard to diagnose."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"9f10d71351c6778ebe84e761f82a90d4f9ed6c64f5e01975ede8fda7e4e2ebc5"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add CodeQL\u0027s csharp pack, or a .NET security analyzer package (or \u0060semgrep --config=auto\u0060, which runs on any language) \u2014 this repository has no CI pipeline yet, so run it locally to clear the existing findings, then make it a step of the first workflow you add so a regression fails the build. What was searched, so you can tell an absence from a miss: the 0 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P3","level":"note","message":{"text":"No dependency-update automation: \u0060src/SD.Infrastructure.AOP/SD.Infrastructure.AOP.csproj\u0060 declares packages, and nothing in the repository keeps them current: no Dependabot or Renovate configuration that schedules updates, and no dependency-review gate on pull requests. A pinned dependency stays at the version it was added at until someone notices \u2014 including after an advisory is published against it. Add a \u0060.github/dependabot.yml\u0060 with one \u0060package-ecosystem\u0060 entry per ecosystem the tree uses (or an enabled \u0060renovate.json\u0060), and gate pull requests with \u0060actions/dependency-review-action\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.AOP/SD.Infrastructure.AOP.csproj"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf212e0fc150d83b228f1519f5c552b01a5859710278b0f2147edd8321322770"}},{"ruleId":"P6","level":"note","message":{"text":"No changelog: No CHANGELOG/HISTORY/RELEASES file \u2014 what shipped when isn\u0027t easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dda5aa5aed8cbb292c3ef2b733bc138f614293ae6426c85e98bf31ef330d9415"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060new HttpClient()\u0060 builds an outbound HTTP client and nothing bounds it: no timeout is set on it and no retry or resilience policy wraps its calls in the type that owns it. This codebase ships libraries/tools rather than a service it operates, so the failure lands as a hung caller \u2014 a build step, a CLI run, a UI thread \u2014 with no way out."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Maui.Android/Updaters/AutoUpdater.cs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"503b1e71541cd499c0d59795a50e7dd88e8432b002a2dbb66248e5918035e2f2"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060new HttpClient()\u0060 builds an outbound HTTP client and nothing bounds it: no timeout is set on it and no retry or resilience policy wraps its calls in the type that owns it. This codebase ships libraries/tools rather than a service it operates, so the failure lands as a hung caller \u2014 a build step, a CLI run, a UI thread \u2014 with no way out."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Maui.Android/Updaters/AutoUpdater.cs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"5225a642b7b464e5dc061606d80f6ad730d559cd77af70ceea4bfa3f1f0edb00"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060new HttpClient()\u0060 builds an outbound HTTP client and nothing bounds it: no timeout is set on it and no retry or resilience policy wraps its calls in the type that owns it. This codebase ships libraries/tools rather than a service it operates, so the failure lands as a hung caller \u2014 a build step, a CLI run, a UI thread \u2014 with no way out."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Maui.Android/Updaters/AutoUpdater.cs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c5660503e1788fdb01805be4b8eef91247af6b67dc8e2c0e26e59f98ad542f1"}},{"ruleId":"SC1","level":"warning","message":{"text":"NuGet dependencies are not locked: No packages.lock.json and no central package management \u2014 restores aren\u0027t reproducible or pinned (SSDF PW.4.4). Enable \u003CRestorePackagesWithLockFile\u003Etrue\u003C/RestorePackagesWithLockFile\u003E (commit the lockfile) or adopt Directory.Packages.props. Advisory \u2014 never scored."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0a97b4f69ccac509400ece7eedefb06d3ede0522cd4d8bcb5c068bea719545a6"}},{"ruleId":"X1","level":"warning","message":{"text":"async void method: Execute: \u0060async void\u0060 can\u0027t be awaited and its exceptions crash the process instead of propagating. Return \u0060Task\u0060 \u2014 or, where the delegate contract requires void (timer/event/callback registrations), make this a thin void shim that awaits a Task-returning inner method inside try/catch so exceptions are contained."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Avalonia/Commands/AsyncRelayCommand.cs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dd3b47b6aa7a7190555aa7f66f9c406f08a02ad6ee6c2ebe943bab7688d13fc"}},{"ruleId":"X1","level":"warning","message":{"text":"async void method: Execute: \u0060async void\u0060 can\u0027t be awaited and its exceptions crash the process instead of propagating. Return \u0060Task\u0060 \u2014 or, where the delegate contract requires void (timer/event/callback registrations), make this a thin void shim that awaits a Task-returning inner method inside try/catch so exceptions are contained."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Avalonia/Commands/AsyncRelayCommand\u0060.cs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d7144013710bc208276d154ea189a8f3017edce293de938f8898c93cc30d2db"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk) through \u0060.Wait(\u2026)\u0060: \u0060.Wait(\u2026)\u0060 blocks this thread until the task completes or the bound expires \u2014 sync-over-async: it can deadlock under a synchronization context and it parks a thread while it waits. \u0060await\u0060 the task (with \u0060.WaitAsync(timeout, token)\u0060 where the bound matters)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Maui.Android/Updaters/AutoUpdater.cs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"e19ad7eeca4f4739198f05d3ecf134237e350917c72d1a11e31233e91344bc83"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk) through \u0060.Result\u0060: Reading \u0060.Result\u0060 of a task that has not completed blocks this thread until it does \u2014 the same block as \u0060.Wait()\u0060: under a synchronization context (Blazor, a UI thread, classic ASP.NET) it deadlocks, and on the thread pool it parks a thread for as long as the work runs. \u0060await\u0060 the task instead (make the caller \u0060async\u0060); where a synchronous entry point must stay, keep the block in ONE documented bridge with a timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.CrontabBase/Mediators/ScheduleMediator.cs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa1ce6ddbdcd4e055f521d27f9b5be523ed5896f8a3af27935d0e8d1774a1415"}},{"ruleId":"X1","level":"warning","message":{"text":"async void method: Schedule: \u0060async void\u0060 can\u0027t be awaited and its exceptions crash the process instead of propagating. Return \u0060Task\u0060 \u2014 or, where the delegate contract requires void (timer/event/callback registrations), make this a thin void shim that awaits a Task-returning inner method inside try/catch so exceptions are contained."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.CrontabBase/Mediators/ScheduleMediator.cs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"562be799b6cc4a6c44fb48edf7394ca25a2feaa1507be56a6e01cda6aa55faf2"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk) through \u0060.Result\u0060: Reading \u0060.Result\u0060 of a task that has not completed blocks this thread until it does \u2014 the same block as \u0060.Wait()\u0060: under a synchronization context (Blazor, a UI thread, classic ASP.NET) it deadlocks, and on the thread pool it parks a thread for as long as the work runs. \u0060await\u0060 the task instead (make the caller \u0060async\u0060); where a synchronous entry point must stay, keep the block in ONE documented bridge with a timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.CrontabBase/Mediators/ScheduleMediator.cs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"66ce8b6156068f62d403022630a4bb25e8408c0e4d715d1cce633058433ceb67"}},{"ruleId":"X1","level":"warning","message":{"text":"async void method: Schedule: \u0060async void\u0060 can\u0027t be awaited and its exceptions crash the process instead of propagating. Return \u0060Task\u0060 \u2014 or, where the delegate contract requires void (timer/event/callback registrations), make this a thin void shim that awaits a Task-returning inner method inside try/catch so exceptions are contained."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.CrontabBase/Mediators/ScheduleMediator.cs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"dadac09515854c9e2699f0a12824877f3e552fdc9a9f899b9a6fd8d566475cfa"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk) through \u0060.Result\u0060: Reading \u0060.Result\u0060 of a task that has not completed blocks this thread until it does \u2014 the same block as \u0060.Wait()\u0060: under a synchronization context (Blazor, a UI thread, classic ASP.NET) it deadlocks, and on the thread pool it parks a thread for as long as the work runs. \u0060await\u0060 the task instead (make the caller \u0060async\u0060); where a synchronous entry point must stay, keep the block in ONE documented bridge with a timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.CrontabBase/Mediators/ScheduleMediator.cs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"63eb00c7564fbcfe79c99b9c8377a2524619283b760499e1572b4404c7d6a7ef"}},{"ruleId":"X1","level":"warning","message":{"text":"async void method: ScheduleGenerally: \u0060async void\u0060 can\u0027t be awaited and its exceptions crash the process instead of propagating. Return \u0060Task\u0060 \u2014 or, where the delegate contract requires void (timer/event/callback registrations), make this a thin void shim that awaits a Task-returning inner method inside try/catch so exceptions are contained."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.CrontabBase/Mediators/ScheduleMediator.cs"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"97bc161888c4954c5082fe9bd48e2b7cbed9f29426da8a407175530c031ddea2"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk) through \u0060.Result\u0060: Reading \u0060.Result\u0060 of a task that has not completed blocks this thread until it does \u2014 the same block as \u0060.Wait()\u0060: under a synchronization context (Blazor, a UI thread, classic ASP.NET) it deadlocks, and on the thread pool it parks a thread for as long as the work runs. \u0060await\u0060 the task instead (make the caller \u0060async\u0060); where a synchronous entry point must stay, keep the block in ONE documented bridge with a timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.CrontabBase/Mediators/ScheduleMediator.cs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"b57ae2aa8b6101e4731bd52348fe139dc870c3a16570e78430b198880059e15c"}},{"ruleId":"X1","level":"warning","message":{"text":"async void method: Pause: \u0060async void\u0060 can\u0027t be awaited and its exceptions crash the process instead of propagating. Return \u0060Task\u0060 \u2014 or, where the delegate contract requires void (timer/event/callback registrations), make this a thin void shim that awaits a Task-returning inner method inside try/catch so exceptions are contained."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.CrontabBase/Mediators/ScheduleMediator.cs"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"7432866ec14036242bb3868b32b3ba2597b91783e3e9257b50982ff5157ef134"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk) through \u0060.Result\u0060: Reading \u0060.Result\u0060 of a task that has not completed blocks this thread until it does \u2014 the same block as \u0060.Wait()\u0060: under a synchronization context (Blazor, a UI thread, classic ASP.NET) it deadlocks, and on the thread pool it parks a thread for as long as the work runs. \u0060await\u0060 the task instead (make the caller \u0060async\u0060); where a synchronous entry point must stay, keep the block in ONE documented bridge with a timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.CrontabBase/Mediators/ScheduleMediator.cs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"a49b8fd3956a069e933c841b3ddf725a6acf119fb0343acaf01a566490886cb8"}},{"ruleId":"X1","level":"warning","message":{"text":"async void method: Resume: \u0060async void\u0060 can\u0027t be awaited and its exceptions crash the process instead of propagating. Return \u0060Task\u0060 \u2014 or, where the delegate contract requires void (timer/event/callback registrations), make this a thin void shim that awaits a Task-returning inner method inside try/catch so exceptions are contained."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.CrontabBase/Mediators/ScheduleMediator.cs"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"786d1bd338855a90936a2926152f744ca35714c876f13425f4962360e3472403"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk) through \u0060.Result\u0060: Reading \u0060.Result\u0060 of a task that has not completed blocks this thread until it does \u2014 the same block as \u0060.Wait()\u0060: under a synchronization context (Blazor, a UI thread, classic ASP.NET) it deadlocks, and on the thread pool it parks a thread for as long as the work runs. \u0060await\u0060 the task instead (make the caller \u0060async\u0060); where a synchronous entry point must stay, keep the block in ONE documented bridge with a timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.CrontabBase/Mediators/ScheduleMediator.cs"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cbd45f024a5e1f93c9ad287fa9d73639f85dbad7765e6c3635df8aaf0f17381"}},{"ruleId":"X1","level":"warning","message":{"text":"async void method: Remove: \u0060async void\u0060 can\u0027t be awaited and its exceptions crash the process instead of propagating. Return \u0060Task\u0060 \u2014 or, where the delegate contract requires void (timer/event/callback registrations), make this a thin void shim that awaits a Task-returning inner method inside try/catch so exceptions are contained."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.CrontabBase/Mediators/ScheduleMediator.cs"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e9c1142d7f518bf11108a7ddacf31616dc083e83b2a8a75a147863ce01364d5"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk) through \u0060.Result\u0060: Reading \u0060.Result\u0060 of a task that has not completed blocks this thread until it does \u2014 the same block as \u0060.Wait()\u0060: under a synchronization context (Blazor, a UI thread, classic ASP.NET) it deadlocks, and on the thread pool it parks a thread for as long as the work runs. \u0060await\u0060 the task instead (make the caller \u0060async\u0060); where a synchronous entry point must stay, keep the block in ONE documented bridge with a timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.CrontabBase/Mediators/ScheduleMediator.cs"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"6edcac12a18f4e742914e8544b5b6e488a605f7252574e90cc547d89fb013671"}},{"ruleId":"X1","level":"warning","message":{"text":"async void method: Remove: \u0060async void\u0060 can\u0027t be awaited and its exceptions crash the process instead of propagating. Return \u0060Task\u0060 \u2014 or, where the delegate contract requires void (timer/event/callback registrations), make this a thin void shim that awaits a Task-returning inner method inside try/catch so exceptions are contained."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.CrontabBase/Mediators/ScheduleMediator.cs"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bc41fa62cfba32520229da6f815bd14d1fcc747cf568ffff597d0242ded7a21"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk) through \u0060.Result\u0060: Reading \u0060.Result\u0060 of a task that has not completed blocks this thread until it does \u2014 the same block as \u0060.Wait()\u0060: under a synchronization context (Blazor, a UI thread, classic ASP.NET) it deadlocks, and on the thread pool it parks a thread for as long as the work runs. \u0060await\u0060 the task instead (make the caller \u0060async\u0060); where a synchronous entry point must stay, keep the block in ONE documented bridge with a timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.CrontabBase/Mediators/ScheduleMediator.cs"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"60e272036ae70bd3675910f13c606dfa694ad239ca04a8bcdc93d099ac147d82"}},{"ruleId":"X1","level":"warning","message":{"text":"async void method: Clear: \u0060async void\u0060 can\u0027t be awaited and its exceptions crash the process instead of propagating. Return \u0060Task\u0060 \u2014 or, where the delegate contract requires void (timer/event/callback registrations), make this a thin void shim that awaits a Task-returning inner method inside try/catch so exceptions are contained."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.CrontabBase/Mediators/ScheduleMediator.cs"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"05879b0769e6afd56c71f412965c67b9859ae3e185ef3b96f503fd7d117d3ed3"}},{"ruleId":"X1","level":"warning","message":{"text":"async void method: Send: \u0060async void\u0060 can\u0027t be awaited and its exceptions crash the process instead of propagating. Return \u0060Task\u0060 \u2014 or, where the delegate contract requires void (timer/event/callback registrations), make this a thin void shim that awaits a Task-returning inner method inside try/catch so exceptions are contained."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.SignalR.Client/Mediators/MessageMediator.cs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"e983f8bcfe383a7776e844cdd087aae5115586a95f9d7a083af26d56389095d0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!source.Points.Any() \u0026\u0026 !target.Points.Any()\u0060 appears character-identically in 2 files \u2014 src/SD.Infrastructure/Shapes/PolygonL.cs, src/SD.Infrastructure/Shapes/PolylineL.cs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure/Shapes/PolygonL.cs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d871dda1871b83f02af3929870ccf29731dd801da27eca8d610ab914a05e745"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!this.Viewbox.IsMouseCaptured || !this._moving\u0060 appears character-identically in 2 files \u2014 src/SD.Infrastructure.WPF/UserControls/ImageCompareViewer.xaml.cs, src/SD.Infrastructure.WPF/UserControls/ImageViewer.xaml.cs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.WPF/UserControls/ImageCompareViewer.xaml.cs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb67cd973883ae88e17d3374de556f850a939f7f055f2f347ad9d894f5593d3d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060newShape != null \u0026\u0026 !canvas.Children.Contains(newShape)\u0060 appears character-identically in 2 files \u2014 src/SD.Infrastructure.Avalonia/Visual2Ds/ShapeVisual2D.cs, src/SD.Infrastructure.WPF/Visual2Ds/ShapeVisual2D.cs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Avalonia/Visual2Ds/ShapeVisual2D.cs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecff66ab82a8ddd29134f49afa26513aa5ad73aa32ff71c02ea04732b21ce510"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060oldImage != null \u0026\u0026 canvas.Children.Contains(oldImage)\u0060 appears character-identically in 2 files \u2014 src/SD.Infrastructure.Avalonia/CustomControls/CanvasEx.cs, src/SD.Infrastructure.WPF/CustomControls/CanvasEx.cs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Avalonia/CustomControls/CanvasEx.cs"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aaa039811f4cde2f9b3c8968c0b33db2e8a4e84c112cda1a4d92acabe968b87"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060oldShape != null \u0026\u0026 canvas.Children.Contains(oldShape)\u0060 appears character-identically in 2 files \u2014 src/SD.Infrastructure.Avalonia/Visual2Ds/ShapeVisual2D.cs, src/SD.Infrastructure.WPF/Visual2Ds/ShapeVisual2D.cs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Avalonia/Visual2Ds/ShapeVisual2D.cs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b4e4e8d394091f30b454efead81cf1806552949c5880af4d89914703e30e324"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060paginator.PageCount != 0 \u0026\u0026 pageIndex \u003E paginator.PageCount\u0060 appears character-identically in 2 files \u2014 src/SD.Infrastructure.Avalonia/UserControls/Paginator.axaml.cs, src/SD.Infrastructure.WPF/UserControls/Paginator.xaml.cs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Avalonia/UserControls/Paginator.axaml.cs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f083b8c9de622956eac1374ca00c24e2cf454bc41ddc688a6e7efa84b016653"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060parameter == null \u0026\u0026 typeof(T).IsValueType\u0060 appears character-identically in 2 files \u2014 src/SD.Infrastructure.Avalonia/Commands/AsyncRelayCommand\u0060.cs, src/SD.Infrastructure.Avalonia/Commands/RelayCommand\u0060.cs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Avalonia/Commands/AsyncRelayCommand\u0060.cs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"26af2d12265fbbd7293ff39877fbff794856aa7b1f6d2d4b32e10ad250d81b15"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060shape.Tag is ShapeL shapeL \u0026\u0026 !canvas.DatasSource.Contains(shapeL)\u0060 appears character-identically in 2 files \u2014 src/SD.Infrastructure.Avalonia/CustomControls/CanvasEx.cs, src/SD.Infrastructure.WPF/CustomControls/CanvasEx.cs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Avalonia/CustomControls/CanvasEx.cs"},"region":{"startLine":659}}}],"partialFingerprints":{"codehealthFindingId/v1":"38e9206820e803009b454fc9030ba8c5b293c04eda2ac64e052703122c02a19e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060shape.Tag is ShapeL shapeL \u0026\u0026 !this.DatasSource.Contains(shapeL)\u0060 appears character-identically in 2 files \u2014 src/SD.Infrastructure.Avalonia/CustomControls/CanvasEx.cs, src/SD.Infrastructure.WPF/CustomControls/CanvasEx.cs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Avalonia/CustomControls/CanvasEx.cs"},"region":{"startLine":726}}}],"partialFingerprints":{"codehealthFindingId/v1":"70d0711a1fd38970ba3256727ee8bfcdef76dcdfbd374272d6785f3847fd17f4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060shape.Tag is ShapeL shapeL \u0026\u0026 canvas.DatasSource.Contains(shapeL)\u0060 appears character-identically in 2 files \u2014 src/SD.Infrastructure.Avalonia/CustomControls/CanvasEx.cs, src/SD.Infrastructure.WPF/CustomControls/CanvasEx.cs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Avalonia/CustomControls/CanvasEx.cs"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"61536ddeeea3f47e3fe40e46cce6dcdebf2b961ee0c0b0021bddabe0f7905168"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060shape.Tag is ShapeL shapeL \u0026\u0026 this.DatasSource.Contains(shapeL)\u0060 appears character-identically in 2 files \u2014 src/SD.Infrastructure.Avalonia/CustomControls/CanvasEx.cs, src/SD.Infrastructure.WPF/CustomControls/CanvasEx.cs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Avalonia/CustomControls/CanvasEx.cs"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6ef8d157f11dbbd9b4fcfdc05f794f77a48cf55c829e1682402d2e96b214572"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060this._canExecute == null || this._canExecute(parameter)\u0060 appears character-identically in 2 files \u2014 src/SD.Infrastructure.Maui/Commands/RelayCommand.cs, src/SD.Infrastructure.WPF/Commands/RelayCommand.cs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Maui/Commands/RelayCommand.cs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef32f4e1ec799f574f67b6515774f2d7d145b2d41efdd6f4d83ce10765e6028e"}},{"ruleId":"X18","level":"warning","message":{"text":"Finalizer on a type that owns no unmanaged resource: \u0060EFAggRootRepositoryProvider\u0060 declares a finalizer (line 23), but nothing in the type is unmanaged: no \u0060IntPtr\u0060/\u0060UIntPtr\u0060 or pointer field, no \u0060SafeHandle\u0060, no \u0060HandleRef\u0060, no \u0060extern\u0060/\u0060DllImport\u0060 member and no \u0060Marshal\u0060/\u0060GCHandle\u0060/\u0060NativeMemory\u0060 use. A finalizer can only release what the garbage collector cannot, so on a purely-managed type it releases nothing and costs something: every instance is put on the finalizer queue, survives at least one extra collection, and is then finalized on a thread that is NOT the disposing one \u2014 where the managed objects it touches may already have been finalized themselves. Delete the finalizer (and the \u0060GC.SuppressFinalize\u0060 that exists to defuse it); if a handle is added later, wrap it in a \u0060SafeHandle\u0060, which brings its own correct finalization."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFAggRootRepositoryProvider.cs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"2be7082f9ff0f717bd9840cc8b12186ccbc4c4772cc0cde61e247d0e2139d7bb"}},{"ruleId":"X18","level":"warning","message":{"text":"Finalizer on a type that owns no unmanaged resource: \u0060EFEntityRepositoryProvider\u0060 declares a finalizer (line 54), but nothing in the type is unmanaged: no \u0060IntPtr\u0060/\u0060UIntPtr\u0060 or pointer field, no \u0060SafeHandle\u0060, no \u0060HandleRef\u0060, no \u0060extern\u0060/\u0060DllImport\u0060 member and no \u0060Marshal\u0060/\u0060GCHandle\u0060/\u0060NativeMemory\u0060 use. A finalizer can only release what the garbage collector cannot, so on a purely-managed type it releases nothing and costs something: every instance is put on the finalizer queue, survives at least one extra collection, and is then finalized on a thread that is NOT the disposing one \u2014 where the managed objects it touches may already have been finalized themselves. Delete the finalizer (and the \u0060GC.SuppressFinalize\u0060 that exists to defuse it); if a handle is added later, wrap it in a \u0060SafeHandle\u0060, which brings its own correct finalization."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFEntityRepositoryProvider.cs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0b79b9a60608a7b5dbe9cfd8d0c61f9be37b63d3ef408d89693900f3000845f"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the method that made it: \u0060dbCommand\u0060 is a \u0060DbCommand\u0060, which implements \u0060IDisposable\u0060, and it is created here (line 681). Every use of it in \u0060ExecuteSqlQuery\u0060 reads a member through it \u2014 it is never returned, never stored, never handed to anything else, and never disposed \u2014 so this method both creates the value and is the last thing that can release it, and does not. Nothing announces the leak: the object holds its resource until finalization if its type has a finalizer, and until the process ends if it does not, so the cost accumulates once per CALL rather than showing up as a failure. Declare it with \u0060using\u0060 (\u0060using var dbCommand = \u2026;\u0060), which releases it at the end of the scope on every path including a throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFEntityRepositoryProvider.cs"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe5e24ea1b585ac9e715ba20284629c8d471d9ab4d6cbcb10092a9f38a5e8030"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the method that made it: \u0060dataTable\u0060 is a \u0060DataTable\u0060, which implements \u0060IDisposable\u0060, and it is created here (line 689). Every use of it in \u0060ExecuteSqlQuery\u0060 reads a member through it \u2014 it is never returned, never stored, never handed to anything else, and never disposed \u2014 so this method both creates the value and is the last thing that can release it, and does not. Nothing announces the leak: the object holds its resource until finalization if its type has a finalizer, and until the process ends if it does not, so the cost accumulates once per CALL rather than showing up as a failure. Declare it with \u0060using\u0060 (\u0060using var dataTable = \u2026;\u0060), which releases it at the end of the scope on every path including a throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFEntityRepositoryProvider.cs"},"region":{"startLine":689}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9920123eacf9b30def383beeef7dd111b82aaf38569d235ad00e010e2e4ab44"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the method that made it: \u0060dbCommand\u0060 is a \u0060DbCommand\u0060, which implements \u0060IDisposable\u0060, and it is created here (line 749). Every use of it in \u0060ExecuteSqlQueryAsync\u0060 reads a member through it \u2014 it is never returned, never stored, never handed to anything else, and never disposed \u2014 so this method both creates the value and is the last thing that can release it, and does not. Nothing announces the leak: the object holds its resource until finalization if its type has a finalizer, and until the process ends if it does not, so the cost accumulates once per CALL rather than showing up as a failure. Declare it with \u0060using\u0060 (\u0060using var dbCommand = \u2026;\u0060), which releases it at the end of the scope on every path including a throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFEntityRepositoryProvider.cs"},"region":{"startLine":749}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b5df7395c5fd551d66a68f54e30db70fd0bad2af1ff13e0ec9e9ca15089c4e3"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the method that made it: \u0060dataTable\u0060 is a \u0060DataTable\u0060, which implements \u0060IDisposable\u0060, and it is created here (line 757). Every use of it in \u0060ExecuteSqlQueryAsync\u0060 reads a member through it \u2014 it is never returned, never stored, never handed to anything else, and never disposed \u2014 so this method both creates the value and is the last thing that can release it, and does not. Nothing announces the leak: the object holds its resource until finalization if its type has a finalizer, and until the process ends if it does not, so the cost accumulates once per CALL rather than showing up as a failure. Declare it with \u0060using\u0060 (\u0060using var dataTable = \u2026;\u0060), which releases it at the end of the scope on every path including a throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFEntityRepositoryProvider.cs"},"region":{"startLine":757}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b170e4b40cc3bc71f3941dbfedbfb9751e0aa63a43eac9654d60f395db60b5a"}},{"ruleId":"X18","level":"warning","message":{"text":"Finalizer on a type that owns no unmanaged resource: \u0060EFUnitOfWorkProvider\u0060 declares a finalizer (line 70), but nothing in the type is unmanaged: no \u0060IntPtr\u0060/\u0060UIntPtr\u0060 or pointer field, no \u0060SafeHandle\u0060, no \u0060HandleRef\u0060, no \u0060extern\u0060/\u0060DllImport\u0060 member and no \u0060Marshal\u0060/\u0060GCHandle\u0060/\u0060NativeMemory\u0060 use. A finalizer can only release what the garbage collector cannot, so on a purely-managed type it releases nothing and costs something: every instance is put on the finalizer queue, survives at least one extra collection, and is then finalized on a thread that is NOT the disposing one \u2014 where the managed objects it touches may already have been finalized themselves. Delete the finalizer (and the \u0060GC.SuppressFinalize\u0060 that exists to defuse it); if a handle is added later, wrap it in a \u0060SafeHandle\u0060, which brings its own correct finalization."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFUnitOfWorkProvider.cs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb5d4c5d5e00d120d6c885dc182ceb46c2f8ff534245fd560ece917543c245f5"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the method that made it: \u0060client\u0060 is a \u0060MongoClient\u0060, which implements \u0060IDisposable\u0060, and it is created here (line 70). Every use of it in \u0060MongoRepositoryProvider\u0060 reads a member through it \u2014 it is never returned, never stored, never handed to anything else, and never disposed \u2014 so this method both creates the value and is the last thing that can release it, and does not. Nothing announces the leak: the object holds its resource until finalization if its type has a finalizer, and until the process ends if it does not, so the cost accumulates once per CALL rather than showing up as a failure. Declare it with \u0060using\u0060 (\u0060using var client = \u2026;\u0060), which releases it at the end of the scope on every path including a throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.MongoDB/MongoRepositoryProvider.cs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb1bbc308b61d1241dac638642d28beaaf1f164dc9578f172d95991d780c9f65"}},{"ruleId":"X2","level":"note","message":{"text":"Not all async methods take a CancellationToken: Only 14/131 async methods accept a CancellationToken, so in-flight work can\u0027t be stopped early when the caller gives up \u2014 whatever ends it in your host (shutdown signal, timeout, abandoned request, user cancel). Thread a token through the call chain and honour it at each await and loop; where a method genuinely cannot be interrupted, omitting it is a deliberate choice \u2014 judge against your hosting model."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bf623a92fb752b336427856888a9b386c434e686662a2cdc1bba21832c0a048c"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Exchange: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.AspNetCore.Server/Base/MessageHub.cs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"4973553ce7960e4bcb3fb0d53128bf32201283df6d1759391e6139506a024519"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: BlinkStroke: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Avalonia/Extensions/ShapeExtension.cs"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e50da7c3e5142457522e064a17b28ec4a439a486492c1f86f3f6d13ac134ee5"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: BlinkFill: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Avalonia/Extensions/ShapeExtension.cs"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3900277095f23fa458111d3cbc9b603fb4ef39d049105049b8cca17e40a7fe2"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: GetCurrentRelease: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Maui.Android/Updaters/AutoUpdater.cs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"284bb48995860831addbd173ffd9b7699f5d997fc0e634562d1c55af47bdeb7d"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: UpdateApplication: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Maui.Android/Updaters/AutoUpdater.cs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdd88093c3c8a0fa4b9baf6c75ec191c7471ca140ce17014e1a692a0f1fc307d"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: RedirectToViewModelAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Maui.Caliburn/Extensions/NavigationExtension.cs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a132ab2d5e9154a5bc6a69392cd49886479b00c2a9aec237f3731082261e18b"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: ToPageAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/Base/PageExtension.cs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"04720345baea3b1a5bbb3e7089fab96d712748a0988cc32206ac909ddd52ac76"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: SingleOrDefaultAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFAggRootRepositoryProvider.cs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a2dcfcf338c864e1f2d586fba31854244be0f195c04fc964f67ef433300463f"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: SingleOrDefaultAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFAggRootRepositoryProvider.cs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"380e13bb67a5e29410e3cac3e1d49b0cf963aa1b777cfb80f2f1554b2f133e56"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: SingleAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFAggRootRepositoryProvider.cs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"332355f8782674811290dfb2999187b954957b301678fe0b71d4bc22e7c5441c"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: SingleAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFAggRootRepositoryProvider.cs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"416798acde5f734b784cfaacd7b323e92764f567b30d89466a4091c9cf56eb5f"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: FindAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFAggRootRepositoryProvider.cs"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ec010a6838ac3cb8fed2fcaddefa02fee3069f8ce76e7b57ce8597c916b2a94"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: FindAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFAggRootRepositoryProvider.cs"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"74017f4ece3630f04c10bf0c862e12960fb714dc806e340882d383434ebee8c3"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: FindByPageAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFAggRootRepositoryProvider.cs"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"afdbe4b4635b4b806e274891cd53e43d03c35bbc9661f0017c4120ceca584577"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: FindByPageAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFAggRootRepositoryProvider.cs"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dbb028653e06712cfed52d122b65c1ddfdf7fb7858470ec90f45ceb7a5e78ce"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: FindAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFAggRootRepositoryProvider.cs"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"90ce3e3bbe327e86b12b9971b2b46ddc1e16864220d7e276c32c7cb8908b10de"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: FindAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFAggRootRepositoryProvider.cs"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"58ca98070f61a39fe0c3bc3dfe6baa2f9e313c0c45660891a76f7f4abc1b07a4"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: ExistsNoAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFAggRootRepositoryProvider.cs"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"259e6257a866da11b4cc4036be6f4c4bbcf3ca05f88d7f6b0acbfbac8b62a0fe"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: ExistsNoAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFAggRootRepositoryProvider.cs"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bf406b444047112146799a82220a7e9065d078c29c656b6fce93c2762d80427"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: ExistsNoAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFAggRootRepositoryProvider.cs"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7169f76c37432bb6a8e7e763255827a11a1d6e221aeb5e220967b88671763a5"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: ExistsNoAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFAggRootRepositoryProvider.cs"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ac927d80d85b01e486cc4d7a6c123e69e0e324f63de1d277a13c06784c68059"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: ExistsNameAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFAggRootRepositoryProvider.cs"},"region":{"startLine":713}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb949a553ad297553c59a26f4366f335fc0444260a7df457180408f8387ba774"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: ExistsNameAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFAggRootRepositoryProvider.cs"},"region":{"startLine":755}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0ac6d4c4c4b1528ba1157b74f14c0772a4a680516cf3bb8dc83e28db27966e5"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: ExistsNameAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFAggRootRepositoryProvider.cs"},"region":{"startLine":801}}}],"partialFingerprints":{"codehealthFindingId/v1":"e304e5a949ae6b0586f49ba80f1269923f4e9d8c9f180d9cf983ae412be65a2e"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: ExistsNameAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFAggRootRepositoryProvider.cs"},"region":{"startLine":849}}}],"partialFingerprints":{"codehealthFindingId/v1":"91af9709964dccf8c6daee7616fb11c679c3cb764ac489496591595abec0128e"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: ExistsNameAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFAggRootRepositoryProvider.cs"},"region":{"startLine":897}}}],"partialFingerprints":{"codehealthFindingId/v1":"7604cd0423b80cd0d8a39169a44061450311f17f15b40a57ab048e4664d30721"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: ExistsNameAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFAggRootRepositoryProvider.cs"},"region":{"startLine":945}}}],"partialFingerprints":{"codehealthFindingId/v1":"9773d101bf3ec2d7ac65696e58595b24e0fef7ce072a2ad5878243407eae4872"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: SingleOrDefaultAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFEntityRepositoryProvider.cs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c7fe366b472aeb7de7bf206ab0792dc8fc23371624e7219c704539e58d7b97d"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: SingleOrDefaultAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFEntityRepositoryProvider.cs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"d182008779eaf2874427d231ea2053d061a23071fb0cb4631f106edcfc786f7f"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: SingleAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFEntityRepositoryProvider.cs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5ef8af587534f5bf9eac42dab4ef2e5e2ae62c4294467668feb686c5865b09d"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: SingleAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFEntityRepositoryProvider.cs"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"161a8f743eefec15cad5e2a6ca2cddda4321a8f6d310d8595df923776dcec061"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: SingleOrDefaultAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFEntityRepositoryProvider.cs"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f131e99b22fa75cc0e15560a08b63a8b815a67d7bd655eae00aa23f64a1d04c"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: SingleAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFEntityRepositoryProvider.cs"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"28ac1f57d4d00a26965dc80ef762bea2f43db2f2cb89ee8bbb947e102b8c6e43"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: FirstOrDefaultAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFEntityRepositoryProvider.cs"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"f957b22d350b8d3796c2de0b72ffbbae6ba2c81bf0f7d533f95265190ddd4e10"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: FirstOrDefaultAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFEntityRepositoryProvider.cs"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9b3b1d9a1c157091243b01c74320b01c74cf5f998f4f96a056531794cb1952c"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: FindAllAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFEntityRepositoryProvider.cs"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd3f4e5098f229ecf983847577ed7773570fd11ad479bdd37b881f578755a595"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: FindAllAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFEntityRepositoryProvider.cs"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a51477f6f7624b88347280fedc449b8378de6b4fcf71258df45bde1d9c3d48c"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: FindAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFEntityRepositoryProvider.cs"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"3594df6e7cd1ba3b4bce6ee28a107fd91a4fdd68ec3734f93e05dbcd4e8e29f0"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: FindAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFEntityRepositoryProvider.cs"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a948352dbbff2c118bfecb9beb72041a81805836da6bb6117f3806e16f831ee"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: FindAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFEntityRepositoryProvider.cs"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"10fe4d5f23e7748456f7adcf735d6d5b8ece47454df59c7feda5b6ef52000ad8"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: CountAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFEntityRepositoryProvider.cs"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae39a651aeb80b080a955c79c28c1493c239300bc982442422e5a6a1295decd6"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: CountAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFEntityRepositoryProvider.cs"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdfa1e1915aacdf4da52e52e0a37967f35f7df9fe159fb9e2bd7b25b7f506106"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: ExistsAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFEntityRepositoryProvider.cs"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"82e53bb011e7d7f711678be930058abd9d6160cd5385c7d3546d1a1c63c85a4f"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: ExistsAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFEntityRepositoryProvider.cs"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4709d2e206c4aff95de936ecf835de80e8549d51e3b646c936e8e876e9f2e90"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: ExistsAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFEntityRepositoryProvider.cs"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"a284f293ff54f21a1fc40c2ccb74b08a4f0682d440ccce8eb51a1edd6b88b426"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: ExecuteSqlQueryAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFEntityRepositoryProvider.cs"},"region":{"startLine":733}}}],"partialFingerprints":{"codehealthFindingId/v1":"78f5205d60144900b84728169ccfcbf7be66a5c29560645679136daf700ca7da"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: SingleOrDefaultAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFEntityRepositoryProvider.cs"},"region":{"startLine":837}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8190d92e6cb905cf859fa6b7e9a8c15894d2ee9b097908e04649c51f4fbd539"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: SingleOrDefaultAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFEntityRepositoryProvider.cs"},"region":{"startLine":879}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8629c8c727dbbc25758b60b8a11f99bbe32958b29f991468d0e2dae3e2260cf"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: FirstOrDefaultAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFEntityRepositoryProvider.cs"},"region":{"startLine":921}}}],"partialFingerprints":{"codehealthFindingId/v1":"4762306106b15a0ee6006f11e8b665c2edbbff365e4afe5db78d0405f93f1137"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: FirstOrDefaultAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFEntityRepositoryProvider.cs"},"region":{"startLine":966}}}],"partialFingerprints":{"codehealthFindingId/v1":"806422e4cbdc7e9d28f61ea9c5c692bd83b11d3bf2e02b4cae6865aa10353a62"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: FindByPageAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFEntityRepositoryProvider.cs"},"region":{"startLine":1144}}}],"partialFingerprints":{"codehealthFindingId/v1":"36cd57573008dbad3d8bdd48a5edd8eeb5297a8312618d4fd38ecbc0229cd15b"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: FindByPageAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFEntityRepositoryProvider.cs"},"region":{"startLine":1176}}}],"partialFingerprints":{"codehealthFindingId/v1":"45875e46a70020c3c58035b9887c043a6d58dd8f9ef397faefc1e789da7893fe"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: CountAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFEntityRepositoryProvider.cs"},"region":{"startLine":1212}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8d95c4704974173a36d51e1e83a164edf4ccae50bda262ea3e14ccb5368f715"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: CountAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFEntityRepositoryProvider.cs"},"region":{"startLine":1254}}}],"partialFingerprints":{"codehealthFindingId/v1":"a674a5396ec207417748f6d7406da8b21c4b5504f21ae673ec235702396f8a13"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: ExistsAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFEntityRepositoryProvider.cs"},"region":{"startLine":1302}}}],"partialFingerprints":{"codehealthFindingId/v1":"166b95faa21d83900a54decd4163aabb831c6b2b9f2c17e0deb36af696f981b3"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: ExistsAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFEntityRepositoryProvider.cs"},"region":{"startLine":1347}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebd5ca41a3c1b2d24ead0a2d8736b266a636bf9ec921c099c356eb537452a7da"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: ResolveAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFUnitOfWorkProvider.cs"},"region":{"startLine":916}}}],"partialFingerprints":{"codehealthFindingId/v1":"79cc717602376d8966d9adc0cdd67ddf485a59e164d5ac97aef9226923be95aa"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: ResolveAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFUnitOfWorkProvider.cs"},"region":{"startLine":973}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1c07914a5b27f561c97d82d31c59de500eb35597aed9238e94b57bd12b8f317"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: ResolveAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFUnitOfWorkProvider.cs"},"region":{"startLine":1030}}}],"partialFingerprints":{"codehealthFindingId/v1":"d633d01d314f7b91c4688c83a8976110b6b2b8181c32af53a446de311ce766ec"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: ResolveRangeAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFUnitOfWorkProvider.cs"},"region":{"startLine":1077}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bd3267e8667217f9504f702806f0c9558a15c306d5356c9a8f6de44ab31c76d"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: ResolveRangeAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFUnitOfWorkProvider.cs"},"region":{"startLine":1123}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce22243f37442270acd3ba4006018d4e16eebd7984b55ff2468f87f9d212b9bf"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: ResolveRangeAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFUnitOfWorkProvider.cs"},"region":{"startLine":1169}}}],"partialFingerprints":{"codehealthFindingId/v1":"420581a0ab9fb8f1c6149789b079f9845d80e7ff46beb6f4f6f37834e7258460"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: CommitAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFUnitOfWorkProvider.cs"},"region":{"startLine":1243}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4915525056b4a684db6b4aed3357175db4fde57c47c46541f79372634300816"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: ExecuteSqlCommandAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFUnitOfWorkProvider.cs"},"region":{"startLine":1335}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ab4d649b32609198af756d9828f6eba51c16a756b51a71ada67f3b7ffb26c16"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: ResolveOptionalAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFUnitOfWorkProvider.cs"},"region":{"startLine":1476}}}],"partialFingerprints":{"codehealthFindingId/v1":"c01af6db6977e6696baaf9e15a37f5b2f14edf90c08e055d58359b5933a41f9d"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: ExistsAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFUnitOfWorkProvider.cs"},"region":{"startLine":1542}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab36a0dee90ce2a6fabec3019dd6386e946184a399427afd1c180b4f7e8087a6"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: ToPageAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.MongoDB/Base/PageExtension.cs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb50b0ccf3e65d38f8cef8d8e1c1a1cb5e775c0176f167ed3f0957cac4b6020c"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: SingleOrDefaultAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.MongoDB/MongoRepositoryProvider.cs"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b04b97e6543302318ddbb470df02f9ba5e047d7b94bfb3afbac997f0fdcd9a4"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: SingleOrDefaultAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.MongoDB/MongoRepositoryProvider.cs"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"e76139464dca891637f33502f6fb12e4fb128f2cf44d5009bd7184bff18113f6"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: SingleAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.MongoDB/MongoRepositoryProvider.cs"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"593be2b157116fec28eae40692f5317cd9180eedc5b2314f7bab9b1b4dc4ff68"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: SingleAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.MongoDB/MongoRepositoryProvider.cs"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e2f4c31fefed09da7888b66f1c7f8190643db54c255bbbd812590aa81f85307"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: SingleOrDefaultAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.MongoDB/MongoRepositoryProvider.cs"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f94af406138d37ab576adbb4b44872f2a09e71912393d613b49bc557c8a6729"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: SingleOrDefaultAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.MongoDB/MongoRepositoryProvider.cs"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1f137151217bebf31095e6d43087f3fde6e4672ddea769eca5ede637f0698db"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: SingleAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.MongoDB/MongoRepositoryProvider.cs"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"070db88b32c14017fd108bda83c4beb6b129d6da42401e458ea10d53b04191b3"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: SingleAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.MongoDB/MongoRepositoryProvider.cs"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d234152c18678a4bd09fcab0b7a3486d5b6dbbdf6e351fa6571fdec6555278b"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: SingleOrDefaultAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.MongoDB/MongoRepositoryProvider.cs"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"52e2a3530f5045e69a08cccbb21ce7e018f67dff1bc3437fe288d06f5eb1c1f1"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: SingleAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.MongoDB/MongoRepositoryProvider.cs"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"7324e269296a816c0e1b3bf89f8aea0dd6ad8b8ed010dab4b1fa49d04f5d660d"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: FirstOrDefaultAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.MongoDB/MongoRepositoryProvider.cs"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a1176cfeaf83d53340d3ffbcff64257fd1540b047fe3fcfa90561c4cd9c7ed3"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: FirstOrDefaultAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.MongoDB/MongoRepositoryProvider.cs"},"region":{"startLine":671}}}],"partialFingerprints":{"codehealthFindingId/v1":"e831519c285f0fa551477214b44bbbd767a327b3afc09cc675c240d2518b270e"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: FindAllAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.MongoDB/MongoRepositoryProvider.cs"},"region":{"startLine":696}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f2288a22926f2f4d9f8f2f65f9d9a93e4df51bcac9fe530e232f12f48a3d76d"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: FindAllAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.MongoDB/MongoRepositoryProvider.cs"},"region":{"startLine":720}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e9ed0afa6fb5232833676c474e674cf8408a66cf288a1b7be2537306dfc52c7"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: FindAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.MongoDB/MongoRepositoryProvider.cs"},"region":{"startLine":748}}}],"partialFingerprints":{"codehealthFindingId/v1":"883ba89fc21ad746f536caf807cd70772d57e4d18251e9d213d9f0b264a44901"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: FindAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.MongoDB/MongoRepositoryProvider.cs"},"region":{"startLine":782}}}],"partialFingerprints":{"codehealthFindingId/v1":"5191423fa5c9d055fca42bfccc282e17cefbf0ebcab6279f0f42b391d95a0e18"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: FindByPageAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.MongoDB/MongoRepositoryProvider.cs"},"region":{"startLine":820}}}],"partialFingerprints":{"codehealthFindingId/v1":"2843fb3f2595737a6ef0e89275874ab7a6b41048224048079da7d81779f6788c"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: FindByPageAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.MongoDB/MongoRepositoryProvider.cs"},"region":{"startLine":868}}}],"partialFingerprints":{"codehealthFindingId/v1":"a096cd50c6a8723d3d9c5a57bba7dda009b656d75ff48e8bbd3c8839688d58cb"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: FindAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.MongoDB/MongoRepositoryProvider.cs"},"region":{"startLine":920}}}],"partialFingerprints":{"codehealthFindingId/v1":"f418c0b85c53e319aed63c77b45d61ed11c64c8d974115787d086db624545fd0"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: FindAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.MongoDB/MongoRepositoryProvider.cs"},"region":{"startLine":970}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8c799d35ac0c3425715a4e15887285aec598232ce54c3efd26d428dcd43845c"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: FindAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.MongoDB/MongoRepositoryProvider.cs"},"region":{"startLine":1020}}}],"partialFingerprints":{"codehealthFindingId/v1":"5142ed13337ff806573c4476ccceb3c10e627cf53310c9e479514ace2d9a7fcb"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: FindAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.MongoDB/MongoRepositoryProvider.cs"},"region":{"startLine":1070}}}],"partialFingerprints":{"codehealthFindingId/v1":"93a04ee2622dfdd1e3eff9d9692ae664a52f031535e092ebec7a57bd0672ab3c"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: FindAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.MongoDB/MongoRepositoryProvider.cs"},"region":{"startLine":1120}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2711a9d1bf1b9d569034b51cb60460d3def0606e96c3de772faa6ea175b6186"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: CountAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.MongoDB/MongoRepositoryProvider.cs"},"region":{"startLine":1159}}}],"partialFingerprints":{"codehealthFindingId/v1":"335dc68047ca10892ff25379afb2c8833a3b68546c915aa0dac2803c6d37b9fa"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: CountAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.MongoDB/MongoRepositoryProvider.cs"},"region":{"startLine":1185}}}],"partialFingerprints":{"codehealthFindingId/v1":"b97df1be72381589b619cae2f52b194743e2ac12410fbe653d3666722ea0fc51"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: ExistsAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.MongoDB/MongoRepositoryProvider.cs"},"region":{"startLine":1214}}}],"partialFingerprints":{"codehealthFindingId/v1":"a60094c5dcfce764823376654873e3b06e2a5c73f4c542babfc2f96aad0bb261"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: ExistsAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.MongoDB/MongoRepositoryProvider.cs"},"region":{"startLine":1238}}}],"partialFingerprints":{"codehealthFindingId/v1":"92c70d2cc793d43734b126a8340f4494f0291a21b83045ef33b1c13cd71477e5"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: ExistsAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.MongoDB/MongoRepositoryProvider.cs"},"region":{"startLine":1262}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0f7cc673e1e343387b135b2dab7e5236786e75adffb6d8d59e8ede4cf77d691"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: ExistsNoAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.MongoDB/MongoRepositoryProvider.cs"},"region":{"startLine":1295}}}],"partialFingerprints":{"codehealthFindingId/v1":"92cd13d401a1eda173b4d7545fc5bde80d434b3f295e996060fcac55cbec2aa6"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: ExistsNoAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.MongoDB/MongoRepositoryProvider.cs"},"region":{"startLine":1337}}}],"partialFingerprints":{"codehealthFindingId/v1":"36247de129aa01416051fe9047317474508f8d698e9f23fe498ddd8e6de3b461"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: ExistsNoAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.MongoDB/MongoRepositoryProvider.cs"},"region":{"startLine":1383}}}],"partialFingerprints":{"codehealthFindingId/v1":"c41e7ff034ba1f85cee2f711c5048ef1393cff76cd55372faed08e2a1a2a19e2"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: ExistsNoAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.MongoDB/MongoRepositoryProvider.cs"},"region":{"startLine":1431}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed7865b4a850250863a75064768bb006d3d6f295981e61ba6e8582c4052967c4"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: ExistsNameAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.MongoDB/MongoRepositoryProvider.cs"},"region":{"startLine":1475}}}],"partialFingerprints":{"codehealthFindingId/v1":"0edb6454933eaca291e6f37a9c56dada2070237f061364ca6d012a639e75b0a8"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: ExistsNameAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.MongoDB/MongoRepositoryProvider.cs"},"region":{"startLine":1517}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dcc5bfe6b8fae5077b984828debf622571b00431112182db2ab2d11565a9234"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: ExistsNameAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.MongoDB/MongoRepositoryProvider.cs"},"region":{"startLine":1563}}}],"partialFingerprints":{"codehealthFindingId/v1":"7928e5abe11ec98ff707de405507c21503294d03103060165e6a711e3abc3bc8"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: ExistsNameAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.MongoDB/MongoRepositoryProvider.cs"},"region":{"startLine":1611}}}],"partialFingerprints":{"codehealthFindingId/v1":"94dbec3e91475f67619281ace8ba7eb572005193d1464a43867140be0ab98030"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: ExistsNameAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.MongoDB/MongoRepositoryProvider.cs"},"region":{"startLine":1660}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ffc3574b0f6ded239757e7f4f8961da2b56e3825d2afde4cbe81c29b55c908a"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: ExistsNameAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.MongoDB/MongoRepositoryProvider.cs"},"region":{"startLine":1709}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c78fbdb7c5d255a9ff5c4cf72809984f58a29affdc0f7cb4927be0da92c781e"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: FindByPageAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.MongoDB/MongoRepositoryProvider.cs"},"region":{"startLine":1855}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b47f7a573c4103b8851e0ea2e6a61c5de3408226790d4ef8e0502630d88af9f"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: FindByPageAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.MongoDB/MongoRepositoryProvider.cs"},"region":{"startLine":1889}}}],"partialFingerprints":{"codehealthFindingId/v1":"119673f901f27e7be0c73937e8798f6ad1f6fb77342272516d380b67acd682a1"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Schedule: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.CrontabBase/Mediators/ScheduleMediator.cs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"071cd58fdf51db22310b1eb682db0ba04392dee844f3d73f8eb1735008eb4353"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Schedule: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.CrontabBase/Mediators/ScheduleMediator.cs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e9175c10777fb6af1832f7646d59205dacdc136cc629c817f37c33dea2a1938"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: ScheduleGenerally: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.CrontabBase/Mediators/ScheduleMediator.cs"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"68fdaed96656e3847f37e3158c35e965ff744f80dc048dd476fa69d6498dd8b4"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Pause: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.CrontabBase/Mediators/ScheduleMediator.cs"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"253d7a8d548e3fd1f893c0d546331002c31bf9a4d7460680e1acd16945ddd0d9"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Resume: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.CrontabBase/Mediators/ScheduleMediator.cs"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"76b04c478d905bb4710034e1a729cff3e82c6ce665d45e6fc470690057cf6577"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Remove: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.CrontabBase/Mediators/ScheduleMediator.cs"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"45c277e706df0e44f798abde17daabbe66550396536509fabc99ef55fe651f3d"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Remove: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.CrontabBase/Mediators/ScheduleMediator.cs"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5265a979154f90e80c8325fbdb3a042579a3875f84deb5321b28046eaa6aa7e"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Clear: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.CrontabBase/Mediators/ScheduleMediator.cs"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"eac02a203949fe93e44de13d498e9a37b8fc0d80d4bc26b80208def793a9b9fd"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Send: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.SignalR.Client/Mediators/MessageMediator.cs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f572eca9be0755605c7f0279dcf608228fe5e62ba235546f91619cee1c7e378"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: SendAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.SignalR.Client/Mediators/MessageMediator.cs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc44a897775890161926742a194414c93ca8530c8af1a734ace87a62b9e5a9ab"}},{"ruleId":"X20","level":"warning","message":{"text":"Argument guard throws the exception its own condition disproves: The guard on line 44 rejects \u0060number\u0060 and line 46 reports that rejection as \u0060ArgumentNullException\u0060 \u2014 but the condition\u0027s own test \u0060string.IsNullOrWhiteSpace(number)\u0060 is true of a value that is NOT null: it is satisfied by an EMPTY \u0060number\u0060, and on that path \u0060number\u0060 was already proven non-null by the very expression that decided it (\u0060||\u0060 short-circuits, so the null test to its left had to be false to get here). So a caller who passes a valid empty argument is told a parameter was null. That is not a wording problem: the exception type is the contract. A caller catching \u0060ArgumentNullException\u0060 to handle a real null swallows this case with it, and whoever reads the stack trace later is told a failure the source disproves. .NET separates the two on purpose \u2014 \u0060ArgumentNullException.ThrowIfNull\u0060 and \u0060ArgumentException.ThrowIfNullOrEmpty\u0060 are two helpers because they are two failures. Throw \u0060ArgumentException\u0060 (or \u0060ArgumentOutOfRangeException\u0060 for a bound) for what the condition actually tests, or split the guard and throw each on its own condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFAggRootRepositoryProvider.cs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"40ca2447799a0a3d5a94c3640d0af44a23696293b09924e0b66f717d8ed0fdf5"}},{"ruleId":"X20","level":"warning","message":{"text":"Argument guard throws the exception its own condition disproves: The guard on line 65 rejects \u0060number\u0060 and line 67 reports that rejection as \u0060ArgumentNullException\u0060 \u2014 but the condition\u0027s own test \u0060string.IsNullOrWhiteSpace(number)\u0060 is true of a value that is NOT null: it is satisfied by an EMPTY \u0060number\u0060, and on that path \u0060number\u0060 was already proven non-null by the very expression that decided it (\u0060||\u0060 short-circuits, so the null test to its left had to be false to get here). So a caller who passes a valid empty argument is told a parameter was null. That is not a wording problem: the exception type is the contract. A caller catching \u0060ArgumentNullException\u0060 to handle a real null swallows this case with it, and whoever reads the stack trace later is told a failure the source disproves. .NET separates the two on purpose \u2014 \u0060ArgumentNullException.ThrowIfNull\u0060 and \u0060ArgumentException.ThrowIfNullOrEmpty\u0060 are two helpers because they are two failures. Throw \u0060ArgumentException\u0060 (or \u0060ArgumentOutOfRangeException\u0060 for a bound) for what the condition actually tests, or split the guard and throw each on its own condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFAggRootRepositoryProvider.cs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4e508ea0d9b7e1154f7003c707b5c22aa804af643e2c7e60901f2c5441d9677"}},{"ruleId":"X20","level":"warning","message":{"text":"Argument guard throws the exception its own condition disproves: The guard on line 86 rejects \u0060number\u0060 and line 88 reports that rejection as \u0060ArgumentNullException\u0060 \u2014 but the condition\u0027s own test \u0060string.IsNullOrWhiteSpace(number)\u0060 is true of a value that is NOT null: it is satisfied by an EMPTY \u0060number\u0060, and on that path \u0060number\u0060 was already proven non-null by the very expression that decided it (\u0060||\u0060 short-circuits, so the null test to its left had to be false to get here). So a caller who passes a valid empty argument is told a parameter was null. That is not a wording problem: the exception type is the contract. A caller catching \u0060ArgumentNullException\u0060 to handle a real null swallows this case with it, and whoever reads the stack trace later is told a failure the source disproves. .NET separates the two on purpose \u2014 \u0060ArgumentNullException.ThrowIfNull\u0060 and \u0060ArgumentException.ThrowIfNullOrEmpty\u0060 are two helpers because they are two failures. Throw \u0060ArgumentException\u0060 (or \u0060ArgumentOutOfRangeException\u0060 for a bound) for what the condition actually tests, or split the guard and throw each on its own condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFAggRootRepositoryProvider.cs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"72dda100facf7a8356378d86c9d5420d16a7c7752046d0e5117270ea2d3c9f89"}},{"ruleId":"X20","level":"warning","message":{"text":"Argument guard throws the exception its own condition disproves: The guard on line 107 rejects \u0060number\u0060 and line 109 reports that rejection as \u0060ArgumentNullException\u0060 \u2014 but the condition\u0027s own test \u0060string.IsNullOrWhiteSpace(number)\u0060 is true of a value that is NOT null: it is satisfied by an EMPTY \u0060number\u0060, and on that path \u0060number\u0060 was already proven non-null by the very expression that decided it (\u0060||\u0060 short-circuits, so the null test to its left had to be false to get here). So a caller who passes a valid empty argument is told a parameter was null. That is not a wording problem: the exception type is the contract. A caller catching \u0060ArgumentNullException\u0060 to handle a real null swallows this case with it, and whoever reads the stack trace later is told a failure the source disproves. .NET separates the two on purpose \u2014 \u0060ArgumentNullException.ThrowIfNull\u0060 and \u0060ArgumentException.ThrowIfNullOrEmpty\u0060 are two helpers because they are two failures. Throw \u0060ArgumentException\u0060 (or \u0060ArgumentOutOfRangeException\u0060 for a bound) for what the condition actually tests, or split the guard and throw each on its own condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFAggRootRepositoryProvider.cs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"256ac00550164dc920f679a45ef1ae5dc9e465915a4ddca7a6b6fefce05a2cbd"}},{"ruleId":"X20","level":"warning","message":{"text":"Argument guard throws the exception its own condition disproves: The guard on line 516 rejects \u0060number\u0060 and line 518 reports that rejection as \u0060ArgumentNullException\u0060 \u2014 but the condition\u0027s own test \u0060string.IsNullOrWhiteSpace(number)\u0060 is true of a value that is NOT null: it is satisfied by an EMPTY \u0060number\u0060, and on that path \u0060number\u0060 was already proven non-null by the very expression that decided it (\u0060||\u0060 short-circuits, so the null test to its left had to be false to get here). So a caller who passes a valid empty argument is told a parameter was null. That is not a wording problem: the exception type is the contract. A caller catching \u0060ArgumentNullException\u0060 to handle a real null swallows this case with it, and whoever reads the stack trace later is told a failure the source disproves. .NET separates the two on purpose \u2014 \u0060ArgumentNullException.ThrowIfNull\u0060 and \u0060ArgumentException.ThrowIfNullOrEmpty\u0060 are two helpers because they are two failures. Throw \u0060ArgumentException\u0060 (or \u0060ArgumentOutOfRangeException\u0060 for a bound) for what the condition actually tests, or split the guard and throw each on its own condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFAggRootRepositoryProvider.cs"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"65f15a20b58cca39a89d6105f5280986608addf6a9daef0003acc72cdb9374d5"}},{"ruleId":"X20","level":"warning","message":{"text":"Argument guard throws the exception its own condition disproves: The guard on line 537 rejects \u0060number\u0060 and line 539 reports that rejection as \u0060ArgumentNullException\u0060 \u2014 but the condition\u0027s own test \u0060string.IsNullOrWhiteSpace(number)\u0060 is true of a value that is NOT null: it is satisfied by an EMPTY \u0060number\u0060, and on that path \u0060number\u0060 was already proven non-null by the very expression that decided it (\u0060||\u0060 short-circuits, so the null test to its left had to be false to get here). So a caller who passes a valid empty argument is told a parameter was null. That is not a wording problem: the exception type is the contract. A caller catching \u0060ArgumentNullException\u0060 to handle a real null swallows this case with it, and whoever reads the stack trace later is told a failure the source disproves. .NET separates the two on purpose \u2014 \u0060ArgumentNullException.ThrowIfNull\u0060 and \u0060ArgumentException.ThrowIfNullOrEmpty\u0060 are two helpers because they are two failures. Throw \u0060ArgumentException\u0060 (or \u0060ArgumentOutOfRangeException\u0060 for a bound) for what the condition actually tests, or split the guard and throw each on its own condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFAggRootRepositoryProvider.cs"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"ede16717f6898003bfdda0e5ae4daeb0650b175801443e7321b4386fd6963193"}},{"ruleId":"X20","level":"warning","message":{"text":"Argument guard throws the exception its own condition disproves: The guard on line 558 rejects \u0060number\u0060 and line 560 reports that rejection as \u0060ArgumentNullException\u0060 \u2014 but the condition\u0027s own test \u0060string.IsNullOrWhiteSpace(number)\u0060 is true of a value that is NOT null: it is satisfied by an EMPTY \u0060number\u0060, and on that path \u0060number\u0060 was already proven non-null by the very expression that decided it (\u0060||\u0060 short-circuits, so the null test to its left had to be false to get here). So a caller who passes a valid empty argument is told a parameter was null. That is not a wording problem: the exception type is the contract. A caller catching \u0060ArgumentNullException\u0060 to handle a real null swallows this case with it, and whoever reads the stack trace later is told a failure the source disproves. .NET separates the two on purpose \u2014 \u0060ArgumentNullException.ThrowIfNull\u0060 and \u0060ArgumentException.ThrowIfNullOrEmpty\u0060 are two helpers because they are two failures. Throw \u0060ArgumentException\u0060 (or \u0060ArgumentOutOfRangeException\u0060 for a bound) for what the condition actually tests, or split the guard and throw each on its own condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFAggRootRepositoryProvider.cs"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"82c590e0e7ad657eb824d357e7c89e5894d0724dee2bd01953220b0eaef1026b"}},{"ruleId":"X20","level":"warning","message":{"text":"Argument guard throws the exception its own condition disproves: The guard on line 579 rejects \u0060number\u0060 and line 581 reports that rejection as \u0060ArgumentNullException\u0060 \u2014 but the condition\u0027s own test \u0060string.IsNullOrWhiteSpace(number)\u0060 is true of a value that is NOT null: it is satisfied by an EMPTY \u0060number\u0060, and on that path \u0060number\u0060 was already proven non-null by the very expression that decided it (\u0060||\u0060 short-circuits, so the null test to its left had to be false to get here). So a caller who passes a valid empty argument is told a parameter was null. That is not a wording problem: the exception type is the contract. A caller catching \u0060ArgumentNullException\u0060 to handle a real null swallows this case with it, and whoever reads the stack trace later is told a failure the source disproves. .NET separates the two on purpose \u2014 \u0060ArgumentNullException.ThrowIfNull\u0060 and \u0060ArgumentException.ThrowIfNullOrEmpty\u0060 are two helpers because they are two failures. Throw \u0060ArgumentException\u0060 (or \u0060ArgumentOutOfRangeException\u0060 for a bound) for what the condition actually tests, or split the guard and throw each on its own condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFAggRootRepositoryProvider.cs"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"4574961376f994a37fead72bfe32bf6314da08b08f1068befaf700888b30a594"}},{"ruleId":"X20","level":"warning","message":{"text":"Argument guard throws the exception its own condition disproves: The guard on line 696 rejects \u0060name\u0060 and line 698 reports that rejection as \u0060ArgumentNullException\u0060 \u2014 but the condition\u0027s own test \u0060string.IsNullOrWhiteSpace(name)\u0060 is true of a value that is NOT null: it is satisfied by an EMPTY \u0060name\u0060, and on that path \u0060name\u0060 was already proven non-null by the very expression that decided it (\u0060||\u0060 short-circuits, so the null test to its left had to be false to get here). So a caller who passes a valid empty argument is told a parameter was null. That is not a wording problem: the exception type is the contract. A caller catching \u0060ArgumentNullException\u0060 to handle a real null swallows this case with it, and whoever reads the stack trace later is told a failure the source disproves. .NET separates the two on purpose \u2014 \u0060ArgumentNullException.ThrowIfNull\u0060 and \u0060ArgumentException.ThrowIfNullOrEmpty\u0060 are two helpers because they are two failures. Throw \u0060ArgumentException\u0060 (or \u0060ArgumentOutOfRangeException\u0060 for a bound) for what the condition actually tests, or split the guard and throw each on its own condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFAggRootRepositoryProvider.cs"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"2586ee3bc2acaae809170f130f1944cfb0a1bafd85ee10f6a227d25866588988"}},{"ruleId":"X20","level":"warning","message":{"text":"Argument guard throws the exception its own condition disproves: The guard on line 717 rejects \u0060name\u0060 and line 719 reports that rejection as \u0060ArgumentNullException\u0060 \u2014 but the condition\u0027s own test \u0060string.IsNullOrWhiteSpace(name)\u0060 is true of a value that is NOT null: it is satisfied by an EMPTY \u0060name\u0060, and on that path \u0060name\u0060 was already proven non-null by the very expression that decided it (\u0060||\u0060 short-circuits, so the null test to its left had to be false to get here). So a caller who passes a valid empty argument is told a parameter was null. That is not a wording problem: the exception type is the contract. A caller catching \u0060ArgumentNullException\u0060 to handle a real null swallows this case with it, and whoever reads the stack trace later is told a failure the source disproves. .NET separates the two on purpose \u2014 \u0060ArgumentNullException.ThrowIfNull\u0060 and \u0060ArgumentException.ThrowIfNullOrEmpty\u0060 are two helpers because they are two failures. Throw \u0060ArgumentException\u0060 (or \u0060ArgumentOutOfRangeException\u0060 for a bound) for what the condition actually tests, or split the guard and throw each on its own condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFAggRootRepositoryProvider.cs"},"region":{"startLine":719}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7128f0c490946537ee07316afe2fe5156b592139d72d306ed280b42dfb69ad2"}},{"ruleId":"X20","level":"warning","message":{"text":"Argument guard throws the exception its own condition disproves: The guard on line 738 rejects \u0060name\u0060 and line 740 reports that rejection as \u0060ArgumentNullException\u0060 \u2014 but the condition\u0027s own test \u0060string.IsNullOrWhiteSpace(name)\u0060 is true of a value that is NOT null: it is satisfied by an EMPTY \u0060name\u0060, and on that path \u0060name\u0060 was already proven non-null by the very expression that decided it (\u0060||\u0060 short-circuits, so the null test to its left had to be false to get here). So a caller who passes a valid empty argument is told a parameter was null. That is not a wording problem: the exception type is the contract. A caller catching \u0060ArgumentNullException\u0060 to handle a real null swallows this case with it, and whoever reads the stack trace later is told a failure the source disproves. .NET separates the two on purpose \u2014 \u0060ArgumentNullException.ThrowIfNull\u0060 and \u0060ArgumentException.ThrowIfNullOrEmpty\u0060 are two helpers because they are two failures. Throw \u0060ArgumentException\u0060 (or \u0060ArgumentOutOfRangeException\u0060 for a bound) for what the condition actually tests, or split the guard and throw each on its own condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFAggRootRepositoryProvider.cs"},"region":{"startLine":740}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dd5b1500749ab493e3e0a5b3e5524ebf71f2e95c150d5b58e0a88821ebdef99"}},{"ruleId":"X20","level":"warning","message":{"text":"Argument guard throws the exception its own condition disproves: The guard on line 759 rejects \u0060name\u0060 and line 761 reports that rejection as \u0060ArgumentNullException\u0060 \u2014 but the condition\u0027s own test \u0060string.IsNullOrWhiteSpace(name)\u0060 is true of a value that is NOT null: it is satisfied by an EMPTY \u0060name\u0060, and on that path \u0060name\u0060 was already proven non-null by the very expression that decided it (\u0060||\u0060 short-circuits, so the null test to its left had to be false to get here). So a caller who passes a valid empty argument is told a parameter was null. That is not a wording problem: the exception type is the contract. A caller catching \u0060ArgumentNullException\u0060 to handle a real null swallows this case with it, and whoever reads the stack trace later is told a failure the source disproves. .NET separates the two on purpose \u2014 \u0060ArgumentNullException.ThrowIfNull\u0060 and \u0060ArgumentException.ThrowIfNullOrEmpty\u0060 are two helpers because they are two failures. Throw \u0060ArgumentException\u0060 (or \u0060ArgumentOutOfRangeException\u0060 for a bound) for what the condition actually tests, or split the guard and throw each on its own condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFAggRootRepositoryProvider.cs"},"region":{"startLine":761}}}],"partialFingerprints":{"codehealthFindingId/v1":"4915346045ddae7dd7700e5795840adc20d91cd4124a020f5e0436eaa7c613b3"}},{"ruleId":"X20","level":"warning","message":{"text":"Argument guard throws the exception its own condition disproves: The guard on line 669 rejects \u0060sql\u0060 and line 671 reports that rejection as \u0060ArgumentNullException\u0060 \u2014 but the condition\u0027s own test \u0060string.IsNullOrWhiteSpace(sql)\u0060 is true of a value that is NOT null: it is satisfied by an EMPTY \u0060sql\u0060, and on that path \u0060sql\u0060 was already proven non-null by the very expression that decided it (\u0060||\u0060 short-circuits, so the null test to its left had to be false to get here). So a caller who passes a valid empty argument is told a parameter was null. That is not a wording problem: the exception type is the contract. A caller catching \u0060ArgumentNullException\u0060 to handle a real null swallows this case with it, and whoever reads the stack trace later is told a failure the source disproves. .NET separates the two on purpose \u2014 \u0060ArgumentNullException.ThrowIfNull\u0060 and \u0060ArgumentException.ThrowIfNullOrEmpty\u0060 are two helpers because they are two failures. Throw \u0060ArgumentException\u0060 (or \u0060ArgumentOutOfRangeException\u0060 for a bound) for what the condition actually tests, or split the guard and throw each on its own condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFEntityRepositoryProvider.cs"},"region":{"startLine":671}}}],"partialFingerprints":{"codehealthFindingId/v1":"41bba63dcc377a40510238e2ae85296700df2ec287b48109a825c882c98bb23a"}},{"ruleId":"X20","level":"warning","message":{"text":"Argument guard throws the exception its own condition disproves: The guard on line 737 rejects \u0060sql\u0060 and line 739 reports that rejection as \u0060ArgumentNullException\u0060 \u2014 but the condition\u0027s own test \u0060string.IsNullOrWhiteSpace(sql)\u0060 is true of a value that is NOT null: it is satisfied by an EMPTY \u0060sql\u0060, and on that path \u0060sql\u0060 was already proven non-null by the very expression that decided it (\u0060||\u0060 short-circuits, so the null test to its left had to be false to get here). So a caller who passes a valid empty argument is told a parameter was null. That is not a wording problem: the exception type is the contract. A caller catching \u0060ArgumentNullException\u0060 to handle a real null swallows this case with it, and whoever reads the stack trace later is told a failure the source disproves. .NET separates the two on purpose \u2014 \u0060ArgumentNullException.ThrowIfNull\u0060 and \u0060ArgumentException.ThrowIfNullOrEmpty\u0060 are two helpers because they are two failures. Throw \u0060ArgumentException\u0060 (or \u0060ArgumentOutOfRangeException\u0060 for a bound) for what the condition actually tests, or split the guard and throw each on its own condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFEntityRepositoryProvider.cs"},"region":{"startLine":739}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0c57d42e18e450da8f8a7659ac34f1bedb32165501a0322dccdb1abdf634c0d"}},{"ruleId":"X20","level":"warning","message":{"text":"Argument guard throws the exception its own condition disproves: The guard on line 294 rejects \u0060entities\u0060 and line 296 reports that rejection as \u0060ArgumentNullException\u0060 \u2014 but the condition\u0027s own test \u0060!entities.Any()\u0060 is true of a value that is NOT null: it is satisfied by an EMPTY \u0060entities\u0060, and on that path \u0060entities\u0060 was already proven non-null by the very expression that decided it (\u0060||\u0060 short-circuits, so the null test to its left had to be false to get here). So a caller who passes a valid empty argument is told a parameter was null. That is not a wording problem: the exception type is the contract. A caller catching \u0060ArgumentNullException\u0060 to handle a real null swallows this case with it, and whoever reads the stack trace later is told a failure the source disproves. .NET separates the two on purpose \u2014 \u0060ArgumentNullException.ThrowIfNull\u0060 and \u0060ArgumentException.ThrowIfNullOrEmpty\u0060 are two helpers because they are two failures. Throw \u0060ArgumentException\u0060 (or \u0060ArgumentOutOfRangeException\u0060 for a bound) for what the condition actually tests, or split the guard and throw each on its own condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFUnitOfWorkProvider.cs"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"307a0ae481452d091c98201434417e77c2aa4cc905a77d5624937fd5b5c6e350"}},{"ruleId":"X20","level":"warning","message":{"text":"Argument guard throws the exception its own condition disproves: The guard on line 359 rejects \u0060entities\u0060 and line 361 reports that rejection as \u0060ArgumentNullException\u0060 \u2014 but the condition\u0027s own test \u0060!entities.Any()\u0060 is true of a value that is NOT null: it is satisfied by an EMPTY \u0060entities\u0060, and on that path \u0060entities\u0060 was already proven non-null by the very expression that decided it (\u0060||\u0060 short-circuits, so the null test to its left had to be false to get here). So a caller who passes a valid empty argument is told a parameter was null. That is not a wording problem: the exception type is the contract. A caller catching \u0060ArgumentNullException\u0060 to handle a real null swallows this case with it, and whoever reads the stack trace later is told a failure the source disproves. .NET separates the two on purpose \u2014 \u0060ArgumentNullException.ThrowIfNull\u0060 and \u0060ArgumentException.ThrowIfNullOrEmpty\u0060 are two helpers because they are two failures. Throw \u0060ArgumentException\u0060 (or \u0060ArgumentOutOfRangeException\u0060 for a bound) for what the condition actually tests, or split the guard and throw each on its own condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFUnitOfWorkProvider.cs"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"5166bed6546c27d7f32f288b84f8ccbe121c1c03d359fc7c4c36ed0d8d0547c7"}},{"ruleId":"X20","level":"warning","message":{"text":"Argument guard throws the exception its own condition disproves: The guard on line 404 rejects \u0060number\u0060 and line 406 reports that rejection as \u0060ArgumentNullException\u0060 \u2014 but the condition\u0027s own test \u0060string.IsNullOrWhiteSpace(number)\u0060 is true of a value that is NOT null: it is satisfied by an EMPTY \u0060number\u0060, and on that path \u0060number\u0060 was already proven non-null by the very expression that decided it (\u0060||\u0060 short-circuits, so the null test to its left had to be false to get here). So a caller who passes a valid empty argument is told a parameter was null. That is not a wording problem: the exception type is the contract. A caller catching \u0060ArgumentNullException\u0060 to handle a real null swallows this case with it, and whoever reads the stack trace later is told a failure the source disproves. .NET separates the two on purpose \u2014 \u0060ArgumentNullException.ThrowIfNull\u0060 and \u0060ArgumentException.ThrowIfNullOrEmpty\u0060 are two helpers because they are two failures. Throw \u0060ArgumentException\u0060 (or \u0060ArgumentOutOfRangeException\u0060 for a bound) for what the condition actually tests, or split the guard and throw each on its own condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFUnitOfWorkProvider.cs"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"a850527641a90a1563efd8017fd42355ff3b298301a37123ec7dafa196626a7b"}},{"ruleId":"X20","level":"warning","message":{"text":"Argument guard throws the exception its own condition disproves: The guard on line 465 rejects \u0060ids\u0060 and line 467 reports that rejection as \u0060ArgumentNullException\u0060 \u2014 but the condition\u0027s own test \u0060!ids.Any()\u0060 is true of a value that is NOT null: it is satisfied by an EMPTY \u0060ids\u0060, and on that path \u0060ids\u0060 was already proven non-null by the very expression that decided it (\u0060||\u0060 short-circuits, so the null test to its left had to be false to get here). So a caller who passes a valid empty argument is told a parameter was null. That is not a wording problem: the exception type is the contract. A caller catching \u0060ArgumentNullException\u0060 to handle a real null swallows this case with it, and whoever reads the stack trace later is told a failure the source disproves. .NET separates the two on purpose \u2014 \u0060ArgumentNullException.ThrowIfNull\u0060 and \u0060ArgumentException.ThrowIfNullOrEmpty\u0060 are two helpers because they are two failures. Throw \u0060ArgumentException\u0060 (or \u0060ArgumentOutOfRangeException\u0060 for a bound) for what the condition actually tests, or split the guard and throw each on its own condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFUnitOfWorkProvider.cs"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7d11fddda6259b08a92a38c2567677cd5d2a98c13a5eed22847caf4eced396c"}},{"ruleId":"X20","level":"warning","message":{"text":"Argument guard throws the exception its own condition disproves: The guard on line 489 rejects \u0060numbers\u0060 and line 491 reports that rejection as \u0060ArgumentNullException\u0060 \u2014 but the condition\u0027s own test \u0060!numbers.Any()\u0060 is true of a value that is NOT null: it is satisfied by an EMPTY \u0060numbers\u0060, and on that path \u0060numbers\u0060 was already proven non-null by the very expression that decided it (\u0060||\u0060 short-circuits, so the null test to its left had to be false to get here). So a caller who passes a valid empty argument is told a parameter was null. That is not a wording problem: the exception type is the contract. A caller catching \u0060ArgumentNullException\u0060 to handle a real null swallows this case with it, and whoever reads the stack trace later is told a failure the source disproves. .NET separates the two on purpose \u2014 \u0060ArgumentNullException.ThrowIfNull\u0060 and \u0060ArgumentException.ThrowIfNullOrEmpty\u0060 are two helpers because they are two failures. Throw \u0060ArgumentException\u0060 (or \u0060ArgumentOutOfRangeException\u0060 for a bound) for what the condition actually tests, or split the guard and throw each on its own condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFUnitOfWorkProvider.cs"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"62012860fc416ced987e1f5f79c13a0b9cd9b0e281f9d234a100e32b491cd755"}},{"ruleId":"X20","level":"warning","message":{"text":"Argument guard throws the exception its own condition disproves: The guard on line 513 rejects \u0060rowNos\u0060 and line 515 reports that rejection as \u0060ArgumentNullException\u0060 \u2014 but the condition\u0027s own test \u0060!rowNos.Any()\u0060 is true of a value that is NOT null: it is satisfied by an EMPTY \u0060rowNos\u0060, and on that path \u0060rowNos\u0060 was already proven non-null by the very expression that decided it (\u0060||\u0060 short-circuits, so the null test to its left had to be false to get here). So a caller who passes a valid empty argument is told a parameter was null. That is not a wording problem: the exception type is the contract. A caller catching \u0060ArgumentNullException\u0060 to handle a real null swallows this case with it, and whoever reads the stack trace later is told a failure the source disproves. .NET separates the two on purpose \u2014 \u0060ArgumentNullException.ThrowIfNull\u0060 and \u0060ArgumentException.ThrowIfNullOrEmpty\u0060 are two helpers because they are two failures. Throw \u0060ArgumentException\u0060 (or \u0060ArgumentOutOfRangeException\u0060 for a bound) for what the condition actually tests, or split the guard and throw each on its own condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFUnitOfWorkProvider.cs"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"d44accef99fb0f340ea34c086813b567c95533912e821aca7e42c859379381b1"}},{"ruleId":"X20","level":"warning","message":{"text":"Argument guard throws the exception its own condition disproves: The guard on line 537 rejects \u0060entities\u0060 and line 539 reports that rejection as \u0060ArgumentNullException\u0060 \u2014 but the condition\u0027s own test \u0060!entities.Any()\u0060 is true of a value that is NOT null: it is satisfied by an EMPTY \u0060entities\u0060, and on that path \u0060entities\u0060 was already proven non-null by the very expression that decided it (\u0060||\u0060 short-circuits, so the null test to its left had to be false to get here). So a caller who passes a valid empty argument is told a parameter was null. That is not a wording problem: the exception type is the contract. A caller catching \u0060ArgumentNullException\u0060 to handle a real null swallows this case with it, and whoever reads the stack trace later is told a failure the source disproves. .NET separates the two on purpose \u2014 \u0060ArgumentNullException.ThrowIfNull\u0060 and \u0060ArgumentException.ThrowIfNullOrEmpty\u0060 are two helpers because they are two failures. Throw \u0060ArgumentException\u0060 (or \u0060ArgumentOutOfRangeException\u0060 for a bound) for what the condition actually tests, or split the guard and throw each on its own condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFUnitOfWorkProvider.cs"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef14811b93c53fa16d781dab6e95db87a3d39aa7aa1911dd6300f3051ce86adc"}},{"ruleId":"X20","level":"warning","message":{"text":"Argument guard throws the exception its own condition disproves: The guard on line 597 rejects \u0060number\u0060 and line 599 reports that rejection as \u0060ArgumentNullException\u0060 \u2014 but the condition\u0027s own test \u0060string.IsNullOrWhiteSpace(number)\u0060 is true of a value that is NOT null: it is satisfied by an EMPTY \u0060number\u0060, and on that path \u0060number\u0060 was already proven non-null by the very expression that decided it (\u0060||\u0060 short-circuits, so the null test to its left had to be false to get here). So a caller who passes a valid empty argument is told a parameter was null. That is not a wording problem: the exception type is the contract. A caller catching \u0060ArgumentNullException\u0060 to handle a real null swallows this case with it, and whoever reads the stack trace later is told a failure the source disproves. .NET separates the two on purpose \u2014 \u0060ArgumentNullException.ThrowIfNull\u0060 and \u0060ArgumentException.ThrowIfNullOrEmpty\u0060 are two helpers because they are two failures. Throw \u0060ArgumentException\u0060 (or \u0060ArgumentOutOfRangeException\u0060 for a bound) for what the condition actually tests, or split the guard and throw each on its own condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFUnitOfWorkProvider.cs"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"2783f0d01837ca88c5963bf211d77783b8dffdfa7958408da2aa4aa3ea16f253"}},{"ruleId":"X20","level":"warning","message":{"text":"Argument guard throws the exception its own condition disproves: The guard on line 719 rejects \u0060ids\u0060 and line 721 reports that rejection as \u0060ArgumentNullException\u0060 \u2014 but the condition\u0027s own test \u0060!ids.Any()\u0060 is true of a value that is NOT null: it is satisfied by an EMPTY \u0060ids\u0060, and on that path \u0060ids\u0060 was already proven non-null by the very expression that decided it (\u0060||\u0060 short-circuits, so the null test to its left had to be false to get here). So a caller who passes a valid empty argument is told a parameter was null. That is not a wording problem: the exception type is the contract. A caller catching \u0060ArgumentNullException\u0060 to handle a real null swallows this case with it, and whoever reads the stack trace later is told a failure the source disproves. .NET separates the two on purpose \u2014 \u0060ArgumentNullException.ThrowIfNull\u0060 and \u0060ArgumentException.ThrowIfNullOrEmpty\u0060 are two helpers because they are two failures. Throw \u0060ArgumentException\u0060 (or \u0060ArgumentOutOfRangeException\u0060 for a bound) for what the condition actually tests, or split the guard and throw each on its own condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFUnitOfWorkProvider.cs"},"region":{"startLine":721}}}],"partialFingerprints":{"codehealthFindingId/v1":"00c2fad4454236b41b1ef582b4fea9ae32ce4a5ce8a4b50a0e69d9b885acf7df"}},{"ruleId":"X20","level":"warning","message":{"text":"Argument guard throws the exception its own condition disproves: The guard on line 763 rejects \u0060numbers\u0060 and line 765 reports that rejection as \u0060ArgumentNullException\u0060 \u2014 but the condition\u0027s own test \u0060!numbers.Any()\u0060 is true of a value that is NOT null: it is satisfied by an EMPTY \u0060numbers\u0060, and on that path \u0060numbers\u0060 was already proven non-null by the very expression that decided it (\u0060||\u0060 short-circuits, so the null test to its left had to be false to get here). So a caller who passes a valid empty argument is told a parameter was null. That is not a wording problem: the exception type is the contract. A caller catching \u0060ArgumentNullException\u0060 to handle a real null swallows this case with it, and whoever reads the stack trace later is told a failure the source disproves. .NET separates the two on purpose \u2014 \u0060ArgumentNullException.ThrowIfNull\u0060 and \u0060ArgumentException.ThrowIfNullOrEmpty\u0060 are two helpers because they are two failures. Throw \u0060ArgumentException\u0060 (or \u0060ArgumentOutOfRangeException\u0060 for a bound) for what the condition actually tests, or split the guard and throw each on its own condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFUnitOfWorkProvider.cs"},"region":{"startLine":765}}}],"partialFingerprints":{"codehealthFindingId/v1":"36452d1c61ec3cafabacb3ed458e0b55f46bfe864844d275320ee4c136c74970"}},{"ruleId":"X20","level":"warning","message":{"text":"Argument guard throws the exception its own condition disproves: The guard on line 807 rejects \u0060rowNos\u0060 and line 809 reports that rejection as \u0060ArgumentNullException\u0060 \u2014 but the condition\u0027s own test \u0060!rowNos.Any()\u0060 is true of a value that is NOT null: it is satisfied by an EMPTY \u0060rowNos\u0060, and on that path \u0060rowNos\u0060 was already proven non-null by the very expression that decided it (\u0060||\u0060 short-circuits, so the null test to its left had to be false to get here). So a caller who passes a valid empty argument is told a parameter was null. That is not a wording problem: the exception type is the contract. A caller catching \u0060ArgumentNullException\u0060 to handle a real null swallows this case with it, and whoever reads the stack trace later is told a failure the source disproves. .NET separates the two on purpose \u2014 \u0060ArgumentNullException.ThrowIfNull\u0060 and \u0060ArgumentException.ThrowIfNullOrEmpty\u0060 are two helpers because they are two failures. Throw \u0060ArgumentException\u0060 (or \u0060ArgumentOutOfRangeException\u0060 for a bound) for what the condition actually tests, or split the guard and throw each on its own condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFUnitOfWorkProvider.cs"},"region":{"startLine":809}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca3edf9b9238ec21d4a9a480a1d525b385bfad7163778c1a81fba442eeb21831"}},{"ruleId":"X20","level":"warning","message":{"text":"Argument guard throws the exception its own condition disproves: The guard on line 851 rejects \u0060entities\u0060 and line 853 reports that rejection as \u0060ArgumentNullException\u0060 \u2014 but the condition\u0027s own test \u0060!entities.Any()\u0060 is true of a value that is NOT null: it is satisfied by an EMPTY \u0060entities\u0060, and on that path \u0060entities\u0060 was already proven non-null by the very expression that decided it (\u0060||\u0060 short-circuits, so the null test to its left had to be false to get here). So a caller who passes a valid empty argument is told a parameter was null. That is not a wording problem: the exception type is the contract. A caller catching \u0060ArgumentNullException\u0060 to handle a real null swallows this case with it, and whoever reads the stack trace later is told a failure the source disproves. .NET separates the two on purpose \u2014 \u0060ArgumentNullException.ThrowIfNull\u0060 and \u0060ArgumentException.ThrowIfNullOrEmpty\u0060 are two helpers because they are two failures. Throw \u0060ArgumentException\u0060 (or \u0060ArgumentOutOfRangeException\u0060 for a bound) for what the condition actually tests, or split the guard and throw each on its own condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFUnitOfWorkProvider.cs"},"region":{"startLine":853}}}],"partialFingerprints":{"codehealthFindingId/v1":"342b208afcb8873bb938a13a10e01a369c24e988bf55363abb70d30f4f431203"}},{"ruleId":"X20","level":"warning","message":{"text":"Argument guard throws the exception its own condition disproves: The guard on line 944 rejects \u0060number\u0060 and line 946 reports that rejection as \u0060ArgumentNullException\u0060 \u2014 but the condition\u0027s own test \u0060string.IsNullOrWhiteSpace(number)\u0060 is true of a value that is NOT null: it is satisfied by an EMPTY \u0060number\u0060, and on that path \u0060number\u0060 was already proven non-null by the very expression that decided it (\u0060||\u0060 short-circuits, so the null test to its left had to be false to get here). So a caller who passes a valid empty argument is told a parameter was null. That is not a wording problem: the exception type is the contract. A caller catching \u0060ArgumentNullException\u0060 to handle a real null swallows this case with it, and whoever reads the stack trace later is told a failure the source disproves. .NET separates the two on purpose \u2014 \u0060ArgumentNullException.ThrowIfNull\u0060 and \u0060ArgumentException.ThrowIfNullOrEmpty\u0060 are two helpers because they are two failures. Throw \u0060ArgumentException\u0060 (or \u0060ArgumentOutOfRangeException\u0060 for a bound) for what the condition actually tests, or split the guard and throw each on its own condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFUnitOfWorkProvider.cs"},"region":{"startLine":946}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b7871acf16fcbb2ccbe1e486b66aeb74f31c0395013ce7fac93943047a02eb6"}},{"ruleId":"X20","level":"warning","message":{"text":"Argument guard throws the exception its own condition disproves: The guard on line 977 rejects \u0060number\u0060 and line 979 reports that rejection as \u0060ArgumentNullException\u0060 \u2014 but the condition\u0027s own test \u0060string.IsNullOrWhiteSpace(number)\u0060 is true of a value that is NOT null: it is satisfied by an EMPTY \u0060number\u0060, and on that path \u0060number\u0060 was already proven non-null by the very expression that decided it (\u0060||\u0060 short-circuits, so the null test to its left had to be false to get here). So a caller who passes a valid empty argument is told a parameter was null. That is not a wording problem: the exception type is the contract. A caller catching \u0060ArgumentNullException\u0060 to handle a real null swallows this case with it, and whoever reads the stack trace later is told a failure the source disproves. .NET separates the two on purpose \u2014 \u0060ArgumentNullException.ThrowIfNull\u0060 and \u0060ArgumentException.ThrowIfNullOrEmpty\u0060 are two helpers because they are two failures. Throw \u0060ArgumentException\u0060 (or \u0060ArgumentOutOfRangeException\u0060 for a bound) for what the condition actually tests, or split the guard and throw each on its own condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFUnitOfWorkProvider.cs"},"region":{"startLine":979}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8f2dfdb770d6adafd33eb75fc652ed3764aad0959a86bcfc6a88938b38e68a7"}},{"ruleId":"X20","level":"warning","message":{"text":"Argument guard throws the exception its own condition disproves: The guard on line 1317 rejects \u0060sql\u0060 and line 1319 reports that rejection as \u0060ArgumentNullException\u0060 \u2014 but the condition\u0027s own test \u0060string.IsNullOrWhiteSpace(sql)\u0060 is true of a value that is NOT null: it is satisfied by an EMPTY \u0060sql\u0060, and on that path \u0060sql\u0060 was already proven non-null by the very expression that decided it (\u0060||\u0060 short-circuits, so the null test to its left had to be false to get here). So a caller who passes a valid empty argument is told a parameter was null. That is not a wording problem: the exception type is the contract. A caller catching \u0060ArgumentNullException\u0060 to handle a real null swallows this case with it, and whoever reads the stack trace later is told a failure the source disproves. .NET separates the two on purpose \u2014 \u0060ArgumentNullException.ThrowIfNull\u0060 and \u0060ArgumentException.ThrowIfNullOrEmpty\u0060 are two helpers because they are two failures. Throw \u0060ArgumentException\u0060 (or \u0060ArgumentOutOfRangeException\u0060 for a bound) for what the condition actually tests, or split the guard and throw each on its own condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFUnitOfWorkProvider.cs"},"region":{"startLine":1319}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b48bfb094f56ff5f6f0a21eda63885f245693c4de8e430b954c7d163952af11"}},{"ruleId":"X20","level":"warning","message":{"text":"Argument guard throws the exception its own condition disproves: The guard on line 1339 rejects \u0060sql\u0060 and line 1341 reports that rejection as \u0060ArgumentNullException\u0060 \u2014 but the condition\u0027s own test \u0060string.IsNullOrWhiteSpace(sql)\u0060 is true of a value that is NOT null: it is satisfied by an EMPTY \u0060sql\u0060, and on that path \u0060sql\u0060 was already proven non-null by the very expression that decided it (\u0060||\u0060 short-circuits, so the null test to its left had to be false to get here). So a caller who passes a valid empty argument is told a parameter was null. That is not a wording problem: the exception type is the contract. A caller catching \u0060ArgumentNullException\u0060 to handle a real null swallows this case with it, and whoever reads the stack trace later is told a failure the source disproves. .NET separates the two on purpose \u2014 \u0060ArgumentNullException.ThrowIfNull\u0060 and \u0060ArgumentException.ThrowIfNullOrEmpty\u0060 are two helpers because they are two failures. Throw \u0060ArgumentException\u0060 (or \u0060ArgumentOutOfRangeException\u0060 for a bound) for what the condition actually tests, or split the guard and throw each on its own condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.EntityFrameworkCore/EFUnitOfWorkProvider.cs"},"region":{"startLine":1341}}}],"partialFingerprints":{"codehealthFindingId/v1":"8664df3554c2c6da10eca1bc691c793d8d93313cea167f607332e511ab22cba6"}},{"ruleId":"X20","level":"warning","message":{"text":"Argument guard throws the exception its own condition disproves: The guard on line 109 rejects \u0060entities\u0060 and line 111 reports that rejection as \u0060ArgumentNullException\u0060 \u2014 but the condition\u0027s own test \u0060!entities.Any()\u0060 is true of a value that is NOT null: it is satisfied by an EMPTY \u0060entities\u0060, and on that path \u0060entities\u0060 was already proven non-null by the very expression that decided it (\u0060||\u0060 short-circuits, so the null test to its left had to be false to get here). So a caller who passes a valid empty argument is told a parameter was null. That is not a wording problem: the exception type is the contract. A caller catching \u0060ArgumentNullException\u0060 to handle a real null swallows this case with it, and whoever reads the stack trace later is told a failure the source disproves. .NET separates the two on purpose \u2014 \u0060ArgumentNullException.ThrowIfNull\u0060 and \u0060ArgumentException.ThrowIfNullOrEmpty\u0060 are two helpers because they are two failures. Throw \u0060ArgumentException\u0060 (or \u0060ArgumentOutOfRangeException\u0060 for a bound) for what the condition actually tests, or split the guard and throw each on its own condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.MongoDB/MongoRepositoryProvider.cs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf72247df6924c1d344ce8d8e165569014df0013890aa5d63116d2cf9b2f2c1e"}},{"ruleId":"X20","level":"warning","message":{"text":"Argument guard throws the exception its own condition disproves: The guard on line 152 rejects \u0060entities\u0060 and line 154 reports that rejection as \u0060ArgumentNullException\u0060 \u2014 but the condition\u0027s own test \u0060!entities.Any()\u0060 is true of a value that is NOT null: it is satisfied by an EMPTY \u0060entities\u0060, and on that path \u0060entities\u0060 was already proven non-null by the very expression that decided it (\u0060||\u0060 short-circuits, so the null test to its left had to be false to get here). So a caller who passes a valid empty argument is told a parameter was null. That is not a wording problem: the exception type is the contract. A caller catching \u0060ArgumentNullException\u0060 to handle a real null swallows this case with it, and whoever reads the stack trace later is told a failure the source disproves. .NET separates the two on purpose \u2014 \u0060ArgumentNullException.ThrowIfNull\u0060 and \u0060ArgumentException.ThrowIfNullOrEmpty\u0060 are two helpers because they are two failures. Throw \u0060ArgumentException\u0060 (or \u0060ArgumentOutOfRangeException\u0060 for a bound) for what the condition actually tests, or split the guard and throw each on its own condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.MongoDB/MongoRepositoryProvider.cs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aa56f0ab65d2a790c3dbf707bdafe947e2847679f96443f1eef1614d819dca1"}},{"ruleId":"X20","level":"warning","message":{"text":"Argument guard throws the exception its own condition disproves: The guard on line 209 rejects \u0060ids\u0060 and line 211 reports that rejection as \u0060ArgumentNullException\u0060 \u2014 but the condition\u0027s own test \u0060!ids.Any()\u0060 is true of a value that is NOT null: it is satisfied by an EMPTY \u0060ids\u0060, and on that path \u0060ids\u0060 was already proven non-null by the very expression that decided it (\u0060||\u0060 short-circuits, so the null test to its left had to be false to get here). So a caller who passes a valid empty argument is told a parameter was null. That is not a wording problem: the exception type is the contract. A caller catching \u0060ArgumentNullException\u0060 to handle a real null swallows this case with it, and whoever reads the stack trace later is told a failure the source disproves. .NET separates the two on purpose \u2014 \u0060ArgumentNullException.ThrowIfNull\u0060 and \u0060ArgumentException.ThrowIfNullOrEmpty\u0060 are two helpers because they are two failures. Throw \u0060ArgumentException\u0060 (or \u0060ArgumentOutOfRangeException\u0060 for a bound) for what the condition actually tests, or split the guard and throw each on its own condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.MongoDB/MongoRepositoryProvider.cs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c4ec067bc6d7ed02ad77172d47d5e11c047b18f76d0398b0a592956ae2199f6"}},{"ruleId":"X20","level":"warning","message":{"text":"Argument guard throws the exception its own condition disproves: The guard on line 230 rejects \u0060numbers\u0060 and line 232 reports that rejection as \u0060ArgumentNullException\u0060 \u2014 but the condition\u0027s own test \u0060!numbers.Any()\u0060 is true of a value that is NOT null: it is satisfied by an EMPTY \u0060numbers\u0060, and on that path \u0060numbers\u0060 was already proven non-null by the very expression that decided it (\u0060||\u0060 short-circuits, so the null test to its left had to be false to get here). So a caller who passes a valid empty argument is told a parameter was null. That is not a wording problem: the exception type is the contract. A caller catching \u0060ArgumentNullException\u0060 to handle a real null swallows this case with it, and whoever reads the stack trace later is told a failure the source disproves. .NET separates the two on purpose \u2014 \u0060ArgumentNullException.ThrowIfNull\u0060 and \u0060ArgumentException.ThrowIfNullOrEmpty\u0060 are two helpers because they are two failures. Throw \u0060ArgumentException\u0060 (or \u0060ArgumentOutOfRangeException\u0060 for a bound) for what the condition actually tests, or split the guard and throw each on its own condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.MongoDB/MongoRepositoryProvider.cs"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"370af70756dc3a4734e507edcbe3aedd9a17d8496e3479078352e2073cd0ee93"}},{"ruleId":"X20","level":"warning","message":{"text":"Argument guard throws the exception its own condition disproves: The guard on line 397 rejects \u0060number\u0060 and line 399 reports that rejection as \u0060ArgumentNullException\u0060 \u2014 but the condition\u0027s own test \u0060string.IsNullOrWhiteSpace(number)\u0060 is true of a value that is NOT null: it is satisfied by an EMPTY \u0060number\u0060, and on that path \u0060number\u0060 was already proven non-null by the very expression that decided it (\u0060||\u0060 short-circuits, so the null test to its left had to be false to get here). So a caller who passes a valid empty argument is told a parameter was null. That is not a wording problem: the exception type is the contract. A caller catching \u0060ArgumentNullException\u0060 to handle a real null swallows this case with it, and whoever reads the stack trace later is told a failure the source disproves. .NET separates the two on purpose \u2014 \u0060ArgumentNullException.ThrowIfNull\u0060 and \u0060ArgumentException.ThrowIfNullOrEmpty\u0060 are two helpers because they are two failures. Throw \u0060ArgumentException\u0060 (or \u0060ArgumentOutOfRangeException\u0060 for a bound) for what the condition actually tests, or split the guard and throw each on its own condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.MongoDB/MongoRepositoryProvider.cs"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"42fb17b913d8d0da449aacdb6fcdd816b56c62601635033926621b505c139ac6"}},{"ruleId":"X20","level":"warning","message":{"text":"Argument guard throws the exception its own condition disproves: The guard on line 418 rejects \u0060number\u0060 and line 420 reports that rejection as \u0060ArgumentNullException\u0060 \u2014 but the condition\u0027s own test \u0060string.IsNullOrWhiteSpace(number)\u0060 is true of a value that is NOT null: it is satisfied by an EMPTY \u0060number\u0060, and on that path \u0060number\u0060 was already proven non-null by the very expression that decided it (\u0060||\u0060 short-circuits, so the null test to its left had to be false to get here). So a caller who passes a valid empty argument is told a parameter was null. That is not a wording problem: the exception type is the contract. A caller catching \u0060ArgumentNullException\u0060 to handle a real null swallows this case with it, and whoever reads the stack trace later is told a failure the source disproves. .NET separates the two on purpose \u2014 \u0060ArgumentNullException.ThrowIfNull\u0060 and \u0060ArgumentException.ThrowIfNullOrEmpty\u0060 are two helpers because they are two failures. Throw \u0060ArgumentException\u0060 (or \u0060ArgumentOutOfRangeException\u0060 for a bound) for what the condition actually tests, or split the guard and throw each on its own condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.MongoDB/MongoRepositoryProvider.cs"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"08888e6096a99c5eedcd2ce1032596605953599d2f8e4757e191aacb18bbd9a8"}},{"ruleId":"X20","level":"warning","message":{"text":"Argument guard throws the exception its own condition disproves: The guard on line 439 rejects \u0060number\u0060 and line 441 reports that rejection as \u0060ArgumentNullException\u0060 \u2014 but the condition\u0027s own test \u0060string.IsNullOrWhiteSpace(number)\u0060 is true of a value that is NOT null: it is satisfied by an EMPTY \u0060number\u0060, and on that path \u0060number\u0060 was already proven non-null by the very expression that decided it (\u0060||\u0060 short-circuits, so the null test to its left had to be false to get here). So a caller who passes a valid empty argument is told a parameter was null. That is not a wording problem: the exception type is the contract. A caller catching \u0060ArgumentNullException\u0060 to handle a real null swallows this case with it, and whoever reads the stack trace later is told a failure the source disproves. .NET separates the two on purpose \u2014 \u0060ArgumentNullException.ThrowIfNull\u0060 and \u0060ArgumentException.ThrowIfNullOrEmpty\u0060 are two helpers because they are two failures. Throw \u0060ArgumentException\u0060 (or \u0060ArgumentOutOfRangeException\u0060 for a bound) for what the condition actually tests, or split the guard and throw each on its own condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.MongoDB/MongoRepositoryProvider.cs"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"a301e01de85d83eaf965d95cf28371f48ea70a7f207c9289facaf356f954eada"}},{"ruleId":"X20","level":"warning","message":{"text":"Argument guard throws the exception its own condition disproves: The guard on line 460 rejects \u0060number\u0060 and line 462 reports that rejection as \u0060ArgumentNullException\u0060 \u2014 but the condition\u0027s own test \u0060string.IsNullOrWhiteSpace(number)\u0060 is true of a value that is NOT null: it is satisfied by an EMPTY \u0060number\u0060, and on that path \u0060number\u0060 was already proven non-null by the very expression that decided it (\u0060||\u0060 short-circuits, so the null test to its left had to be false to get here). So a caller who passes a valid empty argument is told a parameter was null. That is not a wording problem: the exception type is the contract. A caller catching \u0060ArgumentNullException\u0060 to handle a real null swallows this case with it, and whoever reads the stack trace later is told a failure the source disproves. .NET separates the two on purpose \u2014 \u0060ArgumentNullException.ThrowIfNull\u0060 and \u0060ArgumentException.ThrowIfNullOrEmpty\u0060 are two helpers because they are two failures. Throw \u0060ArgumentException\u0060 (or \u0060ArgumentOutOfRangeException\u0060 for a bound) for what the condition actually tests, or split the guard and throw each on its own condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.MongoDB/MongoRepositoryProvider.cs"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"a884f5a19bb056fa1cc4fbb66eb6f18d38b11ebfb1365d47f81854302b3c050f"}},{"ruleId":"X20","level":"warning","message":{"text":"Argument guard throws the exception its own condition disproves: The guard on line 1278 rejects \u0060number\u0060 and line 1280 reports that rejection as \u0060ArgumentNullException\u0060 \u2014 but the condition\u0027s own test \u0060string.IsNullOrWhiteSpace(number)\u0060 is true of a value that is NOT null: it is satisfied by an EMPTY \u0060number\u0060, and on that path \u0060number\u0060 was already proven non-null by the very expression that decided it (\u0060||\u0060 short-circuits, so the null test to its left had to be false to get here). So a caller who passes a valid empty argument is told a parameter was null. That is not a wording problem: the exception type is the contract. A caller catching \u0060ArgumentNullException\u0060 to handle a real null swallows this case with it, and whoever reads the stack trace later is told a failure the source disproves. .NET separates the two on purpose \u2014 \u0060ArgumentNullException.ThrowIfNull\u0060 and \u0060ArgumentException.ThrowIfNullOrEmpty\u0060 are two helpers because they are two failures. Throw \u0060ArgumentException\u0060 (or \u0060ArgumentOutOfRangeException\u0060 for a bound) for what the condition actually tests, or split the guard and throw each on its own condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.MongoDB/MongoRepositoryProvider.cs"},"region":{"startLine":1280}}}],"partialFingerprints":{"codehealthFindingId/v1":"09609d5b6980f9cd8fd98dea05cdf2db542f7ff8f62adb09ac262741407a02dc"}},{"ruleId":"X20","level":"warning","message":{"text":"Argument guard throws the exception its own condition disproves: The guard on line 1299 rejects \u0060number\u0060 and line 1301 reports that rejection as \u0060ArgumentNullException\u0060 \u2014 but the condition\u0027s own test \u0060string.IsNullOrWhiteSpace(number)\u0060 is true of a value that is NOT null: it is satisfied by an EMPTY \u0060number\u0060, and on that path \u0060number\u0060 was already proven non-null by the very expression that decided it (\u0060||\u0060 short-circuits, so the null test to its left had to be false to get here). So a caller who passes a valid empty argument is told a parameter was null. That is not a wording problem: the exception type is the contract. A caller catching \u0060ArgumentNullException\u0060 to handle a real null swallows this case with it, and whoever reads the stack trace later is told a failure the source disproves. .NET separates the two on purpose \u2014 \u0060ArgumentNullException.ThrowIfNull\u0060 and \u0060ArgumentException.ThrowIfNullOrEmpty\u0060 are two helpers because they are two failures. Throw \u0060ArgumentException\u0060 (or \u0060ArgumentOutOfRangeException\u0060 for a bound) for what the condition actually tests, or split the guard and throw each on its own condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.MongoDB/MongoRepositoryProvider.cs"},"region":{"startLine":1301}}}],"partialFingerprints":{"codehealthFindingId/v1":"6accf1340b2c46449b89a31f3c0c7047e5a4669106c606696140e51c5602cca2"}},{"ruleId":"X20","level":"warning","message":{"text":"Argument guard throws the exception its own condition disproves: The guard on line 1320 rejects \u0060number\u0060 and line 1322 reports that rejection as \u0060ArgumentNullException\u0060 \u2014 but the condition\u0027s own test \u0060string.IsNullOrWhiteSpace(number)\u0060 is true of a value that is NOT null: it is satisfied by an EMPTY \u0060number\u0060, and on that path \u0060number\u0060 was already proven non-null by the very expression that decided it (\u0060||\u0060 short-circuits, so the null test to its left had to be false to get here). So a caller who passes a valid empty argument is told a parameter was null. That is not a wording problem: the exception type is the contract. A caller catching \u0060ArgumentNullException\u0060 to handle a real null swallows this case with it, and whoever reads the stack trace later is told a failure the source disproves. .NET separates the two on purpose \u2014 \u0060ArgumentNullException.ThrowIfNull\u0060 and \u0060ArgumentException.ThrowIfNullOrEmpty\u0060 are two helpers because they are two failures. Throw \u0060ArgumentException\u0060 (or \u0060ArgumentOutOfRangeException\u0060 for a bound) for what the condition actually tests, or split the guard and throw each on its own condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.MongoDB/MongoRepositoryProvider.cs"},"region":{"startLine":1322}}}],"partialFingerprints":{"codehealthFindingId/v1":"0224fac811c293e8d73a80d3d0be1d1b8a113ded30082721031ebea01f584d57"}},{"ruleId":"X20","level":"warning","message":{"text":"Argument guard throws the exception its own condition disproves: The guard on line 1341 rejects \u0060number\u0060 and line 1343 reports that rejection as \u0060ArgumentNullException\u0060 \u2014 but the condition\u0027s own test \u0060string.IsNullOrWhiteSpace(number)\u0060 is true of a value that is NOT null: it is satisfied by an EMPTY \u0060number\u0060, and on that path \u0060number\u0060 was already proven non-null by the very expression that decided it (\u0060||\u0060 short-circuits, so the null test to its left had to be false to get here). So a caller who passes a valid empty argument is told a parameter was null. That is not a wording problem: the exception type is the contract. A caller catching \u0060ArgumentNullException\u0060 to handle a real null swallows this case with it, and whoever reads the stack trace later is told a failure the source disproves. .NET separates the two on purpose \u2014 \u0060ArgumentNullException.ThrowIfNull\u0060 and \u0060ArgumentException.ThrowIfNullOrEmpty\u0060 are two helpers because they are two failures. Throw \u0060ArgumentException\u0060 (or \u0060ArgumentOutOfRangeException\u0060 for a bound) for what the condition actually tests, or split the guard and throw each on its own condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.MongoDB/MongoRepositoryProvider.cs"},"region":{"startLine":1343}}}],"partialFingerprints":{"codehealthFindingId/v1":"c07eaa9ead488fa79d8621a2390cf891f700200e2879fd7c0a6bb36bc508e4f2"}},{"ruleId":"X20","level":"warning","message":{"text":"Argument guard throws the exception its own condition disproves: The guard on line 1458 rejects \u0060name\u0060 and line 1460 reports that rejection as \u0060ArgumentNullException\u0060 \u2014 but the condition\u0027s own test \u0060string.IsNullOrWhiteSpace(name)\u0060 is true of a value that is NOT null: it is satisfied by an EMPTY \u0060name\u0060, and on that path \u0060name\u0060 was already proven non-null by the very expression that decided it (\u0060||\u0060 short-circuits, so the null test to its left had to be false to get here). So a caller who passes a valid empty argument is told a parameter was null. That is not a wording problem: the exception type is the contract. A caller catching \u0060ArgumentNullException\u0060 to handle a real null swallows this case with it, and whoever reads the stack trace later is told a failure the source disproves. .NET separates the two on purpose \u2014 \u0060ArgumentNullException.ThrowIfNull\u0060 and \u0060ArgumentException.ThrowIfNullOrEmpty\u0060 are two helpers because they are two failures. Throw \u0060ArgumentException\u0060 (or \u0060ArgumentOutOfRangeException\u0060 for a bound) for what the condition actually tests, or split the guard and throw each on its own condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.MongoDB/MongoRepositoryProvider.cs"},"region":{"startLine":1460}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea39ab127ddafb8978f99175e2786809ee3920ec4e393e1d03eb8da91f176478"}},{"ruleId":"X20","level":"warning","message":{"text":"Argument guard throws the exception its own condition disproves: The guard on line 1479 rejects \u0060name\u0060 and line 1481 reports that rejection as \u0060ArgumentNullException\u0060 \u2014 but the condition\u0027s own test \u0060string.IsNullOrWhiteSpace(name)\u0060 is true of a value that is NOT null: it is satisfied by an EMPTY \u0060name\u0060, and on that path \u0060name\u0060 was already proven non-null by the very expression that decided it (\u0060||\u0060 short-circuits, so the null test to its left had to be false to get here). So a caller who passes a valid empty argument is told a parameter was null. That is not a wording problem: the exception type is the contract. A caller catching \u0060ArgumentNullException\u0060 to handle a real null swallows this case with it, and whoever reads the stack trace later is told a failure the source disproves. .NET separates the two on purpose \u2014 \u0060ArgumentNullException.ThrowIfNull\u0060 and \u0060ArgumentException.ThrowIfNullOrEmpty\u0060 are two helpers because they are two failures. Throw \u0060ArgumentException\u0060 (or \u0060ArgumentOutOfRangeException\u0060 for a bound) for what the condition actually tests, or split the guard and throw each on its own condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.MongoDB/MongoRepositoryProvider.cs"},"region":{"startLine":1481}}}],"partialFingerprints":{"codehealthFindingId/v1":"2084717ea8ec5a41508535b9ff1225130ddc6d283be269fdab27702baa028089"}},{"ruleId":"X20","level":"warning","message":{"text":"Argument guard throws the exception its own condition disproves: The guard on line 1500 rejects \u0060name\u0060 and line 1502 reports that rejection as \u0060ArgumentNullException\u0060 \u2014 but the condition\u0027s own test \u0060string.IsNullOrWhiteSpace(name)\u0060 is true of a value that is NOT null: it is satisfied by an EMPTY \u0060name\u0060, and on that path \u0060name\u0060 was already proven non-null by the very expression that decided it (\u0060||\u0060 short-circuits, so the null test to its left had to be false to get here). So a caller who passes a valid empty argument is told a parameter was null. That is not a wording problem: the exception type is the contract. A caller catching \u0060ArgumentNullException\u0060 to handle a real null swallows this case with it, and whoever reads the stack trace later is told a failure the source disproves. .NET separates the two on purpose \u2014 \u0060ArgumentNullException.ThrowIfNull\u0060 and \u0060ArgumentException.ThrowIfNullOrEmpty\u0060 are two helpers because they are two failures. Throw \u0060ArgumentException\u0060 (or \u0060ArgumentOutOfRangeException\u0060 for a bound) for what the condition actually tests, or split the guard and throw each on its own condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.MongoDB/MongoRepositoryProvider.cs"},"region":{"startLine":1502}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2be07dd858baf2a2b95f2e7e763712fbf401443a8653ec2884cc33f6c9989a4"}},{"ruleId":"X20","level":"warning","message":{"text":"Argument guard throws the exception its own condition disproves: The guard on line 1521 rejects \u0060name\u0060 and line 1523 reports that rejection as \u0060ArgumentNullException\u0060 \u2014 but the condition\u0027s own test \u0060string.IsNullOrWhiteSpace(name)\u0060 is true of a value that is NOT null: it is satisfied by an EMPTY \u0060name\u0060, and on that path \u0060name\u0060 was already proven non-null by the very expression that decided it (\u0060||\u0060 short-circuits, so the null test to its left had to be false to get here). So a caller who passes a valid empty argument is told a parameter was null. That is not a wording problem: the exception type is the contract. A caller catching \u0060ArgumentNullException\u0060 to handle a real null swallows this case with it, and whoever reads the stack trace later is told a failure the source disproves. .NET separates the two on purpose \u2014 \u0060ArgumentNullException.ThrowIfNull\u0060 and \u0060ArgumentException.ThrowIfNullOrEmpty\u0060 are two helpers because they are two failures. Throw \u0060ArgumentException\u0060 (or \u0060ArgumentOutOfRangeException\u0060 for a bound) for what the condition actually tests, or split the guard and throw each on its own condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Repository.MongoDB/MongoRepositoryProvider.cs"},"region":{"startLine":1523}}}],"partialFingerprints":{"codehealthFindingId/v1":"61f8b8e8e6bef5164957d161c0bf3f1c5265da3b76c2c1debc18261feb719f01"}},{"ruleId":"X20","level":"warning","message":{"text":"Argument guard throws the exception its own condition disproves: The guard on line 65 rejects \u0060assemblyName\u0060 and line 67 reports that rejection as \u0060ArgumentNullException\u0060 \u2014 but the condition\u0027s own test \u0060string.IsNullOrWhiteSpace(assemblyName)\u0060 is true of a value that is NOT null: it is satisfied by an EMPTY \u0060assemblyName\u0060, and on that path \u0060assemblyName\u0060 was already proven non-null by the very expression that decided it (\u0060||\u0060 short-circuits, so the null test to its left had to be false to get here). So a caller who passes a valid empty argument is told a parameter was null. That is not a wording problem: the exception type is the contract. A caller catching \u0060ArgumentNullException\u0060 to handle a real null swallows this case with it, and whoever reads the stack trace later is told a failure the source disproves. .NET separates the two on purpose \u2014 \u0060ArgumentNullException.ThrowIfNull\u0060 and \u0060ArgumentException.ThrowIfNullOrEmpty\u0060 are two helpers because they are two failures. Throw \u0060ArgumentException\u0060 (or \u0060ArgumentOutOfRangeException\u0060 for a bound) for what the condition actually tests, or split the guard and throw each on its own condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.CrontabBase/Factories/CrontabFactory.cs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc5095f334ac617f3cb117b2886f352d93d54122747e498ced1f368e6deb95ca"}},{"ruleId":"X20","level":"warning","message":{"text":"Argument guard throws the exception its own condition disproves: The guard on line 69 rejects \u0060typeName\u0060 and line 71 reports that rejection as \u0060ArgumentNullException\u0060 \u2014 but the condition\u0027s own test \u0060string.IsNullOrWhiteSpace(typeName)\u0060 is true of a value that is NOT null: it is satisfied by an EMPTY \u0060typeName\u0060, and on that path \u0060typeName\u0060 was already proven non-null by the very expression that decided it (\u0060||\u0060 short-circuits, so the null test to its left had to be false to get here). So a caller who passes a valid empty argument is told a parameter was null. That is not a wording problem: the exception type is the contract. A caller catching \u0060ArgumentNullException\u0060 to handle a real null swallows this case with it, and whoever reads the stack trace later is told a failure the source disproves. .NET separates the two on purpose \u2014 \u0060ArgumentNullException.ThrowIfNull\u0060 and \u0060ArgumentException.ThrowIfNullOrEmpty\u0060 are two helpers because they are two failures. Throw \u0060ArgumentException\u0060 (or \u0060ArgumentOutOfRangeException\u0060 for a bound) for what the condition actually tests, or split the guard and throw each on its own condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.CrontabBase/Factories/CrontabFactory.cs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"da4862171226264075fd28c21ce5c7bc5e24e4bcaf2f5fc04f1a8406511eba82"}},{"ruleId":"X20","level":"warning","message":{"text":"Argument guard throws the exception its own condition disproves: The guard on line 77 rejects \u0060crontabJson\u0060 and line 79 reports that rejection as \u0060ArgumentNullException\u0060 \u2014 but the condition\u0027s own test \u0060string.IsNullOrWhiteSpace(crontabJson)\u0060 is true of a value that is NOT null: it is satisfied by an EMPTY \u0060crontabJson\u0060, and on that path \u0060crontabJson\u0060 was already proven non-null by the very expression that decided it (\u0060||\u0060 short-circuits, so the null test to its left had to be false to get here). So a caller who passes a valid empty argument is told a parameter was null. That is not a wording problem: the exception type is the contract. A caller catching \u0060ArgumentNullException\u0060 to handle a real null swallows this case with it, and whoever reads the stack trace later is told a failure the source disproves. .NET separates the two on purpose \u2014 \u0060ArgumentNullException.ThrowIfNull\u0060 and \u0060ArgumentException.ThrowIfNullOrEmpty\u0060 are two helpers because they are two failures. Throw \u0060ArgumentException\u0060 (or \u0060ArgumentOutOfRangeException\u0060 for a bound) for what the condition actually tests, or split the guard and throw each on its own condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.CrontabStore.Redis/Toolkits/JsonUtil.cs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce946337b89582389d7f9b6e00e75393188fd8c81085162a61497872acc350c5"}},{"ruleId":"X20","level":"warning","message":{"text":"Argument guard throws the exception its own condition disproves: The guard on line 22 rejects \u0060assemblyName\u0060 and line 24 reports that rejection as \u0060ArgumentNullException\u0060 \u2014 but the condition\u0027s own test \u0060string.IsNullOrWhiteSpace(assemblyName)\u0060 is true of a value that is NOT null: it is satisfied by an EMPTY \u0060assemblyName\u0060, and on that path \u0060assemblyName\u0060 was already proven non-null by the very expression that decided it (\u0060||\u0060 short-circuits, so the null test to its left had to be false to get here). So a caller who passes a valid empty argument is told a parameter was null. That is not a wording problem: the exception type is the contract. A caller catching \u0060ArgumentNullException\u0060 to handle a real null swallows this case with it, and whoever reads the stack trace later is told a failure the source disproves. .NET separates the two on purpose \u2014 \u0060ArgumentNullException.ThrowIfNull\u0060 and \u0060ArgumentException.ThrowIfNullOrEmpty\u0060 are two helpers because they are two failures. Throw \u0060ArgumentException\u0060 (or \u0060ArgumentOutOfRangeException\u0060 for a bound) for what the condition actually tests, or split the guard and throw each on its own condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.WWF/Factories/ActivityFactory.cs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"43be767f4bf57337b19aa9a2b7dc37bb46fdc9ff8143ab362b8cc94551b97ee7"}},{"ruleId":"X20","level":"warning","message":{"text":"Argument guard throws the exception its own condition disproves: The guard on line 26 rejects \u0060typeName\u0060 and line 28 reports that rejection as \u0060ArgumentNullException\u0060 \u2014 but the condition\u0027s own test \u0060string.IsNullOrWhiteSpace(typeName)\u0060 is true of a value that is NOT null: it is satisfied by an EMPTY \u0060typeName\u0060, and on that path \u0060typeName\u0060 was already proven non-null by the very expression that decided it (\u0060||\u0060 short-circuits, so the null test to its left had to be false to get here). So a caller who passes a valid empty argument is told a parameter was null. That is not a wording problem: the exception type is the contract. A caller catching \u0060ArgumentNullException\u0060 to handle a real null swallows this case with it, and whoever reads the stack trace later is told a failure the source disproves. .NET separates the two on purpose \u2014 \u0060ArgumentNullException.ThrowIfNull\u0060 and \u0060ArgumentException.ThrowIfNullOrEmpty\u0060 are two helpers because they are two failures. Throw \u0060ArgumentException\u0060 (or \u0060ArgumentOutOfRangeException\u0060 for a bound) for what the condition actually tests, or split the guard and throw each on its own condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.WWF/Factories/ActivityFactory.cs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"30d08768bb91d6d6a8c7c4b99678d5b5ad2ae5da23bd65e87160603fb366f64f"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060serviceScope\u0060: line 78 writes \u0060serviceScope?.Dispose\u0060, which says \u0060serviceScope\u0060 can be null, but line 73 then dereferences it directly as \u0060serviceScope.ServiceProvider\u0060 with no null test between them and no guard around it. If the \u0060?.\u0060 is right, that dereference throws NullReferenceException on the input it was written for; if \u0060serviceScope\u0060 truly cannot be null here, the \u0060?.\u0060 is misleading. Settle it one way \u2014 test \u0060serviceScope\u0060 once before the first use and handle the null case, or drop the \u0060?.\u0060 \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.CrontabBase/Factories/QuartzJobFactory.cs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"05cc57437deaf471d3abc82f749ef24e8280bba08548de226b4276a868515ec6"}},{"ruleId":"X5","level":"note","message":{"text":"Nullable reference types not enabled everywhere: 0/8 NRT-eligible project(s) enable \u003CNullable\u003Eenable\u003C/Nullable\u003E (projects targeting a pre-C#-8 framework are excluded \u2014 NRTs aren\u0027t available there). NRTs catch a whole class of null-deref bugs at compile time."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"80b24de9378624a0ce4846d60457395befcaec8e109ea81d289a370c9f7bfd5d"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060GetPersistenceMode\u0060 returns \u0060PersistenceMode.Temporary\u0060 when \u0060Enum.TryParse(persistenceModeText, out PersistenceMode persistenceMode)\u0060 is false, with no log or throw \u2014 a malformed value silently becomes that default. Log the input or fail validation. If that constant is the correct answer to the test rather than a stand-in for a value that could not be read, this is not a silent default: say so in a comment on the member and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure/WorkflowBase/WorkflowExtension.cs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d3862c3a8272bd98d852c42a5478c3c7b223005d1b9130c597b6ca0baf023a2"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060Ping\u0060 swallows every exception into \u0060return false;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SD.Infrastructure.Maui.Android/Updaters/AutoUpdater.cs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"94f7dc838f9240c2aa969de95917565a114246b640b173c94256fa1488564195"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-502","guid":"f7d3b296-aac0-5c5a-b706-e07faba26c36","name":"Deserialization of Untrusted Data","shortDescription":{"text":"Deserialization of Untrusted Data"},"helpUri":"https://cwe.mitre.org/data/definitions/502.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-540","guid":"1a9db5db-e5bb-ae5d-935a-d1b4e9ee080b","name":"Inclusion of Sensitive Information in Source Code","shortDescription":{"text":"Inclusion of Sensitive Information in Source Code"},"helpUri":"https://cwe.mitre.org/data/definitions/540.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-776","guid":"9228794e-eb37-cc55-9570-3bbc19789fef","name":"Improper Restriction of Recursive Entity References in DTDs (\u0027XML Entity Expansion\u0027)","shortDescription":{"text":"Improper Restriction of Recursive Entity References in DTDs (\u0027XML Entity Expansion\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/776.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A01:2025","guid":"df693558-c822-0452-8f7b-4d53cb6bcc59","name":"Broken Access Control","shortDescription":{"text":"Broken Access Control"},"helpUri":"https://top10.owasp.org/2025/A01_2025-Broken_Access_Control/"},{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":9,"secretScannerRunsExcluded":0}},"redactionTokens":["A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."]}]}