{"$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":"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":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"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":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"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":"D24","name":"Comment Value","shortDescription":{"text":"Comment Value"},"helpUri":"https://codehealth.canine.dev/dimensions/D24"},{"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":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D31","name":"IaC \u0026 Container Security","shortDescription":{"text":"IaC \u0026 Container Security"},"helpUri":"https://codehealth.canine.dev/dimensions/D31","relationships":[{"target":{"id":"CWE-1032","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-16","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"],"owasp":"A02: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":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D37","name":"Vulnerability-disclosure Policy","shortDescription":{"text":"Vulnerability-disclosure Policy"},"helpUri":"https://codehealth.canine.dev/dimensions/D37","relationships":[{"target":{"id":"CWE-1059","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1059"],"owasp":"A02:2025"}},{"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":"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":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"S1","name":"Cryptographic Hygiene","shortDescription":{"text":"Cryptographic Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/S1"},{"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":"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":"CSharpPrimitiveCast.CSharpPrimitiveCastChecked (cyclomatic 170): CSharpPrimitiveCast.CSharpPrimitiveCastChecked has cyclomatic complexity 170 (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. This shape REPEATS in the file: one other method here (CSharpPrimitiveCast.CSharpPrimitiveCastUnchecked) 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":"ICSharpCode.Decompiler/Util/CSharpPrimitiveCast.cs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd19be56bbb4ffcefb7b293667882af7a05ab048cc86a58795f52a7804f5a409"}},{"ruleId":"D1","level":"warning","message":{"text":"CSharpPrimitiveCast.CSharpPrimitiveCastUnchecked (cyclomatic 170): CSharpPrimitiveCast.CSharpPrimitiveCastUnchecked has cyclomatic complexity 170 (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. This shape REPEATS in the file: one other method here (CSharpPrimitiveCast.CSharpPrimitiveCastChecked) 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":"ICSharpCode.Decompiler/Util/CSharpPrimitiveCast.cs"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"d52c6a83fa775219b9defdfcf11cf2b66397f60e21654c7c938c5e7fae2d557b"}},{"ruleId":"D1","level":"warning","message":{"text":"TranslatedExpression.ConvertTo (cyclomatic 130): TranslatedExpression.ConvertTo has cyclomatic complexity 130 (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":"ICSharpCode.Decompiler/CSharp/TranslatedExpression.cs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"60e3ad56c882f0fd945df75f63eddf9dee20c3bef5042299885d260fa53ec43d"}},{"ruleId":"D1","level":"warning","message":{"text":"CSharpResolver.ResolveBinaryOperator (cyclomatic 109): CSharpResolver.ResolveBinaryOperator has cyclomatic complexity 109 (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":"ICSharpCode.Decompiler/CSharp/Resolver/CSharpResolver.cs"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e6c990edfb6540772df03192c10c34fe8a274a061d426c00b2d6c4a8b2e95e3"}},{"ruleId":"D1","level":"warning","message":{"text":"SwitchOnStringTransform.MatchRoslynSwitchOnStringUsingLengthAndChar (cyclomatic 102): SwitchOnStringTransform.MatchRoslynSwitchOnStringUsingLengthAndChar has cyclomatic complexity 102 (threshold 15). Of this number, 100 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. 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":"ICSharpCode.Decompiler/IL/Transforms/SwitchOnStringTransform.cs"},"region":{"startLine":1195}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bbfcdd61cc09107a6734c68944da30e3b6c037ee5e1f2c1a825a3937d547af2"}},{"ruleId":"D1","level":"warning","message":{"text":"CSharpHighlightingTokenWriter.WriteKeyword (cyclomatic 102): CSharpHighlightingTokenWriter.WriteKeyword has cyclomatic complexity 102 (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":"ILSpy/Languages/CSharpHighlightingTokenWriter.cs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fd7bd9918d4c40c8c618a71374e80b924c4bd00cc1eb69c646339f72b4eae3c"}},{"ruleId":"D1","level":"warning","message":{"text":"DynamicCallSiteTransform.ScanCallSiteInitBlock (cyclomatic 101): DynamicCallSiteTransform.ScanCallSiteInitBlock has cyclomatic complexity 101 (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":"ICSharpCode.Decompiler/IL/Transforms/DynamicCallSiteTransform.cs"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"25adcc71a69bb011dfb7f0589115adda2d32c906a33e5db435e00a774a6ae285"}},{"ruleId":"D1","level":"warning","message":{"text":"CSharpDecompiler.DoDecompile (cyclomatic 84): CSharpDecompiler.DoDecompile has cyclomatic complexity 84 (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":"ICSharpCode.Decompiler/CSharp/CSharpDecompiler.cs"},"region":{"startLine":1821}}}],"partialFingerprints":{"codehealthFindingId/v1":"034f585ae25257483bd58f351a5c73189e64b1c01d45d8c1076126bbcbc23308"}},{"ruleId":"D1","level":"warning","message":{"text":"IndexRangeTransform.Run (cyclomatic 81): IndexRangeTransform.Run has cyclomatic complexity 81 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/IndexRangeTransform.cs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a6e6ab7e4b7334e76a9be2c3681322f77bc582d9838d877253b0d76c0428080"}},{"ruleId":"D1","level":"warning","message":{"text":"CSharpDecompiler.MemberIsHidden (cyclomatic 76): CSharpDecompiler.MemberIsHidden has cyclomatic complexity 76 (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":"ICSharpCode.Decompiler/CSharp/CSharpDecompiler.cs"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"c78af57959824ad8e46221640c9ac7f1e9423f582ebec5b7c6b3a94111a00a87"}},{"ruleId":"D1","level":"warning","message":{"text":"CallBuilder.Build (cyclomatic 73): CallBuilder.Build has cyclomatic complexity 73 (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":"ICSharpCode.Decompiler/CSharp/CallBuilder.cs"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"a56c1a2c5538bbbb720b570f7a179bf762d565e866b9cb33a825d9fa93173d2c"}},{"ruleId":"D1","level":"warning","message":{"text":"ReflectionDisassembler.WriteNativeType (cyclomatic 71): ReflectionDisassembler.WriteNativeType has cyclomatic complexity 71 (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":"ICSharpCode.Decompiler/Disassembler/ReflectionDisassembler.cs"},"region":{"startLine":953}}}],"partialFingerprints":{"codehealthFindingId/v1":"d491c8751b3f37c2f3badc58f9b429a9f357dc691f3346233a4fb738e91658af"}},{"ruleId":"D1","level":"warning","message":{"text":"YieldReturnDecompiler.ConvertBody (cyclomatic 71): YieldReturnDecompiler.ConvertBody has cyclomatic complexity 71 (threshold 15). Of this number, 70 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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":"ICSharpCode.Decompiler/IL/ControlFlow/YieldReturnDecompiler.cs"},"region":{"startLine":855}}}],"partialFingerprints":{"codehealthFindingId/v1":"926c4b70590a29713a74284d878225c85750dce843438c8de1b6160e7b07b4ee"}},{"ruleId":"D1","level":"warning","message":{"text":"BamlReader.ReadDocument (cyclomatic 69): BamlReader.ReadDocument has cyclomatic complexity 69 (threshold 15). Of this number, 68 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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":"ICSharpCode.BamlDecompiler/Baml/BamlReader.cs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"37e2f7850ded7bc244f0ff70d51c641d26a2a4ed5fe20c2a57a3bae9f7baeb32"}},{"ruleId":"D1","level":"warning","message":{"text":"UsingTransform.MatchDisposeCheck (cyclomatic 68): UsingTransform.MatchDisposeCheck has cyclomatic complexity 68 (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":"ICSharpCode.Decompiler/IL/Transforms/UsingTransform.cs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"184d160020d4061c56eacd731a4ccb05d47661fd3f10041510d9036fd43b81e7"}},{"ruleId":"D1","level":"warning","message":{"text":"ILAmbience.ConvertSymbol (cyclomatic 65): ILAmbience.ConvertSymbol has cyclomatic complexity 65 (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":"ICSharpCode.Decompiler/IL/ILAmbience.cs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dc32b90d1db95d89e595da357b785f66ea8cde409ccd9b0e6a65a8167b986a7"}},{"ruleId":"D1","level":"warning","message":{"text":"TransformExpressionTrees.ConvertInstruction (cyclomatic 63): TransformExpressionTrees.ConvertInstruction has cyclomatic complexity 63 (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":"ICSharpCode.Decompiler/IL/Transforms/TransformExpressionTrees.cs"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"14dcf8118984c078e3382330ffa5ef865a0e2e3cc54aacb51074d6fb85c43558"}},{"ruleId":"D1","level":"warning","message":{"text":"SwitchOnStringTransform.MatchLegacySwitchOnStringWithDict (cyclomatic 61): SwitchOnStringTransform.MatchLegacySwitchOnStringWithDict has cyclomatic complexity 61 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/SwitchOnStringTransform.cs"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"25ba291c291255fa6aaadcbd0a0fa86f0b8a2b6cd8380f83ddd25f1b5e8f604b"}},{"ruleId":"D1","level":"warning","message":{"text":"RecordDecompiler.IsGeneratedPrintMembers (cyclomatic 59): RecordDecompiler.IsGeneratedPrintMembers has cyclomatic complexity 59 (threshold 15). Of this number, 58 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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":"ICSharpCode.Decompiler/CSharp/RecordDecompiler.cs"},"region":{"startLine":837}}}],"partialFingerprints":{"codehealthFindingId/v1":"eacc05f5a491f3d4b10c80f554a1038f10e1bc7814016dc6728697be6c8cc44e"}},{"ruleId":"D1","level":"warning","message":{"text":"Conv.GetConversionKind (cyclomatic 59): Conv.GetConversionKind has cyclomatic complexity 59 (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":"ICSharpCode.Decompiler/IL/Instructions/Conv.cs"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"23760b5bc3dc1d098d415fff95f2c8822b4854c2037a5e7d577f39892bd47d37"}},{"ruleId":"D1","level":"warning","message":{"text":"Lexer.ReadDigit (cyclomatic 58): Lexer.ReadDigit has cyclomatic complexity 58 (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":"ICSharpCode.ILSpyX/Search/CSharpLexer.cs"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bfd0f4e0dad1b7d088b9616b07aafa9c03dddad15e672cc028396cfa5c63c1d"}},{"ruleId":"D1","level":"warning","message":{"text":"IntroduceQueryExpressions.DecompileQuery (cyclomatic 56): IntroduceQueryExpressions.DecompileQuery has cyclomatic complexity 56 (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":"ICSharpCode.Decompiler/CSharp/Transforms/IntroduceQueryExpressions.cs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"363b6fa3e43b2f35b85f16d3634ed523d1b596662bc6b2f22d09e14d9cf30f77"}},{"ruleId":"D1","level":"warning","message":{"text":"YieldReturnDecompiler.AnalyzeMoveNext (cyclomatic 55): YieldReturnDecompiler.AnalyzeMoveNext has cyclomatic complexity 55 (threshold 15). Of this number, 52 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. 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":"ICSharpCode.Decompiler/IL/ControlFlow/YieldReturnDecompiler.cs"},"region":{"startLine":650}}}],"partialFingerprints":{"codehealthFindingId/v1":"69eb967253cab089534c2d58353e215d5ca86c955a68d3b35c843a0b2e4efa48"}},{"ruleId":"D1","level":"warning","message":{"text":"CSharpDecompiler.IsAccessorInterfaceImplementationRuntimeHelper (cyclomatic 54): CSharpDecompiler.IsAccessorInterfaceImplementationRuntimeHelper has cyclomatic complexity 54 (threshold 15). Of this number, 47 points are the body\u0027s own statements and 7 belong to one function item inside it that branches. 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":"ICSharpCode.Decompiler/CSharp/CSharpDecompiler.cs"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"d982bd05b2dfef923c7a17e4e69af02824f73f5412ffd38536996748d44a7ed7"}},{"ruleId":"D1","level":"warning","message":{"text":"RecordDecompiler.DetectPrimaryConstructor (cyclomatic 54): RecordDecompiler.DetectPrimaryConstructor has cyclomatic complexity 54 (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":"ICSharpCode.Decompiler/CSharp/RecordDecompiler.cs"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"b326fccd5e2d563f577498b78c67b7d875b1e06aa43572cf7b7bb51904abffee"}},{"ruleId":"D1","level":"warning","message":{"text":"AsyncAwaitDecompiler.MatchTaskCreationPattern (cyclomatic 52): AsyncAwaitDecompiler.MatchTaskCreationPattern has cyclomatic complexity 52 (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":"ICSharpCode.Decompiler/IL/ControlFlow/AsyncAwaitDecompiler.cs"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"7790c88d55ec41351823ce650fbe77fd72eb992218b13488b55b4df5caa882dc"}},{"ruleId":"D1","level":"warning","message":{"text":"InsertParenthesesVisitor.GetPrecedence (cyclomatic 51): InsertParenthesesVisitor.GetPrecedence has cyclomatic complexity 51 (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":"ICSharpCode.Decompiler/CSharp/OutputVisitor/InsertParenthesesVisitor.cs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"5424869ffd8550582f9d7ab1ee2ab35e5ed1aa1ef65e114f92afb8d826066405"}},{"ruleId":"D1","level":"warning","message":{"text":"RecordDecompiler.IsGeneratedEquals (cyclomatic 51): RecordDecompiler.IsGeneratedEquals has cyclomatic complexity 51 (threshold 15). Of this number, 50 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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":"ICSharpCode.Decompiler/CSharp/RecordDecompiler.cs"},"region":{"startLine":1084}}}],"partialFingerprints":{"codehealthFindingId/v1":"480eba291bff478301fe15dcf5b9ed2c8dd37d351d27d5a94e3a7f0020600da2"}},{"ruleId":"D1","level":"warning","message":{"text":"TypeInference.MergeSimilarTypes (cyclomatic 51): TypeInference.MergeSimilarTypes has cyclomatic complexity 51 (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":"ICSharpCode.Decompiler/CSharp/Resolver/TypeInference.cs"},"region":{"startLine":1032}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a113c6fb6ab9ee1e0fb3801c9b21b563ae063395db4a31e070a9ed2b5deb93f"}},{"ruleId":"D1","level":"warning","message":{"text":"MethodBodyDisassembler.WriteInstruction (cyclomatic 51): MethodBodyDisassembler.WriteInstruction has cyclomatic complexity 51 (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":"ICSharpCode.Decompiler/Disassembler/MethodBodyDisassembler.cs"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"363cdabc7513307b2047045beb48259618b731ff8888b2f29384dd5082455ad4"}},{"ruleId":"D1","level":"warning","message":{"text":"NullableLiftingTransform.Lift (cyclomatic 50): NullableLiftingTransform.Lift has cyclomatic complexity 50 (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":"ICSharpCode.Decompiler/IL/Transforms/NullableLiftingTransform.cs"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"77efe876f6dd232c7f61094a657d22209d7a8af235d8d90344a51768834e07f8"}},{"ruleId":"D1","level":"warning","message":{"text":"Block.CheckInvariant (cyclomatic 49): Block.CheckInvariant has cyclomatic complexity 49 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Instructions/Block.cs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"de7b37ad1ad9928db7a48b349e8dcf5c8e6d39636b5d76f67e9293b561395d22"}},{"ruleId":"D1","level":"warning","message":{"text":"SwitchOnStringTransform.SimplifyCascadingIfStatements (cyclomatic 49): SwitchOnStringTransform.SimplifyCascadingIfStatements has cyclomatic complexity 49 (threshold 15). Of this number, 48 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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":"ICSharpCode.Decompiler/IL/Transforms/SwitchOnStringTransform.cs"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"968354cc830f533fb9af0c5648816b2ee9047840836ca6f00c25a8de39c9ba49"}},{"ruleId":"D1","level":"warning","message":{"text":"CSharpBracketSearcher.SearchBracketBackward (cyclomatic 49): CSharpBracketSearcher.SearchBracketBackward has cyclomatic complexity 49 (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":"ILSpy/Languages/CSharpBracketSearcher.cs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"d050dc6e8a9d20c85bd507f56c7f0ac59881acefe95afb21b66e06512905180e"}},{"ruleId":"D1","level":"warning","message":{"text":"ConstructorInitializerAnalyzer.Analyze (cyclomatic 48): ConstructorInitializerAnalyzer.Analyze has cyclomatic complexity 48 (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":"ICSharpCode.Decompiler/CSharp/Transforms/TransformFieldAndConstructorInitializers.cs"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"fff0bd134774836cd205c41c6d151bb2e7d4e2b9655529e6b326f0dc7d85abe5"}},{"ruleId":"D1","level":"warning","message":{"text":"NullPropagationTransform.IsValidAccessChain (cyclomatic 48): NullPropagationTransform.IsValidAccessChain has cyclomatic complexity 48 (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":"ICSharpCode.Decompiler/IL/Transforms/NullPropagationTransform.cs"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b610ab3e7c369b555fe70e617a8616066a408627a8d458422890489d0720fa1"}},{"ruleId":"D1","level":"warning","message":{"text":"TransformCollectionAndObjectInitializers.Run (cyclomatic 48): TransformCollectionAndObjectInitializers.Run has cyclomatic complexity 48 (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":"ICSharpCode.Decompiler/IL/Transforms/TransformCollectionAndObjectInitializers.cs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"24760ab81661071d2a103d4ddb77b664e2ab23211cf0e482981ec92314f4671b"}},{"ruleId":"D1","level":"warning","message":{"text":"CSharpBracketSearcher.SearchBracketForward (cyclomatic 48): CSharpBracketSearcher.SearchBracketForward has cyclomatic complexity 48 (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":"ILSpy/Languages/CSharpBracketSearcher.cs"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb01adc66416c30784afeef8f3be707577b5bcfe6fb6647e967d92f0871c878f"}},{"ruleId":"D1","level":"warning","message":{"text":"ExpressionBuilder.HandleBinaryNumeric (cyclomatic 47): ExpressionBuilder.HandleBinaryNumeric has cyclomatic complexity 47 (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":"ICSharpCode.Decompiler/CSharp/ExpressionBuilder.cs"},"region":{"startLine":1674}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a3de178adc926ad7c28b04073ef0fa11085922ce951bb31486fbf57b6193ece"}},{"ruleId":"D1","level":"warning","message":{"text":"VariableScope.VariableScope.ctor (cyclomatic 47): VariableScope.VariableScope.ctor has cyclomatic complexity 47 (threshold 15). Of this number, 39 points are the body\u0027s own statements and 8 belong to 4 function items inside it that branch. 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":"ICSharpCode.Decompiler/IL/Transforms/AssignVariableNames.cs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"6689d4ce682a6fe56af22c95b2dd54ca98a6f1e213ba42ce813c586757c332a7"}},{"ruleId":"D1","level":"warning","message":{"text":"ILInlining.NonAggressiveInlineInto (cyclomatic 47): ILInlining.NonAggressiveInlineInto has cyclomatic complexity 47 (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":"ICSharpCode.Decompiler/IL/Transforms/ILInlining.cs"},"region":{"startLine":648}}}],"partialFingerprints":{"codehealthFindingId/v1":"1340974bd755d2876b6b967807d761a563816ea3bae756d36b5a3fcd2f6e0ea9"}},{"ruleId":"D1","level":"warning","message":{"text":"OverloadResolution.BetterFunctionMember (cyclomatic 46): OverloadResolution.BetterFunctionMember has cyclomatic complexity 46 (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":"ICSharpCode.Decompiler/CSharp/Resolver/OverloadResolution.cs"},"region":{"startLine":740}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c126ed5060561e91fc38146fd9002dfc6712c75d2e53a5560f450254ff2eefb"}},{"ruleId":"D1","level":"warning","message":{"text":"TypeSystemAstBuilder.ConvertTypeDefinition (cyclomatic 46): TypeSystemAstBuilder.ConvertTypeDefinition has cyclomatic complexity 46 (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":"ICSharpCode.Decompiler/CSharp/Syntax/TypeSystemAstBuilder.cs"},"region":{"startLine":2043}}}],"partialFingerprints":{"codehealthFindingId/v1":"b57a19bc115a283c1c7b0745b9ff20be99ed2f6a75b384b92d2d801af1534a9f"}},{"ruleId":"D1","level":"warning","message":{"text":"TransformArrayInitializers.HandleSimpleArrayInitializer (cyclomatic 46): TransformArrayInitializers.HandleSimpleArrayInitializer has cyclomatic complexity 46 (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":"ICSharpCode.Decompiler/IL/Transforms/TransformArrayInitializers.cs"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"d846dd8a974d9026b8c62dbc7f8eb4c3c93c62469a8c610e0b854ae18c61f1d7"}},{"ruleId":"D1","level":"warning","message":{"text":"ILSpyCmdProgram.OnExecuteAsync (cyclomatic 46): ILSpyCmdProgram.OnExecuteAsync has cyclomatic complexity 46 (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":"ICSharpCode.ILSpyCmd/IlspyCmdProgram.cs"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"41e416f293e5acd67e6657725159c58e45f04f24fa0d1381e55d92e98113c5e9"}},{"ruleId":"D1","level":"warning","message":{"text":"TypeSystemAstBuilder.ConvertTypeHelper (cyclomatic 45): TypeSystemAstBuilder.ConvertTypeHelper has cyclomatic complexity 45 (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":"ICSharpCode.Decompiler/CSharp/Syntax/TypeSystemAstBuilder.cs"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"56c750e1316c0344e965e4f2fa293fb4bbc980a7597f30dcfebc77ee6e8d165f"}},{"ruleId":"D1","level":"warning","message":{"text":"LiteralSearchStrategy.MethodIsLiteralMatch (cyclomatic 44): LiteralSearchStrategy.MethodIsLiteralMatch has cyclomatic complexity 44 (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":"ICSharpCode.ILSpyX/Search/LiteralSearchStrategy.cs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"08a1065be243b5ecf3918c735566a511b8d59d7670d890c7b226b627a1052a36"}},{"ruleId":"D1","level":"warning","message":{"text":"CSharpDecompiler.ReadCodeMappingInfo (cyclomatic 43): CSharpDecompiler.ReadCodeMappingInfo has cyclomatic complexity 43 (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":"ICSharpCode.Decompiler/CSharp/CSharpDecompiler.cs"},"region":{"startLine":1134}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bea0867f3e2ce5313d38e9d860a40fa0e4ac0b55f08ab2ecb719ef9f2161d2a"}},{"ruleId":"D1","level":"warning","message":{"text":"CSharpAmbience.ConvertSymbol (cyclomatic 43): CSharpAmbience.ConvertSymbol has cyclomatic complexity 43 (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":"ICSharpCode.Decompiler/CSharp/OutputVisitor/CSharpAmbience.cs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"94fba17176c72f6711295c20e6e9a3e1e2dcb2c5edfca4dfd8cae1fa2ca91068"}},{"ruleId":"D1","level":"warning","message":{"text":"TypeSystemAstBuilder.ConvertEnumValue (cyclomatic 43): TypeSystemAstBuilder.ConvertEnumValue has cyclomatic complexity 43 (threshold 15). Of this number, 40 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. 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":"ICSharpCode.Decompiler/CSharp/Syntax/TypeSystemAstBuilder.cs"},"region":{"startLine":1328}}}],"partialFingerprints":{"codehealthFindingId/v1":"79ce27cbed9f797a96ea2acc1fa1d9f5b23262a88091bb714c8c0eebcd27d005"}},{"ruleId":"D1","level":"warning","message":{"text":"AsyncAwaitDecompiler.NormalizeAwaitOnCompletedDualBranch (cyclomatic 43): AsyncAwaitDecompiler.NormalizeAwaitOnCompletedDualBranch has cyclomatic complexity 43 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/ControlFlow/AsyncAwaitDecompiler.cs"},"region":{"startLine":1569}}}],"partialFingerprints":{"codehealthFindingId/v1":"2738230e2368ff15f2d7b71c039eb56a4f5ab5e15fd94574fb59c7ccd2bc7bb6"}},{"ruleId":"D1","level":"warning","message":{"text":"RuntimeAsyncExceptionRewriteTransform.TryRewriteFlagBasedEarlyReturn (cyclomatic 43): RuntimeAsyncExceptionRewriteTransform.TryRewriteFlagBasedEarlyReturn has cyclomatic complexity 43 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/ControlFlow/RuntimeAsyncExceptionRewriteTransform.cs"},"region":{"startLine":1054}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e8352821b8a899d12abbfbc3161bebb309c646c3881dbd29bd09321427c0ca0"}},{"ruleId":"D1","level":"warning","message":{"text":"DecompilerTypeSystem.InitializeCoreAsync (cyclomatic 43): DecompilerTypeSystem.InitializeCoreAsync has cyclomatic complexity 43 (threshold 15). Of this number, 40 points are the body\u0027s own statements and 3 belong to 3 function literals inside it that branch. 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":"ICSharpCode.Decompiler/TypeSystem/DecompilerTypeSystem.cs"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9d7a19554aa68d83b64c3aac66a12e4e7f985e0e61bfc33153e5252c523045b"}},{"ruleId":"D1","level":"warning","message":{"text":"FileUtility.NormalizePath (cyclomatic 43): FileUtility.NormalizePath has cyclomatic complexity 43 (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":"ICSharpCode.Decompiler/Util/FileUtility.cs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"b567f7e2c17de0c04d5ccfa6070a50c7759f60365995ed2540c76642a70115e5"}},{"ruleId":"D1","level":"warning","message":{"text":"DocumentationRenderer.AddDocumentationElement (cyclomatic 43): DocumentationRenderer.AddDocumentationElement has cyclomatic complexity 43 (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":"ILSpy/TextView/DocumentationRenderer.cs"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d507df3d936b554b7192b5d9433f098e8492db49a5ecd8be3212dab90800d60"}},{"ruleId":"D1","level":"warning","message":{"text":"SwitchOnStringTransform.MatchLegacySwitchOnStringWithHashtable (cyclomatic 42): SwitchOnStringTransform.MatchLegacySwitchOnStringWithHashtable has cyclomatic complexity 42 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/SwitchOnStringTransform.cs"},"region":{"startLine":891}}}],"partialFingerprints":{"codehealthFindingId/v1":"dedb83054cfc6bf6582f08e2dddeb8e93c7b24c99229891f2ef74f75223b9d83"}},{"ruleId":"D1","level":"warning","message":{"text":"ReplaceMethodCallsWithOperators.ProcessInvocationExpression (cyclomatic 41): ReplaceMethodCallsWithOperators.ProcessInvocationExpression has cyclomatic complexity 41 (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":"ICSharpCode.Decompiler/CSharp/Transforms/ReplaceMethodCallsWithOperators.cs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"21667a7fd819da7b792de22a7d64153376e7bd97c125d44799983232f181f368"}},{"ruleId":"D1","level":"warning","message":{"text":"CSharpResolver.BinaryNumericPromotion (cyclomatic 40): CSharpResolver.BinaryNumericPromotion has cyclomatic complexity 40 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/Resolver/CSharpResolver.cs"},"region":{"startLine":1016}}}],"partialFingerprints":{"codehealthFindingId/v1":"86bc67998cc2101e427ebf8165a482e8f09eb068b4088897f0dabc6ba7246c8a"}},{"ruleId":"D1","level":"warning","message":{"text":"SwitchOnStringTransform.MatchRoslynSwitchOnString (cyclomatic 40): SwitchOnStringTransform.MatchRoslynSwitchOnString has cyclomatic complexity 40 (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":"ICSharpCode.Decompiler/IL/Transforms/SwitchOnStringTransform.cs"},"region":{"startLine":1014}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0f8fa49004c71b71fcdde3317179c7863987c4a72dc4ff5495e32fc6a085bac"}},{"ruleId":"D1","level":"warning","message":{"text":"MemberSearchStrategy.Search (cyclomatic 40): MemberSearchStrategy.Search has cyclomatic complexity 40 (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":"ICSharpCode.ILSpyX/Search/MemberSearchStrategy.cs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"cab0d402bd77b80e9f1435a092a82530fb4dd15a14161ff3b38e2e63e32cd927"}},{"ruleId":"D1","level":"warning","message":{"text":"TypeInference.MakeLowerBoundInference (cyclomatic 39): TypeInference.MakeLowerBoundInference has cyclomatic complexity 39 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/Resolver/TypeInference.cs"},"region":{"startLine":747}}}],"partialFingerprints":{"codehealthFindingId/v1":"c38221297c03b83fd85ac49627ad517adbc8425d575041119b906624f2d8596d"}},{"ruleId":"D1","level":"warning","message":{"text":"AsyncAwaitDecompiler.DetectAwaitPattern (cyclomatic 39): AsyncAwaitDecompiler.DetectAwaitPattern has cyclomatic complexity 39 (threshold 15). Of this number, 37 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. 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":"ICSharpCode.Decompiler/IL/ControlFlow/AsyncAwaitDecompiler.cs"},"region":{"startLine":1882}}}],"partialFingerprints":{"codehealthFindingId/v1":"e47815f3b86d56eeb3920b1c28462d1c57f51fce8f1717a91460445efc2072c6"}},{"ruleId":"D1","level":"warning","message":{"text":"TransformAssignment.HandleCompoundAssign (cyclomatic 39): TransformAssignment.HandleCompoundAssign has cyclomatic complexity 39 (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":"ICSharpCode.Decompiler/IL/Transforms/TransformAssignment.cs"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d84bab9150526656d5e63b7854e688cdf5b2a8a45655b003c7fbf138b5cc04b"}},{"ruleId":"D1","level":"warning","message":{"text":"CSharpResolver.ResolveUnaryOperator (cyclomatic 38): CSharpResolver.ResolveUnaryOperator has cyclomatic complexity 38 (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":"ICSharpCode.Decompiler/CSharp/Resolver/CSharpResolver.cs"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"88c6006801fb6859b04fa0f6c9fdc66f384a3852c2bc38754915a12184f1ab4a"}},{"ruleId":"D1","level":"warning","message":{"text":"AccessPathElement.GetAccessPath (cyclomatic 38): AccessPathElement.GetAccessPath has cyclomatic complexity 38 (threshold 15). Of this number, 36 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. 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":"ICSharpCode.Decompiler/IL/Transforms/TransformCollectionAndObjectInitializers.cs"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"169be09b33c3639c6a013b1769d1bbacab6c6ff07057dc079f8107e59d52b4d1"}},{"ruleId":"D1","level":"warning","message":{"text":"ApplyAttributeTypeVisitor.ApplyAttributesToType (cyclomatic 38): ApplyAttributeTypeVisitor.ApplyAttributesToType has cyclomatic complexity 38 (threshold 15). Of this number, 36 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. 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":"ICSharpCode.Decompiler/TypeSystem/ApplyAttributeTypeVisitor.cs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"9af1e782c39d4c3cf704639a92811896e91bd31908b35ae4f12024b37f06a7b8"}},{"ruleId":"D1","level":"warning","message":{"text":"ExpressionBuilder.VisitConv (cyclomatic 37): ExpressionBuilder.VisitConv has cyclomatic complexity 37 (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":"ICSharpCode.Decompiler/CSharp/ExpressionBuilder.cs"},"region":{"startLine":2318}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd793ad7698ab60a4146ffb00754067981ec415fe944ccb870c867c88745a283"}},{"ruleId":"D1","level":"warning","message":{"text":"AsyncAwaitDecompiler.CheckResumeBlock (cyclomatic 37): AsyncAwaitDecompiler.CheckResumeBlock has cyclomatic complexity 37 (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":"ICSharpCode.Decompiler/IL/ControlFlow/AsyncAwaitDecompiler.cs"},"region":{"startLine":2086}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aa29c89dd152e3eb8381ad10b1ed8c2fc9f756562d79c8a499938483aab74e0"}},{"ruleId":"D1","level":"warning","message":{"text":"AwaitInCatchTransform.MatchAwaitCatchHandler (cyclomatic 37): AwaitInCatchTransform.MatchAwaitCatchHandler has cyclomatic complexity 37 (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":"ICSharpCode.Decompiler/IL/ControlFlow/AwaitInCatchTransform.cs"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"27434914ebabd3f6023f50710b5db1a945f3d9bfcdc17aea39733917e6e65f20"}},{"ruleId":"D1","level":"warning","message":{"text":"StateRangeAnalysis.AssignStateRanges (cyclomatic 37): StateRangeAnalysis.AssignStateRanges has cyclomatic complexity 37 (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":"ICSharpCode.Decompiler/IL/ControlFlow/StateRangeAnalysis.cs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fb381d8e9e76a3bfba6be8f9bcc7a53f9ff27f488db20894075e5c8e87e0d05"}},{"ruleId":"D1","level":"warning","message":{"text":"InstructionOutputExtensions.WriteTo (cyclomatic 37): InstructionOutputExtensions.WriteTo has cyclomatic complexity 37 (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":"ICSharpCode.Decompiler/IL/InstructionOutputExtensions.cs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"5baa4529f620977685ab20478ba60bb1c3f6e7e7c9181b7988e0bb155b222b0f"}},{"ruleId":"D1","level":"warning","message":{"text":"TransformAssignment.TransformInlineAssignmentStObjOrCall (cyclomatic 37): TransformAssignment.TransformInlineAssignmentStObjOrCall has cyclomatic complexity 37 (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":"ICSharpCode.Decompiler/IL/Transforms/TransformAssignment.cs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"633674901c96c1d88f737c50712814cd80d27673d4f673bc406162766acd1483"}},{"ruleId":"D1","level":"warning","message":{"text":"RunningSearch.ParseInput (cyclomatic 37): RunningSearch.ParseInput has cyclomatic complexity 37 (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":"ILSpy/Search/RunningSearch.cs"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8b1315b548a59783eb16299cd956e9ccb24bf3f9f4f91dea5b10b25ef468e4b"}},{"ruleId":"D1","level":"warning","message":{"text":"AwaitInFinallyTransform.Run (cyclomatic 36): AwaitInFinallyTransform.Run has cyclomatic complexity 36 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 9 belong to one function item inside it that branches. 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":"ICSharpCode.Decompiler/IL/ControlFlow/AwaitInFinallyTransform.cs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c9357a3616247b49dbe57ae6320882034ddd97c47bdd842e3aaa8f7acc89155"}},{"ruleId":"D1","level":"warning","message":{"text":"RuntimeAsyncManualAwaitTransform.DetectRuntimeAsyncManualAwait (cyclomatic 36): RuntimeAsyncManualAwaitTransform.DetectRuntimeAsyncManualAwait has cyclomatic complexity 36 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/ControlFlow/RuntimeAsyncManualAwaitTransform.cs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd9b2fcad3a944c59007887fd4acbe501f5fa2192fbf5cf57c2ac1a05460d7e8"}},{"ruleId":"D1","level":"warning","message":{"text":"ExtensionInfo.ExtensionInfo.ctor (cyclomatic 36): ExtensionInfo.ExtensionInfo.ctor has cyclomatic complexity 36 (threshold 15). Of this number, 34 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. 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":"ICSharpCode.Decompiler/TypeSystem/ExtensionInfo.cs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"47344a7c6a942cfa80630494a503fbf4201ac63f8bef220dfc8b554010d853c5"}},{"ruleId":"D1","level":"warning","message":{"text":"AsyncAwaitDecompiler.AnalyzeAwaitBlock (cyclomatic 35): AsyncAwaitDecompiler.AnalyzeAwaitBlock has cyclomatic complexity 35 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/ControlFlow/AsyncAwaitDecompiler.cs"},"region":{"startLine":1700}}}],"partialFingerprints":{"codehealthFindingId/v1":"e49fe10629989de84674ef1f9e378ebceda10ac38831801d0044908c4bc871f1"}},{"ruleId":"D1","level":"warning","message":{"text":"TransformAssignment.CheckImplicitTruncation (cyclomatic 35): TransformAssignment.CheckImplicitTruncation has cyclomatic complexity 35 (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":"ICSharpCode.Decompiler/IL/Transforms/TransformAssignment.cs"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3c37f10239f2c66f03badb10892f69e6ed1d6829bf5452c0d51bf34aadf1b63"}},{"ruleId":"D1","level":"warning","message":{"text":"ExpressionBuilder.TranslateFunction (cyclomatic 34): ExpressionBuilder.TranslateFunction has cyclomatic complexity 34 (threshold 15). Of this number, 32 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. 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 is NOT this file\u0027s highest cyclomatic complexity: ExpressionBuilder.VisitDynamicBinaryOperatorInstruction (cyclomatic 35) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/ExpressionBuilder.cs"},"region":{"startLine":2584}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c6786d0191308d7812a43c5bdcd141bc007fa42cb226ef86fc8106dc48142e9"}},{"ruleId":"D1","level":"warning","message":{"text":"OverloadResolution.CheckApplicability (cyclomatic 34): OverloadResolution.CheckApplicability has cyclomatic complexity 34 (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":"ICSharpCode.Decompiler/CSharp/Resolver/OverloadResolution.cs"},"region":{"startLine":646}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7fe00d24b1c8499593cc17f3dc1e8447d4ce40a1ed067f7dc7e58d450cb8289"}},{"ruleId":"D1","level":"warning","message":{"text":"RemoveCompilerGeneratedAssemblyAttributes.Run (cyclomatic 34): RemoveCompilerGeneratedAssemblyAttributes.Run has cyclomatic complexity 34 (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":"ICSharpCode.Decompiler/CSharp/Transforms/EscapeInvalidIdentifiers.cs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"f18d68bcfb979107b467a0ebd27f8b3b7bd944f0732d200f50f74cf94789d70a"}},{"ruleId":"D1","level":"warning","message":{"text":"RuntimeAsyncExceptionRewriteTransform.TryRewriteMultiHandlerTryCatch (cyclomatic 34): RuntimeAsyncExceptionRewriteTransform.TryRewriteMultiHandlerTryCatch has cyclomatic complexity 34 (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":"ICSharpCode.Decompiler/IL/ControlFlow/RuntimeAsyncExceptionRewriteTransform.cs"},"region":{"startLine":722}}}],"partialFingerprints":{"codehealthFindingId/v1":"23791e710bdcb2e94b59cd7ce7c86a7aa061c26af02607a032b6077bc2d43628"}},{"ruleId":"D1","level":"warning","message":{"text":"AttributeListBuilder.IgnoreAttribute (cyclomatic 34): AttributeListBuilder.IgnoreAttribute has cyclomatic complexity 34 (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":"ICSharpCode.Decompiler/TypeSystem/Implementation/AttributeListBuilder.cs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c0cfb946fcff317fbddc1888234d5dec135ecb90f12cadf7ec115ba5c6b912b"}},{"ruleId":"D1","level":"warning","message":{"text":"ExpressionBuilder.TranslateCeq (cyclomatic 33): ExpressionBuilder.TranslateCeq has cyclomatic complexity 33 (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 is NOT this file\u0027s highest cyclomatic complexity: ExpressionBuilder.VisitDynamicBinaryOperatorInstruction (cyclomatic 35) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/ExpressionBuilder.cs"},"region":{"startLine":977}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6f16387a0a0a15a43878e8ae6b42c8bf1b84161afacd5cb1c18780bfc12b84c"}},{"ruleId":"D1","level":"warning","message":{"text":"CSharpResolver.LookupSimpleNameOrTypeName (cyclomatic 33): CSharpResolver.LookupSimpleNameOrTypeName has cyclomatic complexity 33 (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":"ICSharpCode.Decompiler/CSharp/Resolver/CSharpResolver.cs"},"region":{"startLine":1430}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bf938a553595cf4dec47cb7728bf82e6a3ced2ded429f7ab4b06e8241e76906"}},{"ruleId":"D1","level":"warning","message":{"text":"DeclareVariables.InsertVariableDeclarations (cyclomatic 33): DeclareVariables.InsertVariableDeclarations has cyclomatic complexity 33 (threshold 15). Of this number, 29 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. 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":"ICSharpCode.Decompiler/CSharp/Transforms/DeclareVariables.cs"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"868177c8dc161a05918b3a34032579d66d8247a68652cb71ed9dd56abc4af564"}},{"ruleId":"D1","level":"warning","message":{"text":"YieldReturnDecompiler.MatchEnumeratorCreationPattern (cyclomatic 33): YieldReturnDecompiler.MatchEnumeratorCreationPattern has cyclomatic complexity 33 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/ControlFlow/YieldReturnDecompiler.cs"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"85c91f0b43bca853f192797a01771ab5c79b35396d6d2c8bc1d2dcea71353fe0"}},{"ruleId":"D1","level":"warning","message":{"text":"RemoveUnconstrainedGenericReferenceTypeCheck.Run (cyclomatic 33): RemoveUnconstrainedGenericReferenceTypeCheck.Run has cyclomatic complexity 33 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/RemoveUnconstrainedGenericReferenceTypeCheck.cs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"2365b03cc88dffa1ca6dfa998bf3226b928d7a3edc48ba539fbf99a862154da5"}},{"ruleId":"D1","level":"warning","message":{"text":"ConnectionIdRewritePass.DecompileConnections (cyclomatic 32): ConnectionIdRewritePass.DecompileConnections has cyclomatic complexity 32 (threshold 15). Of this number, 31 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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":"ICSharpCode.BamlDecompiler/Rewrite/ConnectionIdRewritePass.cs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1a72a09015c497c0c83cd9747c922d62144cbabec1ea5d83b1ba7ca3aac66e3"}},{"ruleId":"D1","level":"warning","message":{"text":"ConnectionIdRewritePass.MatchEventSetterCreation (cyclomatic 32): ConnectionIdRewritePass.MatchEventSetterCreation has cyclomatic complexity 32 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.BamlDecompiler/Rewrite/ConnectionIdRewritePass.cs"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1aa58f527905517d0c160e118cc53ce0bd704546ef9920348a9f5fc21d10cc9"}},{"ruleId":"D1","level":"warning","message":{"text":"TextWriterTokenWriter.WritePrimitiveValue (cyclomatic 32): TextWriterTokenWriter.WritePrimitiveValue has cyclomatic complexity 32 (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":"ICSharpCode.Decompiler/CSharp/OutputVisitor/TextWriterTokenWriter.cs"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"27818b36524936817af377a7c2a3c02e3dd196cdee5e32300d4a31f14e70f952"}},{"ruleId":"D1","level":"warning","message":{"text":"CSharpConversions.ExplicitReferenceConversion (cyclomatic 32): CSharpConversions.ExplicitReferenceConversion has cyclomatic complexity 32 (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":"ICSharpCode.Decompiler/CSharp/Resolver/CSharpConversions.cs"},"region":{"startLine":659}}}],"partialFingerprints":{"codehealthFindingId/v1":"baf6114195503cb4746061091c6543aa6ed50873bf1a62ab01451f39643c66d4"}},{"ruleId":"D1","level":"warning","message":{"text":"ExpressionBuilder.TranslatePattern (cyclomatic 31): ExpressionBuilder.TranslatePattern has cyclomatic complexity 31 (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 is NOT this file\u0027s highest cyclomatic complexity: ExpressionBuilder.VisitDynamicBinaryOperatorInstruction (cyclomatic 35) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/ExpressionBuilder.cs"},"region":{"startLine":5346}}}],"partialFingerprints":{"codehealthFindingId/v1":"905020cbff349f685b5d13126adce241a9f5cc9414f54dc2d5af55e530d55a43"}},{"ruleId":"D1","level":"warning","message":{"text":"RecordDecompiler.IsGeneratedToString (cyclomatic 31): RecordDecompiler.IsGeneratedToString has cyclomatic complexity 31 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/RecordDecompiler.cs"},"region":{"startLine":1017}}}],"partialFingerprints":{"codehealthFindingId/v1":"16dc01c6e586bc9e76eecc62397e2a55604fe71db413c2452c84bfd68f5aac06"}},{"ruleId":"D1","level":"warning","message":{"text":"CSharpConversions.BetterConversion (cyclomatic 31): CSharpConversions.BetterConversion has cyclomatic complexity 31 (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":"ICSharpCode.Decompiler/CSharp/Resolver/CSharpConversions.cs"},"region":{"startLine":1564}}}],"partialFingerprints":{"codehealthFindingId/v1":"61eab48f56e725cbb03a3db4ba369120381f2994879b5760617db6eaf818d7fe"}},{"ruleId":"D1","level":"warning","message":{"text":"AwaitInCatchTransform.Run (cyclomatic 31): AwaitInCatchTransform.Run has cyclomatic complexity 31 (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":"ICSharpCode.Decompiler/IL/ControlFlow/AwaitInCatchTransform.cs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"a708a327989b8cf5a8ff0965183851a2e53928bb3ae65223a7367684bdcbbac1"}},{"ruleId":"D1","level":"warning","message":{"text":"NullableLiftingTransform.DoLift (cyclomatic 31): NullableLiftingTransform.DoLift has cyclomatic complexity 31 (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":"ICSharpCode.Decompiler/IL/Transforms/NullableLiftingTransform.cs"},"region":{"startLine":871}}}],"partialFingerprints":{"codehealthFindingId/v1":"57c85842c294b2a5348e17718ab4bbeba672079621e3dfc438115ef24df31c04"}},{"ruleId":"D1","level":"warning","message":{"text":"ReduceNestingTransform.ComputeStats (cyclomatic 31): ReduceNestingTransform.ComputeStats has cyclomatic complexity 31 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/ReduceNestingTransform.cs"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b0a7b4ef967c996b7dd7645038935ec8899177cc86246e07acf64dd72dfcfae"}},{"ruleId":"D1","level":"warning","message":{"text":"TransformExpressionTrees.ConvertComparison (cyclomatic 31): TransformExpressionTrees.ConvertComparison has cyclomatic complexity 31 (threshold 15). Most of this is not in the body itself: 7 of the 31 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 1131, 1116, 1149, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/TransformExpressionTrees.cs"},"region":{"startLine":1104}}}],"partialFingerprints":{"codehealthFindingId/v1":"91effff667f4dc7f5a266b94d0bcd69a03c61665cae4ef1f6c92f3b2ed484ddf"}},{"ruleId":"D1","level":"warning","message":{"text":"CallBuilder.TryGetStringInterpolationTokens (cyclomatic 30): CallBuilder.TryGetStringInterpolationTokens has cyclomatic complexity 30 (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":"ICSharpCode.Decompiler/CSharp/CallBuilder.cs"},"region":{"startLine":863}}}],"partialFingerprints":{"codehealthFindingId/v1":"a19477714c75baed09e6ba51d9e26fe1157008d0bfb3dd6c93653588c070ad9e"}},{"ruleId":"D1","level":"warning","message":{"text":"CallBuilder.BuildArgumentList (cyclomatic 30): CallBuilder.BuildArgumentList has cyclomatic complexity 30 (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":"ICSharpCode.Decompiler/CSharp/CallBuilder.cs"},"region":{"startLine":1034}}}],"partialFingerprints":{"codehealthFindingId/v1":"afb07593d52a22ad11a8dba55a403ed58cb9a9fcdbe35116e362984b1f8ae727"}},{"ruleId":"D1","level":"warning","message":{"text":"CSharpDecompiler.DoDecompile (cyclomatic 30): CSharpDecompiler.DoDecompile has cyclomatic complexity 30 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/CSharpDecompiler.cs"},"region":{"startLine":2231}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b1e3d717809181a91143abb7429848180c8d57a6569dda33f5f3432ccd7e639"}},{"ruleId":"D1","level":"warning","message":{"text":"RequiredNamespaceCollector.CollectNamespacesFromMethodBody (cyclomatic 30): RequiredNamespaceCollector.CollectNamespacesFromMethodBody has cyclomatic complexity 30 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/RequiredNamespaceCollector.cs"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc65aab40f93598317463b137fac3f6829369b3d4ce34a83fefd0fa81fa1d79e"}},{"ruleId":"D1","level":"warning","message":{"text":"TypeSystemAstBuilder.ConvertConstantValue (cyclomatic 30): TypeSystemAstBuilder.ConvertConstantValue has cyclomatic complexity 30 (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":"ICSharpCode.Decompiler/CSharp/Syntax/TypeSystemAstBuilder.cs"},"region":{"startLine":1090}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1924d9f539c3c0fcac9da7c5f4fd8b153e212627c50abd23ef5fcc8ab2353d9"}},{"ruleId":"D1","level":"warning","message":{"text":"TypeSystemAstBuilder.ConvertFloatingPointLiteral (cyclomatic 30): TypeSystemAstBuilder.ConvertFloatingPointLiteral has cyclomatic complexity 30 (threshold 15). Of this number, 28 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. 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":"ICSharpCode.Decompiler/CSharp/Syntax/TypeSystemAstBuilder.cs"},"region":{"startLine":1618}}}],"partialFingerprints":{"codehealthFindingId/v1":"a930d0747d71f716e46b340f84d4b10731a0abc99551f1f593688699ab01c7f3"}},{"ruleId":"D1","level":"warning","message":{"text":"TransformAssignment.TransformPostIncDecOperator (cyclomatic 30): TransformAssignment.TransformPostIncDecOperator has cyclomatic complexity 30 (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":"ICSharpCode.Decompiler/IL/Transforms/TransformAssignment.cs"},"region":{"startLine":1036}}}],"partialFingerprints":{"codehealthFindingId/v1":"d41e679edfe9635d314ac8c76f8594fe0cb58f7722c3358f0139041c5995d7e0"}},{"ruleId":"D1","level":"warning","message":{"text":"TransformExpressionTrees.ConvertBinaryNumericOperator (cyclomatic 30): TransformExpressionTrees.ConvertBinaryNumericOperator has cyclomatic complexity 30 (threshold 15). Most of this is not in the body itself: 10 of the 30 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 647, 716, 700, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/TransformExpressionTrees.cs"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaa49d2d36029a7661275e1616d5d0cd09da72480326f13dbfb1c73a901d8c64"}},{"ruleId":"D1","level":"warning","message":{"text":"MetadataMethod.GetAttributes (cyclomatic 30): MetadataMethod.GetAttributes has cyclomatic complexity 30 (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":"ICSharpCode.Decompiler/TypeSystem/Implementation/MetadataMethod.cs"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"5afc581bbc01c95e7c5b67b5e95977e4f2e98f86f88906efa34713366ffc05f9"}},{"ruleId":"D1","level":"warning","message":{"text":"TypeInference.MakeExactInference (cyclomatic 29): TypeInference.MakeExactInference has cyclomatic complexity 29 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/Resolver/TypeInference.cs"},"region":{"startLine":646}}}],"partialFingerprints":{"codehealthFindingId/v1":"67bac5124a5e5b36c1c4fb6493cf2ece30c8afbabbc33123be21075e91a5abc6"}},{"ruleId":"D1","level":"warning","message":{"text":"TypeSystemAstBuilder.GetMemberModifiers (cyclomatic 29): TypeSystemAstBuilder.GetMemberModifiers has cyclomatic complexity 29 (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":"ICSharpCode.Decompiler/CSharp/Syntax/TypeSystemAstBuilder.cs"},"region":{"startLine":2678}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f003eee48fb5aa8ab063497280074ed9b13196a221cedb8a3b2993fff79b975"}},{"ruleId":"D1","level":"warning","message":{"text":"PatternMatchingTransform.MatchNullableHasValueCheckPattern (cyclomatic 29): PatternMatchingTransform.MatchNullableHasValueCheckPattern has cyclomatic complexity 29 (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":"ICSharpCode.Decompiler/IL/Transforms/PatternMatchingTransform.cs"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"54f9b6599f4a80da0ffe74aa801607849db1bf05d0adcac5e11ab0855711a5e8"}},{"ruleId":"D1","level":"warning","message":{"text":"TypeSystemExtensions.IsUnmanagedType (cyclomatic 29): TypeSystemExtensions.IsUnmanagedType has cyclomatic complexity 29 (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":"ICSharpCode.Decompiler/TypeSystem/TypeSystemExtensions.cs"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"18683da2c2a9bb34c2cf6ce6566f4f66d06cd89912093602c53769178f988529"}},{"ruleId":"D1","level":"warning","message":{"text":"AutoEventDecompiler.TryAnalyzeVisualBasicWithEventsProperty (cyclomatic 28): AutoEventDecompiler.TryAnalyzeVisualBasicWithEventsProperty has cyclomatic complexity 28 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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":"ICSharpCode.Decompiler/CSharp/AutoEventDecompiler.cs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"1433e2d55bc7c71e11503fd6e83fb0b7a9e897292a7ff16c32116e9ddbb01142"}},{"ruleId":"D1","level":"warning","message":{"text":"ExpressionBuilder.ConvertField (cyclomatic 28): ExpressionBuilder.ConvertField has cyclomatic complexity 28 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This is NOT this file\u0027s highest cyclomatic complexity: ExpressionBuilder.VisitDynamicBinaryOperatorInstruction (cyclomatic 35) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/ExpressionBuilder.cs"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cd93144699a585009967185a5dd3369305c4289ce7ee8002d7cd19b06835c5c"}},{"ruleId":"D1","level":"warning","message":{"text":"ExpressionBuilder.TranslateTarget (cyclomatic 28): ExpressionBuilder.TranslateTarget has cyclomatic complexity 28 (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 is NOT this file\u0027s highest cyclomatic complexity: ExpressionBuilder.VisitDynamicBinaryOperatorInstruction (cyclomatic 35) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/ExpressionBuilder.cs"},"region":{"startLine":2914}}}],"partialFingerprints":{"codehealthFindingId/v1":"792ab4b0773341ebf5b306cd9ae47816255bd404025b5aa961e08bee84c971eb"}},{"ruleId":"D1","level":"warning","message":{"text":"RecordDecompiler.IsGeneratedCopyConstructor (cyclomatic 28): RecordDecompiler.IsGeneratedCopyConstructor has cyclomatic complexity 28 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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":"ICSharpCode.Decompiler/CSharp/RecordDecompiler.cs"},"region":{"startLine":723}}}],"partialFingerprints":{"codehealthFindingId/v1":"55756d90c3a5b9946b2097e5e240d9447102c77629085cf3037786f928d1fe4c"}},{"ruleId":"D1","level":"warning","message":{"text":"TypeSystemAstBuilder.TryExtractExpression (cyclomatic 28): TypeSystemAstBuilder.TryExtractExpression has cyclomatic complexity 28 (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":"ICSharpCode.Decompiler/CSharp/Syntax/TypeSystemAstBuilder.cs"},"region":{"startLine":1729}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c6655a5960339d5c9ca64023a594b8ea8b65fbfeab421a88de25c56678b39c6"}},{"ruleId":"D1","level":"warning","message":{"text":"PatternStatementTransform.TransformForeachOnMultiDimArray (cyclomatic 28): PatternStatementTransform.TransformForeachOnMultiDimArray has cyclomatic complexity 28 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. 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":"ICSharpCode.Decompiler/CSharp/Transforms/PatternStatementTransform.cs"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"601349f6807ccb6c90ce0845981050151f573a751691baaeecd6d35539c5ce25"}},{"ruleId":"D1","level":"warning","message":{"text":"ConstructorInitializerAnalyzer.RemoveImplicitConstructor (cyclomatic 28): ConstructorInitializerAnalyzer.RemoveImplicitConstructor has cyclomatic complexity 28 (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":"ICSharpCode.Decompiler/CSharp/Transforms/TransformFieldAndConstructorInitializers.cs"},"region":{"startLine":700}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdf973c245d719cbaa505a7869af2998df3dc54b4fb30640b67034f4199842b7"}},{"ruleId":"D1","level":"warning","message":{"text":"AsyncAwaitDecompiler.ValidateCatchBlock (cyclomatic 28): AsyncAwaitDecompiler.ValidateCatchBlock has cyclomatic complexity 28 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/ControlFlow/AsyncAwaitDecompiler.cs"},"region":{"startLine":1083}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e241a118aa05b35d97516b518d884023d103b1a33b29a3f589215f5af644b14"}},{"ruleId":"D1","level":"warning","message":{"text":"NumericCompoundAssign.IsBinaryCompatibleWithType (cyclomatic 28): NumericCompoundAssign.IsBinaryCompatibleWithType has cyclomatic complexity 28 (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":"ICSharpCode.Decompiler/IL/Instructions/CompoundAssignmentInstruction.cs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"31dbd5096de93b826c2bdd9426f003d4db070986197e96c1c2c38263dfa7ba80"}},{"ruleId":"D1","level":"warning","message":{"text":"Analyzer.CalculateLocalScopes (cyclomatic 28): Analyzer.CalculateLocalScopes has cyclomatic complexity 28 (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":"ICSharpCode.Decompiler/IL/Transforms/IntroduceScopedModifierOnLocals.cs"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1f235a8fc10a685cb876add67af20228c98d10094d7aca431ff6b1bd9253f28"}},{"ruleId":"D1","level":"warning","message":{"text":"PatternMatchingTransform.PatternMatchRefTypes (cyclomatic 28): PatternMatchingTransform.PatternMatchRefTypes has cyclomatic complexity 28 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/PatternMatchingTransform.cs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0df5a3953bf2daefabdbd8b3d27cb978fbbda9e985829a751da918597f7a43a"}},{"ruleId":"D1","level":"warning","message":{"text":"TransformArrayInitializers.HandleSequentialLocAllocInitializer (cyclomatic 28): TransformArrayInitializers.HandleSequentialLocAllocInitializer has cyclomatic complexity 28 (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":"ICSharpCode.Decompiler/IL/Transforms/TransformArrayInitializers.cs"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"8897cef67c655a6d98cb1ef506d61321449534eebb323dd00bfc09a1d9d60895"}},{"ruleId":"D1","level":"warning","message":{"text":"TransformAssignment.TransformPreIncDecOperatorWithInlineStore (cyclomatic 28): TransformAssignment.TransformPreIncDecOperatorWithInlineStore has cyclomatic complexity 28 (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":"ICSharpCode.Decompiler/IL/Transforms/TransformAssignment.cs"},"region":{"startLine":861}}}],"partialFingerprints":{"codehealthFindingId/v1":"e895ff7d690d50ed1aea580cabe543f65492b17fe5cc3e1fdd54c97bdecb1391"}},{"ruleId":"D1","level":"warning","message":{"text":"TypeUtils.GetStackType (cyclomatic 28): TypeUtils.GetStackType has cyclomatic complexity 28 (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":"ICSharpCode.Decompiler/TypeSystem/TypeUtils.cs"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"a37787670b5fdef33110c96b28ba635d8b22467b47b183df7971d54b5a1f6896"}},{"ruleId":"D1","level":"warning","message":{"text":"MetadataTokenSearchStrategy.Search (cyclomatic 28): MetadataTokenSearchStrategy.Search has cyclomatic complexity 28 (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":"ICSharpCode.ILSpyX/Search/MetadataTokenSearchStrategy.cs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"17509398aebc3e1de1336309f461db16762e9319d99f0cc514859562f8616142"}},{"ruleId":"D1","level":"warning","message":{"text":"SharpTreeView.OnKeyDown (cyclomatic 28): SharpTreeView.OnKeyDown has cyclomatic complexity 28 (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":"ILSpy/Controls/TreeView/SharpTreeView.cs"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"e54d470948c6d5df854f3ac8819c8ef23850ebb950fe4ee9de0b0676f8ea9687"}},{"ruleId":"D1","level":"warning","message":{"text":"StatementBuilder.TransformToForeach (cyclomatic 27): StatementBuilder.TransformToForeach has cyclomatic complexity 27 (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":"ICSharpCode.Decompiler/CSharp/StatementBuilder.cs"},"region":{"startLine":763}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5769c3513c3eda29f38179431de3739a42064a9efdb7ee127e4dfb0e3a025c0"}},{"ruleId":"D1","level":"warning","message":{"text":"AwaitInCatchTransform.MatchExceptionCaptureBlock (cyclomatic 27): AwaitInCatchTransform.MatchExceptionCaptureBlock has cyclomatic complexity 27 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/ControlFlow/AwaitInCatchTransform.cs"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bf15c6f84c9146d9ffad248521b371f0d8a0f6f45785958dff411c9edae1b2e"}},{"ruleId":"D1","level":"warning","message":{"text":"DetectPinnedRegions.IsCustomRefPinPattern (cyclomatic 27): DetectPinnedRegions.IsCustomRefPinPattern has cyclomatic complexity 27 (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":"ICSharpCode.Decompiler/IL/ControlFlow/DetectPinnedRegions.cs"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"39a12b1e8c6fff50d3f5c7e33040107dc83f8a9f417aec4026e795a522b6b369"}},{"ruleId":"D1","level":"warning","message":{"text":"DetectPinnedRegions.CreatePinnedRegion (cyclomatic 27): DetectPinnedRegions.CreatePinnedRegion has cyclomatic complexity 27 (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":"ICSharpCode.Decompiler/IL/ControlFlow/DetectPinnedRegions.cs"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff94c3374913013d5a76964499c1992077fb34eedfb2167d4abcc23924efc98f"}},{"ruleId":"D1","level":"warning","message":{"text":"SwitchOnStringTransform.SimplifyCSharp1CascadingIfStatements (cyclomatic 27): SwitchOnStringTransform.SimplifyCSharp1CascadingIfStatements has cyclomatic complexity 27 (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":"ICSharpCode.Decompiler/IL/Transforms/SwitchOnStringTransform.cs"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cf6581356271f4cebd3b44381176e651ae8befdbdbdf8c194718d9d0730bf80"}},{"ruleId":"D1","level":"warning","message":{"text":"TransformCollectionAndObjectInitializers.IsPartOfInitializer (cyclomatic 27): TransformCollectionAndObjectInitializers.IsPartOfInitializer has cyclomatic complexity 27 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. 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":"ICSharpCode.Decompiler/IL/Transforms/TransformCollectionAndObjectInitializers.cs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"db7999e7538d2ca2b86388ecc7ce56d7f30732abae015510c468267debb81d09"}},{"ruleId":"D1","level":"warning","message":{"text":"TransformDisplayClassUsage.ValidateConstructor (cyclomatic 27): TransformDisplayClassUsage.ValidateConstructor has cyclomatic complexity 27 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/TransformDisplayClassUsage.cs"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3675ae3a2ac79473cc9c1df5060cee6ba252e6ba9aad708f8df9a4af52510f9"}},{"ruleId":"D1","level":"warning","message":{"text":"ReflectionHelper.ResolveTypeName (cyclomatic 27): ReflectionHelper.ResolveTypeName has cyclomatic complexity 27 (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":"ICSharpCode.Decompiler/TypeSystem/ReflectionHelper.cs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"adce954fbbc984a1c398673ab4fe65ea714b052cf1f03b8aaf61da3d2a1a8c8e"}},{"ruleId":"D1","level":"warning","message":{"text":"BamlDecompilerTypeSystem.BamlDecompilerTypeSystem.ctor (cyclomatic 26): BamlDecompilerTypeSystem.BamlDecompilerTypeSystem.ctor has cyclomatic complexity 26 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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":"ICSharpCode.BamlDecompiler/BamlDecompilerTypeSystem.cs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"3709e592772abc674def3c3910132a39cf6295c72c7b84074a88482cfd6ef700"}},{"ruleId":"D1","level":"warning","message":{"text":"RecordDecompiler.DetectAutomaticProperties (cyclomatic 26): RecordDecompiler.DetectAutomaticProperties has cyclomatic complexity 26 (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":"ICSharpCode.Decompiler/CSharp/RecordDecompiler.cs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5269794d6ded6a1f9c451c10ef9261b61e6b019359d9d9f36c74227388f4d62"}},{"ruleId":"D1","level":"warning","message":{"text":"TypeSystemAstBuilder.ConvertTypeHelper (cyclomatic 26): TypeSystemAstBuilder.ConvertTypeHelper has cyclomatic complexity 26 (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":"ICSharpCode.Decompiler/CSharp/Syntax/TypeSystemAstBuilder.cs"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d108302a40aafe6c5e3f429079bd78ffa3cd48383267a92ee3703cc9c92feaf"}},{"ruleId":"D1","level":"warning","message":{"text":"DeclareVariables.FindInsertionPoints (cyclomatic 26): DeclareVariables.FindInsertionPoints has cyclomatic complexity 26 (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":"ICSharpCode.Decompiler/CSharp/Transforms/DeclareVariables.cs"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dbbcd64762b534067cc8ae0da5faf0db8ac4b35b5d12d5cbddbb7e3155d2cdd"}},{"ruleId":"D1","level":"warning","message":{"text":"DetectPinnedRegions.HandleStringToPointer (cyclomatic 26): DetectPinnedRegions.HandleStringToPointer has cyclomatic complexity 26 (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":"ICSharpCode.Decompiler/IL/ControlFlow/DetectPinnedRegions.cs"},"region":{"startLine":880}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a5ae6ad679c8253f735ebcc34e7f04322f9b501ab49c98ca71352d7b5bb7bb6"}},{"ruleId":"D1","level":"warning","message":{"text":"ILVariable.WriteDefinitionTo (cyclomatic 26): ILVariable.WriteDefinitionTo has cyclomatic complexity 26 (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":"ICSharpCode.Decompiler/IL/ILVariable.cs"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"adcb608db48a8886861e7139cb7b6b94f455b2215a7b4a6d84ef30d94fa8606a"}},{"ruleId":"D1","level":"warning","message":{"text":"VariableScope.GenerateNameForVariable (cyclomatic 26): VariableScope.GenerateNameForVariable has cyclomatic complexity 26 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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":"ICSharpCode.Decompiler/IL/Transforms/AssignVariableNames.cs"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"a04732f47526b5ba03ef9122c2db11b116a217921ca3708f6c1ef291c022ddf9"}},{"ruleId":"D1","level":"warning","message":{"text":"DeconstructionTransform.MatchAssignments (cyclomatic 26): DeconstructionTransform.MatchAssignments has cyclomatic complexity 26 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. 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":"ICSharpCode.Decompiler/IL/Transforms/DeconstructionTransform.cs"},"region":{"startLine":868}}}],"partialFingerprints":{"codehealthFindingId/v1":"2db2bd0744964cecc06e0c9a4e7893fd4e67f2251d92ffcd824cf7c1743eed27"}},{"ruleId":"D1","level":"warning","message":{"text":"ExpressionTransforms.HandleSwitchExpression (cyclomatic 26): ExpressionTransforms.HandleSwitchExpression has cyclomatic complexity 26 (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":"ICSharpCode.Decompiler/IL/Transforms/ExpressionTransforms.cs"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"4810fb6fd5d76046cccfc2a78cf91fb3261de26234a6afec1345f207034a5179"}},{"ruleId":"D1","level":"warning","message":{"text":"CSharpConversions.GetApplicableConversionOperators (cyclomatic 25): CSharpConversions.GetApplicableConversionOperators has cyclomatic complexity 25 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 7 belong to 2 function literals inside it that branch. 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":"ICSharpCode.Decompiler/CSharp/Resolver/CSharpConversions.cs"},"region":{"startLine":1169}}}],"partialFingerprints":{"codehealthFindingId/v1":"93740ec3cb4d5247b4b246e04d4be0eb80e5e6637cb43874c754bc2c13c2affb"}},{"ruleId":"D1","level":"warning","message":{"text":"TypeInference.MakeUpperBoundInference (cyclomatic 25): TypeInference.MakeUpperBoundInference has cyclomatic complexity 25 (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":"ICSharpCode.Decompiler/CSharp/Resolver/TypeInference.cs"},"region":{"startLine":878}}}],"partialFingerprints":{"codehealthFindingId/v1":"05c1eb9ff189651d3a84628e25e24ff465bbd373883a73b6305e82ec935248b0"}},{"ruleId":"D1","level":"warning","message":{"text":"ReflectionDisassembler.DisassembleMethodHeaderInternal (cyclomatic 25): ReflectionDisassembler.DisassembleMethodHeaderInternal has cyclomatic complexity 25 (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":"ICSharpCode.Decompiler/Disassembler/ReflectionDisassembler.cs"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d87fc26d41ce4d51acd7a58881b5516cbb3641f30528f08d15bac0789b6bb0e"}},{"ruleId":"D1","level":"warning","message":{"text":"SymbolicEvaluationContext.Eval (cyclomatic 25): SymbolicEvaluationContext.Eval has cyclomatic complexity 25 (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":"ICSharpCode.Decompiler/IL/ControlFlow/SymbolicExecution.cs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"e39c8e9ca094d34402bac68d89696943684040c84c87b109985186d94b2257b8"}},{"ruleId":"D1","level":"warning","message":{"text":"ILReader.DecodeCall (cyclomatic 25): ILReader.DecodeCall has cyclomatic complexity 25 (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 is NOT this file\u0027s highest cyclomatic complexity: ILReader.DecodeInstruction (cyclomatic 221) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/ILReader.cs"},"region":{"startLine":1758}}}],"partialFingerprints":{"codehealthFindingId/v1":"db7accdf538cb1ff410785d040639501356e262788f0c895b4dd2cfd71774784"}},{"ruleId":"D1","level":"warning","message":{"text":"ILReader.Comparison (cyclomatic 25): ILReader.Comparison has cyclomatic complexity 25 (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 is NOT this file\u0027s highest cyclomatic complexity: ILReader.DecodeInstruction (cyclomatic 221) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/ILReader.cs"},"region":{"startLine":1921}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ea5150ee8a5810d3328c16763f8cc87fea1d033948a8288f265bbcb357364d3"}},{"ruleId":"D1","level":"warning","message":{"text":"DynamicCallSiteTransform.TransformCallSites (cyclomatic 25): DynamicCallSiteTransform.TransformCallSites has cyclomatic complexity 25 (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":"ICSharpCode.Decompiler/IL/Transforms/DynamicCallSiteTransform.cs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"983445f19f9e6dc4144f0ee963253df7772974593a9bd6ccaa89f46c39d170b5"}},{"ruleId":"D1","level":"warning","message":{"text":"UserDefinedLogicTransform.TransformDynamic (cyclomatic 25): UserDefinedLogicTransform.TransformDynamic has cyclomatic complexity 25 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/UserDefinedLogicTransform.cs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a78a0ca8ff200497d5f2d86318371e2279e760ec47293e5ebd0efebf5adcc7a"}},{"ruleId":"D1","level":"warning","message":{"text":"CSharpLanguage.DecompileAssembly (cyclomatic 25): CSharpLanguage.DecompileAssembly has cyclomatic complexity 25 (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":"ILSpy/Languages/CSharpLanguage.cs"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"98b31f8ee5b4642eff55a136cd97bd549887928daabdee503f07885035ee0cd9"}},{"ruleId":"D1","level":"warning","message":{"text":"CSharpDecompiler.SetNewModifier (cyclomatic 24): CSharpDecompiler.SetNewModifier has cyclomatic complexity 24 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 10 belong to 5 function literals inside it that branch. 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":"ICSharpCode.Decompiler/CSharp/CSharpDecompiler.cs"},"region":{"startLine":1711}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a6a63812d9b90b56c27069da538f30cdf6283bf01ac3ddc2f2cb8d5352017d6"}},{"ruleId":"D1","level":"warning","message":{"text":"ExpressionBuilder.HandleManagedPointerArithmetic (cyclomatic 24): ExpressionBuilder.HandleManagedPointerArithmetic has cyclomatic complexity 24 (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 is NOT this file\u0027s highest cyclomatic complexity: ExpressionBuilder.VisitDynamicBinaryOperatorInstruction (cyclomatic 35) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/ExpressionBuilder.cs"},"region":{"startLine":1441}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c59a34e89918f8b78dc044040d90f971e67a46d0c20fe767ca7f39a457a3592"}},{"ruleId":"D1","level":"warning","message":{"text":"ExpressionBuilder.HandleCompoundAssignment (cyclomatic 24): ExpressionBuilder.HandleCompoundAssignment has cyclomatic complexity 24 (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 is NOT this file\u0027s highest cyclomatic complexity: ExpressionBuilder.VisitDynamicBinaryOperatorInstruction (cyclomatic 35) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/ExpressionBuilder.cs"},"region":{"startLine":2167}}}],"partialFingerprints":{"codehealthFindingId/v1":"94c863d35bd9ee4f8665a1cf532f1517ff75bfd6b38cafb0bfd78f1b204b9418"}},{"ruleId":"D1","level":"warning","message":{"text":"ExpressionBuilder.TranslateArrayInitializer (cyclomatic 24): ExpressionBuilder.TranslateArrayInitializer has cyclomatic complexity 24 (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 is NOT this file\u0027s highest cyclomatic complexity: ExpressionBuilder.VisitDynamicBinaryOperatorInstruction (cyclomatic 35) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/ExpressionBuilder.cs"},"region":{"startLine":3886}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9661cfe5a13df64f5c0557837d298e87475a27ac78ec01ecccb2c1b782ccc31"}},{"ruleId":"D1","level":"warning","message":{"text":"ExpressionBuilder.TranslateStackAllocInitializer (cyclomatic 24): ExpressionBuilder.TranslateStackAllocInitializer has cyclomatic complexity 24 (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 is NOT this file\u0027s highest cyclomatic complexity: ExpressionBuilder.VisitDynamicBinaryOperatorInstruction (cyclomatic 35) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/ExpressionBuilder.cs"},"region":{"startLine":3981}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e0f3c0a47c0a5b0531acfb62510335af57fa1c9068c4d62d62297d22972be09"}},{"ruleId":"D1","level":"warning","message":{"text":"InsertParenthesesVisitor.VisitCastExpression (cyclomatic 24): InsertParenthesesVisitor.VisitCastExpression has cyclomatic complexity 24 (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":"ICSharpCode.Decompiler/CSharp/OutputVisitor/InsertParenthesesVisitor.cs"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"62dade8542e05588286e716abfce0a14be4eaa70b36fdd3553fb2fa9114722b5"}},{"ruleId":"D1","level":"warning","message":{"text":"RecordDecompiler.IsGeneratedGetHashCode (cyclomatic 24): RecordDecompiler.IsGeneratedGetHashCode has cyclomatic complexity 24 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/RecordDecompiler.cs"},"region":{"startLine":1274}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c9c8a7123936a1de8fec42fd96e3038ec2fecc91c422577a3ffe916fa20cf80"}},{"ruleId":"D1","level":"warning","message":{"text":"RequiredNamespaceCollector.CollectNamespaces (cyclomatic 24): RequiredNamespaceCollector.CollectNamespaces has cyclomatic complexity 24 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/RequiredNamespaceCollector.cs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"c56dcad3c77ad7c5579faa5d60234b6a021878f84359def913919ec9f1cff500"}},{"ruleId":"D1","level":"warning","message":{"text":"TypeInference.FindTypesInBounds (cyclomatic 24): TypeInference.FindTypesInBounds has cyclomatic complexity 24 (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":"ICSharpCode.Decompiler/CSharp/Resolver/TypeInference.cs"},"region":{"startLine":1259}}}],"partialFingerprints":{"codehealthFindingId/v1":"a28424a9bf6033037508c0a9d30199bd31a5884327de4518804bd1d35a954a17"}},{"ruleId":"D1","level":"warning","message":{"text":"PrettifyAssignments.VisitAssignmentExpression (cyclomatic 24): PrettifyAssignments.VisitAssignmentExpression has cyclomatic complexity 24 (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":"ICSharpCode.Decompiler/CSharp/Transforms/PrettifyAssignments.cs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f6c5ea765f69fd31dc5f609887d88ca735a72b9c709d46f83977cf257dc6e34"}},{"ruleId":"D1","level":"warning","message":{"text":"XmlDocumentationElement.CreateElements (cyclomatic 24): XmlDocumentationElement.CreateElements has cyclomatic complexity 24 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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":"ICSharpCode.Decompiler/Documentation/XmlDocumentationElement.cs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"729dc3cce5b5962097444e41701fb1f4ff31bd4068b9fa85ce5829c8f18ea689"}},{"ruleId":"D1","level":"warning","message":{"text":"RuntimeAsyncExceptionRewriteTransform.TryRewriteTryCatch (cyclomatic 24): RuntimeAsyncExceptionRewriteTransform.TryRewriteTryCatch has cyclomatic complexity 24 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/ControlFlow/RuntimeAsyncExceptionRewriteTransform.cs"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"0616eeb219ab458aca51c9e66b5532f891d830c478c7b57902a93a60af6adf98"}},{"ruleId":"D1","level":"warning","message":{"text":"Analyzer.Run (cyclomatic 24): Analyzer.Run has cyclomatic complexity 24 (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":"ICSharpCode.Decompiler/IL/Transforms/IntroduceScopedModifierOnLocals.cs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"3195b5d299c731e70c8fd2256e35ad2bb5cbeadcb4cbd2ce1743ec2e870e55d3"}},{"ruleId":"D1","level":"warning","message":{"text":"NullableLiftingTransform.LiftCSharpUserEqualityComparison (cyclomatic 24): NullableLiftingTransform.LiftCSharpUserEqualityComparison has cyclomatic complexity 24 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/NullableLiftingTransform.cs"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eb6712ce7a05c9ae09f848b804fd1a14fc285e278c6bb46a77e0f0bec30ce76"}},{"ruleId":"D1","level":"warning","message":{"text":"SwitchOnStringTransform.Run (cyclomatic 24): SwitchOnStringTransform.Run has cyclomatic complexity 24 (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":"ICSharpCode.Decompiler/IL/Transforms/SwitchOnStringTransform.cs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"523fa9bfb7d5069a55ccb2a0c6a14beb2612bc4daa0c798ff1c2afbd88805f7a"}},{"ruleId":"D1","level":"warning","message":{"text":"TransformAssignment.IsMatchingCompoundLoad (cyclomatic 24): TransformAssignment.IsMatchingCompoundLoad has cyclomatic complexity 24 (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":"ICSharpCode.Decompiler/IL/Transforms/TransformAssignment.cs"},"region":{"startLine":779}}}],"partialFingerprints":{"codehealthFindingId/v1":"05280f36da4d3b3b5d279eb0fb09eaacb96f03da6d588a075260da1a6438c942"}},{"ruleId":"D1","level":"warning","message":{"text":"TransformAssignment.TransformPostIncDecOperatorWithInlineStore (cyclomatic 24): TransformAssignment.TransformPostIncDecOperatorWithInlineStore has cyclomatic complexity 24 (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":"ICSharpCode.Decompiler/IL/Transforms/TransformAssignment.cs"},"region":{"startLine":955}}}],"partialFingerprints":{"codehealthFindingId/v1":"2324c983eb437bec9131d5a84b7d43c61e788284abfa6cd869a4f1d0221ad35a"}},{"ruleId":"D1","level":"warning","message":{"text":"CSharpBracketSearcher.GetStartType (cyclomatic 24): CSharpBracketSearcher.GetStartType has cyclomatic complexity 24 (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":"ILSpy/Languages/CSharpBracketSearcher.cs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"34144e71b0fd6db3595cb67eccc2c3c0caaec29043de6cb8c7608ccb2f371723"}},{"ruleId":"D1","level":"warning","message":{"text":"PropertyCustomHandler.Deserialize (cyclomatic 23): PropertyCustomHandler.Deserialize has cyclomatic complexity 23 (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":"ICSharpCode.BamlDecompiler/Handlers/Records/PropertyCustomHandler.cs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"da1d917bce106da7505df93581d107e0c857963de253d9960976607c9c8a9609"}},{"ruleId":"D1","level":"warning","message":{"text":"RecordDecompiler.IsGeneratedDeconstruct (cyclomatic 23): RecordDecompiler.IsGeneratedDeconstruct has cyclomatic complexity 23 (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":"ICSharpCode.Decompiler/CSharp/RecordDecompiler.cs"},"region":{"startLine":1364}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dc92658bfce3489ed2bc2bfc2ab220c2d1b3bdedded0c310df3cbc03c8033da"}},{"ruleId":"D1","level":"warning","message":{"text":"MemberLookup.AddMembers (cyclomatic 23): MemberLookup.AddMembers has cyclomatic complexity 23 (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":"ICSharpCode.Decompiler/CSharp/Resolver/MemberLookup.cs"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"d26468e9b7dfb0da58ade413f198a9e5f065a43ea720866d002e613dc242d749"}},{"ruleId":"D1","level":"warning","message":{"text":"StatementBuilder.TranslateSwitch (cyclomatic 23): StatementBuilder.TranslateSwitch has cyclomatic complexity 23 (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":"ICSharpCode.Decompiler/CSharp/StatementBuilder.cs"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"896893e7eda779f04ca5c9e49c96dacf06a2fa905ebc1646e0f4a89548241139"}},{"ruleId":"D1","level":"warning","message":{"text":"StatementBuilder.ConvertLoop (cyclomatic 23): StatementBuilder.ConvertLoop has cyclomatic complexity 23 (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":"ICSharpCode.Decompiler/CSharp/StatementBuilder.cs"},"region":{"startLine":1359}}}],"partialFingerprints":{"codehealthFindingId/v1":"3923c6ed72e32d822f591ee2347de229f0a16c3aaf9c0650148f24abd47a0a5d"}},{"ruleId":"D1","level":"warning","message":{"text":"PatternStatementTransform.TransformForeachOnInlineArray (cyclomatic 23): PatternStatementTransform.TransformForeachOnInlineArray has cyclomatic complexity 23 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/Transforms/PatternStatementTransform.cs"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"32a02c9962927f9b2c0b49c2fdcfe50d3c8c4cb5ba5ca0c5a17b4fa5b364b7f5"}},{"ruleId":"D1","level":"warning","message":{"text":"RuntimeAsyncExceptionRewriteTransform.NormalizeRuntimeAsyncFilter (cyclomatic 23): RuntimeAsyncExceptionRewriteTransform.NormalizeRuntimeAsyncFilter has cyclomatic complexity 23 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/ControlFlow/RuntimeAsyncExceptionRewriteTransform.cs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b9e1e46980d50a27b40a5ec199d20ad449f557a7cab2cf36b2b298376b4e858"}},{"ruleId":"D1","level":"warning","message":{"text":"PatternMatchingTransform.DetectPropertySubPattern (cyclomatic 23): PatternMatchingTransform.DetectPropertySubPattern has cyclomatic complexity 23 (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":"ICSharpCode.Decompiler/IL/Transforms/PatternMatchingTransform.cs"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"f04d4366724890f216f3b57e615bb4eee3adf7643ef590672341e806230d7df9"}},{"ruleId":"D1","level":"warning","message":{"text":"TextTokenWriter.WritePrimitiveType (cyclomatic 23): TextTokenWriter.WritePrimitiveType has cyclomatic complexity 23 (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":"ICSharpCode.Decompiler/Output/TextTokenWriter.cs"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7937a4e9c1b90ef15d4c4b8e0c18156ec3239f93f7f20e18d200aba8f265e8b"}},{"ruleId":"D1","level":"warning","message":{"text":"MetadataMethod.MetadataMethod.ctor (cyclomatic 23): MetadataMethod.MetadataMethod.ctor has cyclomatic complexity 23 (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":"ICSharpCode.Decompiler/TypeSystem/Implementation/MetadataMethod.cs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"53e7ea606bca96d87fbfd4d35d34468d40dddeb4fb26b2a032db1f8794537dac"}},{"ruleId":"D1","level":"warning","message":{"text":"AutoEventDecompiler.MatchSimpleCombineAssignment (cyclomatic 22): AutoEventDecompiler.MatchSimpleCombineAssignment has cyclomatic complexity 22 (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":"ICSharpCode.Decompiler/CSharp/AutoEventDecompiler.cs"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca0219a3a71ffe6c570d540639e0d284dc799afd310d7173a4bf8d70eed9e393"}},{"ruleId":"D1","level":"warning","message":{"text":"CallBuilder.TransformParamsArgument (cyclomatic 22): CallBuilder.TransformParamsArgument has cyclomatic complexity 22 (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":"ICSharpCode.Decompiler/CSharp/CallBuilder.cs"},"region":{"startLine":1180}}}],"partialFingerprints":{"codehealthFindingId/v1":"77c4178bce1a075889edb109fa628838747b5d5f10c3684db8ef21d5d39b2e77"}},{"ruleId":"D1","level":"warning","message":{"text":"CallBuilder.TryUseExtensionMethodSyntax (cyclomatic 22): CallBuilder.TryUseExtensionMethodSyntax has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/CallBuilder.cs"},"region":{"startLine":1294}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7ea1f1d162f07921ba6b3068b072442f43a00e2ed0e414f519bcdc13584eecd"}},{"ruleId":"D1","level":"warning","message":{"text":"ExpressionBuilder.VisitIfInstruction (cyclomatic 22): ExpressionBuilder.VisitIfInstruction has cyclomatic complexity 22 (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 is NOT this file\u0027s highest cyclomatic complexity: ExpressionBuilder.VisitDynamicBinaryOperatorInstruction (cyclomatic 35) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/ExpressionBuilder.cs"},"region":{"startLine":4191}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb62dc6543fa986658cfb8ae48bf7a47631d664e0bdd855274b821f8a63f8038"}},{"ruleId":"D1","level":"warning","message":{"text":"CSharpAmbience.WriteMemberDeclarationName (cyclomatic 22): CSharpAmbience.WriteMemberDeclarationName has cyclomatic complexity 22 (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":"ICSharpCode.Decompiler/CSharp/OutputVisitor/CSharpAmbience.cs"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"400059699e1c0c8863290c87b73b344992f9aba4ab32d01676ac682feede103c"}},{"ruleId":"D1","level":"warning","message":{"text":"CSharpOutputVisitor.PrintInitializerElements (cyclomatic 22): CSharpOutputVisitor.PrintInitializerElements has cyclomatic complexity 22 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table. This is NOT this file\u0027s highest cyclomatic complexity: CSharpOutputVisitor.VisitBinaryOperatorExpression (cyclomatic 24) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/OutputVisitor/CSharpOutputVisitor.cs"},"region":{"startLine":686}}}],"partialFingerprints":{"codehealthFindingId/v1":"56e302e952e2356fc43b7bd816142419d6b42b70699e8633b71cc3930b316458"}},{"ruleId":"D1","level":"warning","message":{"text":"ConstructorInitializerAnalyzer.MoveFieldInitializersToDeclarations (cyclomatic 22): ConstructorInitializerAnalyzer.MoveFieldInitializersToDeclarations has cyclomatic complexity 22 (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":"ICSharpCode.Decompiler/CSharp/Transforms/TransformFieldAndConstructorInitializers.cs"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a0ec425af32ff60dc8483e4415f54d0235fbcd9ceb55bc9c1d3a722ea6ca126"}},{"ruleId":"D1","level":"warning","message":{"text":"DecompilerException.GetStackTrace (cyclomatic 22): DecompilerException.GetStackTrace has cyclomatic complexity 22 (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":"ICSharpCode.Decompiler/DecompilerException.cs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"19642bbe7549991a326d6b106fa7c85fafe420a10d557146bbfa4a3e85c800ec"}},{"ruleId":"D1","level":"warning","message":{"text":"ReflectionDisassembler.WriteSecurityDeclarations (cyclomatic 22): ReflectionDisassembler.WriteSecurityDeclarations has cyclomatic complexity 22 (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":"ICSharpCode.Decompiler/Disassembler/ReflectionDisassembler.cs"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"519b283ac1d06ed2d2db60f4da90ef7bf8f67da190075f4448d4fadacf7b5edd"}},{"ruleId":"D1","level":"warning","message":{"text":"AsyncAwaitDecompiler.AnalyzeMoveNext (cyclomatic 22): AsyncAwaitDecompiler.AnalyzeMoveNext has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/ControlFlow/AsyncAwaitDecompiler.cs"},"region":{"startLine":798}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bf6d3def674c2ab80b8ab19f4768317475b7a42c91a5a33abc272eef490842e"}},{"ruleId":"D1","level":"warning","message":{"text":"ConditionDetection.CompareBlockExitPriority (cyclomatic 22): ConditionDetection.CompareBlockExitPriority has cyclomatic complexity 22 (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":"ICSharpCode.Decompiler/IL/ControlFlow/ConditionDetection.cs"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"de7a605be2d9ca0834e7c0bc9ead9d31c81db600c18a98662e0c15f08e7a51f3"}},{"ruleId":"D1","level":"warning","message":{"text":"PointerArithmeticOffset.Detect (cyclomatic 22): PointerArithmeticOffset.Detect has cyclomatic complexity 22 (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":"ICSharpCode.Decompiler/IL/PointerArithmeticOffset.cs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"60a10d3b1a6b44e8199a3e47ca659792e328164825edc65bc9fa3bf910032b2a"}},{"ruleId":"D1","level":"warning","message":{"text":"AssignVariableNames.GetNameByType (cyclomatic 22): AssignVariableNames.GetNameByType has cyclomatic complexity 22 (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":"ICSharpCode.Decompiler/IL/Transforms/AssignVariableNames.cs"},"region":{"startLine":825}}}],"partialFingerprints":{"codehealthFindingId/v1":"8324e4f7e015420f02da0c810f9e7d83d5ae2bfa1276f5f9c833bbe13fb7e9b4"}},{"ruleId":"D1","level":"warning","message":{"text":"DeconstructionTransform.MatchNestedDeconstructions (cyclomatic 22): DeconstructionTransform.MatchNestedDeconstructions has cyclomatic complexity 22 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 8 belong to 3 function items inside it that branch. 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":"ICSharpCode.Decompiler/IL/Transforms/DeconstructionTransform.cs"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eb85cc27b703d48d0065ee10aee03f9f90006008236a13919c0dd59bf9e4f85"}},{"ruleId":"D1","level":"warning","message":{"text":"ExpressionTransforms.VisitComp (cyclomatic 22): ExpressionTransforms.VisitComp has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/ExpressionTransforms.cs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"72a58aad68e4b90d72537542251a92ad56688c74082f96ceb84fa2d22ad316e2"}},{"ruleId":"D1","level":"warning","message":{"text":"ExtractionContext.Extract (cyclomatic 22): ExtractionContext.Extract has cyclomatic complexity 22 (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":"ICSharpCode.Decompiler/IL/Transforms/ILExtraction.cs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b12ff0c83888a03cd37521f2112d83e691b311adc9ab93e8564999eed54813b"}},{"ruleId":"D1","level":"warning","message":{"text":"Analyzer.GetInvocationEscapeToWritableArgument (cyclomatic 22): Analyzer.GetInvocationEscapeToWritableArgument has cyclomatic complexity 22 (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":"ICSharpCode.Decompiler/IL/Transforms/IntroduceScopedModifierOnLocals.cs"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"88d7457b9c228b1bbd5ab91cb7cbb370d60363ea2a4b153cf87fb201bfd36504"}},{"ruleId":"D1","level":"warning","message":{"text":"ProxyCallReplacer.Run (cyclomatic 22): ProxyCallReplacer.Run has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/ProxyCallReplacer.cs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"d55d731e62dec885939fb1fd53601cb88be8a0dc0768abaaed28e082026ed9f1"}},{"ruleId":"D1","level":"warning","message":{"text":"TransformExpressionTrees.ConvertCall (cyclomatic 22): TransformExpressionTrees.ConvertCall has cyclomatic complexity 22 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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":"ICSharpCode.Decompiler/IL/Transforms/TransformExpressionTrees.cs"},"region":{"startLine":817}}}],"partialFingerprints":{"codehealthFindingId/v1":"53cf0aa5daa55c0fcff2e77c103e8fb4c98b80c15a24ee8cfa1b347e77c88949"}},{"ruleId":"D1","level":"warning","message":{"text":"Lexer.ReadEscapeSequence (cyclomatic 22): Lexer.ReadEscapeSequence has cyclomatic complexity 22 (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":"ICSharpCode.ILSpyX/Search/CSharpLexer.cs"},"region":{"startLine":962}}}],"partialFingerprints":{"codehealthFindingId/v1":"a21d5b920b8e9ceafa6a278ff6357752745b44c7026663608014435ed3b9756b"}},{"ruleId":"D1","level":"warning","message":{"text":"CSharpLanguage.GetEntityName (cyclomatic 22): CSharpLanguage.GetEntityName has cyclomatic complexity 22 (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":"ILSpy/Languages/CSharpLanguage.cs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c456b351bdce9bd58763bbd44a345b9ba306ed0754ddd3eecbd59303d675243"}},{"ruleId":"D1","level":"warning","message":{"text":"CallBuilder.HandleRangeConstruction (cyclomatic 21): CallBuilder.HandleRangeConstruction has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/CallBuilder.cs"},"region":{"startLine":1898}}}],"partialFingerprints":{"codehealthFindingId/v1":"219a1bf8bac8605ba8f2349f02c6f0e1464dd2d2fec7edd7508d3e68ec7d88c8"}},{"ruleId":"D1","level":"warning","message":{"text":"RecordDecompiler.IsGeneratedEqualityContract (cyclomatic 21): RecordDecompiler.IsGeneratedEqualityContract has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/RecordDecompiler.cs"},"region":{"startLine":789}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8f143a0214e2a5de0e3a38840ea27a0e7dc0b5ac1fea3c729fc7f8dd7b75858"}},{"ruleId":"D1","level":"warning","message":{"text":"CSharpConversions.ImplicitConversion (cyclomatic 21): CSharpConversions.ImplicitConversion has cyclomatic complexity 21 (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":"ICSharpCode.Decompiler/CSharp/Resolver/CSharpConversions.cs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"44053ac5710345c07dbcd9187882d15b9f5f6c9335d3a1a21d047abe3cddcc95"}},{"ruleId":"D1","level":"warning","message":{"text":"CSharpResolver.ResolveInvocation (cyclomatic 21): CSharpResolver.ResolveInvocation has cyclomatic complexity 21 (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":"ICSharpCode.Decompiler/CSharp/Resolver/CSharpResolver.cs"},"region":{"startLine":2209}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ffd2c973fd5a5936cd29efa3e58a8e4204d55091ca3d8430093b92b79560a54"}},{"ruleId":"D1","level":"warning","message":{"text":"OverloadResolution.BetterParamsCollectionType (cyclomatic 21): OverloadResolution.BetterParamsCollectionType has cyclomatic complexity 21 (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":"ICSharpCode.Decompiler/CSharp/Resolver/OverloadResolution.cs"},"region":{"startLine":848}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9c8e53f9c537850688b77428ec2446a4b4a54c5145a2f252c60e0bcd552c2d0"}},{"ruleId":"D1","level":"warning","message":{"text":"ConstructorInitializerAnalyzer.TryEvaluateDecimalConstant (cyclomatic 21): ConstructorInitializerAnalyzer.TryEvaluateDecimalConstant has cyclomatic complexity 21 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/Transforms/TransformFieldAndConstructorInitializers.cs"},"region":{"startLine":849}}}],"partialFingerprints":{"codehealthFindingId/v1":"42ca2fb256f0091d6eac90089b519b7d62d64a0f9cb4717b7a744263e9375f33"}},{"ruleId":"D1","level":"warning","message":{"text":"AsyncAwaitDecompiler.MatchAsyncEnumeratorCreationPattern (cyclomatic 21): AsyncAwaitDecompiler.MatchAsyncEnumeratorCreationPattern has cyclomatic complexity 21 (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":"ICSharpCode.Decompiler/IL/ControlFlow/AsyncAwaitDecompiler.cs"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4dc6e7bc85636ddba980028a496efe057e13411beee070d8e16c57ebe498156"}},{"ruleId":"D1","level":"warning","message":{"text":"SwitchAnalysis.AnalyzeBlock (cyclomatic 21): SwitchAnalysis.AnalyzeBlock has cyclomatic complexity 21 (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":"ICSharpCode.Decompiler/IL/ControlFlow/SwitchAnalysis.cs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"b22b55e1190d1ef9d4bacb98e8c3333961e35ae561616821877e1dc11e30b6c4"}},{"ruleId":"D1","level":"warning","message":{"text":"DetectCatchWhenConditionBlocks.MatchCatchWhenEntryPoint (cyclomatic 21): DetectCatchWhenConditionBlocks.MatchCatchWhenEntryPoint has cyclomatic complexity 21 (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":"ICSharpCode.Decompiler/IL/Transforms/DetectCatchWhenConditionBlocks.cs"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea0e19d17f631bf514458b23ac4ae827661f4f9088e51bfddf690afcdb04de4d"}},{"ruleId":"D1","level":"warning","message":{"text":"LocalFunctionDecompiler.PropagateClosureParameterArguments (cyclomatic 21): LocalFunctionDecompiler.PropagateClosureParameterArguments has cyclomatic complexity 21 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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":"ICSharpCode.Decompiler/IL/Transforms/LocalFunctionDecompiler.cs"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4619b6d3da78da653451fe125eb4063872037564975ec1818566a19236dd3ff"}},{"ruleId":"D1","level":"warning","message":{"text":"NullableLiftingTransform.LiftCSharpEqualityComparison (cyclomatic 21): NullableLiftingTransform.LiftCSharpEqualityComparison has cyclomatic complexity 21 (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":"ICSharpCode.Decompiler/IL/Transforms/NullableLiftingTransform.cs"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"940cb86ce5777e31bd45376431211ac2fa0d5f8059cbd3343e8fba96648a7034"}},{"ruleId":"D1","level":"warning","message":{"text":"SwitchOnStringTransform.MatchStringEqualityComparison (cyclomatic 21): SwitchOnStringTransform.MatchStringEqualityComparison has cyclomatic complexity 21 (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":"ICSharpCode.Decompiler/IL/Transforms/SwitchOnStringTransform.cs"},"region":{"startLine":1754}}}],"partialFingerprints":{"codehealthFindingId/v1":"70ca95816e105f900a37a1ad1e798da0697c0953364bb29ec3f9856d0fc0656a"}},{"ruleId":"D1","level":"warning","message":{"text":"TransformDisplayClassUsage.ValidateDisplayClassUses (cyclomatic 21): TransformDisplayClassUsage.ValidateDisplayClassUses has cyclomatic complexity 21 (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":"ICSharpCode.Decompiler/IL/Transforms/TransformDisplayClassUsage.cs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"2be6ee73d469ef9c769aa2f53399ee75e755e6a85c329938f1850abe85d1054c"}},{"ruleId":"D1","level":"warning","message":{"text":"TransformDisplayClassUsage.VisitStLoc (cyclomatic 21): TransformDisplayClassUsage.VisitStLoc has cyclomatic complexity 21 (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":"ICSharpCode.Decompiler/IL/Transforms/TransformDisplayClassUsage.cs"},"region":{"startLine":843}}}],"partialFingerprints":{"codehealthFindingId/v1":"204a36810619e10365e30c581c1d599d04642f5d0e0409a41869dd246aed8d52"}},{"ruleId":"D1","level":"warning","message":{"text":"AttributeListBuilder.ConvertMarshalInfo (cyclomatic 21): AttributeListBuilder.ConvertMarshalInfo has cyclomatic complexity 21 (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":"ICSharpCode.Decompiler/TypeSystem/Implementation/AttributeListBuilder.cs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"01cf2ef623b229f2601ffb3f6d05f54b50f6a73e3e8019b822b75d486dbd5478"}},{"ruleId":"D1","level":"warning","message":{"text":"InheritanceHelper.GetDerivedMember (cyclomatic 21): InheritanceHelper.GetDerivedMember has cyclomatic complexity 21 (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":"ICSharpCode.Decompiler/TypeSystem/InheritanceHelper.cs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e6f5898bb03efcd9d5dfb8eac51c11aef53ac9100fe425aaa77ec45e4e8f9ba"}},{"ruleId":"D1","level":"warning","message":{"text":"CSharpDecompiler.Decompile (cyclomatic 20): CSharpDecompiler.Decompile has cyclomatic complexity 20 (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":"ICSharpCode.Decompiler/CSharp/CSharpDecompiler.cs"},"region":{"startLine":1448}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5ceb044b6ff708d53d22570beb6370fc44c9be2054f846297a84d32b45f11da"}},{"ruleId":"D1","level":"warning","message":{"text":"CSharpDecompiler.DoDecompile (cyclomatic 20): CSharpDecompiler.DoDecompile has cyclomatic complexity 20 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/CSharpDecompiler.cs"},"region":{"startLine":2819}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2da13b027f3a8043da48784d46fa19d2d6c8e9db6fbbc96649d4fff5f055cfe"}},{"ruleId":"D1","level":"warning","message":{"text":"CSharpDecompiler.DoDecompile (cyclomatic 20): CSharpDecompiler.DoDecompile has cyclomatic complexity 20 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/CSharpDecompiler.cs"},"region":{"startLine":2888}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c71fa1e1c29952bdf3aa62528d1674ef3f7acb00a0f86fc266f64ed634cff91"}},{"ruleId":"D1","level":"warning","message":{"text":"CSharpConversions.UserDefinedExplicitConversion (cyclomatic 20): CSharpConversions.UserDefinedExplicitConversion has cyclomatic complexity 20 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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":"ICSharpCode.Decompiler/CSharp/Resolver/CSharpConversions.cs"},"region":{"startLine":1068}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3ba97aa54f3a185332abfce10f3383e09ca184a3f4384c39d6331abe9da5eed"}},{"ruleId":"D1","level":"warning","message":{"text":"CSharpResolver.LookInCurrentUsingScope (cyclomatic 20): CSharpResolver.LookInCurrentUsingScope has cyclomatic complexity 20 (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":"ICSharpCode.Decompiler/CSharp/Resolver/CSharpResolver.cs"},"region":{"startLine":1621}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1288650c197f42718150fdaef26197e7433876e7b1a78377c351b66a552f589"}},{"ruleId":"D1","level":"warning","message":{"text":"MemberLookup.CreateResult (cyclomatic 20): MemberLookup.CreateResult has cyclomatic complexity 20 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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":"ICSharpCode.Decompiler/CSharp/Resolver/MemberLookup.cs"},"region":{"startLine":700}}}],"partialFingerprints":{"codehealthFindingId/v1":"e730d7d8a3c2ace48b68fb143cbaae683d16482abd4fb16354e60d7b4909bdf7"}},{"ruleId":"D1","level":"warning","message":{"text":"ReflectionDisassembler.DisassembleType (cyclomatic 20): ReflectionDisassembler.DisassembleType has cyclomatic complexity 20 (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":"ICSharpCode.Decompiler/Disassembler/ReflectionDisassembler.cs"},"region":{"startLine":1755}}}],"partialFingerprints":{"codehealthFindingId/v1":"91fa1e5b18c9414c8cc5fd0bf26ac0f45b7640962123dce291f6ba4e3eb23b5c"}},{"ruleId":"D1","level":"warning","message":{"text":"RuntimeAsyncExceptionRewriteTransform.ResolveEarlyReturnValue (cyclomatic 20): RuntimeAsyncExceptionRewriteTransform.ResolveEarlyReturnValue has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/ControlFlow/RuntimeAsyncExceptionRewriteTransform.cs"},"region":{"startLine":1317}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab0df8abf654efda0934048a5b391103410ed98d5fe76f08cac0d2745b44e08b"}},{"ruleId":"D1","level":"warning","message":{"text":"YieldReturnDecompiler.Run (cyclomatic 20): YieldReturnDecompiler.Run has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/ControlFlow/YieldReturnDecompiler.cs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"462ddd53c80a9df69223ddbca6f9298de9f0dba5304607504c7d17b541a9a836"}},{"ruleId":"D1","level":"warning","message":{"text":"ILReader.Cast (cyclomatic 20): ILReader.Cast has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This is NOT this file\u0027s highest cyclomatic complexity: ILReader.DecodeInstruction (cyclomatic 221) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/ILReader.cs"},"region":{"startLine":1425}}}],"partialFingerprints":{"codehealthFindingId/v1":"d26b916e50f7a3129bf8ccc324f059cf1c79338debb40b53e29dacda3b6837ba"}},{"ruleId":"D1","level":"warning","message":{"text":"IntroduceNativeIntTypeOnLocals.Run (cyclomatic 20): IntroduceNativeIntTypeOnLocals.Run has cyclomatic complexity 20 (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":"ICSharpCode.Decompiler/IL/Transforms/IntroduceNativeIntTypeOnLocals.cs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"d96829216dc29d1316447ddd1b314b928c6acb9f73c1c34538788f8abc0f0f4c"}},{"ruleId":"D1","level":"warning","message":{"text":"LocalFunctionDecompiler.DetermineCaptureAndDeclarationScope (cyclomatic 20): LocalFunctionDecompiler.DetermineCaptureAndDeclarationScope has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/LocalFunctionDecompiler.cs"},"region":{"startLine":710}}}],"partialFingerprints":{"codehealthFindingId/v1":"8671e07da6a9c3dd3e648708fc0296e48983b9e15abc72f82277ce373d944cfb"}},{"ruleId":"D1","level":"warning","message":{"text":"NullPropagationTransform.IsFallbackBlock (cyclomatic 20): NullPropagationTransform.IsFallbackBlock has cyclomatic complexity 20 (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":"ICSharpCode.Decompiler/IL/Transforms/NullPropagationTransform.cs"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"a29d8d047826388ffbc7e44bbb5faa296efd88ef1578b0a65c4cc5ec9aaac3d9"}},{"ruleId":"D1","level":"warning","message":{"text":"ReduceNestingTransform.ReduceSwitchNesting (cyclomatic 20): ReduceNestingTransform.ReduceSwitchNesting has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/ReduceNestingTransform.cs"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d1dc6c3ba06ce461cd3a2a583e33420c07ed32593db32f7150bb1eabc9aa4a9"}},{"ruleId":"D1","level":"warning","message":{"text":"SwitchOnNullableTransform.MatchSwitchOnNullable (cyclomatic 20): SwitchOnNullableTransform.MatchSwitchOnNullable has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/SwitchOnNullableTransform.cs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"27c6cc92e24e740e1678115fe765d702409477a35aa674c57e2661b12d754235"}},{"ruleId":"D1","level":"warning","message":{"text":"SwitchOnNullableTransform.MatchRoslynSwitchOnNullable (cyclomatic 20): SwitchOnNullableTransform.MatchRoslynSwitchOnNullable has cyclomatic complexity 20 (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":"ICSharpCode.Decompiler/IL/Transforms/SwitchOnNullableTransform.cs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"a87fdc8be57bebede03c01581a4e3cc55f971ed26e7e2415943ba5a88fec6878"}},{"ruleId":"D1","level":"warning","message":{"text":"TransformAssignment.MatchingGetterAndSetterCalls (cyclomatic 20): TransformAssignment.MatchingGetterAndSetterCalls has cyclomatic complexity 20 (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":"ICSharpCode.Decompiler/IL/Transforms/TransformAssignment.cs"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0cacfd8dfd1d330e498f8e0edaae3ef043807507dd9c66d98225af0088d2891"}},{"ruleId":"D1","level":"warning","message":{"text":"TextTokenWriter.WriteToken (cyclomatic 20): TextTokenWriter.WriteToken has cyclomatic complexity 20 (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":"ICSharpCode.Decompiler/Output/TextTokenWriter.cs"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8ca36c9d065ac2f89b6d4f68a7bb75614940d2057fadd01a407f9757105a17d"}},{"ruleId":"D1","level":"warning","message":{"text":"CSharpHighlightingTokenWriter.WriteIdentifier (cyclomatic 20): CSharpHighlightingTokenWriter.WriteIdentifier has cyclomatic complexity 20 (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. This is NOT this file\u0027s highest cyclomatic complexity: CSharpHighlightingTokenWriter.WritePrimitiveType (cyclomatic 27) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Languages/CSharpHighlightingTokenWriter.cs"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ea9f7bd7c8908921e4f297ec1082ae6739b4f55ec99077dd9b97897d9ae959c"}},{"ruleId":"D1","level":"warning","message":{"text":"RecordDecompiler.DetectOrderFromPrintMembers (cyclomatic 19): RecordDecompiler.DetectOrderFromPrintMembers has cyclomatic complexity 19 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/RecordDecompiler.cs"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"367e34e3825ab813fcaea46577e00e81625f6a882bb23d2d4a4a4811b5d1c36e"}},{"ruleId":"D1","level":"warning","message":{"text":"RecordDecompiler.MethodIsGenerated (cyclomatic 19): RecordDecompiler.MethodIsGenerated has cyclomatic complexity 19 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/RecordDecompiler.cs"},"region":{"startLine":603}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c4322cb4b20808b514e7bd3196b6e45d36337c590805f5b4952df6d2626c6e2"}},{"ruleId":"D1","level":"warning","message":{"text":"CSharpResolver.ResolveCast (cyclomatic 19): CSharpResolver.ResolveCast 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":"ICSharpCode.Decompiler/CSharp/Resolver/CSharpResolver.cs"},"region":{"startLine":1355}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf0b2081c7c161da3431ec4864b8f7dfc1d9db71b68a16f26e43b0076621abac"}},{"ruleId":"D1","level":"warning","message":{"text":"MemberLookup.GetAccessibleMembers (cyclomatic 19): MemberLookup.GetAccessibleMembers 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":"ICSharpCode.Decompiler/CSharp/Resolver/MemberLookup.cs"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae5623f0fe6838dcb02693e1384ca43d0ce90affbfb5c0ccaeae81a27e716644"}},{"ruleId":"D1","level":"warning","message":{"text":"TypeInference.PhaseTwo (cyclomatic 19): TypeInference.PhaseTwo has cyclomatic complexity 19 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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":"ICSharpCode.Decompiler/CSharp/Resolver/TypeInference.cs"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a942cb94db3cb3f1cf1c6c3acbcc723b84827914f6def3356dcd14c0b53187e"}},{"ruleId":"D1","level":"warning","message":{"text":"StatementBuilder.VisitLeave (cyclomatic 19): StatementBuilder.VisitLeave has cyclomatic complexity 19 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 5 belong to one function item inside it that branches. 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":"ICSharpCode.Decompiler/CSharp/StatementBuilder.cs"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d8a989bceefed5ff1e0bca09756f705172a6b01ccca78ee116251e857b28407"}},{"ruleId":"D1","level":"warning","message":{"text":"TypeSystemAstBuilder.ConvertAttributes::CompareAttribute (cyclomatic 19): TypeSystemAstBuilder.ConvertAttributes::CompareAttribute 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":"ICSharpCode.Decompiler/CSharp/Syntax/TypeSystemAstBuilder.cs"},"region":{"startLine":844}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d1a1f6b6949c7470adb34efbfed271350f09b1e381a13e40f27b06804880b14"}},{"ruleId":"D1","level":"warning","message":{"text":"TypeSystemAstBuilder.ApplyShortAttributeNameIfPossible (cyclomatic 19): TypeSystemAstBuilder.ApplyShortAttributeNameIfPossible has cyclomatic complexity 19 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. 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":"ICSharpCode.Decompiler/CSharp/Syntax/TypeSystemAstBuilder.cs"},"region":{"startLine":935}}}],"partialFingerprints":{"codehealthFindingId/v1":"49b89de635075494c831a68de7ee2d298daca8318988c05c6644a905436d6b39"}},{"ruleId":"D1","level":"warning","message":{"text":"TypeSystemAstBuilder.ConvertAccessor (cyclomatic 19): TypeSystemAstBuilder.ConvertAccessor has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/Syntax/TypeSystemAstBuilder.cs"},"region":{"startLine":2350}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c79071fe199f861e6054118de91d5ff46d21383d544ef13ffc8a151ce5b3c0a"}},{"ruleId":"D1","level":"warning","message":{"text":"TypeSystemAstBuilder.ConvertTypeParameterConstraint (cyclomatic 19): TypeSystemAstBuilder.ConvertTypeParameterConstraint 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":"ICSharpCode.Decompiler/CSharp/Syntax/TypeSystemAstBuilder.cs"},"region":{"startLine":2752}}}],"partialFingerprints":{"codehealthFindingId/v1":"c782134bd3552a6123835b102cbdc5c6a9aae2e3c3ce192b1f82b1d6b32c6951"}},{"ruleId":"D1","level":"warning","message":{"text":"PatternStatementTransform.TransformAutomaticProperty (cyclomatic 19): PatternStatementTransform.TransformAutomaticProperty 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":"ICSharpCode.Decompiler/CSharp/Transforms/PatternStatementTransform.cs"},"region":{"startLine":759}}}],"partialFingerprints":{"codehealthFindingId/v1":"afe17a96a808863ad0511265a4267dfa5ae22a26ce53675b9042a4f9ca1d47ba"}},{"ruleId":"D1","level":"warning","message":{"text":"InitializerSequence.Analyze (cyclomatic 19): InitializerSequence.Analyze 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":"ICSharpCode.Decompiler/CSharp/Transforms/TransformFieldAndConstructorInitializers.cs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"4849111965de92aad9bf242f318462e142750cea41afdab26f8e04c5fb6ddeed"}},{"ruleId":"D1","level":"warning","message":{"text":"IdStringProvider.FindMemberInType (cyclomatic 19): IdStringProvider.FindMemberInType has cyclomatic complexity 19 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table. This is NOT this file\u0027s highest cyclomatic complexity: IdStringSignatureTypeProvider.GetPrimitiveType (cyclomatic 20) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/Documentation/IdStringProvider.cs"},"region":{"startLine":960}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf31faed84fba94cafb0dcf5443bbf0dd50f71468e742e57e2fa9407606dca50"}},{"ruleId":"D1","level":"warning","message":{"text":"AsyncAwaitDecompiler.TranslateThisCopyAccess (cyclomatic 19): AsyncAwaitDecompiler.TranslateThisCopyAccess has cyclomatic complexity 19 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/ControlFlow/AsyncAwaitDecompiler.cs"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"e500309a6cd8eab06eec39c9976375ca24cab26f6c54d768e28e378dd894c1e7"}},{"ruleId":"D1","level":"warning","message":{"text":"AsyncAwaitDecompiler.MatchDisposeCombinedTokens (cyclomatic 19): AsyncAwaitDecompiler.MatchDisposeCombinedTokens has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/ControlFlow/AsyncAwaitDecompiler.cs"},"region":{"startLine":976}}}],"partialFingerprints":{"codehealthFindingId/v1":"24d25b787b708d14e016f7326adda830eccdbec0379dc2f658e838687ae1a7a7"}},{"ruleId":"D1","level":"warning","message":{"text":"CachedDelegateInitialization.CachedDelegateInitializationVB (cyclomatic 19): CachedDelegateInitialization.CachedDelegateInitializationVB has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/CachedDelegateInitialization.cs"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"24188cc7cb98f63e6c1b83c271609a2c5c25f69bed09ea9b7ef403f700121d8a"}},{"ruleId":"D1","level":"warning","message":{"text":"CachedDelegateInitialization.CachedDelegateInitializationVBWithClosure (cyclomatic 19): CachedDelegateInitialization.CachedDelegateInitializationVBWithClosure has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/CachedDelegateInitialization.cs"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"28338d2f62afa2c39e6edc390c83c91855de245a91d09a051c0ab21c938368d2"}},{"ruleId":"D1","level":"warning","message":{"text":"DeconstructionTransform.MatchNestedTupleDesignations (cyclomatic 19): DeconstructionTransform.MatchNestedTupleDesignations has cyclomatic complexity 19 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 4 belong to one function item inside it that branches. 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":"ICSharpCode.Decompiler/IL/Transforms/DeconstructionTransform.cs"},"region":{"startLine":688}}}],"partialFingerprints":{"codehealthFindingId/v1":"d758921425c552a0218a099754988b2aa91d766d727f28620f2b86068ad29170"}},{"ruleId":"D1","level":"warning","message":{"text":"ExpressionTransforms.VisitBinaryNumericInstruction (cyclomatic 19): ExpressionTransforms.VisitBinaryNumericInstruction has cyclomatic complexity 19 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/ExpressionTransforms.cs"},"region":{"startLine":862}}}],"partialFingerprints":{"codehealthFindingId/v1":"25e2854c249c3e47b8fafa1cd79bf18b5312eaaea0334f40c01c30e5db4f6ff8"}},{"ruleId":"D1","level":"warning","message":{"text":"ILInlining.FindLoadInNext (cyclomatic 19): ILInlining.FindLoadInNext 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":"ICSharpCode.Decompiler/IL/Transforms/ILInlining.cs"},"region":{"startLine":864}}}],"partialFingerprints":{"codehealthFindingId/v1":"7406745cbd1b416e8dafb8c84b705559d52f21b57b848a4c3bba39099616f956"}},{"ruleId":"D1","level":"warning","message":{"text":"IndexRangeTransform.HandleLdElema (cyclomatic 19): IndexRangeTransform.HandleLdElema 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":"ICSharpCode.Decompiler/IL/Transforms/IndexRangeTransform.cs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"f357db5b88bab95bf79c74a50e75b18ebd6677ecaa24b4d8d0d871e707b20e21"}},{"ruleId":"D1","level":"warning","message":{"text":"TransformDisplayClassUsage.ResolveVariableToPropagate (cyclomatic 19): TransformDisplayClassUsage.ResolveVariableToPropagate 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":"ICSharpCode.Decompiler/IL/Transforms/TransformDisplayClassUsage.cs"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f7e6b743f3797143500ff3e0f46605cb2b6054c60cefa3e9cdb22c0da65e409"}},{"ruleId":"D1","level":"warning","message":{"text":"TransformExpressionTrees.ConvertListInit (cyclomatic 19): TransformExpressionTrees.ConvertListInit has cyclomatic complexity 19 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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":"ICSharpCode.Decompiler/IL/Transforms/TransformExpressionTrees.cs"},"region":{"startLine":1417}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc9b97e49c1e6c20df3560e850a7102a2ea29d489676b37be63c90b48ae04736"}},{"ruleId":"D1","level":"warning","message":{"text":"TransformExpressionTrees.ConvertLogicOperator (cyclomatic 19): TransformExpressionTrees.ConvertLogicOperator has cyclomatic complexity 19 (threshold 15). Of this number, 10 points are the body\u0027s own statements and 9 belong to 3 function literals inside it that branch. 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":"ICSharpCode.Decompiler/IL/Transforms/TransformExpressionTrees.cs"},"region":{"startLine":1499}}}],"partialFingerprints":{"codehealthFindingId/v1":"6101076a1493e18d2c225c7d9d7e033a4fc02d0e55651316bb11899405babcbe"}},{"ruleId":"D1","level":"warning","message":{"text":"DecompilerTypeSystem.GetOptions (cyclomatic 19): DecompilerTypeSystem.GetOptions has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/TypeSystem/DecompilerTypeSystem.cs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bfb4e0f86fe52cea9f7a93a4cc2317a83af8248c1c59910275091bf4eb01b73"}},{"ruleId":"D1","level":"warning","message":{"text":"Lexer.Next (cyclomatic 19): Lexer.Next 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":"ICSharpCode.ILSpyX/Search/CSharpLexer.cs"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d96827b68dd970e31c5445126b2f03865185da074c651436e20c33f1a1c3637"}},{"ruleId":"D1","level":"warning","message":{"text":"SharpTreeNode.OnChildrenChanged (cyclomatic 19): SharpTreeNode.OnChildrenChanged 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":"ICSharpCode.ILSpyX/TreeView/SharpTreeNode.cs"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a48da782deeb108ebec8b5e7ca261a06a383431b8d77cc5d69ff081790522ab"}},{"ruleId":"D1","level":"warning","message":{"text":"XamlPathDeserializer.Deserialize (cyclomatic 18): XamlPathDeserializer.Deserialize has cyclomatic complexity 18 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.BamlDecompiler/Xaml/XamlPathDeserializer.cs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"b680973d0c96d31eff36816cc226bc91ec637a170eb971927737c461c66ea28a"}},{"ruleId":"D1","level":"warning","message":{"text":"AutoEventDecompiler.MatchCompareExchangeLoopMcs (cyclomatic 18): AutoEventDecompiler.MatchCompareExchangeLoopMcs has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/AutoEventDecompiler.cs"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"92a53152a5f169d66f550c9eaef182b68f390d357eee62c453ebe0e04eed89ab"}},{"ruleId":"D1","level":"warning","message":{"text":"CSharpDecompiler.DecompileBody (cyclomatic 18): CSharpDecompiler.DecompileBody has cyclomatic complexity 18 (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":"ICSharpCode.Decompiler/CSharp/CSharpDecompiler.cs"},"region":{"startLine":2371}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd192c67803021e145f7550624e31a9ced03f1d06c3923265b0026c513054833"}},{"ruleId":"D1","level":"warning","message":{"text":"CSharpConversions.ImplicitConstantExpressionConversion (cyclomatic 18): CSharpConversions.ImplicitConstantExpressionConversion has cyclomatic complexity 18 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/Resolver/CSharpConversions.cs"},"region":{"startLine":804}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a12283c3825dfea900f565dd5d45e4a58958fd26af964af6b255f63a1665066"}},{"ruleId":"D1","level":"warning","message":{"text":"SequencePointBuilder.GetSequencePoints (cyclomatic 18): SequencePointBuilder.GetSequencePoints has cyclomatic complexity 18 (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":"ICSharpCode.Decompiler/CSharp/SequencePointBuilder.cs"},"region":{"startLine":568}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1638d47bc751d930ddff9c7b46abbbd18f78cf804ce789386a2f099c5516b3a"}},{"ruleId":"D1","level":"warning","message":{"text":"TypeSystemAstBuilder.ConvertNamespace (cyclomatic 18): TypeSystemAstBuilder.ConvertNamespace has cyclomatic complexity 18 (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":"ICSharpCode.Decompiler/CSharp/Syntax/TypeSystemAstBuilder.cs"},"region":{"startLine":663}}}],"partialFingerprints":{"codehealthFindingId/v1":"5418d88cf22740f2204f4d0b70861fdd8322f2d516777f827054b3d53b415c50"}},{"ruleId":"D1","level":"warning","message":{"text":"TypeSystemAstBuilder.ConvertConstantValue (cyclomatic 18): TypeSystemAstBuilder.ConvertConstantValue has cyclomatic complexity 18 (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":"ICSharpCode.Decompiler/CSharp/Syntax/TypeSystemAstBuilder.cs"},"region":{"startLine":1007}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d6a505afb7ed0b3a0811d8ea78d0ac4e337387b375ee54d62878795635cbe57"}},{"ruleId":"D1","level":"warning","message":{"text":"TypeSystemAstBuilder.IsSpecialConstant (cyclomatic 18): TypeSystemAstBuilder.IsSpecialConstant has cyclomatic complexity 18 (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":"ICSharpCode.Decompiler/CSharp/Syntax/TypeSystemAstBuilder.cs"},"region":{"startLine":1177}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f29c2c2b232938c43c4597d08d78d5e6048f527f05e96ae258b52c6ce22e199"}},{"ruleId":"D1","level":"warning","message":{"text":"TypeSystemAstBuilder.ConvertMethod (cyclomatic 18): TypeSystemAstBuilder.ConvertMethod has cyclomatic complexity 18 (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":"ICSharpCode.Decompiler/CSharp/Syntax/TypeSystemAstBuilder.cs"},"region":{"startLine":2502}}}],"partialFingerprints":{"codehealthFindingId/v1":"73794c43ec95fc93c0889db7318b27cb252324d286dc90452d274a92c462a45f"}},{"ruleId":"D1","level":"warning","message":{"text":"AsyncAwaitDecompiler.CheckSetResultReturnBlock (cyclomatic 18): AsyncAwaitDecompiler.CheckSetResultReturnBlock has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/ControlFlow/AsyncAwaitDecompiler.cs"},"region":{"startLine":905}}}],"partialFingerprints":{"codehealthFindingId/v1":"be0f3a92dac405e466e7363a5445289c0c9ba8572298cb99b6f2776b04538709"}},{"ruleId":"D1","level":"warning","message":{"text":"DetectPinnedRegions.IsNullSafeArrayToPointerPattern (cyclomatic 18): DetectPinnedRegions.IsNullSafeArrayToPointerPattern has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/ControlFlow/DetectPinnedRegions.cs"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"874ed1e6156fd2e29e57e63367ebc7573b8a2b2ca3827e95ab245dc75e32e8d9"}},{"ruleId":"D1","level":"warning","message":{"text":"RuntimeAsyncExceptionRewriteTransform.Run (cyclomatic 18): RuntimeAsyncExceptionRewriteTransform.Run has cyclomatic complexity 18 (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":"ICSharpCode.Decompiler/IL/ControlFlow/RuntimeAsyncExceptionRewriteTransform.cs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"21feb73a54e49b052234f0d50fb08b2077b1ba8ec41451ca1cbad2e0dd87aef2"}},{"ruleId":"D1","level":"warning","message":{"text":"YieldReturnDecompiler.TranslateFieldsToLocalAccess (cyclomatic 18): YieldReturnDecompiler.TranslateFieldsToLocalAccess has cyclomatic complexity 18 (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":"ICSharpCode.Decompiler/IL/ControlFlow/YieldReturnDecompiler.cs"},"region":{"startLine":1151}}}],"partialFingerprints":{"codehealthFindingId/v1":"8db48673d8b6f2b256f6e8ee8979c1300c613db0024114f6950c22229eb9dca7"}},{"ruleId":"D1","level":"warning","message":{"text":"YieldReturnDecompiler.CleanSkipFinallyBodies (cyclomatic 18): YieldReturnDecompiler.CleanSkipFinallyBodies has cyclomatic complexity 18 (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":"ICSharpCode.Decompiler/IL/ControlFlow/YieldReturnDecompiler.cs"},"region":{"startLine":1409}}}],"partialFingerprints":{"codehealthFindingId/v1":"33f0371382bba425335480ecad656a65ab740bee0732ba5ec5ecdc052f476800"}},{"ruleId":"D1","level":"warning","message":{"text":"AssignVariableNames.GetNameFromInstruction (cyclomatic 18): AssignVariableNames.GetNameFromInstruction has cyclomatic complexity 18 (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":"ICSharpCode.Decompiler/IL/Transforms/AssignVariableNames.cs"},"region":{"startLine":730}}}],"partialFingerprints":{"codehealthFindingId/v1":"fba41b02aad28233953e6d875f4ad8af283812872ed49d557b6823bdb2ad5a57"}},{"ruleId":"D1","level":"warning","message":{"text":"CachedDelegateInitialization.CachedDelegateInitializationWithLocal (cyclomatic 18): CachedDelegateInitialization.CachedDelegateInitializationWithLocal has cyclomatic complexity 18 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/CachedDelegateInitialization.cs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d17f0b542156861252fe70b7b132536b93bc6a4d4ce076301d1478ec2dab2d0"}},{"ruleId":"D1","level":"warning","message":{"text":"CachedDelegateInitialization.CachedDelegateInitializationRoslynInStaticWithLocal (cyclomatic 18): CachedDelegateInitialization.CachedDelegateInitializationRoslynInStaticWithLocal has cyclomatic complexity 18 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: one other method here (CachedDelegateInitialization.CachedDelegateInitializationRoslynWithLocal) 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":"ICSharpCode.Decompiler/IL/Transforms/CachedDelegateInitialization.cs"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fee4962bd6ea944ac277431e6ea9f67e56441418ce01487085cee78dba596f2"}},{"ruleId":"D1","level":"warning","message":{"text":"CachedDelegateInitialization.CachedDelegateInitializationRoslynWithLocal (cyclomatic 18): CachedDelegateInitialization.CachedDelegateInitializationRoslynWithLocal has cyclomatic complexity 18 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: one other method here (CachedDelegateInitialization.CachedDelegateInitializationRoslynInStaticWithLocal) 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":"ICSharpCode.Decompiler/IL/Transforms/CachedDelegateInitialization.cs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d636ab56ab4e7176c8eafb1ac81fbecd84fc1623b6825c586cb1fdc898293fc"}},{"ruleId":"D1","level":"warning","message":{"text":"IndexMethods.IndexMethods.ctor (cyclomatic 18): IndexMethods.IndexMethods.ctor has cyclomatic complexity 18 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. 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":"ICSharpCode.Decompiler/IL/Transforms/IndexRangeTransform.cs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b9b00074880162746701a2fca0992a4f313a1fd54e784bf193ff42ea4ae10cb"}},{"ruleId":"D1","level":"warning","message":{"text":"IntroduceDynamicTypeOnLocals.Run (cyclomatic 18): IntroduceDynamicTypeOnLocals.Run has cyclomatic complexity 18 (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":"ICSharpCode.Decompiler/IL/Transforms/IntroduceDynamicTypeOnLocals.cs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7fbf41bbe330cb15916dea273e007d2934047fcec68412646b1163bc387a5ea"}},{"ruleId":"D1","level":"warning","message":{"text":"NullableLiftingTransform.LiftNormal (cyclomatic 18): NullableLiftingTransform.LiftNormal has cyclomatic complexity 18 (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":"ICSharpCode.Decompiler/IL/Transforms/NullableLiftingTransform.cs"},"region":{"startLine":771}}}],"partialFingerprints":{"codehealthFindingId/v1":"417edaf0b3370d31e0c20e7fd56123b63ccb2d377961f3d112b24af05d782c02"}},{"ruleId":"D1","level":"warning","message":{"text":"SwitchOnStringTransform.ExtractStringValuesFromInitBlock (cyclomatic 18): SwitchOnStringTransform.ExtractStringValuesFromInitBlock has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/SwitchOnStringTransform.cs"},"region":{"startLine":797}}}],"partialFingerprints":{"codehealthFindingId/v1":"5796ad3828b9e4d2f5031c70180afbe12614aca107ced0fdcc4091665527b8ee"}},{"ruleId":"D1","level":"warning","message":{"text":"TransformArrayInitializers.HandleCpblkInitializer (cyclomatic 18): TransformArrayInitializers.HandleCpblkInitializer has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/TransformArrayInitializers.cs"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7833296e1be8a6515151da633afb44a6c1e57948c92f8623fd73d0f2ab1ff17"}},{"ruleId":"D1","level":"warning","message":{"text":"TransformAssignment.IsCompoundStore (cyclomatic 18): TransformAssignment.IsCompoundStore has cyclomatic complexity 18 (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":"ICSharpCode.Decompiler/IL/Transforms/TransformAssignment.cs"},"region":{"startLine":691}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c04a57cbdbbceec24b31943f88166aa7900c0dce1c9da8f28958aa2ae3e3d2f"}},{"ruleId":"D1","level":"warning","message":{"text":"UsingTransform.TransformUsing (cyclomatic 18): UsingTransform.TransformUsing has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/UsingTransform.cs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"828aacedb74cf09862bee24a3a2d063cf2bb9cd23cd049e1a6c1e1a74d8d7d94"}},{"ruleId":"D1","level":"warning","message":{"text":"TextTokenWriter.GetCurrentLocalDefinition (cyclomatic 18): TextTokenWriter.GetCurrentLocalDefinition has cyclomatic complexity 18 (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":"ICSharpCode.Decompiler/Output/TextTokenWriter.cs"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"b271f369d88103850ac527c1a9b83794fcf6f8e2466be985199d1cdfedfa79bd"}},{"ruleId":"D1","level":"warning","message":{"text":"MetadataTypeDefinition.GetFilteredAccessors (cyclomatic 18): MetadataTypeDefinition.GetFilteredAccessors has cyclomatic complexity 18 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/TypeSystem/Implementation/MetadataTypeDefinition.cs"},"region":{"startLine":757}}}],"partialFingerprints":{"codehealthFindingId/v1":"3780665fe2faf04ef338e6ab90ee15157b34589491cae45a479a70304ae51553"}},{"ruleId":"D1","level":"warning","message":{"text":"CompareEngine.CreateEntityTree (cyclomatic 18): CompareEngine.CreateEntityTree has cyclomatic complexity 18 (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":"ILSpy/CompareEngine.cs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"80eb4677e24ec78163d3b0e61aed7cb0b093875d10fadddd6e3c7b6e971c82bf"}},{"ruleId":"D1","level":"warning","message":{"text":"SelectCtorTransform.Run (cyclomatic 18): SelectCtorTransform.Run has cyclomatic complexity 18 (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":"ILSpy/Languages/CSharpLanguage.cs"},"region":{"startLine":664}}}],"partialFingerprints":{"codehealthFindingId/v1":"73dbd7ebb9809a54e3360bb8fd4533819046f4b3a7eba1bb856f18ec11d4b42a"}},{"ruleId":"D1","level":"warning","message":{"text":"DecompilerTextView.GetLineForBookmark (cyclomatic 18): DecompilerTextView.GetLineForBookmark has cyclomatic complexity 18 (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":"ILSpy/TextView/DecompilerTextView.axaml.cs"},"region":{"startLine":1072}}}],"partialFingerprints":{"codehealthFindingId/v1":"24db4f4eb51a46b6deb8196ec3bbf4f3d32c46bf75e321712abeff9b43ff63ec"}},{"ruleId":"D1","level":"warning","message":{"text":"AssemblyTreeNode.LoadChildren (cyclomatic 18): AssemblyTreeNode.LoadChildren has cyclomatic complexity 18 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/TreeNodes/AssemblyTreeNode.cs"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f0600d59f9db132fe235d8dd9c861bb2df6cb891738ee26c1660e1b3f3b2129"}},{"ruleId":"D1","level":"warning","message":{"text":"AutoEventDecompiler.MatchCompareExchangeLoop (cyclomatic 17): AutoEventDecompiler.MatchCompareExchangeLoop has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/AutoEventDecompiler.cs"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"f10fe907b3eebe61804f1149ea596dccf7885435e7c919a6b5104c39a6796b87"}},{"ruleId":"D1","level":"warning","message":{"text":"CallBuilder.HandleAccessorCall (cyclomatic 17): CallBuilder.HandleAccessorCall 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/CallBuilder.cs"},"region":{"startLine":1509}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f35cadab5dc1d45e6f853c978d2315e799bf83e8927873e5a1a22413aa17992"}},{"ruleId":"D1","level":"warning","message":{"text":"CSharpDecompiler.DetectBestEnumValueDisplayMode (cyclomatic 17): CSharpDecompiler.DetectBestEnumValueDisplayMode 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/CSharpDecompiler.cs"},"region":{"startLine":2170}}}],"partialFingerprints":{"codehealthFindingId/v1":"e978ce09726208170eae5763bc1ed3adc96fffa98f33828ead77db7c58fd984e"}},{"ruleId":"D1","level":"warning","message":{"text":"CSharpDecompiler.DoDecompile (cyclomatic 17): CSharpDecompiler.DoDecompile 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/CSharpDecompiler.cs"},"region":{"startLine":2687}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b2cb0624141cc78647f9fef00f1032945c50e5defe83660e3ed277a26c1c19f"}},{"ruleId":"D1","level":"warning","message":{"text":"ExpressionBuilder.VisitComp (cyclomatic 17): ExpressionBuilder.VisitComp 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 is NOT this file\u0027s highest cyclomatic complexity: ExpressionBuilder.VisitDynamicBinaryOperatorInstruction (cyclomatic 35) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/ExpressionBuilder.cs"},"region":{"startLine":910}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2eeac7bc2747d05bb4b37a4bdb0661b384e93118cd1a57aa3c7d5aee4a21505"}},{"ruleId":"D1","level":"warning","message":{"text":"ExpressionBuilder.HandlePointerArithmetic (cyclomatic 17): ExpressionBuilder.HandlePointerArithmetic has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This is NOT this file\u0027s highest cyclomatic complexity: ExpressionBuilder.VisitDynamicBinaryOperatorInstruction (cyclomatic 35) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/ExpressionBuilder.cs"},"region":{"startLine":1355}}}],"partialFingerprints":{"codehealthFindingId/v1":"2409f3a9988432e1e23e0c9456bc4539662a95702189fbb1aec203ea0da6f0b3"}},{"ruleId":"D1","level":"warning","message":{"text":"ExpressionBuilder.HandleShift (cyclomatic 17): ExpressionBuilder.HandleShift 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 is NOT this file\u0027s highest cyclomatic complexity: ExpressionBuilder.VisitDynamicBinaryOperatorInstruction (cyclomatic 35) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/ExpressionBuilder.cs"},"region":{"startLine":1941}}}],"partialFingerprints":{"codehealthFindingId/v1":"377b1901209b0d736e7bb7bb7f6eb9701cdeab6b42832594952ddbaa7c84481f"}},{"ruleId":"D1","level":"warning","message":{"text":"ExpressionBuilder.AdjustConstantToType (cyclomatic 17): ExpressionBuilder.AdjustConstantToType has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This is NOT this file\u0027s highest cyclomatic complexity: ExpressionBuilder.VisitDynamicBinaryOperatorInstruction (cyclomatic 35) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/ExpressionBuilder.cs"},"region":{"startLine":4103}}}],"partialFingerprints":{"codehealthFindingId/v1":"567ad0135f3fe1f62fea0987e7fd7799faa6c3363966b332c526618736894cbc"}},{"ruleId":"D1","level":"warning","message":{"text":"CSharpOutputVisitor.VisitTypeDeclaration (cyclomatic 17): CSharpOutputVisitor.VisitTypeDeclaration 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 is NOT this file\u0027s highest cyclomatic complexity: CSharpOutputVisitor.VisitBinaryOperatorExpression (cyclomatic 24) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/OutputVisitor/CSharpOutputVisitor.cs"},"region":{"startLine":1596}}}],"partialFingerprints":{"codehealthFindingId/v1":"c89a6d75570ea9440329650fb231efe18cdf550a7cef0e90d6394f68b2c01549"}},{"ruleId":"D1","level":"warning","message":{"text":"PatternStatementTransform.TransformFieldBackedProperty (cyclomatic 17): PatternStatementTransform.TransformFieldBackedProperty 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/Transforms/PatternStatementTransform.cs"},"region":{"startLine":852}}}],"partialFingerprints":{"codehealthFindingId/v1":"681b63703a27475a57824cb432a051af13f8c8777bb4fbbe2a33e5de69fdc3e7"}},{"ruleId":"D1","level":"warning","message":{"text":"ILStructure.ILStructure.ctor (cyclomatic 17): ILStructure.ILStructure.ctor has cyclomatic complexity 17 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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":"ICSharpCode.Decompiler/Disassembler/ILStructure.cs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"4655a19d0f303a2e93bfdd3f45c37d5f4a7176afdc8e14d15caa6fb173698c7f"}},{"ruleId":"D1","level":"warning","message":{"text":"IdStringProvider.AppendTypeName (cyclomatic 17): IdStringProvider.AppendTypeName 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 is NOT this file\u0027s highest cyclomatic complexity: IdStringSignatureTypeProvider.GetPrimitiveType (cyclomatic 20) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/Documentation/IdStringProvider.cs"},"region":{"startLine":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"288f5cf780423df2d530dcfd2f5592850c65d0a4822944e9b4e1babbf67ef4f3"}},{"ruleId":"D1","level":"warning","message":{"text":"AsyncAwaitDecompiler.MatchVisualBasicStateMachineFieldAssignements (cyclomatic 17): AsyncAwaitDecompiler.MatchVisualBasicStateMachineFieldAssignements has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/ControlFlow/AsyncAwaitDecompiler.cs"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"05694b696686d091b3734dded2e3ef24448da1efd52bf5d0ed8342026dc1fa08"}},{"ruleId":"D1","level":"warning","message":{"text":"RuntimeAsyncExceptionRewriteTransform.MatchIfChainDispatch (cyclomatic 17): RuntimeAsyncExceptionRewriteTransform.MatchIfChainDispatch 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/ControlFlow/RuntimeAsyncExceptionRewriteTransform.cs"},"region":{"startLine":859}}}],"partialFingerprints":{"codehealthFindingId/v1":"c861b8d72140f7fc3197f48c2e58afe186c638d319025b2deea7991385f750ca"}},{"ruleId":"D1","level":"warning","message":{"text":"SwitchDetection.InlineSwitchExpressionDefaultCaseThrowHelper (cyclomatic 17): SwitchDetection.InlineSwitchExpressionDefaultCaseThrowHelper has cyclomatic complexity 17 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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":"ICSharpCode.Decompiler/IL/ControlFlow/SwitchDetection.cs"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bd6b34ca1e38d1c65ef23cbd79d125efce1e2cf5feb4304c26a80ed9ffa56b3"}},{"ruleId":"D1","level":"warning","message":{"text":"YieldReturnDecompiler.ConstructExceptionTable (cyclomatic 17): YieldReturnDecompiler.ConstructExceptionTable has cyclomatic complexity 17 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/ControlFlow/YieldReturnDecompiler.cs"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a0317bdf4741e9541888c6f2d34d7ba5898e222b82f18d24ab2de9f92c9f1e8"}},{"ruleId":"D1","level":"warning","message":{"text":"YieldReturnDecompiler.ReconstructTryFinallyBlocks (cyclomatic 17): YieldReturnDecompiler.ReconstructTryFinallyBlocks 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/ControlFlow/YieldReturnDecompiler.cs"},"region":{"startLine":1247}}}],"partialFingerprints":{"codehealthFindingId/v1":"65d1f96882bae55500eb51412b8c045d3295310da98837fe76d0358b6a32a058"}},{"ruleId":"D1","level":"warning","message":{"text":"ILReader.ReadBlock (cyclomatic 17): ILReader.ReadBlock 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 is NOT this file\u0027s highest cyclomatic complexity: ILReader.DecodeInstruction (cyclomatic 221) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/ILReader.cs"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"d005a2165bddbf2bdaadf88be6faa7eb29707c43cb9113cd484b5bd5fdf71086"}},{"ruleId":"D1","level":"warning","message":{"text":"CachedReadOnlySpanInitialization.DoTransform (cyclomatic 17): CachedReadOnlySpanInitialization.DoTransform has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/CachedReadOnlySpanInitialization.cs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"89d8135f4576c07a4aa234d611bd2f4bef63bfe5e36b10da6efafde93e7eed21"}},{"ruleId":"D1","level":"warning","message":{"text":"CopyPropagation.CanPerformCopyPropagation (cyclomatic 17): CopyPropagation.CanPerformCopyPropagation has cyclomatic complexity 17 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/CopyPropagation.cs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"21678871968e558421cf718bbbaae1a7c6b1feb1e0e760f403dd2cdb7bbb1f9a"}},{"ruleId":"D1","level":"warning","message":{"text":"DelegateConstruction.TryUnwrapVisualBasicDelegateWrapper (cyclomatic 17): DelegateConstruction.TryUnwrapVisualBasicDelegateWrapper 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/DelegateConstruction.cs"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8a7b1d2261acbb55b2a4cf1de1f9a0f76c2ce06eb87b3fd673de739ebd9946b"}},{"ruleId":"D1","level":"warning","message":{"text":"HighLevelLoopTransform.MatchForLoop (cyclomatic 17): HighLevelLoopTransform.MatchForLoop 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/HighLevelLoopTransform.cs"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c7cf66435ff6c890a53c44fe535387f54a77d4896dcea2a3f5cfede5db7c3dd"}},{"ruleId":"D1","level":"warning","message":{"text":"InterpolatedStringTransform.IsKnownCall (cyclomatic 17): InterpolatedStringTransform.IsKnownCall has cyclomatic complexity 17 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/InterpolatedStringTransform.cs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"8934a380e183b626438a0fcc1fb34a1ad3cd8242e13aa0311fcb2d9e116a3c50"}},{"ruleId":"D1","level":"warning","message":{"text":"NamedArgumentTransform.CanIntroduceNamedArgument (cyclomatic 17): NamedArgumentTransform.CanIntroduceNamedArgument 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/NamedArgumentTransform.cs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"138ad713fed95b414b3af2006ff8ce327c702915784e0723a0014eec2b511c51"}},{"ruleId":"D1","level":"warning","message":{"text":"NullCoalescingTransform.TransformRefTypes (cyclomatic 17): NullCoalescingTransform.TransformRefTypes has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/NullCoalescingTransform.cs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"89f0aa5ec96f2b41a504e24cd9f786ca8a2cee5dd9da32f1847ed4f95e96d730"}},{"ruleId":"D1","level":"warning","message":{"text":"NullPropagationTransform.TransformNullPropagationOnUnconstrainedGenericExpression (cyclomatic 17): NullPropagationTransform.TransformNullPropagationOnUnconstrainedGenericExpression has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/NullPropagationTransform.cs"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2f9e6e48f14a1bf816186b1c34766d66741388f63140a0d8c78592d3b475ad7"}},{"ruleId":"D1","level":"warning","message":{"text":"SwitchOnStringTransform.ScanHashtableInitializerBlocks (cyclomatic 17): SwitchOnStringTransform.ScanHashtableInitializerBlocks 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/SwitchOnStringTransform.cs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ce597c84b4413c36c45ba5b29bc43f3270a32443ce32abb9e19a664fd47dd41"}},{"ruleId":"D1","level":"warning","message":{"text":"SwitchOnStringTransform.MatchRoslynEmptyStringCaseBlockHead (cyclomatic 17): SwitchOnStringTransform.MatchRoslynEmptyStringCaseBlockHead has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/SwitchOnStringTransform.cs"},"region":{"startLine":1654}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d089ddd42737269d25a4f519fcef5b913051806692292c5f8d97030bd9e0dc8"}},{"ruleId":"D1","level":"warning","message":{"text":"TransformDisplayClassUsage.HandleMonoStateMachine (cyclomatic 17): TransformDisplayClassUsage.HandleMonoStateMachine has cyclomatic complexity 17 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/TransformDisplayClassUsage.cs"},"region":{"startLine":711}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbb714b3f7b47a58940b88e1ea17800d569f194271f62f397b28590c04eb02aa"}},{"ruleId":"D1","level":"warning","message":{"text":"UsingTransform.MatchNullCheckOrTypeCheck (cyclomatic 17): UsingTransform.MatchNullCheckOrTypeCheck 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/UsingTransform.cs"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"0821b43684b2ce6d6f356973ff41627ca8953703024282f07b313d147f634c06"}},{"ruleId":"D1","level":"warning","message":{"text":"FunctionPointerType.FromSignature (cyclomatic 17): FunctionPointerType.FromSignature 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/TypeSystem/FunctionPointerType.cs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfbd771cdb2945f1acac1c852e8e39f7656a80ec1b7468c130d52c0d8253a2b2"}},{"ruleId":"D1","level":"warning","message":{"text":"MetadataTypeDefinition.GetAttributes (cyclomatic 17): MetadataTypeDefinition.GetAttributes 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/TypeSystem/Implementation/MetadataTypeDefinition.cs"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"b82bda13b3f6523be2969e853447d08a3494c216767e78a6c8c709566c86dc67"}},{"ruleId":"D1","level":"warning","message":{"text":"MetadataModule.GuessFakeMethodAccessor (cyclomatic 17): MetadataModule.GuessFakeMethodAccessor 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/TypeSystem/MetadataModule.cs"},"region":{"startLine":720}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ff90c6af01ccc786a3413f80810bba0642e19af1332bdba1b9f43fd7aa23f5b"}},{"ruleId":"D1","level":"warning","message":{"text":"DockWorkspace.OnAssemblyListChanged (cyclomatic 17): DockWorkspace.OnAssemblyListChanged 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Docking/DockWorkspace.cs"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdf0e50034309404f96223ff6f812a45f6fe6719961f47824449540004e276ad"}},{"ruleId":"D1","level":"warning","message":{"text":"MetadataColumnBuilder.BuildHeader (cyclomatic 17): MetadataColumnBuilder.BuildHeader has cyclomatic complexity 17 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Metadata/MetadataColumnBuilder.cs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"fea0b3450cf81573479634e616fd4b001cc33bf7a1091c99105e327574431a73"}},{"ruleId":"D1","level":"warning","message":{"text":"DecompilerTabPageModel.DecompileAsync (cyclomatic 17): DecompilerTabPageModel.DecompileAsync has cyclomatic complexity 17 (threshold 15). Of this number, 9 points are the body\u0027s own statements and 8 belong to 2 function literals inside it that branch. 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":"ILSpy/TextView/DecompilerTabPageModel.cs"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"f43cc456f5816dae0f27f62f81f72841ee3d96fa044f0e771da227f75884d3ec"}},{"ruleId":"D1","level":"warning","message":{"text":"MainMenu.AppendTabSection (cyclomatic 17): MainMenu.AppendTabSection has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 7 of the 17 points are its own statements and the rest belongs to one function literal inside it that branches (line 441). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Views/MainMenu.axaml.cs"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"17e6c1d40eb3923f06d877cffffef095af212c61cf589aab107c4308bb807bd2"}},{"ruleId":"D1","level":"warning","message":{"text":"PropertyWithExtensionHandler.Translate (cyclomatic 16): PropertyWithExtensionHandler.Translate has cyclomatic complexity 16 (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":"ICSharpCode.BamlDecompiler/Handlers/Records/PropertyWithExtensionHandler.cs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b6972e5e84fea514461724969cd039308fcb45523fd6004ae438c2ca0b181c2"}},{"ruleId":"D1","level":"warning","message":{"text":"CallBuilder.TokenizeFormatString (cyclomatic 16): CallBuilder.TokenizeFormatString has cyclomatic complexity 16 (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":"ICSharpCode.Decompiler/CSharp/CallBuilder.cs"},"region":{"startLine":942}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f0b4f5c4c5cb68e6dbe48d531c13651dddded21786d2a1a2885fb41c404d901"}},{"ruleId":"D1","level":"warning","message":{"text":"ExpressionBuilder.HandlePointerSubtraction (cyclomatic 16): ExpressionBuilder.HandlePointerSubtraction has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This is NOT this file\u0027s highest cyclomatic complexity: ExpressionBuilder.VisitDynamicBinaryOperatorInstruction (cyclomatic 35) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/ExpressionBuilder.cs"},"region":{"startLine":1600}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb62daea7d6abd0b500d6510fe5f23302312c171af7185be501ccf43d139e06c"}},{"ruleId":"D1","level":"warning","message":{"text":"ExpressionBuilder.TranslateSwitchValue (cyclomatic 16): ExpressionBuilder.TranslateSwitchValue has cyclomatic complexity 16 (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 is NOT this file\u0027s highest cyclomatic complexity: ExpressionBuilder.VisitDynamicBinaryOperatorInstruction (cyclomatic 35) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/ExpressionBuilder.cs"},"region":{"startLine":4293}}}],"partialFingerprints":{"codehealthFindingId/v1":"60ed539fca6aa93d2a768983594325c4e33d2338533f90a7503b20c919301b91"}},{"ruleId":"D1","level":"warning","message":{"text":"CSharpOutputVisitor.VisitIndexerDeclaration (cyclomatic 16): CSharpOutputVisitor.VisitIndexerDeclaration has cyclomatic complexity 16 (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 is NOT this file\u0027s highest cyclomatic complexity: CSharpOutputVisitor.VisitBinaryOperatorExpression (cyclomatic 24) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/OutputVisitor/CSharpOutputVisitor.cs"},"region":{"startLine":2527}}}],"partialFingerprints":{"codehealthFindingId/v1":"28dcdf586cf3d5f5461e0aec3e1efca0e153bd5177e25af6f9eb2d0173d26f26"}},{"ruleId":"D1","level":"warning","message":{"text":"InsertRequiredSpacesDecorator.WriteToken (cyclomatic 16): InsertRequiredSpacesDecorator.WriteToken has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/OutputVisitor/InsertRequiredSpacesDecorator.cs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"37f0508e0a517d01809cf15b904a7bb0e3570dda6d202ce45a00b9847f03480e"}},{"ruleId":"D1","level":"warning","message":{"text":"CSharpConversions.StandardImplicitConversion (cyclomatic 16): CSharpConversions.StandardImplicitConversion has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/Resolver/CSharpConversions.cs"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"c258f452cf42f8470fd8a17e49440e6fe6e1274a75b6170cfcf9b72f736728fa"}},{"ruleId":"D1","level":"warning","message":{"text":"CSharpConversions.ImplicitNumericConversion (cyclomatic 16): CSharpConversions.ImplicitNumericConversion has cyclomatic complexity 16 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/Resolver/CSharpConversions.cs"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3bdd736b883682a0657994a8a09e2ec7999ffaf8a2b8cc2ad5c16f0bbed1b82"}},{"ruleId":"D1","level":"warning","message":{"text":"CSharpConversions.UserDefinedImplicitConversion (cyclomatic 16): CSharpConversions.UserDefinedImplicitConversion has cyclomatic complexity 16 (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":"ICSharpCode.Decompiler/CSharp/Resolver/CSharpConversions.cs"},"region":{"startLine":1010}}}],"partialFingerprints":{"codehealthFindingId/v1":"02ce3a86ea85c9b49e4ce77438d9eb58c7ad17bd024c9365711df864f7e3d6ba"}},{"ruleId":"D1","level":"warning","message":{"text":"MemberLookup.Lookup (cyclomatic 16): MemberLookup.Lookup has cyclomatic complexity 16 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. 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":"ICSharpCode.Decompiler/CSharp/Resolver/MemberLookup.cs"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"6239f9dea1ddc7f2a814e585c86f739bdf94a221b928775021208f48569a1902"}},{"ruleId":"D1","level":"warning","message":{"text":"OverloadResolution.ValidateConstraints (cyclomatic 16): OverloadResolution.ValidateConstraints has cyclomatic complexity 16 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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":"ICSharpCode.Decompiler/CSharp/Resolver/OverloadResolution.cs"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"302d5ffe62a44fecd944a2d0c23db4044ffb3801cd3686e5f2acad6d39769a7a"}},{"ruleId":"D1","level":"warning","message":{"text":"StatementBuilder.CanBeDeconstructedInForeach (cyclomatic 16): StatementBuilder.CanBeDeconstructedInForeach has cyclomatic complexity 16 (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":"ICSharpCode.Decompiler/CSharp/StatementBuilder.cs"},"region":{"startLine":1124}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3f1859b6c285255514e31b1e26a66b6cb5caa538663b4272a98ef8f32c9d2e7"}},{"ruleId":"D1","level":"warning","message":{"text":"TranslatedExpression.ConvertToBoolean (cyclomatic 16): TranslatedExpression.ConvertToBoolean has cyclomatic complexity 16 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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":"ICSharpCode.Decompiler/CSharp/TranslatedExpression.cs"},"region":{"startLine":750}}}],"partialFingerprints":{"codehealthFindingId/v1":"975e64b90f12fa0fb0d6230d6c702273485df62fae3fc4ee2bec2a404fe8feb0"}},{"ruleId":"D1","level":"warning","message":{"text":"DisassemblerHelpers.EscapeString (cyclomatic 16): DisassemblerHelpers.EscapeString 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. This is NOT this file\u0027s highest cyclomatic complexity: DisassemblerHelpers.PrimitiveTypeName (cyclomatic 17) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/Disassembler/DisassemblerHelpers.cs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ced4e22ab6b51efeacc4a461138c1a09327f00de87bcf249f0658fdb085d6c1"}},{"ruleId":"D1","level":"warning","message":{"text":"ILStructure.AddNestedStructure (cyclomatic 16): ILStructure.AddNestedStructure has cyclomatic complexity 16 (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":"ICSharpCode.Decompiler/Disassembler/ILStructure.cs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"53085a13ee033fe3b4efc854d7320e4cc4fe33047eb8af1192eff1613d74ddbf"}},{"ruleId":"D1","level":"warning","message":{"text":"AsyncAwaitDecompiler.CleanUpBodyOfMoveNext (cyclomatic 16): AsyncAwaitDecompiler.CleanUpBodyOfMoveNext has cyclomatic complexity 16 (threshold 15). Of this number, 9 points are the body\u0027s own statements and 7 belong to 3 function literals inside it that branch. To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/ControlFlow/AsyncAwaitDecompiler.cs"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3cbb05493cf639e9046e5ce6f0ad2d96b2d675a637fb855c4e081de82142cab"}},{"ruleId":"D1","level":"warning","message":{"text":"DetectPinnedRegions.IsNullSafeArrayToPointerNotNullBlock (cyclomatic 16): DetectPinnedRegions.IsNullSafeArrayToPointerNotNullBlock has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/ControlFlow/DetectPinnedRegions.cs"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"f421ace9f3145c9f79035273f7c1614f54f779a59adb6322d0c02b9fde7a44d6"}},{"ruleId":"D1","level":"warning","message":{"text":"DetectPinnedRegions.ReplacePinnedVar (cyclomatic 16): DetectPinnedRegions.ReplacePinnedVar has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/ControlFlow/DetectPinnedRegions.cs"},"region":{"startLine":828}}}],"partialFingerprints":{"codehealthFindingId/v1":"2522de9d493da39f2d4f27f98bac4ea70d1a9a1160c57128174755b9938bc076"}},{"ruleId":"D1","level":"warning","message":{"text":"LoopDetection.FindExitPoint (cyclomatic 16): LoopDetection.FindExitPoint has cyclomatic complexity 16 (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":"ICSharpCode.Decompiler/IL/ControlFlow/LoopDetection.cs"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f9d01591d358e2cfeee1635500ed62b3863b79f632421f745258bb4db44a1b1"}},{"ruleId":"D1","level":"warning","message":{"text":"LoopDetection.PrepareReverseCFG (cyclomatic 16): LoopDetection.PrepareReverseCFG has cyclomatic complexity 16 (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":"ICSharpCode.Decompiler/IL/ControlFlow/LoopDetection.cs"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"53f604cc9aa23ddd77051ef371b746e4070da753837bdd99519730e257e0a1e3"}},{"ruleId":"D1","level":"warning","message":{"text":"RuntimeAsyncExceptionRewriteTransform.TryRewriteTryFinally (cyclomatic 16): RuntimeAsyncExceptionRewriteTransform.TryRewriteTryFinally has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/ControlFlow/RuntimeAsyncExceptionRewriteTransform.cs"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6d42aaf16498fbb723dfbe97cf757408ff203cc59a95db883f69471492d6cf7"}},{"ruleId":"D1","level":"warning","message":{"text":"DeconstructInstruction.CheckInvariant (cyclomatic 16): DeconstructInstruction.CheckInvariant has cyclomatic complexity 16 (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":"ICSharpCode.Decompiler/IL/Instructions/DeconstructInstruction.cs"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"c434c73b6db4071af790cb944e74ca14dce10db4265d9ebab3c30f6e10e6a3bd"}},{"ruleId":"D1","level":"warning","message":{"text":"ExpressionTransforms.TransformDynamicAddAssignOrRemoveAssign (cyclomatic 16): ExpressionTransforms.TransformDynamicAddAssignOrRemoveAssign has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/ExpressionTransforms.cs"},"region":{"startLine":755}}}],"partialFingerprints":{"codehealthFindingId/v1":"20e6f6043d3c01c18720a36168616452d0b6892e98d5f6bfafce6a1e7ab8cfd1"}},{"ruleId":"D1","level":"warning","message":{"text":"ExpressionTransforms.TransformCatchVariable (cyclomatic 16): ExpressionTransforms.TransformCatchVariable has cyclomatic complexity 16 (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":"ICSharpCode.Decompiler/IL/Transforms/ExpressionTransforms.cs"},"region":{"startLine":961}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1a54718d4e69677d11dbd62110af4f82fca8ce26d1a4adba0f39414ba99a517"}},{"ruleId":"D1","level":"warning","message":{"text":"ILInlining.IsGeneratedTemporaryForAddressOf (cyclomatic 16): ILInlining.IsGeneratedTemporaryForAddressOf has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/ILInlining.cs"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"f37162f9b050e1d55b9b150894e353147a77cefcc6c43fbc5d1886d25b0a1d35"}},{"ruleId":"D1","level":"warning","message":{"text":"RemoveDeadVariableInit.Run (cyclomatic 16): RemoveDeadVariableInit.Run has cyclomatic complexity 16 (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":"ICSharpCode.Decompiler/IL/Transforms/RemoveDeadVariableInit.cs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab5d0d6d61131d2014f976fc061d51d6d69de0b1312766d909dd0e4b01a43950"}},{"ruleId":"D1","level":"warning","message":{"text":"SwitchOnStringTransform.FindHashtableInitBlock (cyclomatic 16): SwitchOnStringTransform.FindHashtableInitBlock has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/SwitchOnStringTransform.cs"},"region":{"startLine":968}}}],"partialFingerprints":{"codehealthFindingId/v1":"d133664ba1e69b4938da9dcf3e23d1fba1bf194bc850bc8f7654f8054a2e4046"}},{"ruleId":"D1","level":"warning","message":{"text":"ApplyAttributeTypeVisitor.VisitParameterizedType (cyclomatic 16): ApplyAttributeTypeVisitor.VisitParameterizedType has cyclomatic complexity 16 (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":"ICSharpCode.Decompiler/TypeSystem/ApplyAttributeTypeVisitor.cs"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"b02175a98039c9ff579b69196fc6ab5d8e5264bfe7b16802932761132bb02efa"}},{"ruleId":"D1","level":"warning","message":{"text":"LoadedAssembly.LoadCoreAsync (cyclomatic 16): LoadedAssembly.LoadCoreAsync has cyclomatic complexity 16 (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":"ICSharpCode.ILSpyX/LoadedAssembly.cs"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dd077b8d325b31152895292e550cb132bf74dbacea3bca7132c9ab76531bee3"}},{"ruleId":"D1","level":"warning","message":{"text":"GuessFileType.IsUTF8 (cyclomatic 16): GuessFileType.IsUTF8 has cyclomatic complexity 16 (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":"ICSharpCode.ILSpyX/Util/GuessFileType.cs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1bae63fe775cbdb0243c8462cb30bf38c4c81aec6662e819defb0dff4dd8b25"}},{"ruleId":"D1","level":"warning","message":{"text":"CSharpHighlightingTokenWriter.GetCurrentMemberReference (cyclomatic 16): CSharpHighlightingTokenWriter.GetCurrentMemberReference has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This is NOT this file\u0027s highest cyclomatic complexity: CSharpHighlightingTokenWriter.WritePrimitiveType (cyclomatic 27) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Languages/CSharpHighlightingTokenWriter.cs"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"742b6473110951e7efba083262d103c86be637acf0c05b5e334a0494c238adfa"}},{"ruleId":"D2","level":"warning","message":{"text":"SwitchOnStringTransform.MatchRoslynSwitchOnStringUsingLengthAndChar (cognitive 172): SwitchOnStringTransform.MatchRoslynSwitchOnStringUsingLengthAndChar has cognitive complexity 172 (threshold 15). Of this number, 171 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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":"ICSharpCode.Decompiler/IL/Transforms/SwitchOnStringTransform.cs"},"region":{"startLine":1195}}}],"partialFingerprints":{"codehealthFindingId/v1":"4979d6c9315ca18dd6b09236cb6099d056467cace007f204f974d28463af80f8"}},{"ruleId":"D2","level":"warning","message":{"text":"DynamicCallSiteTransform.ScanCallSiteInitBlock (cognitive 162): DynamicCallSiteTransform.ScanCallSiteInitBlock has cognitive complexity 162 (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":"ICSharpCode.Decompiler/IL/Transforms/DynamicCallSiteTransform.cs"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"d25a0d86d5037a16244b12dcdcd812a85a724e4db663f81f3d53ac838c8af97c"}},{"ruleId":"D2","level":"warning","message":{"text":"TranslatedExpression.ConvertTo (cognitive 158): TranslatedExpression.ConvertTo has cognitive complexity 158 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/TranslatedExpression.cs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5d9ad1d467ff2193152ceb78c9262c2e4b0588109772273f22c837d65222156"}},{"ruleId":"D2","level":"warning","message":{"text":"UsingTransform.MatchDisposeCheck (cognitive 133): UsingTransform.MatchDisposeCheck has cognitive complexity 133 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/UsingTransform.cs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"1048bfc9d3ee1e1a80c182a3932d4083cfcaabae7363f9731c0d0cc6ca467ed0"}},{"ruleId":"D2","level":"warning","message":{"text":"CSharpResolver.ResolveBinaryOperator (cognitive 128): CSharpResolver.ResolveBinaryOperator has cognitive complexity 128 (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":"ICSharpCode.Decompiler/CSharp/Resolver/CSharpResolver.cs"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cc02c3514551515ba4299b2c04d69b0bacfc33757a125f6bada55a85eb4f9ce"}},{"ruleId":"D2","level":"warning","message":{"text":"CSharpDecompiler.MemberIsHidden (cognitive 125): CSharpDecompiler.MemberIsHidden has cognitive complexity 125 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/CSharpDecompiler.cs"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"84832ee8e64c05b8ba638daab0dda918f4e218e2be921d6b02b32108dffbd493"}},{"ruleId":"D2","level":"warning","message":{"text":"CSharpDecompiler.ReadCodeMappingInfo (cognitive 117): CSharpDecompiler.ReadCodeMappingInfo has cognitive complexity 117 (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":"ICSharpCode.Decompiler/CSharp/CSharpDecompiler.cs"},"region":{"startLine":1134}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f8f6c50c35c11ad278630679053afa4beba403e26214169692f6ad248f2f046"}},{"ruleId":"D2","level":"warning","message":{"text":"VariableScope.VariableScope.ctor (cognitive 115): VariableScope.VariableScope.ctor has cognitive complexity 115 (threshold 15). Of this number, 110 points are the body\u0027s own statements and 5 belong to 4 function items inside it that branch. To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/AssignVariableNames.cs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"c919a5ea07129709ff724a1f307dfa5606e60a905664ee7930e5ec87ea53ade3"}},{"ruleId":"D2","level":"warning","message":{"text":"CSharpDecompiler.DoDecompile (cognitive 111): CSharpDecompiler.DoDecompile has cognitive complexity 111 (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":"ICSharpCode.Decompiler/CSharp/CSharpDecompiler.cs"},"region":{"startLine":1821}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b92a7c7e795ff82c8fece7d632ee2c1661786de69a178537fa6a9d28717c9c7"}},{"ruleId":"D2","level":"warning","message":{"text":"RecordDecompiler.IsGeneratedEquals (cognitive 100): RecordDecompiler.IsGeneratedEquals has cognitive complexity 100 (threshold 15). Of this number, 99 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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":"ICSharpCode.Decompiler/CSharp/RecordDecompiler.cs"},"region":{"startLine":1084}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b455ad9ad4a4b4475b5e58bc1e8a5a9ac0a1fb256993bb741e561c2c0217d23"}},{"ruleId":"D2","level":"warning","message":{"text":"Lexer.ReadDigit (cognitive 100): Lexer.ReadDigit has cognitive complexity 100 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/Search/CSharpLexer.cs"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0f00dfc3a14c28a52146d2b41fa67df24c0e816df01f24255e45ed9ef39f38e"}},{"ruleId":"D2","level":"warning","message":{"text":"ILAmbience.ConvertSymbol (cognitive 99): ILAmbience.ConvertSymbol has cognitive complexity 99 (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":"ICSharpCode.Decompiler/IL/ILAmbience.cs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a59faee74cd248b3edaade4078d996a82f5e41ff7cd16dcb2b12c77825d96a9"}},{"ruleId":"D2","level":"warning","message":{"text":"IndexRangeTransform.Run (cognitive 98): IndexRangeTransform.Run has cognitive complexity 98 (threshold 15). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/IndexRangeTransform.cs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"a879b3195a987a3dfb4aba01b19edb28c6a67d65373ffc50622ed83f36cf96a1"}},{"ruleId":"D2","level":"warning","message":{"text":"RecordDecompiler.DetectPrimaryConstructor (cognitive 92): RecordDecompiler.DetectPrimaryConstructor has cognitive complexity 92 (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":"ICSharpCode.Decompiler/CSharp/RecordDecompiler.cs"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4dde2b4c1713e5d4fd76fb2a91a144d03edec3c8659fdc40b9ad239441119ce"}},{"ruleId":"D2","level":"warning","message":{"text":"ConstructorInitializerAnalyzer.Analyze (cognitive 91): ConstructorInitializerAnalyzer.Analyze has cognitive complexity 91 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/Transforms/TransformFieldAndConstructorInitializers.cs"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"54198889bcd5a5f97ba053cf8acbd53280b01a31f37e39145b80cedc8da25318"}},{"ruleId":"D2","level":"warning","message":{"text":"LiteralSearchStrategy.MethodIsLiteralMatch (cognitive 90): LiteralSearchStrategy.MethodIsLiteralMatch has cognitive complexity 90 (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":"ICSharpCode.ILSpyX/Search/LiteralSearchStrategy.cs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed5da0d199187578443001645c4b713c15a5a64626fc5fb4f16008667a748841"}},{"ruleId":"D2","level":"warning","message":{"text":"MethodBodyDisassembler.WriteInstruction (cognitive 88): MethodBodyDisassembler.WriteInstruction has cognitive complexity 88 (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":"ICSharpCode.Decompiler/Disassembler/MethodBodyDisassembler.cs"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e66a7ec1536c8b939f7870049ccfa3562c3814a936d70390b43e9a4cc8360dd"}},{"ruleId":"D2","level":"warning","message":{"text":"AwaitInCatchTransform.Run (cognitive 88): AwaitInCatchTransform.Run has cognitive complexity 88 (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":"ICSharpCode.Decompiler/IL/ControlFlow/AwaitInCatchTransform.cs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"89be0ef9b60f6ec81d10bcc033368f34dda40a133e5fda4d0f1d3117b96844b3"}},{"ruleId":"D2","level":"warning","message":{"text":"RecordDecompiler.IsGeneratedPrintMembers (cognitive 86): RecordDecompiler.IsGeneratedPrintMembers has cognitive complexity 86 (threshold 15). Of this number, 85 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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":"ICSharpCode.Decompiler/CSharp/RecordDecompiler.cs"},"region":{"startLine":837}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d1b394afb4c3c1a7d3cf832a747d81cff918ca0c3455dbceae5db37e4fb97b7"}},{"ruleId":"D2","level":"warning","message":{"text":"IntroduceQueryExpressions.DecompileQuery (cognitive 86): IntroduceQueryExpressions.DecompileQuery has cognitive complexity 86 (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":"ICSharpCode.Decompiler/CSharp/Transforms/IntroduceQueryExpressions.cs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dd9914851562333bbec601e7703033debb33d6110d79ba70e3f5107f66d421f"}},{"ruleId":"D2","level":"warning","message":{"text":"TransformArrayInitializers.HandleSimpleArrayInitializer (cognitive 86): TransformArrayInitializers.HandleSimpleArrayInitializer has cognitive complexity 86 (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":"ICSharpCode.Decompiler/IL/Transforms/TransformArrayInitializers.cs"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"5704215a04f3a9b9f1b2f7dcf8ff6dd9c8c4216cd57f1ee31dc374db1ca68b22"}},{"ruleId":"D2","level":"warning","message":{"text":"FileUtility.NormalizePath (cognitive 85): FileUtility.NormalizePath has cognitive complexity 85 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/Util/FileUtility.cs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"805900df6f66a526ab924e2bf80c7e08a52090ee68bc91cddf1ad698904351f8"}},{"ruleId":"D2","level":"warning","message":{"text":"TypeSystemAstBuilder.ConvertTypeHelper (cognitive 81): TypeSystemAstBuilder.ConvertTypeHelper has cognitive complexity 81 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/Syntax/TypeSystemAstBuilder.cs"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"62f83ca014484284683dff1cb698d14dab8609d0749c86c7ec40fcf740122b02"}},{"ruleId":"D2","level":"warning","message":{"text":"YieldReturnDecompiler.ConvertBody (cognitive 80): YieldReturnDecompiler.ConvertBody has cognitive complexity 80 (threshold 15). Of this number, 79 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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":"ICSharpCode.Decompiler/IL/ControlFlow/YieldReturnDecompiler.cs"},"region":{"startLine":855}}}],"partialFingerprints":{"codehealthFindingId/v1":"baf0d53f3f6f505623680655f6b7591dc4c222ec35a69d6dc225ba1047693bc3"}},{"ruleId":"D2","level":"warning","message":{"text":"CallBuilder.Build (cognitive 79): CallBuilder.Build has cognitive complexity 79 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/CallBuilder.cs"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"d14d1506a014b1fcb76a9295aeb7363ecf1c2eaa85ea862c88db1ffd401fd3b7"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncAwaitDecompiler.MatchTaskCreationPattern (cognitive 79): AsyncAwaitDecompiler.MatchTaskCreationPattern has cognitive complexity 79 (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":"ICSharpCode.Decompiler/IL/ControlFlow/AsyncAwaitDecompiler.cs"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"29a5755edc8c306e0e44ae731c32bfe381763cfa6be97827ac4907af3c4a3201"}},{"ruleId":"D2","level":"warning","message":{"text":"MemberLookup.AddMembers (cognitive 77): MemberLookup.AddMembers has cognitive complexity 77 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/Resolver/MemberLookup.cs"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a1ea81cd46f36373f4eb246612b7d9476c24d02f3d6216024e6391aeb2c8611"}},{"ruleId":"D2","level":"warning","message":{"text":"CSharpBracketSearcher.SearchBracketBackward (cognitive 77): CSharpBracketSearcher.SearchBracketBackward has cognitive complexity 77 (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":"ILSpy/Languages/CSharpBracketSearcher.cs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"1783a78d6d5b6b2da8679d9b171af2315e7031acd65101dced278aaa9ce4708b"}},{"ruleId":"D2","level":"warning","message":{"text":"CSharpBracketSearcher.SearchBracketForward (cognitive 76): CSharpBracketSearcher.SearchBracketForward has cognitive complexity 76 (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":"ILSpy/Languages/CSharpBracketSearcher.cs"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"009aa0d4a570c365a863a2d4e10d999188f6375dcaeec9fd13857f2548b77cb2"}},{"ruleId":"D2","level":"warning","message":{"text":"RemoveCompilerGeneratedAssemblyAttributes.Run (cognitive 75): RemoveCompilerGeneratedAssemblyAttributes.Run has cognitive complexity 75 (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":"ICSharpCode.Decompiler/CSharp/Transforms/EscapeInvalidIdentifiers.cs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"adb8deeddf1b4ae984e76d681dccbfe5810ad9d74134bc7bf339001ff491ba69"}},{"ruleId":"D2","level":"warning","message":{"text":"DeclareVariables.InsertVariableDeclarations (cognitive 74): DeclareVariables.InsertVariableDeclarations has cognitive complexity 74 (threshold 15). Of this number, 63 points are the body\u0027s own statements and 11 belong to one function literal inside it that branches. 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":"ICSharpCode.Decompiler/CSharp/Transforms/DeclareVariables.cs"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbfdb93fac9538b35b7bb8064dcd270043e40c0f2a4d06920513150623e2c442"}},{"ruleId":"D2","level":"warning","message":{"text":"NullableLiftingTransform.Lift (cognitive 74): NullableLiftingTransform.Lift has cognitive complexity 74 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/NullableLiftingTransform.cs"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"5510904e3c70128483fe991386e5b3d44dc912340b68634aea03bfc4f8114b06"}},{"ruleId":"D2","level":"warning","message":{"text":"CSharpResolver.LookupSimpleNameOrTypeName (cognitive 73): CSharpResolver.LookupSimpleNameOrTypeName has cognitive complexity 73 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/Resolver/CSharpResolver.cs"},"region":{"startLine":1430}}}],"partialFingerprints":{"codehealthFindingId/v1":"af0da97decfa2443b6b5ba259ec0d6bc47f7da02e14c8012b0a9871ad98d5865"}},{"ruleId":"D2","level":"warning","message":{"text":"DecompilerTypeSystem.InitializeCoreAsync (cognitive 72): DecompilerTypeSystem.InitializeCoreAsync has cognitive complexity 72 (threshold 15). Of this number, 69 points are the body\u0027s own statements and 3 belong to 3 function literals inside it that branch. 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":"ICSharpCode.Decompiler/TypeSystem/DecompilerTypeSystem.cs"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"40f5ff4992310fa4def2330c73718dcf507a7afa96ff6fe1ea511a02a1e05d20"}},{"ruleId":"D2","level":"warning","message":{"text":"CSharpDecompiler.IsAccessorInterfaceImplementationRuntimeHelper (cognitive 70): CSharpDecompiler.IsAccessorInterfaceImplementationRuntimeHelper has cognitive complexity 70 (threshold 15). Of this number, 61 points are the body\u0027s own statements and 9 belong to one function item inside it that branches. 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":"ICSharpCode.Decompiler/CSharp/CSharpDecompiler.cs"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"558c8207c21e1b93db404694fdc3769dfbf8bff62956dfc492b20bf3f9cf9372"}},{"ruleId":"D2","level":"warning","message":{"text":"NullPropagationTransform.IsValidAccessChain (cognitive 70): NullPropagationTransform.IsValidAccessChain has cognitive complexity 70 (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":"ICSharpCode.Decompiler/IL/Transforms/NullPropagationTransform.cs"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"a278c123e8eadb6f7046f43e4c45e0caac7273cc6399c4c298b6ff1ab84b5e4a"}},{"ruleId":"D2","level":"warning","message":{"text":"CSharpAmbience.ConvertSymbol (cognitive 69): CSharpAmbience.ConvertSymbol has cognitive complexity 69 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/OutputVisitor/CSharpAmbience.cs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b1227ef68a0fd92fb24d938693b49f6145b8189916b06e5d8644a712a850f31"}},{"ruleId":"D2","level":"warning","message":{"text":"InstructionOutputExtensions.WriteTo (cognitive 69): InstructionOutputExtensions.WriteTo has cognitive complexity 69 (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":"ICSharpCode.Decompiler/IL/InstructionOutputExtensions.cs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"97bc20d2b4e2ecaba7c6a58d5b1f95757610cbbcec9c6f7656f0e3f25b7112fd"}},{"ruleId":"D2","level":"warning","message":{"text":"SwitchOnStringTransform.SimplifyCascadingIfStatements (cognitive 69): SwitchOnStringTransform.SimplifyCascadingIfStatements has cognitive complexity 69 (threshold 15). Of this number, 68 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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":"ICSharpCode.Decompiler/IL/Transforms/SwitchOnStringTransform.cs"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7b7397b81286652ed2eaefcf38f46da2de080990930db940657a5d5bf99c3fa"}},{"ruleId":"D2","level":"warning","message":{"text":"AccessPathElement.GetAccessPath (cognitive 69): AccessPathElement.GetAccessPath has cognitive complexity 69 (threshold 15). Of this number, 67 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. 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":"ICSharpCode.Decompiler/IL/Transforms/TransformCollectionAndObjectInitializers.cs"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"d36ee20aebcb58db8ed843b071a0d7570fdf4b692b337554becdc8f117f0ae28"}},{"ruleId":"D2","level":"warning","message":{"text":"ExtensionInfo.ExtensionInfo.ctor (cognitive 65): ExtensionInfo.ExtensionInfo.ctor has cognitive complexity 65 (threshold 15). Of this number, 64 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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":"ICSharpCode.Decompiler/TypeSystem/ExtensionInfo.cs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a271444ca43c60dccd2a18c361a8c7148644df56be0e66a0ae841a9b05b3bce"}},{"ruleId":"D2","level":"warning","message":{"text":"SwitchOnStringTransform.MatchLegacySwitchOnStringWithDict (cognitive 64): SwitchOnStringTransform.MatchLegacySwitchOnStringWithDict has cognitive complexity 64 (threshold 15). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/SwitchOnStringTransform.cs"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"91c1fa51c87c76281936807e9a3bbb517d93208eb8a7e6d0225b0b962122edc8"}},{"ruleId":"D2","level":"warning","message":{"text":"TransformAssignment.HandleCompoundAssign (cognitive 64): TransformAssignment.HandleCompoundAssign has cognitive complexity 64 (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":"ICSharpCode.Decompiler/IL/Transforms/TransformAssignment.cs"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"66f2f66e964f33d1bb4f885c90d9b57830552f9b90f5e1c67a8c4cd1c898bf6b"}},{"ruleId":"D2","level":"warning","message":{"text":"AwaitInCatchTransform.MatchAwaitCatchHandler (cognitive 63): AwaitInCatchTransform.MatchAwaitCatchHandler has cognitive complexity 63 (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":"ICSharpCode.Decompiler/IL/ControlFlow/AwaitInCatchTransform.cs"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"27e76576b871b3ddc8519a8ab66605610f3c00726f1d2283c1f3a7b06d3fb8c5"}},{"ruleId":"D2","level":"warning","message":{"text":"ExpressionBuilder.HandleBinaryNumeric (cognitive 62): ExpressionBuilder.HandleBinaryNumeric has cognitive complexity 62 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/ExpressionBuilder.cs"},"region":{"startLine":1674}}}],"partialFingerprints":{"codehealthFindingId/v1":"cab9a51c074f086450db8f19cd631153abcca1bde699749be024fd0f056d67f7"}},{"ruleId":"D2","level":"warning","message":{"text":"CSharpPrimitiveCast.CSharpPrimitiveCastChecked (cognitive 62): CSharpPrimitiveCast.CSharpPrimitiveCastChecked has cognitive complexity 62 (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 (CSharpPrimitiveCast.CSharpPrimitiveCastUnchecked) 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":"ICSharpCode.Decompiler/Util/CSharpPrimitiveCast.cs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"2069d8c501001b69dc97df4948e009f6833abe6ff053be47b73f0cc2c4223c93"}},{"ruleId":"D2","level":"warning","message":{"text":"CSharpPrimitiveCast.CSharpPrimitiveCastUnchecked (cognitive 62): CSharpPrimitiveCast.CSharpPrimitiveCastUnchecked has cognitive complexity 62 (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 (CSharpPrimitiveCast.CSharpPrimitiveCastChecked) 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":"ICSharpCode.Decompiler/Util/CSharpPrimitiveCast.cs"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e38f51e63d2a651b94f15f869a1bf4b818612ff73c3913b1f15e79460bf3727"}},{"ruleId":"D2","level":"warning","message":{"text":"ILSpyCmdProgram.OnExecuteAsync (cognitive 62): ILSpyCmdProgram.OnExecuteAsync has cognitive complexity 62 (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":"ICSharpCode.ILSpyCmd/IlspyCmdProgram.cs"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"90b46b40074e62de0fd250abb85710d06f0d4c802f398cc80386520e60a1415e"}},{"ruleId":"D2","level":"warning","message":{"text":"TypeSystemAstBuilder.ConvertEnumValue (cognitive 61): TypeSystemAstBuilder.ConvertEnumValue has cognitive complexity 61 (threshold 15). Of this number, 60 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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":"ICSharpCode.Decompiler/CSharp/Syntax/TypeSystemAstBuilder.cs"},"region":{"startLine":1328}}}],"partialFingerprints":{"codehealthFindingId/v1":"8236b7eed1d901c428828ec8521bc072666df122c2fa99326e0dd1749164877a"}},{"ruleId":"D2","level":"warning","message":{"text":"YieldReturnDecompiler.AnalyzeMoveNext (cognitive 61): YieldReturnDecompiler.AnalyzeMoveNext has cognitive complexity 61 (threshold 15). Of this number, 59 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/ControlFlow/YieldReturnDecompiler.cs"},"region":{"startLine":650}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f625e0594bbafea4380854aa6ebf86160aa0f4f8ec29538f252daa973819660"}},{"ruleId":"D2","level":"warning","message":{"text":"TypeInference.MergeSimilarTypes (cognitive 60): TypeInference.MergeSimilarTypes has cognitive complexity 60 (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":"ICSharpCode.Decompiler/CSharp/Resolver/TypeInference.cs"},"region":{"startLine":1032}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4b5964c1f05e4b7462583c85d8a18c3a5534dc1923270620ee102e1bc1be4df"}},{"ruleId":"D2","level":"warning","message":{"text":"TypeSystemAstBuilder.ConvertTypeDefinition (cognitive 60): TypeSystemAstBuilder.ConvertTypeDefinition has cognitive complexity 60 (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":"ICSharpCode.Decompiler/CSharp/Syntax/TypeSystemAstBuilder.cs"},"region":{"startLine":2043}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b589fdbd75bc8acca57a7eb82b03c91f13192e799e36fd319ca6eaef5cd5008"}},{"ruleId":"D2","level":"warning","message":{"text":"DetectPinnedRegions.CreatePinnedRegion (cognitive 60): DetectPinnedRegions.CreatePinnedRegion has cognitive complexity 60 (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":"ICSharpCode.Decompiler/IL/ControlFlow/DetectPinnedRegions.cs"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"c28496c28c3a23d9fc2120061fe03930f15a29a567d6b03d3befaa56f92bc583"}},{"ruleId":"D2","level":"warning","message":{"text":"TransformAssignment.TransformInlineAssignmentStObjOrCall (cognitive 60): TransformAssignment.TransformInlineAssignmentStObjOrCall has cognitive complexity 60 (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":"ICSharpCode.Decompiler/IL/Transforms/TransformAssignment.cs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3078944dae6142fec453cd215e8bafb274762cbc33d935f8c6af4b63804d8e9"}},{"ruleId":"D2","level":"warning","message":{"text":"MemberSearchStrategy.Search (cognitive 60): MemberSearchStrategy.Search has cognitive complexity 60 (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":"ICSharpCode.ILSpyX/Search/MemberSearchStrategy.cs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bf0c95fc5cce94a086afc1d2ede82ecc9db436c57236470c1994ac91369d680"}},{"ruleId":"D2","level":"warning","message":{"text":"OverloadResolution.BetterFunctionMember (cognitive 59): OverloadResolution.BetterFunctionMember has cognitive complexity 59 (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":"ICSharpCode.Decompiler/CSharp/Resolver/OverloadResolution.cs"},"region":{"startLine":740}}}],"partialFingerprints":{"codehealthFindingId/v1":"eebbb0d1ef239abeddaa77dbb7f4cc8a3abe05d0dcc0bd9c1e02541698bdedb8"}},{"ruleId":"D2","level":"warning","message":{"text":"TypeSystemAstBuilder.ConvertConstantValue (cognitive 59): TypeSystemAstBuilder.ConvertConstantValue has cognitive complexity 59 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/Syntax/TypeSystemAstBuilder.cs"},"region":{"startLine":1090}}}],"partialFingerprints":{"codehealthFindingId/v1":"651c54ca379a3eb13324d7108cf0739df7f5daf89dc9ee1b5eb9e2bcc4d8cea5"}},{"ruleId":"D2","level":"warning","message":{"text":"ReplaceMethodCallsWithOperators.ProcessInvocationExpression (cognitive 58): ReplaceMethodCallsWithOperators.ProcessInvocationExpression has cognitive complexity 58 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/Transforms/ReplaceMethodCallsWithOperators.cs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"44ac59e7b4d5ac4f44f1a5d3ab98990293aab3a5d504fcfb7b2993bd11b4a7f9"}},{"ruleId":"D2","level":"warning","message":{"text":"ReflectionHelper.ResolveTypeName (cognitive 57): ReflectionHelper.ResolveTypeName has cognitive complexity 57 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/TypeSystem/ReflectionHelper.cs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f3b04e716f2459de9b7fc37e147a891f6c9dd3333b28897816469cdb99dc8a1"}},{"ruleId":"D2","level":"warning","message":{"text":"AwaitInFinallyTransform.Run (cognitive 56): AwaitInFinallyTransform.Run has cognitive complexity 56 (threshold 15). Of this number, 47 points are the body\u0027s own statements and 9 belong to one function item inside it that branches. 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":"ICSharpCode.Decompiler/IL/ControlFlow/AwaitInFinallyTransform.cs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"28ec687eb7f5aba11cf08f740cde63acdee2e142ce83d7ad88d55336bb796beb"}},{"ruleId":"D2","level":"warning","message":{"text":"TransformCollectionAndObjectInitializers.Run (cognitive 56): TransformCollectionAndObjectInitializers.Run has cognitive complexity 56 (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":"ICSharpCode.Decompiler/IL/Transforms/TransformCollectionAndObjectInitializers.cs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"4505dde40b6c27ae50567f20184d4db68a5f65a8765d7db120a7d7cdaa7bc048"}},{"ruleId":"D2","level":"warning","message":{"text":"CSharpResolver.LookInCurrentUsingScope (cognitive 54): CSharpResolver.LookInCurrentUsingScope has cognitive complexity 54 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/Resolver/CSharpResolver.cs"},"region":{"startLine":1621}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e9f9d712b61eb4a388d8c624af4a9fffc8fff3f720b756242c2485b208d6204"}},{"ruleId":"D2","level":"warning","message":{"text":"DecompilerException.GetStackTrace (cognitive 54): DecompilerException.GetStackTrace has cognitive complexity 54 (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":"ICSharpCode.Decompiler/DecompilerException.cs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"93601a86b52989f44239a1592786a80b03beea531b12028181558ad2094ba882"}},{"ruleId":"D2","level":"warning","message":{"text":"ExpressionTransforms.HandleSwitchExpression (cognitive 54): ExpressionTransforms.HandleSwitchExpression has cognitive complexity 54 (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":"ICSharpCode.Decompiler/IL/Transforms/ExpressionTransforms.cs"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ddd162a642f6b13f4bd95e266ee52d9b7530a24dcd07dd9ec7bedeeabd2a4c7"}},{"ruleId":"D2","level":"warning","message":{"text":"XmlDocumentationElement.CreateElements (cognitive 53): XmlDocumentationElement.CreateElements has cognitive complexity 53 (threshold 15). Of this number, 52 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/Documentation/XmlDocumentationElement.cs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"90cf0f61091bc7a73cebbc578295601c2ed137b58598889d56d39d4ea8aa5fef"}},{"ruleId":"D2","level":"warning","message":{"text":"Analyzer.CalculateLocalScopes (cognitive 53): Analyzer.CalculateLocalScopes has cognitive complexity 53 (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":"ICSharpCode.Decompiler/IL/Transforms/IntroduceScopedModifierOnLocals.cs"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"17b1e63ffac12a149e400ec65193ea1f191344bb6ab56a6edbdc940501b36619"}},{"ruleId":"D2","level":"warning","message":{"text":"CSharpConversions.ExplicitReferenceConversion (cognitive 52): CSharpConversions.ExplicitReferenceConversion has cognitive complexity 52 (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":"ICSharpCode.Decompiler/CSharp/Resolver/CSharpConversions.cs"},"region":{"startLine":659}}}],"partialFingerprints":{"codehealthFindingId/v1":"b909e12879ed8db661a01d7a4f40681c35d4f67c094221239d29897128f7122a"}},{"ruleId":"D2","level":"warning","message":{"text":"TypeSystemAstBuilder.ConvertTypeHelper (cognitive 52): TypeSystemAstBuilder.ConvertTypeHelper has cognitive complexity 52 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/Syntax/TypeSystemAstBuilder.cs"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"813a2dae0f386653ab565f925067ac2608ec110ceef2c8895405451323dc20b8"}},{"ruleId":"D2","level":"warning","message":{"text":"TypeSystemAstBuilder.GetMemberModifiers (cognitive 52): TypeSystemAstBuilder.GetMemberModifiers has cognitive complexity 52 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/Syntax/TypeSystemAstBuilder.cs"},"region":{"startLine":2678}}}],"partialFingerprints":{"codehealthFindingId/v1":"54df3e5ef10fd8fee936d65ed339ac9b60a6506550ddede542443ec29abe19d5"}},{"ruleId":"D2","level":"warning","message":{"text":"TransformExpressionTrees.ConvertBinaryNumericOperator (cognitive 52): TransformExpressionTrees.ConvertBinaryNumericOperator has cognitive complexity 52 (threshold 15). Most of this is not in the body itself: 10 of the 52 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 647, 716, 700, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/TransformExpressionTrees.cs"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"a667d0650561a4af585a0c2f2a2dce22bbc5242d85c872a02a9f0a28b15e739c"}},{"ruleId":"D2","level":"warning","message":{"text":"ApplyAttributeTypeVisitor.ApplyAttributesToType (cognitive 52): ApplyAttributeTypeVisitor.ApplyAttributesToType has cognitive complexity 52 (threshold 15). Of this number, 50 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. 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":"ICSharpCode.Decompiler/TypeSystem/ApplyAttributeTypeVisitor.cs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"426de3289072b45d61f3ed9191e40e180f2016188d110c44e275220d991e0174"}},{"ruleId":"D2","level":"warning","message":{"text":"Block.CheckInvariant (cognitive 51): Block.CheckInvariant has cognitive complexity 51 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Instructions/Block.cs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"05333ed14648d00836c70cf323f9fd1c49823e27bd16611e6027dcd7816574b0"}},{"ruleId":"D2","level":"warning","message":{"text":"OverloadResolution.CheckApplicability (cognitive 50): OverloadResolution.CheckApplicability has cognitive complexity 50 (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":"ICSharpCode.Decompiler/CSharp/Resolver/OverloadResolution.cs"},"region":{"startLine":646}}}],"partialFingerprints":{"codehealthFindingId/v1":"721194b827dc4210abbd122257b4cbefeaa63d61b5fe71a56778006b5114cc74"}},{"ruleId":"D2","level":"warning","message":{"text":"RuntimeAsyncExceptionRewriteTransform.TryRewriteMultiHandlerTryCatch (cognitive 50): RuntimeAsyncExceptionRewriteTransform.TryRewriteMultiHandlerTryCatch has cognitive complexity 50 (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":"ICSharpCode.Decompiler/IL/ControlFlow/RuntimeAsyncExceptionRewriteTransform.cs"},"region":{"startLine":722}}}],"partialFingerprints":{"codehealthFindingId/v1":"4466600a340b85909c7a7de93b842322b3a170bcade5b540c567b16d95b3e195"}},{"ruleId":"D2","level":"warning","message":{"text":"SwitchOnStringTransform.MatchRoslynSwitchOnString (cognitive 50): SwitchOnStringTransform.MatchRoslynSwitchOnString has cognitive complexity 50 (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":"ICSharpCode.Decompiler/IL/Transforms/SwitchOnStringTransform.cs"},"region":{"startLine":1014}}}],"partialFingerprints":{"codehealthFindingId/v1":"651bfd5349a1da0467f863467817cd260a37aaebbb06b9215006ffcf98fe88e1"}},{"ruleId":"D2","level":"warning","message":{"text":"ExpressionBuilder.TranslateTarget (cognitive 49): ExpressionBuilder.TranslateTarget has cognitive complexity 49 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/ExpressionBuilder.cs"},"region":{"startLine":2914}}}],"partialFingerprints":{"codehealthFindingId/v1":"d719192dc474c84cf1ebbd17260eb0855cfbb5a7dcfa220cce4fa5d592539163"}},{"ruleId":"D2","level":"warning","message":{"text":"ExpressionBuilder.TranslatePattern (cognitive 49): ExpressionBuilder.TranslatePattern has cognitive complexity 49 (threshold 15). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. 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. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/ExpressionBuilder.cs"},"region":{"startLine":5346}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7b0faed6b3d94ff396181b98f9a60289d070b520d932c7bf817d03717ed5aae"}},{"ruleId":"D2","level":"warning","message":{"text":"RuntimeAsyncExceptionRewriteTransform.TryRewriteFlagBasedEarlyReturn (cognitive 49): RuntimeAsyncExceptionRewriteTransform.TryRewriteFlagBasedEarlyReturn has cognitive complexity 49 (threshold 15). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/ControlFlow/RuntimeAsyncExceptionRewriteTransform.cs"},"region":{"startLine":1054}}}],"partialFingerprints":{"codehealthFindingId/v1":"99efa21cf4cec9bf18b8e143633a90c8cb07cf26e352c7c2d13943644dc84b91"}},{"ruleId":"D2","level":"warning","message":{"text":"PatternMatchingTransform.DetectPropertySubPattern (cognitive 49): PatternMatchingTransform.DetectPropertySubPattern has cognitive complexity 49 (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":"ICSharpCode.Decompiler/IL/Transforms/PatternMatchingTransform.cs"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"30f787217907673bf1be4ebb3fffec94209044fa4e085a924f69c9dee072718c"}},{"ruleId":"D2","level":"warning","message":{"text":"TextWriterTokenWriter.WritePrimitiveValue (cognitive 48): TextWriterTokenWriter.WritePrimitiveValue has cognitive complexity 48 (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":"ICSharpCode.Decompiler/CSharp/OutputVisitor/TextWriterTokenWriter.cs"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"fde22efb0540562b2679f28afcae195632bda5a29d607f27bdeb41bab7386188"}},{"ruleId":"D2","level":"warning","message":{"text":"RequiredNamespaceCollector.CollectNamespacesFromMethodBody (cognitive 48): RequiredNamespaceCollector.CollectNamespacesFromMethodBody has cognitive complexity 48 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/RequiredNamespaceCollector.cs"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"609971d1d3d9dd189486399d0fd7da1384eb30aaaaed7b4d853a73b9b8ce33a9"}},{"ruleId":"D2","level":"warning","message":{"text":"StatementBuilder.TranslateSwitch (cognitive 48): StatementBuilder.TranslateSwitch has cognitive complexity 48 (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":"ICSharpCode.Decompiler/CSharp/StatementBuilder.cs"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"028ec703243a12955cb585d817cacfece6de330c2c3425d0765bc98044e87f63"}},{"ruleId":"D2","level":"warning","message":{"text":"TypeSystemAstBuilder.ConvertNamespace (cognitive 48): TypeSystemAstBuilder.ConvertNamespace has cognitive complexity 48 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/Syntax/TypeSystemAstBuilder.cs"},"region":{"startLine":663}}}],"partialFingerprints":{"codehealthFindingId/v1":"78851994faea4e6d76b5a8aa8390c6ab544944a6a84dd82770cf4b178d665b21"}},{"ruleId":"D2","level":"warning","message":{"text":"DeclareVariables.FindInsertionPoints (cognitive 48): DeclareVariables.FindInsertionPoints has cognitive complexity 48 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/Transforms/DeclareVariables.cs"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab44fcd053d74cd8483e8791d054ddc33543a6b44f32ad715cecacf540596fdf"}},{"ruleId":"D2","level":"warning","message":{"text":"ConstructorInitializerAnalyzer.MoveFieldInitializersToDeclarations (cognitive 48): ConstructorInitializerAnalyzer.MoveFieldInitializersToDeclarations has cognitive complexity 48 (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":"ICSharpCode.Decompiler/CSharp/Transforms/TransformFieldAndConstructorInitializers.cs"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"b06729e6752a374e6568d80da127c1f3eb09ec7a3c69962702d45bb099d42127"}},{"ruleId":"D2","level":"warning","message":{"text":"VariableScope.GenerateNameForVariable (cognitive 48): VariableScope.GenerateNameForVariable has cognitive complexity 48 (threshold 15). Of this number, 46 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. 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":"ICSharpCode.Decompiler/IL/Transforms/AssignVariableNames.cs"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"772319e1c4d5157b0d78444643ae4726d58cd70e7bd1071c2ef96bd01a5c3ffa"}},{"ruleId":"D2","level":"warning","message":{"text":"TypeInference.MakeLowerBoundInference (cognitive 47): TypeInference.MakeLowerBoundInference has cognitive complexity 47 (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":"ICSharpCode.Decompiler/CSharp/Resolver/TypeInference.cs"},"region":{"startLine":747}}}],"partialFingerprints":{"codehealthFindingId/v1":"f475cfae3fe04065fbd3c851f22980802b5968de9db9fa8cf7a35c18fdf707d2"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncAwaitDecompiler.DetectAwaitPattern (cognitive 47): AsyncAwaitDecompiler.DetectAwaitPattern has cognitive complexity 47 (threshold 15). Of this number, 46 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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":"ICSharpCode.Decompiler/IL/ControlFlow/AsyncAwaitDecompiler.cs"},"region":{"startLine":1882}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8e04aa6f40f2d92942044c15195b7d6a1ee55268630c228209c821b5280e745"}},{"ruleId":"D2","level":"warning","message":{"text":"CallBuilder.BuildArgumentList (cognitive 46): CallBuilder.BuildArgumentList has cognitive complexity 46 (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":"ICSharpCode.Decompiler/CSharp/CallBuilder.cs"},"region":{"startLine":1034}}}],"partialFingerprints":{"codehealthFindingId/v1":"a248833889582262c3f7000a3573ca0cadd8291e0c3c61ae998266dd2d601726"}},{"ruleId":"D2","level":"warning","message":{"text":"DynamicCallSiteTransform.TransformCallSites (cognitive 46): DynamicCallSiteTransform.TransformCallSites has cognitive complexity 46 (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":"ICSharpCode.Decompiler/IL/Transforms/DynamicCallSiteTransform.cs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"01d27cca5ab033bb75f6cd1ceeea42714cb5865432c85d28e8c6b4a5097b2849"}},{"ruleId":"D2","level":"warning","message":{"text":"CSharpConversions.BetterConversion (cognitive 45): CSharpConversions.BetterConversion has cognitive complexity 45 (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":"ICSharpCode.Decompiler/CSharp/Resolver/CSharpConversions.cs"},"region":{"startLine":1564}}}],"partialFingerprints":{"codehealthFindingId/v1":"68010b47431333089c2818dd41a630778b680b8fcde95ed41b3ca45cb88c9dca"}},{"ruleId":"D2","level":"warning","message":{"text":"CSharpResolver.ResolveUnaryOperator (cognitive 45): CSharpResolver.ResolveUnaryOperator has cognitive complexity 45 (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":"ICSharpCode.Decompiler/CSharp/Resolver/CSharpResolver.cs"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b8e6e1532f82caa0e1da4c211e7522b3c868570b657ac3ed03d5011b83306c8"}},{"ruleId":"D2","level":"warning","message":{"text":"CSharpResolver.ResolveInvocation (cognitive 45): CSharpResolver.ResolveInvocation has cognitive complexity 45 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/Resolver/CSharpResolver.cs"},"region":{"startLine":2209}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fc0663e3e9b9b0ec5b7ad432395a85fa906341dc17db0b2e9c7cd3b4b873750"}},{"ruleId":"D2","level":"warning","message":{"text":"ConstructorInitializerAnalyzer.RemoveImplicitConstructor (cognitive 45): ConstructorInitializerAnalyzer.RemoveImplicitConstructor has cognitive complexity 45 (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":"ICSharpCode.Decompiler/CSharp/Transforms/TransformFieldAndConstructorInitializers.cs"},"region":{"startLine":700}}}],"partialFingerprints":{"codehealthFindingId/v1":"28793cc0506698f94425332c7f4cceae45fa55b1335b776d3ea41c9538bc4bc6"}},{"ruleId":"D2","level":"warning","message":{"text":"ConditionDetection.CompareBlockExitPriority (cognitive 45): ConditionDetection.CompareBlockExitPriority has cognitive complexity 45 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/ControlFlow/ConditionDetection.cs"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"b52641bfc07c10dd349b0e132b5bf151cfca7b1ba9ce5610a0ea084a11ee736f"}},{"ruleId":"D2","level":"warning","message":{"text":"ExpressionBuilder.TranslateFunction (cognitive 44): ExpressionBuilder.TranslateFunction has cognitive complexity 44 (threshold 15). Of this number, 42 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. 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":"ICSharpCode.Decompiler/CSharp/ExpressionBuilder.cs"},"region":{"startLine":2584}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ae19d7da14d2eab02d6f15c895b83f58bddd4cbb6d2d818640ced3916407377"}},{"ruleId":"D2","level":"warning","message":{"text":"TypeInference.FindTypesInBounds (cognitive 44): TypeInference.FindTypesInBounds has cognitive complexity 44 (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":"ICSharpCode.Decompiler/CSharp/Resolver/TypeInference.cs"},"region":{"startLine":1259}}}],"partialFingerprints":{"codehealthFindingId/v1":"052f7f734ab07ef973714a09102eb572399c2c07e39cb5372b566c00a0faecd6"}},{"ruleId":"D2","level":"warning","message":{"text":"ExtractionContext.Extract (cognitive 44): ExtractionContext.Extract has cognitive complexity 44 (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":"ICSharpCode.Decompiler/IL/Transforms/ILExtraction.cs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd85135126c4c7c8587921b2a00ea82a5dbdd5463e488146f382ef446ab08fc2"}},{"ruleId":"D2","level":"warning","message":{"text":"AutoEventDecompiler.TryAnalyzeVisualBasicWithEventsProperty (cognitive 43): AutoEventDecompiler.TryAnalyzeVisualBasicWithEventsProperty has cognitive complexity 43 (threshold 15). Of this number, 42 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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":"ICSharpCode.Decompiler/CSharp/AutoEventDecompiler.cs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"01dbb9e301d736a13f9d92f82b87daddd849f01f6277ea1e1dc5b680645230a1"}},{"ruleId":"D2","level":"warning","message":{"text":"ExpressionBuilder.VisitConv (cognitive 43): ExpressionBuilder.VisitConv has cognitive complexity 43 (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":"ICSharpCode.Decompiler/CSharp/ExpressionBuilder.cs"},"region":{"startLine":2318}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f71443986fa4b2ce111d353ee8005f79c5ad6ea2898a09d017e9a3b1480f785"}},{"ruleId":"D2","level":"warning","message":{"text":"ExpressionBuilder.TranslateSwitchValue (cognitive 43): ExpressionBuilder.TranslateSwitchValue has cognitive complexity 43 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/ExpressionBuilder.cs"},"region":{"startLine":4293}}}],"partialFingerprints":{"codehealthFindingId/v1":"557553879368fce132e94ebab6499a3d75782fa49fb0fa29b6c25905a0f306a0"}},{"ruleId":"D2","level":"warning","message":{"text":"MemberLookup.GetAccessibleMembers (cognitive 43): MemberLookup.GetAccessibleMembers has cognitive complexity 43 (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":"ICSharpCode.Decompiler/CSharp/Resolver/MemberLookup.cs"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"94d5460156fd410993ee1e2e2aed54ebcd5c59a9bb74c06a1991365e668547b8"}},{"ruleId":"D2","level":"warning","message":{"text":"SequencePointBuilder.GetSequencePoints (cognitive 43): SequencePointBuilder.GetSequencePoints has cognitive complexity 43 (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":"ICSharpCode.Decompiler/CSharp/SequencePointBuilder.cs"},"region":{"startLine":568}}}],"partialFingerprints":{"codehealthFindingId/v1":"911d081ec0f68672b90f85891bd87e210f3a6cfaf186eb5e53f5cec7b728cd2a"}},{"ruleId":"D2","level":"warning","message":{"text":"BamlDecompilerTypeSystem.BamlDecompilerTypeSystem.ctor (cognitive 42): BamlDecompilerTypeSystem.BamlDecompilerTypeSystem.ctor has cognitive complexity 42 (threshold 15). Of this number, 41 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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":"ICSharpCode.BamlDecompiler/BamlDecompilerTypeSystem.cs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"95f9c5e4da401e5ba8e4e048444a7cc9d34bde28d1b03116458aa4285981933b"}},{"ruleId":"D2","level":"warning","message":{"text":"CallBuilder.TryGetStringInterpolationTokens (cognitive 42): CallBuilder.TryGetStringInterpolationTokens has cognitive complexity 42 (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":"ICSharpCode.Decompiler/CSharp/CallBuilder.cs"},"region":{"startLine":863}}}],"partialFingerprints":{"codehealthFindingId/v1":"522869a23651403e85b02613bf85a7a2ddf493bf8f406900716854d54f1e9704"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncAwaitDecompiler.AnalyzeStateMachine (cognitive 42): AsyncAwaitDecompiler.AnalyzeStateMachine has cognitive complexity 42 (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":"ICSharpCode.Decompiler/IL/ControlFlow/AsyncAwaitDecompiler.cs"},"region":{"startLine":1341}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb2313e17427384299f0a4e3f6f222b9c893fabdb95590276c5a8899e47e39c4"}},{"ruleId":"D2","level":"warning","message":{"text":"YieldReturnDecompiler.MatchEnumeratorCreationPattern (cognitive 42): YieldReturnDecompiler.MatchEnumeratorCreationPattern has cognitive complexity 42 (threshold 15). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/ControlFlow/YieldReturnDecompiler.cs"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"8df24f4d51e70dbe5a25a31439874180e5df87c31b3d490962d90b12daa89cd1"}},{"ruleId":"D2","level":"warning","message":{"text":"Analyzer.Run (cognitive 42): Analyzer.Run has cognitive complexity 42 (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":"ICSharpCode.Decompiler/IL/Transforms/IntroduceScopedModifierOnLocals.cs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"2807727648890e2789c2a8fde0ec64d518aefb7e912797cf6453ffa121d5b96d"}},{"ruleId":"D2","level":"warning","message":{"text":"InheritanceHelper.GetDerivedMember (cognitive 42): InheritanceHelper.GetDerivedMember has cognitive complexity 42 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/TypeSystem/InheritanceHelper.cs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"17376b5e760031d12f6b7e0f2861efb923a2f65a70e5a60db808984512004ccd"}},{"ruleId":"D2","level":"warning","message":{"text":"TypeSystemAstBuilder.ConvertFloatingPointLiteral (cognitive 41): TypeSystemAstBuilder.ConvertFloatingPointLiteral has cognitive complexity 41 (threshold 15). Of this number, 39 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/Syntax/TypeSystemAstBuilder.cs"},"region":{"startLine":1618}}}],"partialFingerprints":{"codehealthFindingId/v1":"84b32a563053eaa1ba0601ca4130e881a0f9111383b825049783a5db7eefd531"}},{"ruleId":"D2","level":"warning","message":{"text":"StateRangeAnalysis.AssignStateRanges (cognitive 41): StateRangeAnalysis.AssignStateRanges has cognitive complexity 41 (threshold 15). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. 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. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/ControlFlow/StateRangeAnalysis.cs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"4078f34755bc50fe38a99bf440c7617afe8ae4459e804629e57ad650417ce1ab"}},{"ruleId":"D2","level":"warning","message":{"text":"DeconstructionTransform.MatchAssignments (cognitive 41): DeconstructionTransform.MatchAssignments has cognitive complexity 41 (threshold 15). Of this number, 34 points are the body\u0027s own statements and 7 belong to one function literal inside it that branches. 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":"ICSharpCode.Decompiler/IL/Transforms/DeconstructionTransform.cs"},"region":{"startLine":868}}}],"partialFingerprints":{"codehealthFindingId/v1":"82c9190c85f2159d338ca591737fdd6ca4f83fa52c8a99e9c9e99e20069c3fed"}},{"ruleId":"D2","level":"warning","message":{"text":"NullableLiftingTransform.DoLift (cognitive 41): NullableLiftingTransform.DoLift has cognitive complexity 41 (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":"ICSharpCode.Decompiler/IL/Transforms/NullableLiftingTransform.cs"},"region":{"startLine":871}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaa97f504badcf6477c2c231ad03957c44d4313765aaea08892697339f4d9018"}},{"ruleId":"D2","level":"warning","message":{"text":"SwitchOnStringTransform.Run (cognitive 41): SwitchOnStringTransform.Run has cognitive complexity 41 (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":"ICSharpCode.Decompiler/IL/Transforms/SwitchOnStringTransform.cs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"fecfe182d34d01f1dad09ea8731be6da9c2653d0f3721e856c55a632e178c9bd"}},{"ruleId":"D2","level":"warning","message":{"text":"TransformDisplayClassUsage.VisitStLoc (cognitive 41): TransformDisplayClassUsage.VisitStLoc has cognitive complexity 41 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/TransformDisplayClassUsage.cs"},"region":{"startLine":843}}}],"partialFingerprints":{"codehealthFindingId/v1":"56312f045b8e6c73a6a518e9da396853baf914dc97c8524517b174b765b7c5f1"}},{"ruleId":"D2","level":"warning","message":{"text":"UserDefinedLogicTransform.TransformDynamic (cognitive 41): UserDefinedLogicTransform.TransformDynamic has cognitive complexity 41 (threshold 15). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/UserDefinedLogicTransform.cs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"692c7a7ee309750ddb344c992db3692fc77a6fc940b62de55774d23786196617"}},{"ruleId":"D2","level":"warning","message":{"text":"Lexer.ReadIdent (cognitive 41): Lexer.ReadIdent has cognitive complexity 41 (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":"ICSharpCode.ILSpyX/Search/CSharpLexer.cs"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"53666a0d620f2528ad605762f20b82ce9cb454497dba02b0e507811e73919c56"}},{"ruleId":"D2","level":"warning","message":{"text":"RunningSearch.ParseInput (cognitive 41): RunningSearch.ParseInput has cognitive complexity 41 (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":"ILSpy/Search/RunningSearch.cs"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d029752ef26f8b52774a7b41f596da01fdb90e48f1293402414c51faf885d13"}},{"ruleId":"D2","level":"warning","message":{"text":"TypeInference.MakeUpperBoundInference (cognitive 40): TypeInference.MakeUpperBoundInference has cognitive complexity 40 (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":"ICSharpCode.Decompiler/CSharp/Resolver/TypeInference.cs"},"region":{"startLine":878}}}],"partialFingerprints":{"codehealthFindingId/v1":"467a29267a568e5081a1afd0c2b3465e1c65a9db08feaec52212cda128fd8f8b"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncAwaitDecompiler.CheckResumeBlock (cognitive 40): AsyncAwaitDecompiler.CheckResumeBlock has cognitive complexity 40 (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":"ICSharpCode.Decompiler/IL/ControlFlow/AsyncAwaitDecompiler.cs"},"region":{"startLine":2086}}}],"partialFingerprints":{"codehealthFindingId/v1":"c16261cf8dbf3f98d6fe60e140e8fa42b887fd7ed4e21f886e613be07e827b33"}},{"ruleId":"D2","level":"warning","message":{"text":"TransformDisplayClassUsage.ResolveVariableToPropagate (cognitive 40): TransformDisplayClassUsage.ResolveVariableToPropagate has cognitive complexity 40 (threshold 15). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. 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. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/TransformDisplayClassUsage.cs"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"51d62e0dc50f8c6ad7b4e67093987101982857978ae3842c6a9c74711920e3c1"}},{"ruleId":"D2","level":"warning","message":{"text":"ExpressionBuilder.TranslateCeq (cognitive 39): ExpressionBuilder.TranslateCeq has cognitive complexity 39 (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":"ICSharpCode.Decompiler/CSharp/ExpressionBuilder.cs"},"region":{"startLine":977}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f9a26541e8001d4599b02a916aceba589a9a8465938fde4941d097b0619cdd7"}},{"ruleId":"D2","level":"warning","message":{"text":"CSharpConversions.UserDefinedExplicitConversion (cognitive 39): CSharpConversions.UserDefinedExplicitConversion has cognitive complexity 39 (threshold 15). Of this number, 38 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/Resolver/CSharpConversions.cs"},"region":{"startLine":1068}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd424c91d994eb446b537ffc63b7f2c97ddbf18fbcbdfbd1e02db6f7e9a0901b"}},{"ruleId":"D2","level":"warning","message":{"text":"PrettifyAssignments.VisitAssignmentExpression (cognitive 39): PrettifyAssignments.VisitAssignmentExpression has cognitive complexity 39 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/Transforms/PrettifyAssignments.cs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a4d19c7b04bc1134d5876163ea9455e7211ede297f26da144e0e7d231032237"}},{"ruleId":"D2","level":"warning","message":{"text":"Conv.GetConversionKind (cognitive 39): Conv.GetConversionKind has cognitive complexity 39 (threshold 15). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. 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. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Instructions/Conv.cs"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2c2ca69c56a4e5ba0b8384b95a332ca0ed7bee94c94c9d9223efa3335212113"}},{"ruleId":"D2","level":"warning","message":{"text":"TransformAssignment.TransformPostIncDecOperator (cognitive 39): TransformAssignment.TransformPostIncDecOperator has cognitive complexity 39 (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":"ICSharpCode.Decompiler/IL/Transforms/TransformAssignment.cs"},"region":{"startLine":1036}}}],"partialFingerprints":{"codehealthFindingId/v1":"860cfde400e729fab1f91b3ae08f10fffa2733462ee07a255b4a731c7af4e3aa"}},{"ruleId":"D2","level":"warning","message":{"text":"RecordDecompiler.DetectAutomaticProperties (cognitive 38): RecordDecompiler.DetectAutomaticProperties has cognitive complexity 38 (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":"ICSharpCode.Decompiler/CSharp/RecordDecompiler.cs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"097e9481260b33efc0fd9e1646a8776a77a25789ca7d97d7ba98d94384639b08"}},{"ruleId":"D2","level":"warning","message":{"text":"RecordDecompiler.IsGeneratedCopyConstructor (cognitive 38): RecordDecompiler.IsGeneratedCopyConstructor has cognitive complexity 38 (threshold 15). Of this number, 37 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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":"ICSharpCode.Decompiler/CSharp/RecordDecompiler.cs"},"region":{"startLine":723}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d9bf8d76a58316953ba7160944653a65f5a0b0a3877eb6987cf0c26a9d11e21"}},{"ruleId":"D2","level":"warning","message":{"text":"StatementBuilder.ConvertLoop (cognitive 38): StatementBuilder.ConvertLoop has cognitive complexity 38 (threshold 15). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. 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. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/StatementBuilder.cs"},"region":{"startLine":1359}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bb53ccab2570b218eeec94b62eadad797ee5284b057abfb970c10aacebd4ba1"}},{"ruleId":"D2","level":"warning","message":{"text":"TypeSystemAstBuilder.TryExtractExpression (cognitive 38): TypeSystemAstBuilder.TryExtractExpression has cognitive complexity 38 (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":"ICSharpCode.Decompiler/CSharp/Syntax/TypeSystemAstBuilder.cs"},"region":{"startLine":1729}}}],"partialFingerprints":{"codehealthFindingId/v1":"2449daa9681a69b9440a5053366bd3714e2359f207c8d81229af275cc6dc6443"}},{"ruleId":"D2","level":"warning","message":{"text":"DetectPinnedRegions.IsCustomRefPinPattern (cognitive 38): DetectPinnedRegions.IsCustomRefPinPattern has cognitive complexity 38 (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":"ICSharpCode.Decompiler/IL/ControlFlow/DetectPinnedRegions.cs"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"e606ddfa2187942f15268a783b985806c27933d8b802f81f48aa84514b919cba"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalFunctionDecompiler.PropagateClosureParameterArguments (cognitive 38): LocalFunctionDecompiler.PropagateClosureParameterArguments has cognitive complexity 38 (threshold 15). Of this number, 37 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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":"ICSharpCode.Decompiler/IL/Transforms/LocalFunctionDecompiler.cs"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8c15f22225285044384dda2b1910ababe5583cc0f4a54d257b29ef1f5562314"}},{"ruleId":"D2","level":"warning","message":{"text":"TransformAssignment.CheckImplicitTruncation (cognitive 38): TransformAssignment.CheckImplicitTruncation has cognitive complexity 38 (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":"ICSharpCode.Decompiler/IL/Transforms/TransformAssignment.cs"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"279bc0819e12a7623fbd3ba90d0b70eed878948896ab4c93364ae9f86498461a"}},{"ruleId":"D2","level":"warning","message":{"text":"SharpTreeNode.OnChildrenChanged (cognitive 38): SharpTreeNode.OnChildrenChanged has cognitive complexity 38 (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":"ICSharpCode.ILSpyX/TreeView/SharpTreeNode.cs"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"886d3bc90c730050d111c940fed1b982af7331a4ad30ff396e1596ac585bd2c2"}},{"ruleId":"D2","level":"warning","message":{"text":"CSharpBracketSearcher.GetStartType (cognitive 38): CSharpBracketSearcher.GetStartType has cognitive complexity 38 (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":"ILSpy/Languages/CSharpBracketSearcher.cs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0286350609c19d4e7de65f01388a588d219d8a1fdc03b72658d72f99316f32a"}},{"ruleId":"D2","level":"warning","message":{"text":"CSharpLanguage.DecompileAssembly (cognitive 38): CSharpLanguage.DecompileAssembly has cognitive complexity 38 (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":"ILSpy/Languages/CSharpLanguage.cs"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"23b09328dadd5d92a95feae5d13d09cdb997c6b9e3b024a140eb7c8475b4fe87"}},{"ruleId":"D2","level":"warning","message":{"text":"ExpressionBuilder.VisitIfInstruction (cognitive 37): ExpressionBuilder.VisitIfInstruction has cognitive complexity 37 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/ExpressionBuilder.cs"},"region":{"startLine":4191}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd5a38b6eafe9fe5b039408ab88c6e30748d36169ac02b20362f9a678c2f81b1"}},{"ruleId":"D2","level":"warning","message":{"text":"ILStructure.ILStructure.ctor (cognitive 37): ILStructure.ILStructure.ctor has cognitive complexity 37 (threshold 15). Of this number, 36 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/Disassembler/ILStructure.cs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c736ee4b053afa0e6b1fc100f688b215ae8fea969370bae34217664053a0ece"}},{"ruleId":"D2","level":"warning","message":{"text":"IdStringProvider.AppendTypeName (cognitive 37): IdStringProvider.AppendTypeName has cognitive complexity 37 (threshold 15). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. 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. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/Documentation/IdStringProvider.cs"},"region":{"startLine":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"a87535c29a7bbd4109570a000e9656480059593b95d51b1827770c8f1757ee79"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncAwaitDecompiler.MatchAsyncEnumeratorCreationPattern (cognitive 37): AsyncAwaitDecompiler.MatchAsyncEnumeratorCreationPattern has cognitive complexity 37 (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":"ICSharpCode.Decompiler/IL/ControlFlow/AsyncAwaitDecompiler.cs"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"08badb6a603a93680fb697cc6c2651b7b4d9b4864e44164ed65cda89d033f2e7"}},{"ruleId":"D2","level":"warning","message":{"text":"PatternMatchingTransform.MatchNullableHasValueCheckPattern (cognitive 37): PatternMatchingTransform.MatchNullableHasValueCheckPattern has cognitive complexity 37 (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":"ICSharpCode.Decompiler/IL/Transforms/PatternMatchingTransform.cs"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcedcb225acdef05005b04942122557d81afaa9cd41c8f0dd53e104545eb12dd"}},{"ruleId":"D2","level":"warning","message":{"text":"RemoveUnconstrainedGenericReferenceTypeCheck.Run (cognitive 37): RemoveUnconstrainedGenericReferenceTypeCheck.Run has cognitive complexity 37 (threshold 15). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/RemoveUnconstrainedGenericReferenceTypeCheck.cs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"84ed46696af1d1108c78244b9eee8ebb275f4db3840673c2defaf01d99667934"}},{"ruleId":"D2","level":"warning","message":{"text":"TransformArrayInitializers.HandleSequentialLocAllocInitializer (cognitive 37): TransformArrayInitializers.HandleSequentialLocAllocInitializer has cognitive complexity 37 (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":"ICSharpCode.Decompiler/IL/Transforms/TransformArrayInitializers.cs"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"a424fb10a747575eb073536e0d32fa03529a7b68f1e51d8afec53b5a784cfa50"}},{"ruleId":"D2","level":"warning","message":{"text":"CSharpResolver.GetExtensionMethods (cognitive 36): CSharpResolver.GetExtensionMethods 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/Resolver/CSharpResolver.cs"},"region":{"startLine":2030}}}],"partialFingerprints":{"codehealthFindingId/v1":"5af1d8f5eb33b38a855400ade25a4455425176f61c2970375e3f4a6f46a0e9df"}},{"ruleId":"D2","level":"warning","message":{"text":"IdStringProvider.FindMemberInType (cognitive 36): IdStringProvider.FindMemberInType has cognitive complexity 36 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/Documentation/IdStringProvider.cs"},"region":{"startLine":960}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7a8f7d82dbff78410d8dd004aa527808cbc4ff53754c43b434b3c9b24da5af2"}},{"ruleId":"D2","level":"warning","message":{"text":"Analyzer.GetInvocationEscapeToWritableArgument (cognitive 36): Analyzer.GetInvocationEscapeToWritableArgument 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/IntroduceScopedModifierOnLocals.cs"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"97b829a83eeec8b5f5be5a3ab2aec7daf48600aed31a002a99c6d884ea5f271f"}},{"ruleId":"D2","level":"warning","message":{"text":"PatternMatchingTransform.PatternMatchRefTypes (cognitive 36): PatternMatchingTransform.PatternMatchRefTypes has cognitive complexity 36 (threshold 15). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/PatternMatchingTransform.cs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"72930fe4ba70fe1f61bef57f4d603b504e50b804dceb058bc78a11ea22b1cb49"}},{"ruleId":"D2","level":"warning","message":{"text":"ReduceNestingTransform.ComputeStats (cognitive 36): ReduceNestingTransform.ComputeStats 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/ReduceNestingTransform.cs"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8b02bfac99fcc32a88fbf466727fc9160c13911257e7dabd1c463483534d8c5"}},{"ruleId":"D2","level":"warning","message":{"text":"MetadataMethod.GetAttributes (cognitive 36): MetadataMethod.GetAttributes 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/TypeSystem/Implementation/MetadataMethod.cs"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"f90fd482fcb3a6d889396a811c336e5aa0d770171ae8a2824dd501adc4832954"}},{"ruleId":"D2","level":"warning","message":{"text":"CompareEngine.CalculateDiff (cognitive 36): CompareEngine.CalculateDiff 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/CompareEngine.cs"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f82afeec96bd1d16c97ba76fd1f5c03819b60bbaee6d9dbea78056bd5e539bf"}},{"ruleId":"D2","level":"warning","message":{"text":"SharpTreeView.OnKeyDown (cognitive 36): SharpTreeView.OnKeyDown has cognitive complexity 36 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Controls/TreeView/SharpTreeView.cs"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d655de8474216725a0aa24cf7b25df5c8271c0d84f5ff60a45e79ccda06d230"}},{"ruleId":"D2","level":"warning","message":{"text":"MainMenu.AppendRegistryCommands (cognitive 36): MainMenu.AppendRegistryCommands 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Views/MainMenu.axaml.cs"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"355838e7fdc9da0cf9351caba961940bcdc60a2efce4eb183dccf52d6da54983"}},{"ruleId":"D2","level":"warning","message":{"text":"RequiredNamespaceCollector.CollectNamespaces (cognitive 35): RequiredNamespaceCollector.CollectNamespaces has cognitive complexity 35 (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":"ICSharpCode.Decompiler/CSharp/RequiredNamespaceCollector.cs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"15cc8c2165e7b98e2e1b2e8346ba68a7c1b4dd7e4ebb6d39f9c17cecb14edd07"}},{"ruleId":"D2","level":"warning","message":{"text":"CSharpResolver.BinaryNumericPromotion (cognitive 35): CSharpResolver.BinaryNumericPromotion has cognitive complexity 35 (threshold 15). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/Resolver/CSharpResolver.cs"},"region":{"startLine":1016}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1f93a3b734723979f34c12cfaf2374c59aceece545a3300fc54994e6ecbe414"}},{"ruleId":"D2","level":"warning","message":{"text":"CSharpResolver.ResolveCast (cognitive 35): CSharpResolver.ResolveCast has cognitive complexity 35 (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":"ICSharpCode.Decompiler/CSharp/Resolver/CSharpResolver.cs"},"region":{"startLine":1355}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bb57ac0fe234d32369e2ddc169a7e0af81cf6c98dbbd4126efc254dd9363b72"}},{"ruleId":"D2","level":"warning","message":{"text":"DetectPinnedRegions.SplitBlocksAtWritesToPinnedLocals (cognitive 35): DetectPinnedRegions.SplitBlocksAtWritesToPinnedLocals has cognitive complexity 35 (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":"ICSharpCode.Decompiler/IL/ControlFlow/DetectPinnedRegions.cs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"3164d10314f4750aaec29beff3667bd42a7733455ef9b6864ebdc2a53c810688"}},{"ruleId":"D2","level":"warning","message":{"text":"RuntimeAsyncManualAwaitTransform.DetectRuntimeAsyncManualAwait (cognitive 35): RuntimeAsyncManualAwaitTransform.DetectRuntimeAsyncManualAwait has cognitive complexity 35 (threshold 15). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/ControlFlow/RuntimeAsyncManualAwaitTransform.cs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1a9d93114b20079cd2eabe242677ad0f6f7d3b0e97587304b93f522df2239db"}},{"ruleId":"D2","level":"warning","message":{"text":"SymbolicEvaluationContext.Eval (cognitive 35): SymbolicEvaluationContext.Eval has cognitive complexity 35 (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":"ICSharpCode.Decompiler/IL/ControlFlow/SymbolicExecution.cs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b0233f79af58e8a1eaf254aaa7e611c128c434312f9632d0616bc1a40d7e089"}},{"ruleId":"D2","level":"warning","message":{"text":"IntroduceDynamicTypeOnLocals.Run (cognitive 35): IntroduceDynamicTypeOnLocals.Run has cognitive complexity 35 (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":"ICSharpCode.Decompiler/IL/Transforms/IntroduceDynamicTypeOnLocals.cs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bcb712efd5fd73ea59270c0f6f2b25688d70ab4d39592c446d2ade616df6084"}},{"ruleId":"D2","level":"warning","message":{"text":"ConnectionIdRewritePass.DecompileConnections (cognitive 34): ConnectionIdRewritePass.DecompileConnections has cognitive complexity 34 (threshold 15). Of this number, 33 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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":"ICSharpCode.BamlDecompiler/Rewrite/ConnectionIdRewritePass.cs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b80724e7ec9067218efc3af5ab643277719fbb92890a13ad259e7db1cfbb976"}},{"ruleId":"D2","level":"warning","message":{"text":"RecordDecompiler.IsGeneratedDeconstruct (cognitive 34): RecordDecompiler.IsGeneratedDeconstruct has cognitive complexity 34 (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":"ICSharpCode.Decompiler/CSharp/RecordDecompiler.cs"},"region":{"startLine":1364}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cbfd720656e59404d28bfb4d14e6c52130dbd3006d8902864f6bf56d944ff65"}},{"ruleId":"D2","level":"warning","message":{"text":"CSharpConversions.ImplicitConversion (cognitive 34): CSharpConversions.ImplicitConversion has cognitive complexity 34 (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":"ICSharpCode.Decompiler/CSharp/Resolver/CSharpConversions.cs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef70601b74ea8564571d1e5a2f975aaad986463dd84d65bb1c190edfecca96e6"}},{"ruleId":"D2","level":"warning","message":{"text":"CSharpConversions.AnonymousFunctionConversion (cognitive 34): CSharpConversions.AnonymousFunctionConversion has cognitive complexity 34 (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":"ICSharpCode.Decompiler/CSharp/Resolver/CSharpConversions.cs"},"region":{"startLine":1301}}}],"partialFingerprints":{"codehealthFindingId/v1":"213216d9b880fa70d3c44569d5252eb7329f3045a20755c5f57d31b2ff30a43e"}},{"ruleId":"D2","level":"warning","message":{"text":"MemberLookup.RemoveInterfaceMembersHiddenByClassMembers (cognitive 34): MemberLookup.RemoveInterfaceMembersHiddenByClassMembers has cognitive complexity 34 (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":"ICSharpCode.Decompiler/CSharp/Resolver/MemberLookup.cs"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"72e97069e9c3dc951ea08e6ebc5980a9a98fa4577876eef9277284a2d2719476"}},{"ruleId":"D2","level":"warning","message":{"text":"ReflectionDisassembler.DisassembleMethodHeaderInternal (cognitive 34): ReflectionDisassembler.DisassembleMethodHeaderInternal has cognitive complexity 34 (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":"ICSharpCode.Decompiler/Disassembler/ReflectionDisassembler.cs"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6534632777f52e6f0ad74965bf184175ae9d8f2ab60d21671b910b08a7e3e67"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncAwaitDecompiler.FindYieldBreakTarget (cognitive 34): AsyncAwaitDecompiler.FindYieldBreakTarget has cognitive complexity 34 (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":"ICSharpCode.Decompiler/IL/ControlFlow/AsyncAwaitDecompiler.cs"},"region":{"startLine":1470}}}],"partialFingerprints":{"codehealthFindingId/v1":"66f2ce3e9726b75306cb17d7d312d5dfc865cf515ed99026fd80a5df772b3f53"}},{"ruleId":"D2","level":"warning","message":{"text":"DetectPinnedRegions.HandleStringToPointer (cognitive 34): DetectPinnedRegions.HandleStringToPointer has cognitive complexity 34 (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":"ICSharpCode.Decompiler/IL/ControlFlow/DetectPinnedRegions.cs"},"region":{"startLine":880}}}],"partialFingerprints":{"codehealthFindingId/v1":"a23c1ca7407bd7275916f23f90c6a4edb7b9cd44ddc799661b2e85f483bbe3d6"}},{"ruleId":"D2","level":"warning","message":{"text":"SwitchOnStringTransform.MatchLegacySwitchOnStringWithHashtable (cognitive 34): SwitchOnStringTransform.MatchLegacySwitchOnStringWithHashtable has cognitive complexity 34 (threshold 15). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/SwitchOnStringTransform.cs"},"region":{"startLine":891}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d10e7b0db52111b318c44a07f2f725e7471ae5f0f6a6b50e2d9881a0b1fcf9e"}},{"ruleId":"D2","level":"warning","message":{"text":"TransformAssignment.TransformPreIncDecOperatorWithInlineStore (cognitive 34): TransformAssignment.TransformPreIncDecOperatorWithInlineStore has cognitive complexity 34 (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":"ICSharpCode.Decompiler/IL/Transforms/TransformAssignment.cs"},"region":{"startLine":861}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdb930000723178a07cf3949ec06f14bd76333644e8cc7c2b6bb996b217cc3b5"}},{"ruleId":"D2","level":"warning","message":{"text":"TransformExpressionTrees.ConvertComparison (cognitive 34): TransformExpressionTrees.ConvertComparison has cognitive complexity 34 (threshold 15). Most of this is not in the body itself: 5 of the 34 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 1131, 1116, 1149, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/TransformExpressionTrees.cs"},"region":{"startLine":1104}}}],"partialFingerprints":{"codehealthFindingId/v1":"0284fd5668bb240de9b17d540e9a5242d7caa315538b2377e34d22c70dc2209d"}},{"ruleId":"D2","level":"warning","message":{"text":"GuessFileType.IsUTF8 (cognitive 34): GuessFileType.IsUTF8 has cognitive complexity 34 (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":"ICSharpCode.ILSpyX/Util/GuessFileType.cs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"7909a642ad122b1c892e48e5010905f6192960c921847d1667ef707250d32bf2"}},{"ruleId":"D2","level":"warning","message":{"text":"InsertParenthesesVisitor.VisitCastExpression (cognitive 33): InsertParenthesesVisitor.VisitCastExpression has cognitive complexity 33 (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":"ICSharpCode.Decompiler/CSharp/OutputVisitor/InsertParenthesesVisitor.cs"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"becddd6af84e01ab545234e2c5565f13a26904a83ca5c37e3eaeb7ccab8af1ef"}},{"ruleId":"D2","level":"warning","message":{"text":"DocumentationIdSearch.SplitPath (cognitive 33): DocumentationIdSearch.SplitPath has cognitive complexity 33 (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":"ICSharpCode.Decompiler/Documentation/DocumentationIdSearch.cs"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcaa78336932df55d15cab0930c8d28d7765b5494b8979357700ee029dbf7cf6"}},{"ruleId":"D2","level":"warning","message":{"text":"RuntimeAsyncExceptionRewriteTransform.Run (cognitive 33): RuntimeAsyncExceptionRewriteTransform.Run has cognitive complexity 33 (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":"ICSharpCode.Decompiler/IL/ControlFlow/RuntimeAsyncExceptionRewriteTransform.cs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0c89c49eae92346706c98b74cea4ec366aa329c146e1df7ac3d58c9f7ffc236"}},{"ruleId":"D2","level":"warning","message":{"text":"HighLevelLoopTransform.MatchForLoop (cognitive 33): HighLevelLoopTransform.MatchForLoop has cognitive complexity 33 (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":"ICSharpCode.Decompiler/IL/Transforms/HighLevelLoopTransform.cs"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f421dd6279601f5266ccb1a440d350d0e403431517e04fa85c1a7ddc499a4d8"}},{"ruleId":"D2","level":"warning","message":{"text":"ILInlining.NonAggressiveInlineInto (cognitive 33): ILInlining.NonAggressiveInlineInto has cognitive complexity 33 (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":"ICSharpCode.Decompiler/IL/Transforms/ILInlining.cs"},"region":{"startLine":648}}}],"partialFingerprints":{"codehealthFindingId/v1":"455a788f13ac7e55467ab496f27d8302a8ccfacda9aa0c6dda9b0888cdb8de05"}},{"ruleId":"D2","level":"warning","message":{"text":"TransformExpressionTrees.ConvertCall (cognitive 33): TransformExpressionTrees.ConvertCall has cognitive complexity 33 (threshold 15). Of this number, 31 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. 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":"ICSharpCode.Decompiler/IL/Transforms/TransformExpressionTrees.cs"},"region":{"startLine":817}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc047fc37b4fb64be9a92633685f83a67010d9e4611a6793bc7580aed8f16677"}},{"ruleId":"D2","level":"warning","message":{"text":"ApplyAttributeTypeVisitor.VisitParameterizedType (cognitive 33): ApplyAttributeTypeVisitor.VisitParameterizedType has cognitive complexity 33 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/TypeSystem/ApplyAttributeTypeVisitor.cs"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"b000f68e5d76c5e8b139dd4e3c9e0f8856c95787102a54f15ae22b37597d3a64"}},{"ruleId":"D2","level":"warning","message":{"text":"AttributeListBuilder.ConvertMarshalInfo (cognitive 33): AttributeListBuilder.ConvertMarshalInfo has cognitive complexity 33 (threshold 15). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. 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. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/TypeSystem/Implementation/AttributeListBuilder.cs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbfc31d71a483a2f485134e2787ed77dfabd3319404982fa2fea141e31d09b65"}},{"ruleId":"D2","level":"warning","message":{"text":"MetadataTokenSearchStrategy.Search (cognitive 33): MetadataTokenSearchStrategy.Search has cognitive complexity 33 (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":"ICSharpCode.ILSpyX/Search/MetadataTokenSearchStrategy.cs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"51efa76f35c2677188185df12aec052bf6e5d7f6d271c507ca8699b84a37738e"}},{"ruleId":"D2","level":"warning","message":{"text":"SharpTreeNode.SetIsChecked (cognitive 33): SharpTreeNode.SetIsChecked has cognitive complexity 33 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/TreeView/SharpTreeNode.cs"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee1f2e6b06e945fde2ae1fc920b7ba583a64a0d3f64b728395ca7e5d4f2baaeb"}},{"ruleId":"D2","level":"warning","message":{"text":"CSharpLanguage.GetEntityName (cognitive 33): CSharpLanguage.GetEntityName has cognitive complexity 33 (threshold 15). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. 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. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Languages/CSharpLanguage.cs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"1526aeb8da37be173a20424e435927eb11466637e9f771f289b814f553dc6809"}},{"ruleId":"D2","level":"warning","message":{"text":"CSharpAmbience.WriteMemberDeclarationName (cognitive 32): CSharpAmbience.WriteMemberDeclarationName has cognitive complexity 32 (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":"ICSharpCode.Decompiler/CSharp/OutputVisitor/CSharpAmbience.cs"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d220611c8557e537286b1a7ca92f46e7831a9036af497c6e4eceeb08455d8c6"}},{"ruleId":"D2","level":"warning","message":{"text":"CSharpConversions.GetApplicableConversionOperators (cognitive 32): CSharpConversions.GetApplicableConversionOperators has cognitive complexity 32 (threshold 15). Of this number, 29 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. 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":"ICSharpCode.Decompiler/CSharp/Resolver/CSharpConversions.cs"},"region":{"startLine":1169}}}],"partialFingerprints":{"codehealthFindingId/v1":"df2e6b6b86d05ed4131add9f9437cc6064cbdbcb4c629b8a3bb21a80b2663ed7"}},{"ruleId":"D2","level":"warning","message":{"text":"TypeInference.PhaseTwo (cognitive 32): TypeInference.PhaseTwo has cognitive complexity 32 (threshold 15). Of this number, 31 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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":"ICSharpCode.Decompiler/CSharp/Resolver/TypeInference.cs"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"98375131af77d99836e30c8907238e1b86ee5583e877b481fd426dae43bf69f6"}},{"ruleId":"D2","level":"warning","message":{"text":"TypeInference.MakeOutputTypeInference (cognitive 32): TypeInference.MakeOutputTypeInference has cognitive complexity 32 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/Resolver/TypeInference.cs"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"9468122eacc4477d1488ff238d2cadbba91355eba1ff9f06133412ed0815e0b6"}},{"ruleId":"D2","level":"warning","message":{"text":"StatementBuilder.VisitLeave (cognitive 32): StatementBuilder.VisitLeave has cognitive complexity 32 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 15 belong to one function item inside it that branches. 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":"ICSharpCode.Decompiler/CSharp/StatementBuilder.cs"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"377d4b6521113ea2d3bd01bc15ef44660f3a9ece75244ffc73e4a2c35b67a02f"}},{"ruleId":"D2","level":"warning","message":{"text":"InitializerSequence.Analyze (cognitive 32): InitializerSequence.Analyze has cognitive complexity 32 (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":"ICSharpCode.Decompiler/CSharp/Transforms/TransformFieldAndConstructorInitializers.cs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"717cf4674ff1eda6543a5d16c59c2fa5718f9f54309ce3fef41e9dddfb3fa9e3"}},{"ruleId":"D2","level":"warning","message":{"text":"ReflectionDisassembler.WriteTypeParametersCore (cognitive 32): ReflectionDisassembler.WriteTypeParametersCore has cognitive complexity 32 (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":"ICSharpCode.Decompiler/Disassembler/ReflectionDisassembler.cs"},"region":{"startLine":1924}}}],"partialFingerprints":{"codehealthFindingId/v1":"96b744f9ac97c3f7cab2f07abfac1e8e22b7813d0215cac41ac211b1efac7e56"}},{"ruleId":"D2","level":"warning","message":{"text":"ILReader.Comparison (cognitive 32): ILReader.Comparison has cognitive complexity 32 (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":"ICSharpCode.Decompiler/IL/ILReader.cs"},"region":{"startLine":1921}}}],"partialFingerprints":{"codehealthFindingId/v1":"a18055b210de257d75e70a44fb452d8a7233ec7c0e79591d8a60fa9b012b7084"}},{"ruleId":"D2","level":"warning","message":{"text":"TransformCollectionAndObjectInitializers.IsPartOfInitializer (cognitive 32): TransformCollectionAndObjectInitializers.IsPartOfInitializer has cognitive complexity 32 (threshold 15). Of this number, 30 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. 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":"ICSharpCode.Decompiler/IL/Transforms/TransformCollectionAndObjectInitializers.cs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"418182024980132ba9ccaa8eee0353bf4a7da84ac9a7ea3e3fef26fa90291ca0"}},{"ruleId":"D2","level":"warning","message":{"text":"CSharpDecompiler.SetNewModifier (cognitive 31): CSharpDecompiler.SetNewModifier has cognitive complexity 31 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 6 belong to 5 function literals inside it that branch. 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":"ICSharpCode.Decompiler/CSharp/CSharpDecompiler.cs"},"region":{"startLine":1711}}}],"partialFingerprints":{"codehealthFindingId/v1":"761a127a8a236e7c1f9ff23e8ff372194e49460202a2826b7dab4b680567e82d"}},{"ruleId":"D2","level":"warning","message":{"text":"ExpressionBuilder.HandleCompoundAssignment (cognitive 31): ExpressionBuilder.HandleCompoundAssignment 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":"ICSharpCode.Decompiler/CSharp/ExpressionBuilder.cs"},"region":{"startLine":2167}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bdd7d335c1d60a73329a08519d6b68f9204f159ffc84f99ab49d6a0224ca0a6"}},{"ruleId":"D2","level":"warning","message":{"text":"InsertParenthesesVisitor.GetPrecedence (cognitive 31): InsertParenthesesVisitor.GetPrecedence 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":"ICSharpCode.Decompiler/CSharp/OutputVisitor/InsertParenthesesVisitor.cs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0049fdcef285d29fdaba457c4759df951ab35a31a33da4dad142ed198550c4b"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncAwaitDecompiler.AnalyzeAwaitBlock (cognitive 31): AsyncAwaitDecompiler.AnalyzeAwaitBlock has cognitive complexity 31 (threshold 15). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/ControlFlow/AsyncAwaitDecompiler.cs"},"region":{"startLine":1700}}}],"partialFingerprints":{"codehealthFindingId/v1":"b15bb35d7caecf3d2d6e5b68e3bc3e3b317ba81834d2d84ac4118d06c9262684"}},{"ruleId":"D2","level":"warning","message":{"text":"SwitchAnalysis.AnalyzeBlock (cognitive 31): SwitchAnalysis.AnalyzeBlock 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":"ICSharpCode.Decompiler/IL/ControlFlow/SwitchAnalysis.cs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"88371901526b587958c8196210e13e086b40a0f98c944824f372870d05737229"}},{"ruleId":"D2","level":"warning","message":{"text":"YieldReturnDecompiler.ReconstructTryFinallyBlocks (cognitive 31): YieldReturnDecompiler.ReconstructTryFinallyBlocks 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":"ICSharpCode.Decompiler/IL/ControlFlow/YieldReturnDecompiler.cs"},"region":{"startLine":1247}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aab1269c5829aafb5b260bcf79ffdff7a396fcaab75ad7271a62de3c82b088f"}},{"ruleId":"D2","level":"warning","message":{"text":"NumericCompoundAssign.IsBinaryCompatibleWithType (cognitive 31): NumericCompoundAssign.IsBinaryCompatibleWithType 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":"ICSharpCode.Decompiler/IL/Instructions/CompoundAssignmentInstruction.cs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"38572c161afded6c0ad35c61f5bdadf5609cb8ae3cbbb55acba450d18bb3ef7d"}},{"ruleId":"D2","level":"warning","message":{"text":"IntroduceNativeIntTypeOnLocals.Run (cognitive 31): IntroduceNativeIntTypeOnLocals.Run 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":"ICSharpCode.Decompiler/IL/Transforms/IntroduceNativeIntTypeOnLocals.cs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"93853bfcbc48dd37e0ecce92c690661a2fc377442ff3b7443f3abbabd93b5005"}},{"ruleId":"D2","level":"warning","message":{"text":"SwitchOnStringTransform.SimplifyCSharp1CascadingIfStatements (cognitive 31): SwitchOnStringTransform.SimplifyCSharp1CascadingIfStatements 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":"ICSharpCode.Decompiler/IL/Transforms/SwitchOnStringTransform.cs"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d7a2987f5b022df0b5ef92c7e169fd4a40a45c26af7f6a1d5bb3e035388c4a5"}},{"ruleId":"D2","level":"warning","message":{"text":"TransformAssignment.IsCompoundStore (cognitive 31): TransformAssignment.IsCompoundStore 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":"ICSharpCode.Decompiler/IL/Transforms/TransformAssignment.cs"},"region":{"startLine":691}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aeab6f2fc422e9ccd566e85c31a8f74033e0816e11ea6aace35e256445d181d"}},{"ruleId":"D2","level":"warning","message":{"text":"TransformDisplayClassUsage.ValidateConstructor (cognitive 31): TransformDisplayClassUsage.ValidateConstructor has cognitive complexity 31 (threshold 15). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/TransformDisplayClassUsage.cs"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"916a03f90e17cd9824cac366e40b2aa75885837eb84ad427b00b4556976dae9a"}},{"ruleId":"D2","level":"warning","message":{"text":"TextTokenWriter.WriteToken (cognitive 31): TextTokenWriter.WriteToken has cognitive complexity 31 (threshold 15). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. 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. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/Output/TextTokenWriter.cs"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe1dba66e99ddc10232bdcb5de8b36b0561b675533b59d674be8e610ba641560"}},{"ruleId":"D2","level":"warning","message":{"text":"DecompilerTextView.GetLineForBookmark (cognitive 31): DecompilerTextView.GetLineForBookmark 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":"ILSpy/TextView/DecompilerTextView.axaml.cs"},"region":{"startLine":1072}}}],"partialFingerprints":{"codehealthFindingId/v1":"975bcb2dd4fcfc129354c509b8a0ff72955202e2f4f693460039312fe695f1e6"}},{"ruleId":"D2","level":"warning","message":{"text":"DocumentationRenderer.AddDocumentationElement (cognitive 31): DocumentationRenderer.AddDocumentationElement 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":"ILSpy/TextView/DocumentationRenderer.cs"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8adead5fe7ee6352f1bf95c4f523e63a6cd61759cd34375689a19e41774f9a8"}},{"ruleId":"D2","level":"warning","message":{"text":"ExpressionBuilder.TranslateArrayInitializer (cognitive 30): ExpressionBuilder.TranslateArrayInitializer has cognitive complexity 30 (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":"ICSharpCode.Decompiler/CSharp/ExpressionBuilder.cs"},"region":{"startLine":3886}}}],"partialFingerprints":{"codehealthFindingId/v1":"b21c21916ee38c176e05518e8b7cdfb6fc279d592c5cb8e4b4a6cc7590b17e50"}},{"ruleId":"D2","level":"warning","message":{"text":"CSharpOutputVisitor.VisitTypeDeclaration (cognitive 30): CSharpOutputVisitor.VisitTypeDeclaration has cognitive complexity 30 (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":"ICSharpCode.Decompiler/CSharp/OutputVisitor/CSharpOutputVisitor.cs"},"region":{"startLine":1596}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8b262613fb15c3943c87215addd0b0da56c1e56fd583fbf2fd312bbab8e3b6a"}},{"ruleId":"D2","level":"warning","message":{"text":"CSharpConversions.IdentityOrVarianceConversion (cognitive 30): CSharpConversions.IdentityOrVarianceConversion has cognitive complexity 30 (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":"ICSharpCode.Decompiler/CSharp/Resolver/CSharpConversions.cs"},"region":{"startLine":610}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f835b8d365387f97cc5c61177a3d6dbeca2074bdf531817e39149a88dddcab1"}},{"ruleId":"D2","level":"warning","message":{"text":"CSharpConversions.UserDefinedImplicitConversion (cognitive 30): CSharpConversions.UserDefinedImplicitConversion has cognitive complexity 30 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/Resolver/CSharpConversions.cs"},"region":{"startLine":1010}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e17b1dc51da758628b83b14f08552ae99955ac63ac251884bbc66b0b0280655"}},{"ruleId":"D2","level":"warning","message":{"text":"ReflectionDisassembler.DisassembleType (cognitive 30): ReflectionDisassembler.DisassembleType has cognitive complexity 30 (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":"ICSharpCode.Decompiler/Disassembler/ReflectionDisassembler.cs"},"region":{"startLine":1755}}}],"partialFingerprints":{"codehealthFindingId/v1":"32e66ff55bd247f1d0c86dd5314bc27b6efb63b8a4b63ad3431fa39ed1e8f5a1"}},{"ruleId":"D2","level":"warning","message":{"text":"LoopDetection.FindExitPoint (cognitive 30): LoopDetection.FindExitPoint has cognitive complexity 30 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/ControlFlow/LoopDetection.cs"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d5ea01f2d09ad4b3b80e019b2ed967fe05650c92d8276a930f76474ff9ea86a"}},{"ruleId":"D2","level":"warning","message":{"text":"TransformArrayInitializers.DoTransform (cognitive 30): TransformArrayInitializers.DoTransform has cognitive complexity 30 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/TransformArrayInitializers.cs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca810c6118441ab6e4cb02c0f3a6b233b16cbe1bdfdd5349cd5fd3dd5098804d"}},{"ruleId":"D2","level":"warning","message":{"text":"TransformAssignment.TransformPostIncDecOperatorWithInlineStore (cognitive 30): TransformAssignment.TransformPostIncDecOperatorWithInlineStore has cognitive complexity 30 (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":"ICSharpCode.Decompiler/IL/Transforms/TransformAssignment.cs"},"region":{"startLine":955}}}],"partialFingerprints":{"codehealthFindingId/v1":"17b98ae2a06774be3074cbf80d297015769e143a30c49bb0f4e49b67a1e97d6a"}},{"ruleId":"D2","level":"warning","message":{"text":"TransformExpressionTrees.ConvertInstruction (cognitive 30): TransformExpressionTrees.ConvertInstruction has cognitive complexity 30 (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":"ICSharpCode.Decompiler/IL/Transforms/TransformExpressionTrees.cs"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"8606c3697cd5d8ce0962edcfd6ac00e48aa2dd3500fdb904c394de55c3ebc454"}},{"ruleId":"D2","level":"warning","message":{"text":"TransformExpressionTrees.ConvertListInit (cognitive 30): TransformExpressionTrees.ConvertListInit has cognitive complexity 30 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. 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":"ICSharpCode.Decompiler/IL/Transforms/TransformExpressionTrees.cs"},"region":{"startLine":1417}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b484963246d83e55c3de6a206916e67cdaccf3d3ea79cfa85ac5ba179e7628e"}},{"ruleId":"D2","level":"warning","message":{"text":"DockWorkspace.OnAssemblyListChanged (cognitive 30): DockWorkspace.OnAssemblyListChanged has cognitive complexity 30 (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":"ILSpy/Docking/DockWorkspace.cs"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"a00e500370250dda3de02451e9dc675609966223b66f64081c070ac1eceb6986"}},{"ruleId":"D2","level":"warning","message":{"text":"ConnectionIdRewritePass.MatchEventSetterCreation (cognitive 29): ConnectionIdRewritePass.MatchEventSetterCreation has cognitive complexity 29 (threshold 15). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.BamlDecompiler/Rewrite/ConnectionIdRewritePass.cs"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"91a1ae6836cb5d5b35cbddb7d297501f0e346557688f8ab04fff51da991c351a"}},{"ruleId":"D2","level":"warning","message":{"text":"RecordDecompiler.IsGeneratedToString (cognitive 29): RecordDecompiler.IsGeneratedToString has cognitive complexity 29 (threshold 15). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/RecordDecompiler.cs"},"region":{"startLine":1017}}}],"partialFingerprints":{"codehealthFindingId/v1":"230ba9f0ac4788d970adbba8521b34d721998aada88ea44e48507606c49c8743"}},{"ruleId":"D2","level":"warning","message":{"text":"MemberLookup.CreateResult (cognitive 29): MemberLookup.CreateResult has cognitive complexity 29 (threshold 15). Of this number, 28 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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":"ICSharpCode.Decompiler/CSharp/Resolver/MemberLookup.cs"},"region":{"startLine":700}}}],"partialFingerprints":{"codehealthFindingId/v1":"98ee49cd915ace7efe371585a8eb0a9a2c5732980cb0016cbd817d5cdf178b3c"}},{"ruleId":"D2","level":"warning","message":{"text":"OverloadResolution.MapCorrespondingParameters (cognitive 29): OverloadResolution.MapCorrespondingParameters has cognitive complexity 29 (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":"ICSharpCode.Decompiler/CSharp/Resolver/OverloadResolution.cs"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"9abf9f7ea2d7efce0a14c5f581d54490335f3a6d1ca00ac7831faf38f23006ad"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncAwaitDecompiler.NormalizeAwaitOnCompletedDualBranch (cognitive 29): AsyncAwaitDecompiler.NormalizeAwaitOnCompletedDualBranch has cognitive complexity 29 (threshold 15). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/ControlFlow/AsyncAwaitDecompiler.cs"},"region":{"startLine":1569}}}],"partialFingerprints":{"codehealthFindingId/v1":"e746cfdc0d55569a3480b009a09341deb86020d1f313b0b4272ca90756781695"}},{"ruleId":"D2","level":"warning","message":{"text":"LoopDetection.PrepareReverseCFG (cognitive 29): LoopDetection.PrepareReverseCFG has cognitive complexity 29 (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":"ICSharpCode.Decompiler/IL/ControlFlow/LoopDetection.cs"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1a7d9639f04a77a130bbe1b2fcccacf5006a3ca8a2af5de0c1af3642b77c609"}},{"ruleId":"D2","level":"warning","message":{"text":"DeconstructionTransform.MatchNestedTupleDesignations (cognitive 29): DeconstructionTransform.MatchNestedTupleDesignations has cognitive complexity 29 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 7 belong to one function item inside it that branches. 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":"ICSharpCode.Decompiler/IL/Transforms/DeconstructionTransform.cs"},"region":{"startLine":688}}}],"partialFingerprints":{"codehealthFindingId/v1":"776154496e07fae445cfbe133786579c1c1370db6b3fdba8556cb9841b772542"}},{"ruleId":"D2","level":"warning","message":{"text":"TransformAssignment.IsMatchingCompoundLoad (cognitive 29): TransformAssignment.IsMatchingCompoundLoad has cognitive complexity 29 (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":"ICSharpCode.Decompiler/IL/Transforms/TransformAssignment.cs"},"region":{"startLine":779}}}],"partialFingerprints":{"codehealthFindingId/v1":"f61913f1bad3a9cadd2bdb94b2f529aa5f49e4cbe7af2aaa4f82412e43206045"}},{"ruleId":"D2","level":"warning","message":{"text":"CSharpInvocationResolveResult.GetArgumentsForCall (cognitive 29): CSharpInvocationResolveResult.GetArgumentsForCall has cognitive complexity 29 (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":"ICSharpCode.Decompiler/Semantics/CSharpInvocationResolveResult.cs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2d6f8aabaf198b89066c0be12923e2a0bd9719891c84271d25bea5a0e28aed1"}},{"ruleId":"D2","level":"warning","message":{"text":"GetMembersHelper.GetNestedTypesImpl (cognitive 29): GetMembersHelper.GetNestedTypesImpl has cognitive complexity 29 (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":"ICSharpCode.Decompiler/TypeSystem/Implementation/GetMembersHelper.cs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"062183300c3603488d19941390bc2822e872f0b069bb2d2e793912804a566cb1"}},{"ruleId":"D2","level":"warning","message":{"text":"SharpTreeNode.UpdateIsVisible (cognitive 29): SharpTreeNode.UpdateIsVisible has cognitive complexity 29 (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":"ICSharpCode.ILSpyX/TreeView/SharpTreeNode.cs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf81f4da904863e6b4cae0f1989127bdb8ae470c07e1a5df587f0e21c25f1508"}},{"ruleId":"D2","level":"warning","message":{"text":"CallBuilder.TokenizeFormatString (cognitive 28): CallBuilder.TokenizeFormatString has cognitive complexity 28 (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":"ICSharpCode.Decompiler/CSharp/CallBuilder.cs"},"region":{"startLine":942}}}],"partialFingerprints":{"codehealthFindingId/v1":"a540ee433bf8fba86de0fe50502923fb3e672af564159b40b491d6451548c22d"}},{"ruleId":"D2","level":"warning","message":{"text":"CSharpDecompiler.Decompile (cognitive 28): CSharpDecompiler.Decompile has cognitive complexity 28 (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":"ICSharpCode.Decompiler/CSharp/CSharpDecompiler.cs"},"region":{"startLine":1448}}}],"partialFingerprints":{"codehealthFindingId/v1":"19e1003eafc6fd413f47dd5515801cf30fb6df694bdbb8de0ac09d46198ccedb"}},{"ruleId":"D2","level":"warning","message":{"text":"CSharpDecompiler.DecompileBody (cognitive 28): CSharpDecompiler.DecompileBody has cognitive complexity 28 (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":"ICSharpCode.Decompiler/CSharp/CSharpDecompiler.cs"},"region":{"startLine":2371}}}],"partialFingerprints":{"codehealthFindingId/v1":"8008cf5dd11324c20a87cdf93e9834690d33ab04d2b4c0ce5e00d3cc2f81fe24"}},{"ruleId":"D2","level":"warning","message":{"text":"ExpressionBuilder.HandleManagedPointerArithmetic (cognitive 28): ExpressionBuilder.HandleManagedPointerArithmetic has cognitive complexity 28 (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":"ICSharpCode.Decompiler/CSharp/ExpressionBuilder.cs"},"region":{"startLine":1441}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b68918c34a0f473399165ce867dea46cad44b99596b04aeb9e90adf21770cea"}},{"ruleId":"D2","level":"warning","message":{"text":"ExpressionBuilder.TranslateStackAllocInitializer (cognitive 28): ExpressionBuilder.TranslateStackAllocInitializer has cognitive complexity 28 (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":"ICSharpCode.Decompiler/CSharp/ExpressionBuilder.cs"},"region":{"startLine":3981}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed2f2ac0aaf9b647fe9fcffc2415189ca5941f22bfb84a1d5bf133c88e188268"}},{"ruleId":"D2","level":"warning","message":{"text":"RecordDecompiler.IsGeneratedGetHashCode (cognitive 28): RecordDecompiler.IsGeneratedGetHashCode has cognitive complexity 28 (threshold 15). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/RecordDecompiler.cs"},"region":{"startLine":1274}}}],"partialFingerprints":{"codehealthFindingId/v1":"d10d941161ddf9f7e4bb14a4c772f05ea7910f31f95f988801b04dc5d8d3a0be"}},{"ruleId":"D2","level":"warning","message":{"text":"StatementBuilder.TransformToForeach (cognitive 28): StatementBuilder.TransformToForeach has cognitive complexity 28 (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":"ICSharpCode.Decompiler/CSharp/StatementBuilder.cs"},"region":{"startLine":763}}}],"partialFingerprints":{"codehealthFindingId/v1":"6942edb6d29d8c00f9df51a78fdbf46289c6e762a50b5474795278b29e5f5912"}},{"ruleId":"D2","level":"warning","message":{"text":"TypeSystemAstBuilder.ConvertConstantValue (cognitive 28): TypeSystemAstBuilder.ConvertConstantValue has cognitive complexity 28 (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":"ICSharpCode.Decompiler/CSharp/Syntax/TypeSystemAstBuilder.cs"},"region":{"startLine":1007}}}],"partialFingerprints":{"codehealthFindingId/v1":"83bac7cf23dfb963b1f15763db27037eca4749f99779319613dba346ae9b6f9b"}},{"ruleId":"D2","level":"warning","message":{"text":"PatternStatementTransform.TransformForeachOnMultiDimArray (cognitive 28): PatternStatementTransform.TransformForeachOnMultiDimArray has cognitive complexity 28 (threshold 15). Of this number, 26 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. 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":"ICSharpCode.Decompiler/CSharp/Transforms/PatternStatementTransform.cs"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aaf35bff9ccce059e3145ebafc7698e326b95556ae879e74044391a3b4d38ab"}},{"ruleId":"D2","level":"warning","message":{"text":"ReflectionDisassembler.WriteNativeType (cognitive 28): ReflectionDisassembler.WriteNativeType has cognitive complexity 28 (threshold 15). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. 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. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/Disassembler/ReflectionDisassembler.cs"},"region":{"startLine":953}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b732175fb3d8ab97377d5f79b83af38d66fbdb8ae9aefe5315a0e43d2f3d334"}},{"ruleId":"D2","level":"warning","message":{"text":"DetectCatchWhenConditionBlocks.MatchCatchWhenEntryPoint (cognitive 28): DetectCatchWhenConditionBlocks.MatchCatchWhenEntryPoint has cognitive complexity 28 (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":"ICSharpCode.Decompiler/IL/Transforms/DetectCatchWhenConditionBlocks.cs"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"76a7271399a389567255cd9d88050324111aa05202ea6fd6ae0166b244cf3378"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalFunctionDecompiler.DetermineCaptureAndDeclarationScopes (cognitive 28): LocalFunctionDecompiler.DetermineCaptureAndDeclarationScopes has cognitive complexity 28 (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":"ICSharpCode.Decompiler/IL/Transforms/LocalFunctionDecompiler.cs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"c50601f4caf3074723374d2627f17c574e55985521cb9098d6dc5cc525d0378b"}},{"ruleId":"D2","level":"warning","message":{"text":"RemoveDeadVariableInit.Run (cognitive 28): RemoveDeadVariableInit.Run has cognitive complexity 28 (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":"ICSharpCode.Decompiler/IL/Transforms/RemoveDeadVariableInit.cs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5cd4f275878f16b9545ba2f029815ef6d0046dcc2271b674edcaf20b6260a59"}},{"ruleId":"D2","level":"warning","message":{"text":"UsingTransform.MatchNullCheckOrTypeCheck (cognitive 28): UsingTransform.MatchNullCheckOrTypeCheck has cognitive complexity 28 (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":"ICSharpCode.Decompiler/IL/Transforms/UsingTransform.cs"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"58b494050087423768d9e83705d0a18de48c6e0b12fe21fc255b9aaf4847bd95"}},{"ruleId":"D2","level":"warning","message":{"text":"FunctionPointerType.FromSignature (cognitive 28): FunctionPointerType.FromSignature has cognitive complexity 28 (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":"ICSharpCode.Decompiler/TypeSystem/FunctionPointerType.cs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d18cf973354ef1f581abce2546b03833a8a6e4e14fc657b7aa71ff6cc613149"}},{"ruleId":"D2","level":"warning","message":{"text":"MetadataModule.GuessFakeMethodAccessor (cognitive 28): MetadataModule.GuessFakeMethodAccessor has cognitive complexity 28 (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":"ICSharpCode.Decompiler/TypeSystem/MetadataModule.cs"},"region":{"startLine":720}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a33419d554cf49cd3cfd8c435693d01d961e252eaa455a37e99a22017fe8dd3"}},{"ruleId":"D2","level":"warning","message":{"text":"LoadedAssembly.LoadCoreAsync (cognitive 28): LoadedAssembly.LoadCoreAsync has cognitive complexity 28 (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":"ICSharpCode.ILSpyX/LoadedAssembly.cs"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aa639420f0510a9e45d01a66eaccbb768d42fc03624c0a190779378e7e61f39"}},{"ruleId":"D2","level":"warning","message":{"text":"FlagsSchemaInferer.Build (cognitive 28): FlagsSchemaInferer.Build has cognitive complexity 28 (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":"ILSpy/Metadata/FlagsSchemaInferer.cs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd0df63b40744f3410d82c45fdd592f92615bddde19299605308dafac3d95ed5"}},{"ruleId":"D2","level":"warning","message":{"text":"CallBuilder.TransformParamsArgument (cognitive 27): CallBuilder.TransformParamsArgument has cognitive complexity 27 (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":"ICSharpCode.Decompiler/CSharp/CallBuilder.cs"},"region":{"startLine":1180}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3db3d3124b323218c4352e0cec9a2ef4ddb8e8d49e251fa5a177fdfa0d68ee0"}},{"ruleId":"D2","level":"warning","message":{"text":"CallBuilder.HandleAccessorCall (cognitive 27): CallBuilder.HandleAccessorCall has cognitive complexity 27 (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":"ICSharpCode.Decompiler/CSharp/CallBuilder.cs"},"region":{"startLine":1509}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dbeafe50ae0c7f4e17134d89d1dca702df5ab82d7007d62369ffcce3882e428"}},{"ruleId":"D2","level":"warning","message":{"text":"Disambiguator.IsUnambiguousCall (cognitive 27): Disambiguator.IsUnambiguousCall has cognitive complexity 27 (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":"ICSharpCode.Decompiler/CSharp/Disambiguator.cs"},"region":{"startLine":684}}}],"partialFingerprints":{"codehealthFindingId/v1":"689a46fec275fbebf18b44b44e2e23e3fbfa234b20a807ea4bdc7690ac44e337"}},{"ruleId":"D2","level":"warning","message":{"text":"TypeSystemAstBuilder.ConvertAttributes::CompareAttribute (cognitive 27): TypeSystemAstBuilder.ConvertAttributes::CompareAttribute has cognitive complexity 27 (threshold 15). Drivers by points: if/else 15 (22 pts), boolean chains 3, loops 2 (nesting depth added 7). 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":"ICSharpCode.Decompiler/CSharp/Syntax/TypeSystemAstBuilder.cs"},"region":{"startLine":844}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbde99dafd79614b30903c91b9321e133e257d732b27a1a9685d8cfe8f00b581"}},{"ruleId":"D2","level":"warning","message":{"text":"TypeSystemAstBuilder.ApplyShortAttributeNameIfPossible (cognitive 27): TypeSystemAstBuilder.ApplyShortAttributeNameIfPossible has cognitive complexity 27 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. 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. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/Syntax/TypeSystemAstBuilder.cs"},"region":{"startLine":935}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b5a7abcd3243fa57fc177ddbfeba5447a3a5fefbad89e78e32e123955d22959"}},{"ruleId":"D2","level":"warning","message":{"text":"ILReader.DecodeCall (cognitive 27): ILReader.DecodeCall has cognitive complexity 27 (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":"ICSharpCode.Decompiler/IL/ILReader.cs"},"region":{"startLine":1758}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9409a7605b70db0d2ea9283dbb3d67c3c03b80b06127c8569301cd5f5c03b47"}},{"ruleId":"D2","level":"warning","message":{"text":"PointerArithmeticOffset.Detect (cognitive 27): PointerArithmeticOffset.Detect has cognitive complexity 27 (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":"ICSharpCode.Decompiler/IL/PointerArithmeticOffset.cs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"34df0bed3f89c7ec593326aab9ddcaa6cb7a282e7f106dbbd406a305e2cd0569"}},{"ruleId":"D2","level":"warning","message":{"text":"CSharpHighlightingTokenWriter.WriteKeyword (cognitive 27): CSharpHighlightingTokenWriter.WriteKeyword has cognitive complexity 27 (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":"ILSpy/Languages/CSharpHighlightingTokenWriter.cs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a8adaf047ab53c2ecda3030b6e9f57184aa8434ed0122228aa5557120bc0c14"}},{"ruleId":"D2","level":"warning","message":{"text":"OverloadResolution.BetterParamsCollectionType (cognitive 26): OverloadResolution.BetterParamsCollectionType has cognitive complexity 26 (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":"ICSharpCode.Decompiler/CSharp/Resolver/OverloadResolution.cs"},"region":{"startLine":848}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcd4012ed4c6abd2b167b53849f6f47502a5a2518585ff12ee95bba669536ab9"}},{"ruleId":"D2","level":"warning","message":{"text":"TypeInference.CalculateDependencyMatrix (cognitive 26): TypeInference.CalculateDependencyMatrix has cognitive complexity 26 (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":"ICSharpCode.Decompiler/CSharp/Resolver/TypeInference.cs"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"739dbb92b7996fd4d3b5264b1b03bb686a56c5b8acdda6abaf410bb1004326e8"}},{"ruleId":"D2","level":"warning","message":{"text":"StatementBuilder.ConvertBlockContainer (cognitive 26): StatementBuilder.ConvertBlockContainer has cognitive complexity 26 (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":"ICSharpCode.Decompiler/CSharp/StatementBuilder.cs"},"region":{"startLine":1563}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad063dbbc7ab38b449b19fced8d29cf67bbba78633c6718e07fce424dbf0939b"}},{"ruleId":"D2","level":"warning","message":{"text":"AddCheckedBlocks.GetResult (cognitive 26): AddCheckedBlocks.GetResult has cognitive complexity 26 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/Transforms/AddCheckedBlocks.cs"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd11c4c1af33cdd2f150155ca2a8738f73f5c5b87f632e3123c14d695f54c2d1"}},{"ruleId":"D2","level":"warning","message":{"text":"PatternStatementTransform.TransformAutomaticProperty (cognitive 26): PatternStatementTransform.TransformAutomaticProperty has cognitive complexity 26 (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":"ICSharpCode.Decompiler/CSharp/Transforms/PatternStatementTransform.cs"},"region":{"startLine":759}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9f93b95cbe898fcb509b6b97375f6bf6980968b68dec15fd10e09248dcacba3"}},{"ruleId":"D2","level":"warning","message":{"text":"SecurityDeclarationDecoder.ResolveType (cognitive 26): SecurityDeclarationDecoder.ResolveType has cognitive complexity 26 (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":"ICSharpCode.Decompiler/Disassembler/ReflectionDisassembler.cs"},"region":{"startLine":657}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d414bf1afabea44237fcffaab83634763619b40eff95e592a6ca0ff557f7efa"}},{"ruleId":"D2","level":"warning","message":{"text":"IdStringSignatureTypeProvider.GetGenericInstantiation (cognitive 26): IdStringSignatureTypeProvider.GetGenericInstantiation has cognitive complexity 26 (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":"ICSharpCode.Decompiler/Documentation/IdStringProvider.cs"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"d242d64a5daa0f2d021f02060a027923783c2ee04a6dcb75a470e06be6655b27"}},{"ruleId":"D2","level":"warning","message":{"text":"Dominance.ComputeDominance (cognitive 26): Dominance.ComputeDominance has cognitive complexity 26 (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":"ICSharpCode.Decompiler/FlowAnalysis/Dominance.cs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"17947b0400996999981469b198c6440a366c2774df673610f9cac2406ea0259f"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncAwaitDecompiler.ValidateCatchBlock (cognitive 26): AsyncAwaitDecompiler.ValidateCatchBlock has cognitive complexity 26 (threshold 15). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/ControlFlow/AsyncAwaitDecompiler.cs"},"region":{"startLine":1083}}}],"partialFingerprints":{"codehealthFindingId/v1":"55755d67f8bd535b99440e85b6d92076f2b54e2d635bace1501dd09f1af25346"}},{"ruleId":"D2","level":"warning","message":{"text":"YieldReturnDecompiler.Run (cognitive 26): YieldReturnDecompiler.Run has cognitive complexity 26 (threshold 15). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/ControlFlow/YieldReturnDecompiler.cs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2f2477c651e7227a908d18f907b8ad3441ae39bb2911166e662a6e3e35248ac"}},{"ruleId":"D2","level":"warning","message":{"text":"YieldReturnDecompiler.TranslateFieldsToLocalAccess (cognitive 26): YieldReturnDecompiler.TranslateFieldsToLocalAccess has cognitive complexity 26 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/ControlFlow/YieldReturnDecompiler.cs"},"region":{"startLine":1151}}}],"partialFingerprints":{"codehealthFindingId/v1":"37cf19ede706c1c9c52cb05b4cf2b5c3abbb3b87b0017318db938da7c94342c4"}},{"ruleId":"D2","level":"warning","message":{"text":"ILInlining.FindLoadInNext (cognitive 26): ILInlining.FindLoadInNext has cognitive complexity 26 (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":"ICSharpCode.Decompiler/IL/Transforms/ILInlining.cs"},"region":{"startLine":864}}}],"partialFingerprints":{"codehealthFindingId/v1":"b080d8c9ef15eee9178c2664ae8c678b0f5abe0e89a0e3291aa49e98fac918f7"}},{"ruleId":"D2","level":"warning","message":{"text":"ReduceNestingTransform.Visit (cognitive 26): ReduceNestingTransform.Visit has cognitive complexity 26 (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":"ICSharpCode.Decompiler/IL/Transforms/ReduceNestingTransform.cs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"a34e9d2d499bf6c632b40574fc05522f2c1b0259978f5cc85671f125718c23e8"}},{"ruleId":"D2","level":"warning","message":{"text":"TransformDisplayClassUsage.ValidateDisplayClassUses (cognitive 26): TransformDisplayClassUsage.ValidateDisplayClassUses has cognitive complexity 26 (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":"ICSharpCode.Decompiler/IL/Transforms/TransformDisplayClassUsage.cs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9373059cfabd5c3876b058688a7c583aac55fd02662b1079a36f38aa223461e"}},{"ruleId":"D2","level":"warning","message":{"text":"TransformExpressionTrees.ConvertLogicOperator (cognitive 26): TransformExpressionTrees.ConvertLogicOperator has cognitive complexity 26 (threshold 15). Most of this is not in the body itself: 10 of the 26 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 1541, 1514, 1525). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/TransformExpressionTrees.cs"},"region":{"startLine":1499}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b0b811243e4fb989aef6ecc42be2961d009f81a9619018c3b785e6621b10ca3"}},{"ruleId":"D2","level":"warning","message":{"text":"TypeParameterSubstitution.ToString (cognitive 26): TypeParameterSubstitution.ToString has cognitive complexity 26 (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":"ICSharpCode.Decompiler/TypeSystem/TypeParameterSubstitution.cs"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"acd16ca18b27442afb501b3c4fa077e73c3aa2f123c9da2c911c5a72738f7640"}},{"ruleId":"D2","level":"warning","message":{"text":"CompareEngine.CreateEntityTree (cognitive 26): CompareEngine.CreateEntityTree has cognitive complexity 26 (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":"ILSpy/CompareEngine.cs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1b42b6586377baf25012757381bbc2bc3000b1345fbbcc79d706c5dcb8ac2cc"}},{"ruleId":"D2","level":"warning","message":{"text":"SelectCtorTransform.Run (cognitive 26): SelectCtorTransform.Run has cognitive complexity 26 (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":"ILSpy/Languages/CSharpLanguage.cs"},"region":{"startLine":664}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3c889b0fc748e951f5cf15c4dbee7669cb1e92155dc955b859b7f711449967f"}},{"ruleId":"D2","level":"warning","message":{"text":"PropertyWithExtensionHandler.Translate (cognitive 25): PropertyWithExtensionHandler.Translate has cognitive complexity 25 (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":"ICSharpCode.BamlDecompiler/Handlers/Records/PropertyWithExtensionHandler.cs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfac2f2e0e9145c9d80aa8e1291909e809102eee2cbddc5c36bd7924e8a12676"}},{"ruleId":"D2","level":"warning","message":{"text":"OverloadResolution.AddMethodLists (cognitive 25): OverloadResolution.AddMethodLists has cognitive complexity 25 (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":"ICSharpCode.Decompiler/CSharp/Resolver/OverloadResolution.cs"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"c09574918423a1b2996868eae3a6279dee83e23b7e2ab2e23b8c5c30d138c6e3"}},{"ruleId":"D2","level":"warning","message":{"text":"ReflectionDisassembler.WriteParameters (cognitive 25): ReflectionDisassembler.WriteParameters has cognitive complexity 25 (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":"ICSharpCode.Decompiler/Disassembler/ReflectionDisassembler.cs"},"region":{"startLine":1177}}}],"partialFingerprints":{"codehealthFindingId/v1":"9520581fc3b653640c65089a87b3cdcfc45d7376c372d88f2e3b9f8225d2ba9c"}},{"ruleId":"D2","level":"warning","message":{"text":"DocumentationIdSearch.CollectMembers (cognitive 25): DocumentationIdSearch.CollectMembers has cognitive complexity 25 (threshold 15). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. 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. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/Documentation/DocumentationIdSearch.cs"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f3dcf4726dd518bbff4665959cac267d3731400c0faa8e718681cef9ac8cf78"}},{"ruleId":"D2","level":"warning","message":{"text":"IdStringProvider.ResolveTypeInModule (cognitive 25): IdStringProvider.ResolveTypeInModule has cognitive complexity 25 (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":"ICSharpCode.Decompiler/Documentation/IdStringProvider.cs"},"region":{"startLine":1144}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0aa0d50b2a57088944ae11de34def017384020def40a0f996b69c6f034c52b1"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncAwaitDecompiler.AnalyzeMoveNext (cognitive 25): AsyncAwaitDecompiler.AnalyzeMoveNext has cognitive complexity 25 (threshold 15). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/ControlFlow/AsyncAwaitDecompiler.cs"},"region":{"startLine":798}}}],"partialFingerprints":{"codehealthFindingId/v1":"80c854104fc2fcfb202ce47cc96c6f7287f2de947a276a41eb7ad9a045c1134c"}},{"ruleId":"D2","level":"warning","message":{"text":"ControlFlowSimplification.SimplifyBranchChains (cognitive 25): ControlFlowSimplification.SimplifyBranchChains has cognitive complexity 25 (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":"ICSharpCode.Decompiler/IL/ControlFlow/ControlFlowSimplification.cs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"8829721f1c7033c92e722bb195d4dbc08935f1d9f16eafd0bff2b93f24449ffa"}},{"ruleId":"D2","level":"warning","message":{"text":"DetectPinnedRegions.DetectNullSafeArrayToPointerOrCustomRefPin (cognitive 25): DetectPinnedRegions.DetectNullSafeArrayToPointerOrCustomRefPin has cognitive complexity 25 (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":"ICSharpCode.Decompiler/IL/ControlFlow/DetectPinnedRegions.cs"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"91ead98a2fe289423f6fa4c955c19d49a681df9f44f3b193a4e0e656d0097f1d"}},{"ruleId":"D2","level":"warning","message":{"text":"DeconstructionTransform.MatchNestedDeconstructions (cognitive 25): DeconstructionTransform.MatchNestedDeconstructions has cognitive complexity 25 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 9 belong to 3 function items inside it that branch. 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":"ICSharpCode.Decompiler/IL/Transforms/DeconstructionTransform.cs"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"3733914f83bc513e50a979c6331b8f720d8edf89a14d4a272f7c8d485e71da49"}},{"ruleId":"D2","level":"warning","message":{"text":"TransformAssignment.MatchingGetterAndSetterCalls (cognitive 25): TransformAssignment.MatchingGetterAndSetterCalls has cognitive complexity 25 (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":"ICSharpCode.Decompiler/IL/Transforms/TransformAssignment.cs"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b8d83e58928a978980c9c23656f1b81591bfd12d2c19de43f207e972059acd5"}},{"ruleId":"D2","level":"warning","message":{"text":"TransformDisplayClassUsage.AnalyzeFunction (cognitive 25): TransformDisplayClassUsage.AnalyzeFunction has cognitive complexity 25 (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":"ICSharpCode.Decompiler/IL/Transforms/TransformDisplayClassUsage.cs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6acbeb57968ec629dd5692a4f127bd99a7496690cbc17fc912f3d0943098d27"}},{"ruleId":"D2","level":"warning","message":{"text":"GetMembersHelper.GetMethodsImpl (cognitive 25): GetMembersHelper.GetMethodsImpl has cognitive complexity 25 (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":"ICSharpCode.Decompiler/TypeSystem/Implementation/GetMembersHelper.cs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa87f48f6f311be43a4666a47b64af4ba8dbe134f02d3fb10a0e08d971b32113"}},{"ruleId":"D2","level":"warning","message":{"text":"PropertyCustomHandler.Deserialize (cognitive 24): PropertyCustomHandler.Deserialize has cognitive complexity 24 (threshold 15). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. 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. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.BamlDecompiler/Handlers/Records/PropertyCustomHandler.cs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"e032305dd8b0c2438dc414ea9e1b87566bd4b289d49c72ef869730361dfee5af"}},{"ruleId":"D2","level":"warning","message":{"text":"ExpressionBuilder.ConvertField (cognitive 24): ExpressionBuilder.ConvertField has cognitive complexity 24 (threshold 15). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/ExpressionBuilder.cs"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"478a9821f98ac93e3fe783c6b7cc8ac318f0976ee883ae828671b378fd4777e0"}},{"ruleId":"D2","level":"warning","message":{"text":"ExpressionBuilder.BuildArrayInitializerExpression (cognitive 24): ExpressionBuilder.BuildArrayInitializerExpression has cognitive complexity 24 (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":"ICSharpCode.Decompiler/CSharp/ExpressionBuilder.cs"},"region":{"startLine":3734}}}],"partialFingerprints":{"codehealthFindingId/v1":"1406c78b8b5e285242b51acdee67bda5c4439defd7dcec1405a9dcda0554100f"}},{"ruleId":"D2","level":"warning","message":{"text":"OverloadResolution.RunTypeInference (cognitive 24): OverloadResolution.RunTypeInference has cognitive complexity 24 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. 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":"ICSharpCode.Decompiler/CSharp/Resolver/OverloadResolution.cs"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc468acc40dd9f8f81d2f6b34443ab00f98fa7bcd51ebadb8ea47c5f57918a19"}},{"ruleId":"D2","level":"warning","message":{"text":"RuntimeAsyncExceptionRewriteTransform.TryRewriteTryCatch (cognitive 24): RuntimeAsyncExceptionRewriteTransform.TryRewriteTryCatch has cognitive complexity 24 (threshold 15). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/ControlFlow/RuntimeAsyncExceptionRewriteTransform.cs"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d2c8aea691d6156981a576bdcc4048f88c6ebd364a5e142bf216082bd0a56b8"}},{"ruleId":"D2","level":"warning","message":{"text":"ILReader.ReadBlock (cognitive 24): ILReader.ReadBlock has cognitive complexity 24 (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":"ICSharpCode.Decompiler/IL/ILReader.cs"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d4786f55836f816c41b1e5ff8f5633e8233c144f357ac14b65a27a45dab2416"}},{"ruleId":"D2","level":"warning","message":{"text":"ExpressionTransforms.TransformCatchVariable (cognitive 24): ExpressionTransforms.TransformCatchVariable has cognitive complexity 24 (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":"ICSharpCode.Decompiler/IL/Transforms/ExpressionTransforms.cs"},"region":{"startLine":961}}}],"partialFingerprints":{"codehealthFindingId/v1":"d85c2007309daf8c88e10c819ebe2db415c91282b46dcaa09f60d0736bff2ac3"}},{"ruleId":"D2","level":"warning","message":{"text":"StatementTransform.Run (cognitive 24): StatementTransform.Run has cognitive complexity 24 (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":"ICSharpCode.Decompiler/IL/Transforms/StatementTransform.cs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"68a72aeac9d431ee5a5b00b8d3b76e3d27cace6aa342893011b8addbff4722f1"}},{"ruleId":"D2","level":"warning","message":{"text":"SwitchOnNullableTransform.MatchRoslynSwitchOnNullable (cognitive 24): SwitchOnNullableTransform.MatchRoslynSwitchOnNullable has cognitive complexity 24 (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":"ICSharpCode.Decompiler/IL/Transforms/SwitchOnNullableTransform.cs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"36638e9d1de63a8517cdf6d979e990f1f513c21a8a56ba4da003393a20fc388c"}},{"ruleId":"D2","level":"warning","message":{"text":"MixedMethodBodyDisassembler.WriteInstruction (cognitive 24): MixedMethodBodyDisassembler.WriteInstruction has cognitive complexity 24 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Languages/CSharpILMixedLanguage.cs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"32c55040004bdd62d5b626208b764f59b6b6293cfdaa644bf13b601305aa62f1"}},{"ruleId":"D2","level":"warning","message":{"text":"DecompilerTextView.BuildFoldingTooltipText (cognitive 24): DecompilerTextView.BuildFoldingTooltipText has cognitive complexity 24 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. 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":"ILSpy/TextView/DecompilerTextView.axaml.cs"},"region":{"startLine":1719}}}],"partialFingerprints":{"codehealthFindingId/v1":"1be5b6c32df4eed32e0366175932cd20876284743976e5f0fa6f07d252d35a0a"}},{"ruleId":"D2","level":"warning","message":{"text":"ConnectionIdRewritePass.ProcessConnectionIds (cognitive 23): ConnectionIdRewritePass.ProcessConnectionIds has cognitive complexity 23 (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":"ICSharpCode.BamlDecompiler/Rewrite/ConnectionIdRewritePass.cs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"8412da0e574a6f9c753aada18edcfa3634a22d5883f838b607bd906bace15a1f"}},{"ruleId":"D2","level":"warning","message":{"text":"AutoEventDecompiler.MatchSimpleCombineAssignment (cognitive 23): AutoEventDecompiler.MatchSimpleCombineAssignment has cognitive complexity 23 (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":"ICSharpCode.Decompiler/CSharp/AutoEventDecompiler.cs"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"162969994e2e6c49d66676f2faeab9a260b5cb300d0505f0118f1e9d36f6ae7c"}},{"ruleId":"D2","level":"warning","message":{"text":"CallBuilder.TryUseExtensionMethodSyntax (cognitive 23): CallBuilder.TryUseExtensionMethodSyntax has cognitive complexity 23 (threshold 15). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/CallBuilder.cs"},"region":{"startLine":1294}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c1aa05bc84af6f4504acb3adbd52da5da0a6797f73941bc512692d288c8f994"}},{"ruleId":"D2","level":"warning","message":{"text":"ExpressionBuilder.VisitDeconstructInstruction (cognitive 23): ExpressionBuilder.VisitDeconstructInstruction has cognitive complexity 23 (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":"ICSharpCode.Decompiler/CSharp/ExpressionBuilder.cs"},"region":{"startLine":5229}}}],"partialFingerprints":{"codehealthFindingId/v1":"26c0c32cab3b55e4bb3e3f88eed1393e462fd9cba2e246c4f71008b6399c1f05"}},{"ruleId":"D2","level":"warning","message":{"text":"CSharpResolver.LookInCurrentType (cognitive 23): CSharpResolver.LookInCurrentType has cognitive complexity 23 (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":"ICSharpCode.Decompiler/CSharp/Resolver/CSharpResolver.cs"},"region":{"startLine":1572}}}],"partialFingerprints":{"codehealthFindingId/v1":"599e79f918e76a8579e324def28fc74bfa8284b6c58a1d41f8362057166bd172"}},{"ruleId":"D2","level":"warning","message":{"text":"OverloadResolution.GetArgumentsWithConversions (cognitive 23): OverloadResolution.GetArgumentsWithConversions has cognitive complexity 23 (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":"ICSharpCode.Decompiler/CSharp/Resolver/OverloadResolution.cs"},"region":{"startLine":1120}}}],"partialFingerprints":{"codehealthFindingId/v1":"90d72a1fff06ab04c015e4d2d482972532d88f56f75649988643d83ae6a1fc44"}},{"ruleId":"D2","level":"warning","message":{"text":"TypeSystemAstBuilder.ConvertMethod (cognitive 23): TypeSystemAstBuilder.ConvertMethod has cognitive complexity 23 (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":"ICSharpCode.Decompiler/CSharp/Syntax/TypeSystemAstBuilder.cs"},"region":{"startLine":2502}}}],"partialFingerprints":{"codehealthFindingId/v1":"51b311fa3d701bb2a7b6c726f669daf931f8190154ff9b304d59f262bcad304f"}},{"ruleId":"D2","level":"warning","message":{"text":"RuntimeAsyncExceptionRewriteTransform.MatchIfChainDispatch (cognitive 23): RuntimeAsyncExceptionRewriteTransform.MatchIfChainDispatch has cognitive complexity 23 (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":"ICSharpCode.Decompiler/IL/ControlFlow/RuntimeAsyncExceptionRewriteTransform.cs"},"region":{"startLine":859}}}],"partialFingerprints":{"codehealthFindingId/v1":"33447aa2204fe42b95a8ce203c3a79adff5b1076c4b78092fc182f5ff674e41a"}},{"ruleId":"D2","level":"warning","message":{"text":"SwitchDetection.InlineSwitchExpressionDefaultCaseThrowHelper (cognitive 23): SwitchDetection.InlineSwitchExpressionDefaultCaseThrowHelper has cognitive complexity 23 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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":"ICSharpCode.Decompiler/IL/ControlFlow/SwitchDetection.cs"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf8282da7fd46457fdc4b451439a9f6b43e9e8bc4be78680cd3bfae3653474d8"}},{"ruleId":"D2","level":"warning","message":{"text":"ILReader.Cast (cognitive 23): ILReader.Cast has cognitive complexity 23 (threshold 15). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/ILReader.cs"},"region":{"startLine":1425}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a3c7279b821c84f46bce8ea19f1e88fa07112499898f3044eeec1a8bb43c0df"}},{"ruleId":"D2","level":"warning","message":{"text":"CachedDelegateInitialization.Run (cognitive 23): CachedDelegateInitialization.Run has cognitive complexity 23 (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":"ICSharpCode.Decompiler/IL/Transforms/CachedDelegateInitialization.cs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f14414c850e1af5a7c3c76e3a65edbe1a4919e352ae7d191d24c58878041858"}},{"ruleId":"D2","level":"warning","message":{"text":"IndexMethods.IndexMethods.ctor (cognitive 23): IndexMethods.IndexMethods.ctor has cognitive complexity 23 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. 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":"ICSharpCode.Decompiler/IL/Transforms/IndexRangeTransform.cs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe29c42e83023e3064eaf8f8d6e310207aa03efada94c53a338f5815e8c7fb68"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalFunctionDecompiler.DetermineCaptureAndDeclarationScope (cognitive 23): LocalFunctionDecompiler.DetermineCaptureAndDeclarationScope has cognitive complexity 23 (threshold 15). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/LocalFunctionDecompiler.cs"},"region":{"startLine":710}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a71ac52db1f5a26c1ee75bc6f3d32716d61aa24ca4e6e7c4bdc76a3b61bc28e"}},{"ruleId":"D2","level":"warning","message":{"text":"NullableLiftingTransform.LiftNormal (cognitive 23): NullableLiftingTransform.LiftNormal has cognitive complexity 23 (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":"ICSharpCode.Decompiler/IL/Transforms/NullableLiftingTransform.cs"},"region":{"startLine":771}}}],"partialFingerprints":{"codehealthFindingId/v1":"765e93b5a7ce8eda74a82b6d8260c7ae4914bbb3645f6cb60e482e64918aa9c8"}},{"ruleId":"D2","level":"warning","message":{"text":"ProxyCallReplacer.Run (cognitive 23): ProxyCallReplacer.Run has cognitive complexity 23 (threshold 15). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/ProxyCallReplacer.cs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"675467e6c8e63030c5bd2b65ff88a1132bd0355ab91d31a4e04769681e7dbb95"}},{"ruleId":"D2","level":"warning","message":{"text":"TransformExpressionTrees.ConvertNewObject (cognitive 23): TransformExpressionTrees.ConvertNewObject has cognitive complexity 23 (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":"ICSharpCode.Decompiler/IL/Transforms/TransformExpressionTrees.cs"},"region":{"startLine":1762}}}],"partialFingerprints":{"codehealthFindingId/v1":"518ebca8ed84073eeea2d8158988543fc2833d0e058826adcfccdb32e4d7f4e1"}},{"ruleId":"D2","level":"warning","message":{"text":"MetadataMethod.MetadataMethod.ctor (cognitive 23): MetadataMethod.MetadataMethod.ctor has cognitive complexity 23 (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":"ICSharpCode.Decompiler/TypeSystem/Implementation/MetadataMethod.cs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"6660d516947cc9ceb5116b1a078d13ed7a392c067997e5caffb544fb07ec04c2"}},{"ruleId":"D2","level":"warning","message":{"text":"LoadedAssembly.Text.get (cognitive 23): LoadedAssembly.Text.get has cognitive complexity 23 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/LoadedAssembly.cs"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e0dcd4bd1309d77e0278a812e2cd5170bc8a490d247b4e8e1d45a3dd89e3af6"}},{"ruleId":"D2","level":"warning","message":{"text":"Lexer.Next (cognitive 23): Lexer.Next has cognitive complexity 23 (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":"ICSharpCode.ILSpyX/Search/CSharpLexer.cs"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7e46d5816445203184bbce7373cf304fbc5d9429c02eaf54c15dbd607cbe01f"}},{"ruleId":"D2","level":"warning","message":{"text":"CompiledFilter.Compile (cognitive 23): CompiledFilter.Compile has cognitive complexity 23 (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":"ILSpy/Metadata/CompiledFilter.cs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cf0ab85e054f800f20def55453697c132be7b271acd28ae703e35c52f825c28"}},{"ruleId":"D2","level":"warning","message":{"text":"DebugStepsPaneModel.ApplyFilter (cognitive 23): DebugStepsPaneModel.ApplyFilter has cognitive complexity 23 (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":"ILSpy/ViewModels/DebugStepsPaneModel.cs"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"df0c0fc0ab7fe6a1a1d51502c67331cafc274ba9d4879145c5843c1f7fc75045"}},{"ruleId":"D2","level":"warning","message":{"text":"BamlNode.Parse (cognitive 22): BamlNode.Parse has cognitive complexity 22 (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":"ICSharpCode.BamlDecompiler/Baml/BamlNode.cs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"fca1d5476624999330be764190c6fcc0148a62ca5ac327c2fa20926f50cf2340"}},{"ruleId":"D2","level":"warning","message":{"text":"XamlType.ResolveNamespace (cognitive 22): XamlType.ResolveNamespace has cognitive complexity 22 (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":"ICSharpCode.BamlDecompiler/Xaml/XamlType.cs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdf76eb5a63ad75ec0164151456f14cba6bee7f8729be83d12b7ab6c9bfff650"}},{"ruleId":"D2","level":"warning","message":{"text":"CSharpDecompiler.DoDecompile (cognitive 22): CSharpDecompiler.DoDecompile has cognitive complexity 22 (threshold 15). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/CSharpDecompiler.cs"},"region":{"startLine":2231}}}],"partialFingerprints":{"codehealthFindingId/v1":"b161607f81cebb664ef7e5fb4b16fcf106f1435eb3e4618795e9492ddc8ef6e6"}},{"ruleId":"D2","level":"warning","message":{"text":"ExpressionBuilder.HandlePointerArithmetic (cognitive 22): ExpressionBuilder.HandlePointerArithmetic has cognitive complexity 22 (threshold 15). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/ExpressionBuilder.cs"},"region":{"startLine":1355}}}],"partialFingerprints":{"codehealthFindingId/v1":"584578523a06a473b98096f0411725b8d3e26aa8f1245041d1c188199f6fa814"}},{"ruleId":"D2","level":"warning","message":{"text":"ExpressionBuilder.VisitStObj (cognitive 22): ExpressionBuilder.VisitStObj has cognitive complexity 22 (threshold 15). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/ExpressionBuilder.cs"},"region":{"startLine":3176}}}],"partialFingerprints":{"codehealthFindingId/v1":"93658e06c449b3b7ba6676139955bbe6a3d7ea073952686b84348dededa89b79"}},{"ruleId":"D2","level":"warning","message":{"text":"CSharpResolver.CreateParameters (cognitive 22): CSharpResolver.CreateParameters has cognitive complexity 22 (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":"ICSharpCode.Decompiler/CSharp/Resolver/CSharpResolver.cs"},"region":{"startLine":2306}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0a7ac2f1575ea2dc47541f4e27ee6732baf9115194f72b843f8d452ba4b655b"}},{"ruleId":"D2","level":"warning","message":{"text":"StatementBuilder.CanBeDeconstructedInForeach (cognitive 22): StatementBuilder.CanBeDeconstructedInForeach has cognitive complexity 22 (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":"ICSharpCode.Decompiler/CSharp/StatementBuilder.cs"},"region":{"startLine":1124}}}],"partialFingerprints":{"codehealthFindingId/v1":"df3b9eb37cb7d803f55de6a325e8809d6391e7f66bb457fa54f1e8a523ce1c5e"}},{"ruleId":"D2","level":"warning","message":{"text":"TypeSystemAstBuilder.ConvertAttribute (cognitive 22): TypeSystemAstBuilder.ConvertAttribute has cognitive complexity 22 (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":"ICSharpCode.Decompiler/CSharp/Syntax/TypeSystemAstBuilder.cs"},"region":{"startLine":780}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0f6b26804be395a7fa77ed6ab42257d38fa710386a3031a29bd06df0b642fe1"}},{"ruleId":"D2","level":"warning","message":{"text":"DeclareVariables.ResolveCollisions (cognitive 22): DeclareVariables.ResolveCollisions has cognitive complexity 22 (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":"ICSharpCode.Decompiler/CSharp/Transforms/DeclareVariables.cs"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"b779be816605a88436c244edd06f9fc60dcc8726949645825ba953a332e9c5f7"}},{"ruleId":"D2","level":"warning","message":{"text":"DeclareVariables.InsertDeconstructionVariableDeclarations (cognitive 22): DeclareVariables.InsertDeconstructionVariableDeclarations has cognitive complexity 22 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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":"ICSharpCode.Decompiler/CSharp/Transforms/DeclareVariables.cs"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3b40f3518f5972aa73e2003184a8f3587f91f5e65f484c0aeaea98ef5d5d76f"}},{"ruleId":"D2","level":"warning","message":{"text":"LoopDetection.ExtendLoop (cognitive 22): LoopDetection.ExtendLoop has cognitive complexity 22 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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":"ICSharpCode.Decompiler/IL/ControlFlow/LoopDetection.cs"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"95b27210cc7c4fb0e090145dc2dcd9da37347545c616011518ed32b458ba90d9"}},{"ruleId":"D2","level":"warning","message":{"text":"TransformExpressionTrees.ConvertValue (cognitive 22): TransformExpressionTrees.ConvertValue has cognitive complexity 22 (threshold 15). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. 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. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/TransformExpressionTrees.cs"},"region":{"startLine":2114}}}],"partialFingerprints":{"codehealthFindingId/v1":"604b47d10e73745696a6f38910bc1b0581fab0e78d6bbd755f2721abfbdc8fda"}},{"ruleId":"D2","level":"warning","message":{"text":"MethodGroupResolveResult.PerformOverloadResolution (cognitive 22): MethodGroupResolveResult.PerformOverloadResolution has cognitive complexity 22 (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":"ICSharpCode.Decompiler/Semantics/MethodGroupResolveResult.cs"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"a17e837414491bb96319ce9b43578e88c14720b985c7dff162dbe371f83f4dea"}},{"ruleId":"D2","level":"warning","message":{"text":"DecompilerTypeSystem.RepairCyclicTypeForwardersAsync (cognitive 22): DecompilerTypeSystem.RepairCyclicTypeForwardersAsync has cognitive complexity 22 (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":"ICSharpCode.Decompiler/TypeSystem/DecompilerTypeSystem.cs"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf1819ebc6bb38deda727d16c02bcf809619786200cd56a0fd487883b6528b33"}},{"ruleId":"D2","level":"warning","message":{"text":"MetadataTypeDefinition.GetFilteredAccessors (cognitive 22): MetadataTypeDefinition.GetFilteredAccessors has cognitive complexity 22 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/TypeSystem/Implementation/MetadataTypeDefinition.cs"},"region":{"startLine":757}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e08f146fcc4128b332597dd41a8428a3c653476b9fb03d8d48fe316ab46399c"}},{"ruleId":"D2","level":"warning","message":{"text":"XamlPathDeserializer.Deserialize (cognitive 21): XamlPathDeserializer.Deserialize has cognitive complexity 21 (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":"ICSharpCode.BamlDecompiler/Xaml/XamlPathDeserializer.cs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ecb1eca180a3f8e98db6adcfd9e08f11391fccfff9f9735886a117a3e8b49ca"}},{"ruleId":"D2","level":"warning","message":{"text":"CSharpDecompiler.DoDecompile (cognitive 21): CSharpDecompiler.DoDecompile 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":"ICSharpCode.Decompiler/CSharp/CSharpDecompiler.cs"},"region":{"startLine":2687}}}],"partialFingerprints":{"codehealthFindingId/v1":"04e04bf3409178841399d007b38e951425bb674fcd2b8980ca1430a3c5e3f208"}},{"ruleId":"D2","level":"warning","message":{"text":"ExpressionBuilder.VisitLdFlda (cognitive 21): ExpressionBuilder.VisitLdFlda 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":"ICSharpCode.Decompiler/CSharp/ExpressionBuilder.cs"},"region":{"startLine":3326}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cab6d0b9fe969749f84034ba90d91f57a25f442dbfdbbfed49b7fbc997efed7"}},{"ruleId":"D2","level":"warning","message":{"text":"ExpressionBuilder.VisitSwitchInstruction (cognitive 21): ExpressionBuilder.VisitSwitchInstruction has cognitive complexity 21 (threshold 15). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/ExpressionBuilder.cs"},"region":{"startLine":4410}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8f0d9ed90d6b16b907ffff9129e48cdda086cbb10c5a0603dc7329309e32af1"}},{"ruleId":"D2","level":"warning","message":{"text":"TypeInference.MakeExactInference (cognitive 21): TypeInference.MakeExactInference has cognitive complexity 21 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/Resolver/TypeInference.cs"},"region":{"startLine":646}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aa732ccc95006d0dacd342a13037001479ea5804a78d7434a81bba89026d260"}},{"ruleId":"D2","level":"warning","message":{"text":"TypeSystemAstBuilder.IsSpecialConstant (cognitive 21): TypeSystemAstBuilder.IsSpecialConstant 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":"ICSharpCode.Decompiler/CSharp/Syntax/TypeSystemAstBuilder.cs"},"region":{"startLine":1177}}}],"partialFingerprints":{"codehealthFindingId/v1":"97ac876aa05e66b9ea5cb96682ed3bdf0f21ef023b3d89b4246be7566469f476"}},{"ruleId":"D2","level":"warning","message":{"text":"TypeSystemAstBuilder.ConvertTypeParameterConstraint (cognitive 21): TypeSystemAstBuilder.ConvertTypeParameterConstraint 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":"ICSharpCode.Decompiler/CSharp/Syntax/TypeSystemAstBuilder.cs"},"region":{"startLine":2752}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2afd41142fa0ce0f75e0013d6adc659e8f04642b020683f9519a31d0d4ad456"}},{"ruleId":"D2","level":"warning","message":{"text":"PatternStatementTransform.TransformForeachOnInlineArray (cognitive 21): PatternStatementTransform.TransformForeachOnInlineArray has cognitive complexity 21 (threshold 15). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/Transforms/PatternStatementTransform.cs"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e89833ea86f24b54c1c2fd5719f41795eba61c3232db92ad79ea61e78583621"}},{"ruleId":"D2","level":"warning","message":{"text":"PatternStatementTransform.TransformFieldBackedProperty (cognitive 21): PatternStatementTransform.TransformFieldBackedProperty 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":"ICSharpCode.Decompiler/CSharp/Transforms/PatternStatementTransform.cs"},"region":{"startLine":852}}}],"partialFingerprints":{"codehealthFindingId/v1":"e010209afd1a3d13519a33345de76c2a7bf174ba4d64dc5a937cb6df8ab127ef"}},{"ruleId":"D2","level":"warning","message":{"text":"ReflectionDisassembler.TryDecodeSecurityDeclaration (cognitive 21): ReflectionDisassembler.TryDecodeSecurityDeclaration 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":"ICSharpCode.Decompiler/Disassembler/ReflectionDisassembler.cs"},"region":{"startLine":748}}}],"partialFingerprints":{"codehealthFindingId/v1":"d32a4faf86e6351182af6fcf57b15d5bf2a16c4ccf9b5ffd4a8d396a66ea27e6"}},{"ruleId":"D2","level":"warning","message":{"text":"AwaitInCatchTransform.MatchExceptionCaptureBlock (cognitive 21): AwaitInCatchTransform.MatchExceptionCaptureBlock has cognitive complexity 21 (threshold 15). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/ControlFlow/AwaitInCatchTransform.cs"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f52c8e294ce53e29e1e9052ac3d4bec5c223b099ef3f96baff00774ec168cdc"}},{"ruleId":"D2","level":"warning","message":{"text":"YieldReturnDecompiler.CleanSkipFinallyBodies (cognitive 21): YieldReturnDecompiler.CleanSkipFinallyBodies 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":"ICSharpCode.Decompiler/IL/ControlFlow/YieldReturnDecompiler.cs"},"region":{"startLine":1409}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a29093b6a07c4752e06919fb923706a9cc241a113e0f113631d91486884eb77"}},{"ruleId":"D2","level":"warning","message":{"text":"DeconstructInstruction.CheckInvariant (cognitive 21): DeconstructInstruction.CheckInvariant 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":"ICSharpCode.Decompiler/IL/Instructions/DeconstructInstruction.cs"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"cef67004f5f5c5fec5ebe15e9a229f3616a08d35c68c400ec2001c4773a8ba87"}},{"ruleId":"D2","level":"warning","message":{"text":"DelegateConstruction.TryUnwrapVisualBasicDelegateWrapper (cognitive 21): DelegateConstruction.TryUnwrapVisualBasicDelegateWrapper 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":"ICSharpCode.Decompiler/IL/Transforms/DelegateConstruction.cs"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6b5e6a0de9e318d66942b329d3ec7dfedfc05b8e6a48758ff72c3c8a4e15b73"}},{"ruleId":"D2","level":"warning","message":{"text":"ILInlining.DoInline (cognitive 21): ILInlining.DoInline 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":"ICSharpCode.Decompiler/IL/Transforms/ILInlining.cs"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f40ea9ca1c2d0c7d1424c9a87d97d0e0c0b7bad32fe113c9d7f15b04c641993"}},{"ruleId":"D2","level":"warning","message":{"text":"IndexRangeTransform.HandleLdElema (cognitive 21): IndexRangeTransform.HandleLdElema 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":"ICSharpCode.Decompiler/IL/Transforms/IndexRangeTransform.cs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0ac1bb66bb83afd4abe861c75d514a492d7da53e94f2bffe08088cde19b5786"}},{"ruleId":"D2","level":"warning","message":{"text":"InlineArrayTransform.MatchSpanIndexerWithInlineArrayAsSpan (cognitive 21): InlineArrayTransform.MatchSpanIndexerWithInlineArrayAsSpan 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":"ICSharpCode.Decompiler/IL/Transforms/InlineArrayTransform.cs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f215e6128998dba0be1d782e48d2dc3d2c5bba7acbbdab6daebe098e9e88464"}},{"ruleId":"D2","level":"warning","message":{"text":"Analyzer.GetInvocationEscapeWithUpdatedRules (cognitive 21): Analyzer.GetInvocationEscapeWithUpdatedRules 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":"ICSharpCode.Decompiler/IL/Transforms/IntroduceScopedModifierOnLocals.cs"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"26621f883629412d24463ede64c8dc332162993fa28b39ec08bdcd278de81dae"}},{"ruleId":"D2","level":"warning","message":{"text":"ReduceNestingTransform.ReduceSwitchNesting (cognitive 21): ReduceNestingTransform.ReduceSwitchNesting has cognitive complexity 21 (threshold 15). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/ReduceNestingTransform.cs"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4c5d8ca96e3cfc5622cca0f311c46d6669736f4de342d35c08ea0ff150dd37f"}},{"ruleId":"D2","level":"warning","message":{"text":"SwitchOnStringTransform.ScanHashtableInitializerBlocks (cognitive 21): SwitchOnStringTransform.ScanHashtableInitializerBlocks 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":"ICSharpCode.Decompiler/IL/Transforms/SwitchOnStringTransform.cs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcef3bc9f5dd1ab8e7e1c38a5f437df6e1b365accf7530673e7f13a10570beb4"}},{"ruleId":"D2","level":"warning","message":{"text":"SwitchOnStringTransform.MatchStringEqualityComparison (cognitive 21): SwitchOnStringTransform.MatchStringEqualityComparison 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":"ICSharpCode.Decompiler/IL/Transforms/SwitchOnStringTransform.cs"},"region":{"startLine":1754}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f33828c5b7101a130304bbf88b740d55cda4cf0d5957ccbf8e1c9760b8b5cce"}},{"ruleId":"D2","level":"warning","message":{"text":"ApplyAttributeTypeVisitor.VisitTypeDefinition (cognitive 21): ApplyAttributeTypeVisitor.VisitTypeDefinition 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":"ICSharpCode.Decompiler/TypeSystem/ApplyAttributeTypeVisitor.cs"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1ce8dde92cba01763d2d94745898e6cd895c4c4302cd3fa976a4162be94f911"}},{"ruleId":"D2","level":"warning","message":{"text":"MetadataMethod.DecodeSignature (cognitive 21): MetadataMethod.DecodeSignature 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":"ICSharpCode.Decompiler/TypeSystem/Implementation/MetadataMethod.cs"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"1653c6b2a6c4163f551fa8f19ca21389c893a2e376b7d428a5e10541083df5ea"}},{"ruleId":"D2","level":"warning","message":{"text":"InheritanceHelper.GetBaseMembers (cognitive 21): InheritanceHelper.GetBaseMembers has cognitive complexity 21 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. 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":"ICSharpCode.Decompiler/TypeSystem/InheritanceHelper.cs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"1454bc9e239c507a1e858ff272c55cd803cb6d1464b653cabec75654021a8482"}},{"ruleId":"D2","level":"warning","message":{"text":"AssemblyListSnapshot.EnumerateAllAssembliesAsync (cognitive 21): AssemblyListSnapshot.EnumerateAllAssembliesAsync has cognitive complexity 21 (threshold 15). Most of this is not in the body itself: 10 of the 21 points are its own statements and the rest belongs to one function item inside it that branches (EnumerateDescendants). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/AssemblyListSnapshot.cs"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"060fe05da83929cdaf7a7b0bda67f03a8a3fba89edc5e2ed9be352bc63752cbe"}},{"ruleId":"D2","level":"warning","message":{"text":"ExtractPackageEntryContextMenuEntry.CollectAllFiles (cognitive 21): ExtractPackageEntryContextMenuEntry.CollectAllFiles 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":"ILSpy/Commands/ExtractPackageEntryContextMenuEntry.cs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce14e887c98693d656212d2f4a58b20fb2f9bbb28f4ce4e4504533a00c9b5efc"}},{"ruleId":"D2","level":"warning","message":{"text":"DockWorkspace.OnNavigateRequested (cognitive 21): DockWorkspace.OnNavigateRequested has cognitive complexity 21 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Docking/DockWorkspace.cs"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad71f2e5de15f23b15688a82f987b86c90ba324b69271b9beebaf2324772c7fb"}},{"ruleId":"D2","level":"warning","message":{"text":"MetadataColumnBuilder.BuildHeader (cognitive 21): MetadataColumnBuilder.BuildHeader has cognitive complexity 21 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 5 belong to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Metadata/MetadataColumnBuilder.cs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ae5d6a616145f6e0ffe3b98b74d63d3f7b846c18e6d30572b8b3c4ae7f424ee"}},{"ruleId":"D2","level":"warning","message":{"text":"DecompilerTabPageModel.DecompileAsync (cognitive 21): DecompilerTabPageModel.DecompileAsync has cognitive complexity 21 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 10 belong to 2 function literals inside it that branch. 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":"ILSpy/TextView/DecompilerTabPageModel.cs"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"a341528350fa133d9aa13bbc55b406377650b210cc140fa55644cbbe140a7a0f"}},{"ruleId":"D2","level":"warning","message":{"text":"MainMenu.AppendTabSection (cognitive 21): MainMenu.AppendTabSection has cognitive complexity 21 (threshold 15). Most of this is not in the body itself: 6 of the 21 points are its own statements and the rest belongs to one function literal inside it that branches (line 441). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Views/MainMenu.axaml.cs"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"a59fcc38a50b88032bec01ed1642b72993afe29b43613d977c7fd8a60c974203"}},{"ruleId":"D2","level":"warning","message":{"text":"ManageAssemblyListsDialog.GetPreconfiguredAssemblyLists (cognitive 21): ManageAssemblyListsDialog.GetPreconfiguredAssemblyLists 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":"ILSpy/Views/ManageAssemblyListsDialog.axaml.cs"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1ca038c521e4a438ecf8735c342b1b13640e0e04e1eb707ebdafdfe450d341d"}},{"ruleId":"D2","level":"warning","message":{"text":"CallBuilder.HandleRangeConstruction (cognitive 20): CallBuilder.HandleRangeConstruction has cognitive complexity 20 (threshold 15). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/CallBuilder.cs"},"region":{"startLine":1898}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b193a5020e586b4ea3db12a86a58b7fe135608383865958eba6845076cb52ee"}},{"ruleId":"D2","level":"warning","message":{"text":"CSharpDecompiler.DetectBestEnumValueDisplayMode (cognitive 20): CSharpDecompiler.DetectBestEnumValueDisplayMode 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":"ICSharpCode.Decompiler/CSharp/CSharpDecompiler.cs"},"region":{"startLine":2170}}}],"partialFingerprints":{"codehealthFindingId/v1":"4db01074e6bd491d9ea656cb6db0d79a52ab60503d0cd8c22722e0a507aec37d"}},{"ruleId":"D2","level":"warning","message":{"text":"InsertParenthesesVisitor.VisitBinaryOperatorExpression (cognitive 20): InsertParenthesesVisitor.VisitBinaryOperatorExpression 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":"ICSharpCode.Decompiler/CSharp/OutputVisitor/InsertParenthesesVisitor.cs"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"8554177ccc2097745eec8e0286334fd6a1660877850ca2bb7e2425fbad20d6da"}},{"ruleId":"D2","level":"warning","message":{"text":"CSharpResolver.IsEligibleExtensionMethod (cognitive 20): CSharpResolver.IsEligibleExtensionMethod 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":"ICSharpCode.Decompiler/CSharp/Resolver/CSharpResolver.cs"},"region":{"startLine":2098}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2c220bf8199147e25e40d2a1e2acfe6645efa907df7fdc04f4860bc4e96e4a7"}},{"ruleId":"D2","level":"warning","message":{"text":"CSharpResolver.ResolveConditional (cognitive 20): CSharpResolver.ResolveConditional has cognitive complexity 20 (threshold 15). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/Resolver/CSharpResolver.cs"},"region":{"startLine":2634}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce7c8b0db8d7c74b6ab18cc56fa540d2dc34540e64ec964dd19f2cf5950b4952"}},{"ruleId":"D2","level":"warning","message":{"text":"StatementBuilder.VisitPinnedRegion (cognitive 20): StatementBuilder.VisitPinnedRegion 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":"ICSharpCode.Decompiler/CSharp/StatementBuilder.cs"},"region":{"startLine":1235}}}],"partialFingerprints":{"codehealthFindingId/v1":"76f5a098dee4a4148890e88db5f59cb2bc53f03bb2f77afa1323bf6d093dd06e"}},{"ruleId":"D2","level":"warning","message":{"text":"FixNameCollisions.Run (cognitive 20): FixNameCollisions.Run has cognitive complexity 20 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. 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":"ICSharpCode.Decompiler/CSharp/Transforms/FixNameCollisions.cs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"10476ab401f62f05f27bc69cb2dc8b4a486d18d9fa9fc8a6864a18012a3d2d34"}},{"ruleId":"D2","level":"warning","message":{"text":"TranslatedExpression.ConvertToBoolean (cognitive 20): TranslatedExpression.ConvertToBoolean has cognitive complexity 20 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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":"ICSharpCode.Decompiler/CSharp/TranslatedExpression.cs"},"region":{"startLine":750}}}],"partialFingerprints":{"codehealthFindingId/v1":"26a56e7db84831cedc377361e4a074c6f702baa3ad82a08d8632eeda72f42a70"}},{"ruleId":"D2","level":"warning","message":{"text":"XmlDocumentationProvider.GetDocumentation (cognitive 20): XmlDocumentationProvider.GetDocumentation 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":"ICSharpCode.Decompiler/Documentation/XmlDocumentationProvider.cs"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b0d0ede3477c0c60fa13f72c9d39a7619c4d6af4869b6562e6d66b759e0c843"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncAwaitDecompiler.TranslateThisCopyAccess (cognitive 20): AsyncAwaitDecompiler.TranslateThisCopyAccess has cognitive complexity 20 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/ControlFlow/AsyncAwaitDecompiler.cs"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba7f8d8c2a32d244cc348809021b1dd9a25f6e2f785e2578b007fd918abe9de9"}},{"ruleId":"D2","level":"warning","message":{"text":"DetectPinnedRegions.IsNullSafeArrayToPointerNotNullBlock (cognitive 20): DetectPinnedRegions.IsNullSafeArrayToPointerNotNullBlock has cognitive complexity 20 (threshold 15). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/ControlFlow/DetectPinnedRegions.cs"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"b92effe20327f6b936a565ed2da51f12551a969011d4a9828c2ad6fe746f42ba"}},{"ruleId":"D2","level":"warning","message":{"text":"RuntimeAsyncExceptionRewriteTransform.NormalizeRuntimeAsyncFilter (cognitive 20): RuntimeAsyncExceptionRewriteTransform.NormalizeRuntimeAsyncFilter has cognitive complexity 20 (threshold 15). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/ControlFlow/RuntimeAsyncExceptionRewriteTransform.cs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b25cd4e299d7e0c2417921a8bcd5e64ecfd37583ededed371c53b72482c7407"}},{"ruleId":"D2","level":"warning","message":{"text":"RuntimeAsyncExceptionRewriteTransform.TryRewriteTryFinally (cognitive 20): RuntimeAsyncExceptionRewriteTransform.TryRewriteTryFinally has cognitive complexity 20 (threshold 15). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/ControlFlow/RuntimeAsyncExceptionRewriteTransform.cs"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"8319c1dad625f60e01093124ffe43ef9c74e1db97d607c75ae6cc41a5a5b6039"}},{"ruleId":"D2","level":"warning","message":{"text":"SwitchAnalysis.AnalyzeSwitch (cognitive 20): SwitchAnalysis.AnalyzeSwitch 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":"ICSharpCode.Decompiler/IL/ControlFlow/SwitchAnalysis.cs"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccfdf6ff95014b718f58209b3a24e02115285a4bd19eed47a83d13a2517cc506"}},{"ruleId":"D2","level":"warning","message":{"text":"ILReader.CheckOutgoingEdges (cognitive 20): ILReader.CheckOutgoingEdges 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":"ICSharpCode.Decompiler/IL/ILReader.cs"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"23225d94ac2d2b24ebe8c6abf41de3a006fffaf67fecb9321fa377972fc89635"}},{"ruleId":"D2","level":"warning","message":{"text":"DeconstructionTransform.MatchDeconstructionSequence (cognitive 20): DeconstructionTransform.MatchDeconstructionSequence 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":"ICSharpCode.Decompiler/IL/Transforms/DeconstructionTransform.cs"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"b27c2f76f13a1822487507c289d25e82158d0c0a04580c9610aa5b0070742236"}},{"ruleId":"D2","level":"warning","message":{"text":"DetectCatchWhenConditionBlocks.PropagateExceptionVariable (cognitive 20): DetectCatchWhenConditionBlocks.PropagateExceptionVariable 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":"ICSharpCode.Decompiler/IL/Transforms/DetectCatchWhenConditionBlocks.cs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca17061ab4eb8830c0f0353dc19a3dedbf9c40241d32cb3b488c422063b4c4cc"}},{"ruleId":"D2","level":"warning","message":{"text":"NamedArgumentTransform.CanIntroduceNamedArgument (cognitive 20): NamedArgumentTransform.CanIntroduceNamedArgument 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":"ICSharpCode.Decompiler/IL/Transforms/NamedArgumentTransform.cs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"9097d9cda675d10a3cce9b04ec26a7b0bd67c2f95428f4d452e47938725e1e89"}},{"ruleId":"D2","level":"warning","message":{"text":"NullPropagationTransform.IsFallbackBlock (cognitive 20): NullPropagationTransform.IsFallbackBlock 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":"ICSharpCode.Decompiler/IL/Transforms/NullPropagationTransform.cs"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa874a9d5e41fa339ad582ca99061bfedc87bbf5001a3f89c6645e828ed0b10a"}},{"ruleId":"D2","level":"warning","message":{"text":"TransformExpressionTrees.ConvertBind (cognitive 20): TransformExpressionTrees.ConvertBind has cognitive complexity 20 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 8 belong to 3 function literals inside it that branch. 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":"ICSharpCode.Decompiler/IL/Transforms/TransformExpressionTrees.cs"},"region":{"startLine":745}}}],"partialFingerprints":{"codehealthFindingId/v1":"59a2025e5756db4da9e6780f9ceb2a41e385319e249ea6de98f9d63f14378bbb"}},{"ruleId":"D2","level":"warning","message":{"text":"TextTokenWriter.GetCurrentLocalDefinition (cognitive 20): TextTokenWriter.GetCurrentLocalDefinition 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":"ICSharpCode.Decompiler/Output/TextTokenWriter.cs"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"515b7f925fd97da380dce23ce538fd0807f1d30a46968dab13c9759b53e0ed82"}},{"ruleId":"D2","level":"warning","message":{"text":"MetadataTypeDefinition.MetadataTypeDefinition.ctor (cognitive 20): MetadataTypeDefinition.MetadataTypeDefinition.ctor has cognitive complexity 20 (threshold 15). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/TypeSystem/Implementation/MetadataTypeDefinition.cs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"0530c45a713c14ae760b4a39fae9216c4131cab22df566a9765d873fac5b30e1"}},{"ruleId":"D2","level":"warning","message":{"text":"ParameterListComparer.Equals (cognitive 20): ParameterListComparer.Equals 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":"ICSharpCode.Decompiler/TypeSystem/ParameterListComparer.cs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa5fd3624f8657ddd42630e44d8d3fc2926abb6a439b2435a5481462128131d9"}},{"ruleId":"D2","level":"warning","message":{"text":"ILSpyCmdProgram.GetSettings (cognitive 20): ILSpyCmdProgram.GetSettings 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":"ICSharpCode.ILSpyCmd/IlspyCmdProgram.cs"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"923932070e32580edb8c90c5b96e5771d99f7822318063a77bf0c5762d7e878e"}},{"ruleId":"D2","level":"warning","message":{"text":"ContextMenuProvider.BuildLevel (cognitive 20): ContextMenuProvider.BuildLevel 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":"ILSpy/ContextMenuProvider.cs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bf7043f61ccf7e902c50860f6961e944d58a4ba2ae26899e7b679e8f10012d5"}},{"ruleId":"D2","level":"warning","message":{"text":"AssemblyTreeNode.LoadChildren (cognitive 20): AssemblyTreeNode.LoadChildren has cognitive complexity 20 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/TreeNodes/AssemblyTreeNode.cs"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"84da522bc19639e56e814ddc89133f024028afd8c99432cab71de824def02b9c"}},{"ruleId":"D2","level":"warning","message":{"text":"ExpressionBuilder.LdObj (cognitive 19): ExpressionBuilder.LdObj 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/ExpressionBuilder.cs"},"region":{"startLine":3102}}}],"partialFingerprints":{"codehealthFindingId/v1":"960895003d59f8ec415fb3a7b9356268b2b7fdec96aafab173a432c5db81c2a3"}},{"ruleId":"D2","level":"warning","message":{"text":"ExpressionBuilder.VisitLdFtn (cognitive 19): ExpressionBuilder.VisitLdFtn 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/ExpressionBuilder.cs"},"region":{"startLine":5082}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae97235a33495e6a96214ea15ff212fb941c956810b5ac89e6297d4e96a00a9c"}},{"ruleId":"D2","level":"warning","message":{"text":"CSharpOutputVisitor.IsKeyword (cognitive 19): CSharpOutputVisitor.IsKeyword 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/OutputVisitor/CSharpOutputVisitor.cs"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"747488f3946e72a8967a5b9edbe2b27370ebdf3e54061d2c8dcd0b260eae488b"}},{"ruleId":"D2","level":"warning","message":{"text":"CSharpOutputVisitor.VisitIndexerDeclaration (cognitive 19): CSharpOutputVisitor.VisitIndexerDeclaration 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/OutputVisitor/CSharpOutputVisitor.cs"},"region":{"startLine":2527}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b1a3bfb86748f16abb30526b66ef87ef21e6bd4fa20632031656b9d6608654d"}},{"ruleId":"D2","level":"warning","message":{"text":"InsertRequiredSpacesDecorator.WritePrimitiveValue (cognitive 19): InsertRequiredSpacesDecorator.WritePrimitiveValue has cognitive complexity 19 (threshold 15). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/OutputVisitor/InsertRequiredSpacesDecorator.cs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"b467384d9bed3e28c91d9735fc6ae0dfab3074297e3e3d80ad8e3967cedcfbb1"}},{"ruleId":"D2","level":"warning","message":{"text":"RecordDecompiler.DetectOrderFromPrintMembers (cognitive 19): RecordDecompiler.DetectOrderFromPrintMembers has cognitive complexity 19 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/RecordDecompiler.cs"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"6172036909568eec2df990e91cc6689af2d8959de5604b9e3a96f5a0977495bf"}},{"ruleId":"D2","level":"warning","message":{"text":"RecordDecompiler.IsGeneratedEqualityContract (cognitive 19): RecordDecompiler.IsGeneratedEqualityContract has cognitive complexity 19 (threshold 15). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/RecordDecompiler.cs"},"region":{"startLine":789}}}],"partialFingerprints":{"codehealthFindingId/v1":"62fea0d0533ee5183f55f970aeafbfc7f20173f732e506459b589060ab04e1be"}},{"ruleId":"D2","level":"warning","message":{"text":"CSharpConversions.IsDelegateCompatible (cognitive 19): CSharpConversions.IsDelegateCompatible 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/Resolver/CSharpConversions.cs"},"region":{"startLine":1464}}}],"partialFingerprints":{"codehealthFindingId/v1":"f159b3f161c6d5e75d0547144774097e9dcce139a6eb3fb59691438f4616d6dd"}},{"ruleId":"D2","level":"warning","message":{"text":"MemberLookup.LookupType (cognitive 19): MemberLookup.LookupType has cognitive complexity 19 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. 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":"ICSharpCode.Decompiler/CSharp/Resolver/MemberLookup.cs"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"3125b1d0568c2f7963fdf1d10282874afc099a2609d60749c0ab7ff3ce7ea259"}},{"ruleId":"D2","level":"warning","message":{"text":"MemberLookup.Lookup (cognitive 19): MemberLookup.Lookup has cognitive complexity 19 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. 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":"ICSharpCode.Decompiler/CSharp/Resolver/MemberLookup.cs"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c05f60798569604f6037ccdc9eeb9555be8cd2421db31157ea3c158c7fcd86a"}},{"ruleId":"D2","level":"warning","message":{"text":"OverloadResolution.ValidateConstraints (cognitive 19): OverloadResolution.ValidateConstraints has cognitive complexity 19 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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":"ICSharpCode.Decompiler/CSharp/Resolver/OverloadResolution.cs"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e003fe903c4d6899656863d062e8dce0ec206a0ac403671a824eda4c15ba0e9"}},{"ruleId":"D2","level":"warning","message":{"text":"StatementBuilder.VisitUsingInstruction (cognitive 19): StatementBuilder.VisitUsingInstruction 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/StatementBuilder.cs"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9bad4dc602491f8669ea2bfb36e75249170b447dda839428bdd4485bd07ea23"}},{"ruleId":"D2","level":"warning","message":{"text":"ReflectionDisassembler.WriteModuleHeader (cognitive 19): ReflectionDisassembler.WriteModuleHeader 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/Disassembler/ReflectionDisassembler.cs"},"region":{"startLine":2288}}}],"partialFingerprints":{"codehealthFindingId/v1":"7da1d4405099499a83d5fef48c13fa2da671071717a47e84025565bb302b3907"}},{"ruleId":"D2","level":"warning","message":{"text":"IdStringProvider.RoslynFormBelongsToSibling (cognitive 19): IdStringProvider.RoslynFormBelongsToSibling has cognitive complexity 19 (threshold 15). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. 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. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/Documentation/IdStringProvider.cs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a646b326c4fb5d06fb5fd4d08fc62d2cf100b2ef7f143d6714385c6e62463c2"}},{"ruleId":"D2","level":"warning","message":{"text":"MatchInstruction.IsPatternMatch (cognitive 19): MatchInstruction.IsPatternMatch has cognitive complexity 19 (threshold 15). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. 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. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Instructions/MatchInstruction.cs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2f7ee1e988a32ef78cc23e3d93fe3e72f06fa0c33eec75fd960ae5edbdf76e9"}},{"ruleId":"D2","level":"warning","message":{"text":"AssignVariableNames.GenerateForeachVariableName (cognitive 19): AssignVariableNames.GenerateForeachVariableName 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/AssignVariableNames.cs"},"region":{"startLine":997}}}],"partialFingerprints":{"codehealthFindingId/v1":"49bfbd209c9ce78cc3af9085379159183895f0edd7083ca933a557386b162de2"}},{"ruleId":"D2","level":"warning","message":{"text":"HighLevelLoopTransform.MatchDoWhileConditionBlock (cognitive 19): HighLevelLoopTransform.MatchDoWhileConditionBlock 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/HighLevelLoopTransform.cs"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"16d7edb6c69c3aeebce0e6ce53f1779933bc77558df48edd8c07a82ac10cb8a8"}},{"ruleId":"D2","level":"warning","message":{"text":"DecompiledLambdaResolveResult.IsValid (cognitive 19): DecompiledLambdaResolveResult.IsValid 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/Semantics/LambdaResolveResult.cs"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc6bd313157f5856843f077593cbaf30adfe79d9728dd3c43ebbe4dcf3bd08e9"}},{"ruleId":"D2","level":"warning","message":{"text":"MyAssemblyResolver.ResolveModuleAsync (cognitive 19): MyAssemblyResolver.ResolveModuleAsync 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/LoadedAssembly.cs"},"region":{"startLine":746}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bceb57114f7b40ea748f1145a04e4a9a739874ee4c3e4122d3a30a0c7d59cf2"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractSearchStrategy.IsMatch (cognitive 19): AbstractSearchStrategy.IsMatch 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/Search/AbstractSearchStrategy.cs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1af5a693d187a8a862957e3b026b23b9af1e59903a9079b32a89825f0a5f766"}},{"ruleId":"D2","level":"warning","message":{"text":"Lexer.ReadEscapeSequence (cognitive 19): Lexer.ReadEscapeSequence 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/Search/CSharpLexer.cs"},"region":{"startLine":962}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddeaee647d2118d00fdd11e908753e056cee2b9a2bb9a0d825b13c11fd33cb2f"}},{"ruleId":"D2","level":"warning","message":{"text":"CSharpBracketSearcher.QuickSearchBracketForward (cognitive 19): CSharpBracketSearcher.QuickSearchBracketForward 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Languages/CSharpBracketSearcher.cs"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"30d6a57b097417dd1ed122634338b440719a4b9e971c2b1a898216a0125e1117"}},{"ruleId":"D2","level":"warning","message":{"text":"BamlContext.ConstructContext (cognitive 18): BamlContext.ConstructContext has cognitive complexity 18 (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":"ICSharpCode.BamlDecompiler/Baml/BamlContext.cs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"3592c7909fb0acc520316888cb93f49dc97ef5342182098327476fbf5211778c"}},{"ruleId":"D2","level":"warning","message":{"text":"OptimizedStaticResourceHandler.TranslateDefer (cognitive 18): OptimizedStaticResourceHandler.TranslateDefer has cognitive complexity 18 (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":"ICSharpCode.BamlDecompiler/Handlers/Records/OptimizedStaticResourceHandler.cs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2b107de1b5136382574439e8e0532fd2290adfc440de4299781699e90eb5f36"}},{"ruleId":"D2","level":"warning","message":{"text":"CallBuilder.DisambiguateDelegateReference (cognitive 18): CallBuilder.DisambiguateDelegateReference has cognitive complexity 18 (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":"ICSharpCode.Decompiler/CSharp/CallBuilder.cs"},"region":{"startLine":1778}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a4e4118a292f158872f31be7e45e3625129fa78a8360e8f28cbe748fbe37063"}},{"ruleId":"D2","level":"warning","message":{"text":"CSharpDecompiler.DoDecompile (cognitive 18): CSharpDecompiler.DoDecompile has cognitive complexity 18 (threshold 15). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/CSharpDecompiler.cs"},"region":{"startLine":2819}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e84115c88007b9543f633f23613806ba8137c06ceafc973f4ba671c302c1630"}},{"ruleId":"D2","level":"warning","message":{"text":"CSharpDecompiler.DoDecompile (cognitive 18): CSharpDecompiler.DoDecompile has cognitive complexity 18 (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":"ICSharpCode.Decompiler/CSharp/CSharpDecompiler.cs"},"region":{"startLine":2888}}}],"partialFingerprints":{"codehealthFindingId/v1":"33bb87bacf836b379ee49f287242de238d25079a33b19e0e2e1ca22444054250"}},{"ruleId":"D2","level":"warning","message":{"text":"CSharpOutputVisitor.PrintInitializerElements (cognitive 18): CSharpOutputVisitor.PrintInitializerElements has cognitive complexity 18 (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":"ICSharpCode.Decompiler/CSharp/OutputVisitor/CSharpOutputVisitor.cs"},"region":{"startLine":686}}}],"partialFingerprints":{"codehealthFindingId/v1":"01bf50e52600cbde585814fd684a4d6bde936984e8f303439b1c1ff20cbeebd8"}},{"ruleId":"D2","level":"warning","message":{"text":"CSharpOutputVisitor.VisitDocumentationReference (cognitive 18): CSharpOutputVisitor.VisitDocumentationReference has cognitive complexity 18 (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":"ICSharpCode.Decompiler/CSharp/OutputVisitor/CSharpOutputVisitor.cs"},"region":{"startLine":3126}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d7828dd4b84c5fe1444a3f66ac9a5d78dd4b0d474d84fd1493bbc5fb7172172"}},{"ruleId":"D2","level":"warning","message":{"text":"MemberLookup.AddNestedTypes (cognitive 18): MemberLookup.AddNestedTypes has cognitive complexity 18 (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":"ICSharpCode.Decompiler/CSharp/Resolver/MemberLookup.cs"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2220077ce0087a5e4957973624916c8bd17dc966ca33a78c1e38fa17abdf22d"}},{"ruleId":"D2","level":"warning","message":{"text":"ILStructure.AddNestedStructure (cognitive 18): ILStructure.AddNestedStructure has cognitive complexity 18 (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":"ICSharpCode.Decompiler/Disassembler/ILStructure.cs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"3288e3af967e4461c74bf3e83a4dd6f303b171079d88f2ab5aa5432649110b69"}},{"ruleId":"D2","level":"warning","message":{"text":"ReflectionDisassembler.WriteValue (cognitive 18): ReflectionDisassembler.WriteValue has cognitive complexity 18 (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":"ICSharpCode.Decompiler/Disassembler/ReflectionDisassembler.cs"},"region":{"startLine":836}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5b492c201db7ec6a84aec55966669cfa37e68421b3b9a78cefdf1bc44aaa56b"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncAwaitDecompiler.MatchVisualBasicStateMachineFieldAssignements (cognitive 18): AsyncAwaitDecompiler.MatchVisualBasicStateMachineFieldAssignements has cognitive complexity 18 (threshold 15). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/ControlFlow/AsyncAwaitDecompiler.cs"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd6c12ab447f0c10fcf0b7a4fc309ab3b7c32c5b70f01bccc26d11eb849f54f1"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncAwaitDecompiler.MatchDisposeCombinedTokens (cognitive 18): AsyncAwaitDecompiler.MatchDisposeCombinedTokens has cognitive complexity 18 (threshold 15). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/ControlFlow/AsyncAwaitDecompiler.cs"},"region":{"startLine":976}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1b244542c3365a67cf24b380e5ac841e81ad878c10637429736111dfbf13243"}},{"ruleId":"D2","level":"warning","message":{"text":"ControlFlowGraph.CreateEdges (cognitive 18): ControlFlowGraph.CreateEdges has cognitive complexity 18 (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":"ICSharpCode.Decompiler/IL/ControlFlow/ControlFlowGraph.cs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"154a5d13137332ade45ca9074ec3dda23da0df437a78f19bce1d0e656ad892b9"}},{"ruleId":"D2","level":"warning","message":{"text":"YieldReturnDecompiler.ConstructExceptionTable (cognitive 18): YieldReturnDecompiler.ConstructExceptionTable has cognitive complexity 18 (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":"ICSharpCode.Decompiler/IL/ControlFlow/YieldReturnDecompiler.cs"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d7875314de5029508f60ade95d1d0e3b903717c050d53569208c1127c810ad2"}},{"ruleId":"D2","level":"warning","message":{"text":"AssignVariableNames.GetNameForArgument (cognitive 18): AssignVariableNames.GetNameForArgument has cognitive complexity 18 (threshold 15). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. 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. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/AssignVariableNames.cs"},"region":{"startLine":773}}}],"partialFingerprints":{"codehealthFindingId/v1":"c56b228ecb9f76a409bc64e8590e8de3c250efa8b41e48a4ce76f5c0a7fc9b4f"}},{"ruleId":"D2","level":"warning","message":{"text":"ExpressionTransforms.VisitComp (cognitive 18): ExpressionTransforms.VisitComp has cognitive complexity 18 (threshold 15). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/ExpressionTransforms.cs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"6089d7e1f5bdb81887ea52e94fa575e8c19e79037230dda502b0dae81d218086"}},{"ruleId":"D2","level":"warning","message":{"text":"IndexRangeTransform.MatchGetOffset (cognitive 18): IndexRangeTransform.MatchGetOffset has cognitive complexity 18 (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":"ICSharpCode.Decompiler/IL/Transforms/IndexRangeTransform.cs"},"region":{"startLine":707}}}],"partialFingerprints":{"codehealthFindingId/v1":"20cf6d3eb9e2e462e41c8f7b8970f350c657aa7aa709f72f38413ddbd73f2c46"}},{"ruleId":"D2","level":"warning","message":{"text":"NullableLiftingTransform.LiftCSharpEqualityComparison (cognitive 18): NullableLiftingTransform.LiftCSharpEqualityComparison has cognitive complexity 18 (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":"ICSharpCode.Decompiler/IL/Transforms/NullableLiftingTransform.cs"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a6d450e70ffb82b011d2e6367a0dee727180d09888743519ba9cdda20dbff14"}},{"ruleId":"D2","level":"warning","message":{"text":"NullableLiftingTransform.LiftCSharpUserEqualityComparison (cognitive 18): NullableLiftingTransform.LiftCSharpUserEqualityComparison has cognitive complexity 18 (threshold 15). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/NullableLiftingTransform.cs"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea11b314b2cbaedbfe27de9c109472b0e66d3f744f12ea0286d181d8dbb39216"}},{"ruleId":"D2","level":"warning","message":{"text":"ReduceNestingTransform.CanDuplicateExit (cognitive 18): ReduceNestingTransform.CanDuplicateExit has cognitive complexity 18 (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":"ICSharpCode.Decompiler/IL/Transforms/ReduceNestingTransform.cs"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bd1ff79bcf2ee931a34ac9fb1031c628253108c2e645d16edb37af5c0f1a95f"}},{"ruleId":"D2","level":"warning","message":{"text":"SplitVariables.HandleCall (cognitive 18): SplitVariables.HandleCall has cognitive complexity 18 (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":"ICSharpCode.Decompiler/IL/Transforms/SplitVariables.cs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"1643408296de3b6608f84bdab9309670ffb30d7cc210b683b13df733ef503984"}},{"ruleId":"D2","level":"warning","message":{"text":"SwitchOnNullableTransform.MatchSwitchOnNullable (cognitive 18): SwitchOnNullableTransform.MatchSwitchOnNullable has cognitive complexity 18 (threshold 15). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/SwitchOnNullableTransform.cs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"f181345d02103e1e88d04838ea44b4aae8a341e8153bc9218f6517d60f407d05"}},{"ruleId":"D2","level":"warning","message":{"text":"TransformArrayInitializers.HandleCpblkInitializer (cognitive 18): TransformArrayInitializers.HandleCpblkInitializer has cognitive complexity 18 (threshold 15). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/TransformArrayInitializers.cs"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a11422106648ae21a0b4643747919cdb1a355a0627dccd21aa0bb0f0c09cb98"}},{"ruleId":"D2","level":"warning","message":{"text":"TransformExpressionTrees.ConvertMemberInit (cognitive 18): TransformExpressionTrees.ConvertMemberInit has cognitive complexity 18 (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":"ICSharpCode.Decompiler/IL/Transforms/TransformExpressionTrees.cs"},"region":{"startLine":1572}}}],"partialFingerprints":{"codehealthFindingId/v1":"fadd3adc9bd2c82e30c78f7bb394497d709efc7c3bd0acd8a0821c09ee2ea2c5"}},{"ruleId":"D2","level":"warning","message":{"text":"SRMExtensions.IsKnownType (cognitive 18): SRMExtensions.IsKnownType has cognitive complexity 18 (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":"ICSharpCode.Decompiler/SRMExtensions.cs"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"d20412883a8b73e2815f3611e4fadcd2c7ac111123690049ff19bbf3e0995043"}},{"ruleId":"D2","level":"warning","message":{"text":"DecompilerTypeSystem.GetOptions (cognitive 18): DecompilerTypeSystem.GetOptions has cognitive complexity 18 (threshold 15). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/TypeSystem/DecompilerTypeSystem.cs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"996dab50d5136994d0492c2dc7e3d4e8027c6ad00eac466eeab9f662b0938c08"}},{"ruleId":"D2","level":"warning","message":{"text":"TypeSystemExtensions.IsUnmanagedType (cognitive 18): TypeSystemExtensions.IsUnmanagedType has cognitive complexity 18 (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":"ICSharpCode.Decompiler/TypeSystem/TypeSystemExtensions.cs"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"a932b4e5343d1fb11f044c6de99205c8896c95692316da0ad2247ee9f8dab739"}},{"ruleId":"D2","level":"warning","message":{"text":"TypeSystemExtensions.GetElementTypeFromIEnumerable (cognitive 18): TypeSystemExtensions.GetElementTypeFromIEnumerable has cognitive complexity 18 (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":"ICSharpCode.Decompiler/TypeSystem/TypeSystemExtensions.cs"},"region":{"startLine":831}}}],"partialFingerprints":{"codehealthFindingId/v1":"41dc3f2e36cefec6309bef64c353af8291ea2cf106b5ce8ecd37b763a7cda722"}},{"ruleId":"D2","level":"warning","message":{"text":"ILSpyCmdProgram.ExtractResource (cognitive 18): ILSpyCmdProgram.ExtractResource has cognitive complexity 18 (threshold 15). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyCmd/IlspyCmdProgram.cs"},"region":{"startLine":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b4380239b15c8e8fc84735211cf76f26a92079b62f69e5177c6407ffc429437"}},{"ruleId":"D2","level":"warning","message":{"text":"ILSpyCmdProgram.ShowIL (cognitive 18): ILSpyCmdProgram.ShowIL has cognitive complexity 18 (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":"ICSharpCode.ILSpyCmd/IlspyCmdProgram.cs"},"region":{"startLine":738}}}],"partialFingerprints":{"codehealthFindingId/v1":"b71908e0c53bed8223b04a03b37b546e1179d7381ea372354fe2b62caf17a455"}},{"ruleId":"D2","level":"warning","message":{"text":"ILSpyCmdProgram.ShowILAst (cognitive 18): ILSpyCmdProgram.ShowILAst has cognitive complexity 18 (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":"ICSharpCode.ILSpyCmd/IlspyCmdProgram.cs"},"region":{"startLine":845}}}],"partialFingerprints":{"codehealthFindingId/v1":"476ccbc82ecf141070f3bc73900b2eb47cca390f80d09316013401ab6f947a4c"}},{"ruleId":"D2","level":"warning","message":{"text":"LiteralSearchStrategy.Search (cognitive 18): LiteralSearchStrategy.Search has cognitive complexity 18 (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":"ICSharpCode.ILSpyX/Search/LiteralSearchStrategy.cs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"1732444d5eb16af0d4ccb46e5a27c0538506fa3676458418135852553e49db97"}},{"ruleId":"D2","level":"warning","message":{"text":"CSharpLanguage.ToCSharpString (cognitive 18): CSharpLanguage.ToCSharpString has cognitive complexity 18 (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":"ILSpy/Languages/CSharpLanguage.cs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b81b33a339704b1ab6869720f607b262fd7ed53cfa90a501b8a5241d4036220"}},{"ruleId":"D2","level":"warning","message":{"text":"Language.GetEntityName (cognitive 18): Language.GetEntityName has cognitive complexity 18 (threshold 15). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. 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. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Languages/Language.cs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"d209e61e07e6d570483231f1b23682c9635393c34cfae238d257323460dd28e8"}},{"ruleId":"D2","level":"warning","message":{"text":"CustomDebugInformationEntry.ParseRowDetails (cognitive 18): CustomDebugInformationEntry.ParseRowDetails has cognitive complexity 18 (threshold 15). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Metadata/DebugTables/CustomDebugInformationTableTreeNode.cs"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"11dbb0adb7c9e86aa9ed73ae610bf8afe98e868b0df904e6f2086ae7b54e953f"}},{"ruleId":"D2","level":"warning","message":{"text":"DocumentationRenderer.AddSee (cognitive 18): DocumentationRenderer.AddSee has cognitive complexity 18 (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":"ILSpy/TextView/DocumentationRenderer.cs"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"f994761b80131a025ac073ba9e43a747fb1cad461aa86e9c5e4abb5e9ef14cf9"}},{"ruleId":"D2","level":"warning","message":{"text":"TypeTreeNode.LoadChildren (cognitive 18): TypeTreeNode.LoadChildren has cognitive complexity 18 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/TreeNodes/TypeTreeNode.cs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"56ddb1a3a02c547e49ef3e386a62856545c2544f7e48cf5a50000cfdf8f1c04e"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageListDecoder.ExtractFrame (cognitive 18): ImageListDecoder.ExtractFrame has cognitive complexity 18 (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":"ILSpy/Util/ImageListDecoder.cs"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"25fa9d237bdd3c46cffbc06319361af1dfe9d3453ec0670935f839712dabe33c"}},{"ruleId":"D2","level":"warning","message":{"text":"CSharpDecompiler.CleanUpMethodDeclaration (cognitive 17): CSharpDecompiler.CleanUpMethodDeclaration has cognitive complexity 17 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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":"ICSharpCode.Decompiler/CSharp/CSharpDecompiler.cs"},"region":{"startLine":2550}}}],"partialFingerprints":{"codehealthFindingId/v1":"18f1bfbe2a12f92366c6801a22cc7c11e9746d32e7d702231e99149afd365e0e"}},{"ruleId":"D2","level":"warning","message":{"text":"ExpressionBuilder.Translate (cognitive 17): ExpressionBuilder.Translate has cognitive complexity 17 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/ExpressionBuilder.cs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"367909758a627f6e1ece68dfc3232e38b6b9f8fd782988aca9610045fd9e7a9f"}},{"ruleId":"D2","level":"warning","message":{"text":"ExpressionBuilder.HandlePointerSubtraction (cognitive 17): ExpressionBuilder.HandlePointerSubtraction has cognitive complexity 17 (threshold 15). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/ExpressionBuilder.cs"},"region":{"startLine":1600}}}],"partialFingerprints":{"codehealthFindingId/v1":"3922cae447a2ea11d73b702a268311ad906e26c7171729e999b9d8f6fa9846c2"}},{"ruleId":"D2","level":"warning","message":{"text":"ExpressionBuilder.AdjustConstantToType (cognitive 17): ExpressionBuilder.AdjustConstantToType has cognitive complexity 17 (threshold 15). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/ExpressionBuilder.cs"},"region":{"startLine":4103}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5e0eb6204401a4199420663e739f5294377eb43fa2a4f5e1870c0a4c30af7a9"}},{"ruleId":"D2","level":"warning","message":{"text":"CSharpOutputVisitor.VisitPropertyDeclaration (cognitive 17): CSharpOutputVisitor.VisitPropertyDeclaration has cognitive complexity 17 (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":"ICSharpCode.Decompiler/CSharp/OutputVisitor/CSharpOutputVisitor.cs"},"region":{"startLine":2692}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cb16fc8396a19b59b385e54459f5cd6c612ca2b46412f1f25833c2157a360c6"}},{"ruleId":"D2","level":"warning","message":{"text":"InsertMissingTokensDecorator.EndNode (cognitive 17): InsertMissingTokensDecorator.EndNode has cognitive complexity 17 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/OutputVisitor/InsertMissingTokensDecorator.cs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"345d4f4fe79975400e4df06ade0dcef4a4203c541098e00ea724e26bebb58149"}},{"ruleId":"D2","level":"warning","message":{"text":"CSharpConversions.StandardImplicitConversion (cognitive 17): CSharpConversions.StandardImplicitConversion has cognitive complexity 17 (threshold 15). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/Resolver/CSharpConversions.cs"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"5407ff47fb217642d025f6b8c185e6f7a329bc574d8ba420e191e2fc0ba52db6"}},{"ruleId":"D2","level":"warning","message":{"text":"CSharpResolver.LookInUsingScopeNamespace (cognitive 17): CSharpResolver.LookInUsingScopeNamespace has cognitive complexity 17 (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":"ICSharpCode.Decompiler/CSharp/Resolver/CSharpResolver.cs"},"region":{"startLine":1682}}}],"partialFingerprints":{"codehealthFindingId/v1":"5296652649905b514505611cec9e85b290781d5d3cb9507147a3df3fb037fe44"}},{"ruleId":"D2","level":"warning","message":{"text":"CSharpResolver.ResolveForeach (cognitive 17): CSharpResolver.ResolveForeach has cognitive complexity 17 (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":"ICSharpCode.Decompiler/CSharp/Resolver/CSharpResolver.cs"},"region":{"startLine":1879}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d81f52775560f79eec859816025b29b0ba8bbbab3e12be7226a3dabd4cfc815"}},{"ruleId":"D2","level":"warning","message":{"text":"CSharpResolver.ResolveObjectCreation (cognitive 17): CSharpResolver.ResolveObjectCreation has cognitive complexity 17 (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":"ICSharpCode.Decompiler/CSharp/Resolver/CSharpResolver.cs"},"region":{"startLine":2504}}}],"partialFingerprints":{"codehealthFindingId/v1":"309d520918cb87914b7c5bcbbb0e31d4fac41fa71d6a64cbfc8b49641d13c719"}},{"ruleId":"D2","level":"warning","message":{"text":"ILParser.SetBranchTargets (cognitive 17): ILParser.SetBranchTargets has cognitive complexity 17 (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":"ICSharpCode.Decompiler/Disassembler/ILParser.cs"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"16fa9ddb1bf95bf76b179974cb1c108651a24755e680f230ca3d9e65e8dda83d"}},{"ruleId":"D2","level":"warning","message":{"text":"ReflectionDisassembler.DisassembleFieldCore (cognitive 17): ReflectionDisassembler.DisassembleFieldCore has cognitive complexity 17 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/Disassembler/ReflectionDisassembler.cs"},"region":{"startLine":1376}}}],"partialFingerprints":{"codehealthFindingId/v1":"00069e2b87ac560ca38b5ec21c1f261e80ffb4cbcfff23d53cd3f77bd715fd78"}},{"ruleId":"D2","level":"warning","message":{"text":"IdStringProvider.FindDeclaringTypeOfEvent (cognitive 17): IdStringProvider.FindDeclaringTypeOfEvent has cognitive complexity 17 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/Documentation/IdStringProvider.cs"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"92352f2eff7ec00d83827c0a8278bb0c181ccf5a6a6b96fc7557d4edd516836a"}},{"ruleId":"D2","level":"warning","message":{"text":"SwitchDetection.IsSingleCondition (cognitive 17): SwitchDetection.IsSingleCondition has cognitive complexity 17 (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":"ICSharpCode.Decompiler/IL/ControlFlow/SwitchDetection.cs"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c79cdc693acd267f03cfff8ca19481c0c7fea1e1ef6afa423af21bb374a0ac4"}},{"ruleId":"D2","level":"warning","message":{"text":"CachedDelegateInitialization.CachedDelegateInitializationVB (cognitive 17): CachedDelegateInitialization.CachedDelegateInitializationVB has cognitive complexity 17 (threshold 15). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/CachedDelegateInitialization.cs"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ada7a1bda344801a7be2ee0f0ef6b0d66251ec628913072d17dbf575bd443f0"}},{"ruleId":"D2","level":"warning","message":{"text":"DynamicCallSiteTransform.ExtractArgumentInfo (cognitive 17): DynamicCallSiteTransform.ExtractArgumentInfo has cognitive complexity 17 (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":"ICSharpCode.Decompiler/IL/Transforms/DynamicCallSiteTransform.cs"},"region":{"startLine":593}}}],"partialFingerprints":{"codehealthFindingId/v1":"11e3f66361544791bf483c42682097ec9a1dd18358e083fa3526014928e95bac"}},{"ruleId":"D2","level":"warning","message":{"text":"HighLevelLoopTransform.MatchDoWhileLoop (cognitive 17): HighLevelLoopTransform.MatchDoWhileLoop has cognitive complexity 17 (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":"ICSharpCode.Decompiler/IL/Transforms/HighLevelLoopTransform.cs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fbf6e26ee7f3918f381c59d132d657c8d44a033fd7e8eeadc5883cc7aee0221"}},{"ruleId":"D2","level":"warning","message":{"text":"IndexRangeTransform.CSharpWillGenerateIndexer (cognitive 17): IndexRangeTransform.CSharpWillGenerateIndexer has cognitive complexity 17 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. 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":"ICSharpCode.Decompiler/IL/Transforms/IndexRangeTransform.cs"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"deb7f198937ad9c8a7a462244cb14a1041a6f2fdfcc8a715493e184cc8b233bc"}},{"ruleId":"D2","level":"warning","message":{"text":"NullPropagationTransform.RunStatements (cognitive 17): NullPropagationTransform.RunStatements has cognitive complexity 17 (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":"ICSharpCode.Decompiler/IL/Transforms/NullPropagationTransform.cs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f82498f83af5287cbb7ea634a6f7848c1ef8ebff59761a1af123f29a98c3f12"}},{"ruleId":"D2","level":"warning","message":{"text":"PatternMatchingTransform.CheckAllUsesDominatedBy (cognitive 17): PatternMatchingTransform.CheckAllUsesDominatedBy has cognitive complexity 17 (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":"ICSharpCode.Decompiler/IL/Transforms/PatternMatchingTransform.cs"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec8d3a39e061aaf5e0c009d236664f2bfc1e90efd104429cb7b6b5dc7d150759"}},{"ruleId":"D2","level":"warning","message":{"text":"SwitchOnStringTransform.ExtractStringValuesFromInitBlock (cognitive 17): SwitchOnStringTransform.ExtractStringValuesFromInitBlock has cognitive complexity 17 (threshold 15). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/SwitchOnStringTransform.cs"},"region":{"startLine":797}}}],"partialFingerprints":{"codehealthFindingId/v1":"4850a9fa5c93a9a656825a56198389eb0e40a740d9af637ebfaf8ccd6665688f"}},{"ruleId":"D2","level":"warning","message":{"text":"SwitchOnStringTransform.MatchRoslynEmptyStringCaseBlockHead (cognitive 17): SwitchOnStringTransform.MatchRoslynEmptyStringCaseBlockHead has cognitive complexity 17 (threshold 15). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/SwitchOnStringTransform.cs"},"region":{"startLine":1654}}}],"partialFingerprints":{"codehealthFindingId/v1":"85c7e6812fd23b645d16f4ebe88da7300b6bf799cbf907a21aaf2987642e6139"}},{"ruleId":"D2","level":"warning","message":{"text":"TransformArrayInitializers.HandleJaggedArrayInitializer (cognitive 17): TransformArrayInitializers.HandleJaggedArrayInitializer has cognitive complexity 17 (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":"ICSharpCode.Decompiler/IL/Transforms/TransformArrayInitializers.cs"},"region":{"startLine":794}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e7cc5f90a1bcf996e86b26f01048a8b5c2cef957c4739907aef2b23627ad7e9"}},{"ruleId":"D2","level":"warning","message":{"text":"TransformDisplayClassUsage.DetectDisplayClass (cognitive 17): TransformDisplayClassUsage.DetectDisplayClass has cognitive complexity 17 (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":"ICSharpCode.Decompiler/IL/Transforms/TransformDisplayClassUsage.cs"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"43e10cd4625661283cfd88acc7bb05e8a2911e0e88bc3975fe61c8a3d6a95a87"}},{"ruleId":"D2","level":"warning","message":{"text":"TransformDisplayClassUsage.HandleMonoStateMachine (cognitive 17): TransformDisplayClassUsage.HandleMonoStateMachine has cognitive complexity 17 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. 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":"ICSharpCode.Decompiler/IL/Transforms/TransformDisplayClassUsage.cs"},"region":{"startLine":711}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9cf821fc812db96e4f662051f31428ad0f493f9c7a88b066edf451c253f3e66"}},{"ruleId":"D2","level":"warning","message":{"text":"TransformExpressionTrees.ReadParameters (cognitive 17): TransformExpressionTrees.ReadParameters has cognitive complexity 17 (threshold 15). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. 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. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/TransformExpressionTrees.cs"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"74f33eb58304edaab5ef40ff94e26398597259aadd159a08eda9cb4108d06027"}},{"ruleId":"D2","level":"warning","message":{"text":"TransformExpressionTrees.ConvertCast (cognitive 17): TransformExpressionTrees.ConvertCast has cognitive complexity 17 (threshold 15). Most of this is not in the body itself: 5 of the 17 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 1035, 1019). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/TransformExpressionTrees.cs"},"region":{"startLine":1007}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d11bb9447d60c0a3c51256aba7dba15039937920d7e87033a74249a3ec9454b"}},{"ruleId":"D2","level":"warning","message":{"text":"UsingTransform.TransformUsing (cognitive 17): UsingTransform.TransformUsing has cognitive complexity 17 (threshold 15). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/UsingTransform.cs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"794f668db3968b11a8009a925f8377246331cc39f7c01d9dda1981344c4e0707"}},{"ruleId":"D2","level":"warning","message":{"text":"MetadataModule.GetInternalsVisibleTo (cognitive 17): MetadataModule.GetInternalsVisibleTo has cognitive complexity 17 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/TypeSystem/MetadataModule.cs"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"46b8927b3c7d16418d935931ce75ff5afe870283ef2453592efaf88a444c38f0"}},{"ruleId":"D2","level":"warning","message":{"text":"MetadataModule.FindMinimumAccessibilityForNRT (cognitive 17): MetadataModule.FindMinimumAccessibilityForNRT has cognitive complexity 17 (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":"ICSharpCode.Decompiler/TypeSystem/MetadataModule.cs"},"region":{"startLine":1087}}}],"partialFingerprints":{"codehealthFindingId/v1":"f299ca34c18bc86b97188fc4face813e827b3070ceac2de213e75fbf3a8268bd"}},{"ruleId":"D2","level":"warning","message":{"text":"ResourcesFile.ResourcesFile.ctor (cognitive 17): ResourcesFile.ResourcesFile.ctor has cognitive complexity 17 (threshold 15). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/Util/ResourcesFile.cs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef50570aeee5d213acc8d8afa5bdbd612513ce1d2fb533f81ce7b5941c12eb9d"}},{"ruleId":"D2","level":"warning","message":{"text":"TypesParser.ParseSelection (cognitive 17): TypesParser.ParseSelection has cognitive complexity 17 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyCmd/TypesParser.cs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"3505ca28a610d09bc0591cfe1764024a12c1a49e3336842f2db31967790836d6"}},{"ruleId":"D2","level":"warning","message":{"text":"MyAssemblyResolver.ResolveCoreAsync (cognitive 17): MyAssemblyResolver.ResolveCoreAsync has cognitive complexity 17 (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":"ICSharpCode.ILSpyX/LoadedAssembly.cs"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"f83cad149b5c9b626b2b9920b3df237ae6829dfa7ec8c35cbcbeb510e49a92dd"}},{"ruleId":"D2","level":"warning","message":{"text":"CompareEngine.MergeTrees (cognitive 17): CompareEngine.MergeTrees has cognitive complexity 17 (threshold 15). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/CompareEngine.cs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"1701a804db0da9610384b642be452c8216dd6562e30a466471d77c5cd31bc33a"}},{"ruleId":"D2","level":"warning","message":{"text":"FlagsFilterPopup.OnArrowKeyDown (cognitive 17): FlagsFilterPopup.OnArrowKeyDown has cognitive complexity 17 (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":"ILSpy/Controls/FlagsFilterPopup.cs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"268c56fda14486ba656ec062810c5f728160af06a07cc3d6c6a43a5637c0ecbf"}},{"ruleId":"D2","level":"warning","message":{"text":"DockWorkspace.ShowSelectedNode (cognitive 17): DockWorkspace.ShowSelectedNode has cognitive complexity 17 (threshold 15). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Docking/DockWorkspace.cs"},"region":{"startLine":791}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e33772aec356b23ff81231177f3f9113d91e66286a1ca0ca36cc7cc0ad3458e"}},{"ruleId":"D2","level":"warning","message":{"text":"FilterStatePresenter.Describe (cognitive 17): FilterStatePresenter.Describe has cognitive complexity 17 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. 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":"ILSpy/Metadata/FilterStatePresenter.cs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5c4b5f1e362c96cbb12852e3dcad0646be8f561bf7b95a907f10539c14ed89d"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionSettings.LoadFromXml (cognitive 17): SessionSettings.LoadFromXml has cognitive complexity 17 (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":"ILSpy/SessionSettings.cs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf625e3cd0ece2ddb9526b8129a4e88c540ef560c7c8e48e3f7615a4709a26c2"}},{"ruleId":"D2","level":"warning","message":{"text":"DecompilerTextView.ToggleFoldingAt (cognitive 17): DecompilerTextView.ToggleFoldingAt has cognitive complexity 17 (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":"ILSpy/TextView/DecompilerTextView.axaml.cs"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4764345c910a6ab13fb160bc0f019804acfe9faf2917417ab3f9d1d1311bf72"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkupExtensionRewritePass.InlineExtension (cognitive 16): MarkupExtensionRewritePass.InlineExtension has cognitive complexity 16 (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":"ICSharpCode.BamlDecompiler/Rewrite/MarkupExtensionRewritePass.cs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff0742850015cdb3c28f103597ce5391cad6b33eadc7f95f38af098abdb78dde"}},{"ruleId":"D2","level":"warning","message":{"text":"XamlExtension.ToString (cognitive 16): XamlExtension.ToString has cognitive complexity 16 (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":"ICSharpCode.BamlDecompiler/Xaml/XamlExtension.cs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"c37844ac7f10b5d6a0394b7dadec36076fa281f523693bb4782f4eee4ac68ef5"}},{"ruleId":"D2","level":"warning","message":{"text":"AutoEventDecompiler.MatchCompareExchangeLoopMcs (cognitive 16): AutoEventDecompiler.MatchCompareExchangeLoopMcs has cognitive complexity 16 (threshold 15). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/AutoEventDecompiler.cs"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d0ae934eee0c4e79662618db3e87dd06701ea7d824a8efdbf62c5d8866565cd"}},{"ruleId":"D2","level":"warning","message":{"text":"CallBuilder.Build (cognitive 16): CallBuilder.Build has cognitive complexity 16 (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":"ICSharpCode.Decompiler/CSharp/CallBuilder.cs"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f80bbb82e96628574195c121dcb09600dae1387b22ad73ae843935b6e4ee017"}},{"ruleId":"D2","level":"warning","message":{"text":"CallBuilder.HandleConstructorCall (cognitive 16): CallBuilder.HandleConstructorCall has cognitive complexity 16 (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":"ICSharpCode.Decompiler/CSharp/CallBuilder.cs"},"region":{"startLine":1614}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fa819f29eda503b6ee3ab210909df5298138c0eb41c38b1a3db0c9542ac0e00"}},{"ruleId":"D2","level":"warning","message":{"text":"CallBuilder.CanUseDelegateConstruction (cognitive 16): CallBuilder.CanUseDelegateConstruction has cognitive complexity 16 (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":"ICSharpCode.Decompiler/CSharp/CallBuilder.cs"},"region":{"startLine":1699}}}],"partialFingerprints":{"codehealthFindingId/v1":"e692f660b1e87895f4281834bdd903e89f6c5020592beae62e7ee993bc8d6de5"}},{"ruleId":"D2","level":"warning","message":{"text":"Disambiguator.CastArguments (cognitive 16): Disambiguator.CastArguments has cognitive complexity 16 (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":"ICSharpCode.Decompiler/CSharp/Disambiguator.cs"},"region":{"startLine":900}}}],"partialFingerprints":{"codehealthFindingId/v1":"7471da56c7fa0d6af29b2d04e96354123376012dc0c9bfa7f464783da746d307"}},{"ruleId":"D2","level":"warning","message":{"text":"ExpressionBuilder.VisitStLoc (cognitive 16): ExpressionBuilder.VisitStLoc has cognitive complexity 16 (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":"ICSharpCode.Decompiler/CSharp/ExpressionBuilder.cs"},"region":{"startLine":855}}}],"partialFingerprints":{"codehealthFindingId/v1":"462bce6aa278f5e51eecb771268df696977c1f712ffebbc35badd467ae64274e"}},{"ruleId":"D2","level":"warning","message":{"text":"ExpressionBuilder.HandleShift (cognitive 16): ExpressionBuilder.HandleShift has cognitive complexity 16 (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":"ICSharpCode.Decompiler/CSharp/ExpressionBuilder.cs"},"region":{"startLine":1941}}}],"partialFingerprints":{"codehealthFindingId/v1":"96bd4c560ae2aba034b5ce574b0f61f31a647cbfeee82360fbb59bad637cde4c"}},{"ruleId":"D2","level":"warning","message":{"text":"ExpressionBuilder.VisitNullCoalescingInstruction (cognitive 16): ExpressionBuilder.VisitNullCoalescingInstruction has cognitive complexity 16 (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":"ICSharpCode.Decompiler/CSharp/ExpressionBuilder.cs"},"region":{"startLine":4147}}}],"partialFingerprints":{"codehealthFindingId/v1":"6381be6d1ccbebf01fbec691391b4f7a7839b0e174416ab7bc0a892047071f93"}},{"ruleId":"D2","level":"warning","message":{"text":"RecordDecompiler.DetectOrderFromEquals (cognitive 16): RecordDecompiler.DetectOrderFromEquals has cognitive complexity 16 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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":"ICSharpCode.Decompiler/CSharp/RecordDecompiler.cs"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"397ad1800bb6c64a1abe7b2ff87750041de5464f710cb2245fc0b930ebf06145"}},{"ruleId":"D2","level":"warning","message":{"text":"CSharpConversions.MethodGroupConversion (cognitive 16): CSharpConversions.MethodGroupConversion has cognitive complexity 16 (threshold 15). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/Resolver/CSharpConversions.cs"},"region":{"startLine":1384}}}],"partialFingerprints":{"codehealthFindingId/v1":"80f14091846674cafe1d430cac532189e3b0d9db414d6fb6884363b68e343645"}},{"ruleId":"D2","level":"warning","message":{"text":"CSharpConversions.IsExactlyMatching (cognitive 16): CSharpConversions.IsExactlyMatching has cognitive complexity 16 (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":"ICSharpCode.Decompiler/CSharp/Resolver/CSharpConversions.cs"},"region":{"startLine":1639}}}],"partialFingerprints":{"codehealthFindingId/v1":"e894eafdb2019f8ff811f9d886c4256a4468aefdfb478ee11f606339fd85e513"}},{"ruleId":"D2","level":"warning","message":{"text":"CSharpConversions.BetterConversionTarget (cognitive 16): CSharpConversions.BetterConversionTarget has cognitive complexity 16 (threshold 15). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/Resolver/CSharpConversions.cs"},"region":{"startLine":1705}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd725967754b757059a48ac30320076557dbf379eb3e02bb3e76cf52059bcfd3"}},{"ruleId":"D2","level":"warning","message":{"text":"TypeInference.PhaseOne (cognitive 16): TypeInference.PhaseOne has cognitive complexity 16 (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":"ICSharpCode.Decompiler/CSharp/Resolver/TypeInference.cs"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"03279ace13a078c2929acbf301b22bac1896ffe519444a962ae9265411177402"}},{"ruleId":"D2","level":"warning","message":{"text":"StatementBuilder.MatchGetEnumeratorPattern (cognitive 16): StatementBuilder.MatchGetEnumeratorPattern has cognitive complexity 16 (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":"ICSharpCode.Decompiler/CSharp/StatementBuilder.cs"},"region":{"startLine":637}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d7dccbf0ea1e41d14da2ca57125496cef700dfd704c412b71593b5bcb49a8a0"}},{"ruleId":"D2","level":"warning","message":{"text":"Enumerator.MoveNext (cognitive 16): Enumerator.MoveNext has cognitive complexity 16 (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":"ICSharpCode.Decompiler/CSharp/Syntax/AstNodeCollection.cs"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f53815bb5065b2e1e1e66e0acd0e0f63f6d0f7bdbd32fc023779f3aa178765f"}},{"ruleId":"D2","level":"warning","message":{"text":"DocumentationReference.DoMatch (cognitive 16): DocumentationReference.DoMatch has cognitive complexity 16 (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":"ICSharpCode.Decompiler/CSharp/Syntax/DocumentationReference.cs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"43db8e597772f8dcf10e09c04e6beaa6ed1caf762e849a41e37a710732610fca"}},{"ruleId":"D2","level":"warning","message":{"text":"TypeSystemAstBuilder.ConvertDelegate (cognitive 16): TypeSystemAstBuilder.ConvertDelegate has cognitive complexity 16 (threshold 15). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/Syntax/TypeSystemAstBuilder.cs"},"region":{"startLine":2237}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0d381eef9b674e1295115f6290374247fc554cc0f3f6c6d6c8823f232d1dd95"}},{"ruleId":"D2","level":"warning","message":{"text":"DocumentationIdSearch.Find (cognitive 16): DocumentationIdSearch.Find has cognitive complexity 16 (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":"ICSharpCode.Decompiler/Documentation/DocumentationIdSearch.cs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"e283bbd20bc41ed812c66ababc3f49d4a2d11d4531536465ac5eb93835d2a3ff"}},{"ruleId":"D2","level":"warning","message":{"text":"IdStringProvider.AppendTypeParameters (cognitive 16): IdStringProvider.AppendTypeParameters has cognitive complexity 16 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/Documentation/IdStringProvider.cs"},"region":{"startLine":696}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbf54f6d507827364c7209e5ff2c9028f1eba2448cf73de337b5b4d3b8c24c00"}},{"ruleId":"D2","level":"warning","message":{"text":"DetectPinnedRegions.IsNullSafeArrayToPointerPattern (cognitive 16): DetectPinnedRegions.IsNullSafeArrayToPointerPattern has cognitive complexity 16 (threshold 15). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/ControlFlow/DetectPinnedRegions.cs"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"355fedcf65fef8b64a650f8e8c2924db0f97d0de967f59096d39e8573b765eee"}},{"ruleId":"D2","level":"warning","message":{"text":"DetectExitPoints.VisitBlockContainer (cognitive 16): DetectExitPoints.VisitBlockContainer has cognitive complexity 16 (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":"ICSharpCode.Decompiler/IL/ControlFlow/ExitPoints.cs"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"39c14b59f725c17135588c50048d0c09a84fb117d4bbc9cb8d4ef15cbac12747"}},{"ruleId":"D2","level":"warning","message":{"text":"RuntimeAsyncExceptionRewriteTransform.ResolveEarlyReturnValue (cognitive 16): RuntimeAsyncExceptionRewriteTransform.ResolveEarlyReturnValue has cognitive complexity 16 (threshold 15). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/ControlFlow/RuntimeAsyncExceptionRewriteTransform.cs"},"region":{"startLine":1317}}}],"partialFingerprints":{"codehealthFindingId/v1":"65471a5d49319aef56e1725d7d12445af250d9e87e339a697e5ddcb88ee36391"}},{"ruleId":"D2","level":"warning","message":{"text":"DeconstructInstruction.IsAssignment (cognitive 16): DeconstructInstruction.IsAssignment has cognitive complexity 16 (threshold 15). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. 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. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Instructions/DeconstructInstruction.cs"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d50c01d63b8b172bd7ad7452b25a86edefd3b79d9dfd7f41540b1ae70709966"}},{"ruleId":"D2","level":"warning","message":{"text":"CachedDelegateInitialization.CachedDelegateInitializationVBWithClosure (cognitive 16): CachedDelegateInitialization.CachedDelegateInitializationVBWithClosure has cognitive complexity 16 (threshold 15). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/CachedDelegateInitialization.cs"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f7e402e2009704e5367d6fef606eba8b41bbb89f0e5c95fc73864863fdc9e25"}},{"ruleId":"D2","level":"warning","message":{"text":"DeconstructionTransform.MatchDeconstructionCall (cognitive 16): DeconstructionTransform.MatchDeconstructionCall has cognitive complexity 16 (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":"ICSharpCode.Decompiler/IL/Transforms/DeconstructionTransform.cs"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"2398eaad9914f666dc7fc183f697d9dedaeb65a2f29d3d70176eaec4b73f6bbf"}},{"ruleId":"D2","level":"warning","message":{"text":"DelegateConstruction.Run (cognitive 16): DelegateConstruction.Run has cognitive complexity 16 (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":"ICSharpCode.Decompiler/IL/Transforms/DelegateConstruction.cs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fa9fbf9e7b1af945e92140a78ad20f7db305d8abd0d504f3eaf085df439d7c3"}},{"ruleId":"D2","level":"warning","message":{"text":"ExpressionTransforms.TransformDynamicAddAssignOrRemoveAssign (cognitive 16): ExpressionTransforms.TransformDynamicAddAssignOrRemoveAssign has cognitive complexity 16 (threshold 15). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/ExpressionTransforms.cs"},"region":{"startLine":755}}}],"partialFingerprints":{"codehealthFindingId/v1":"71aea05463cd481319453eb7c76f4b8a249738aece411dbceaf51f9c27ac0651"}},{"ruleId":"D2","level":"warning","message":{"text":"ILInlining.IsGeneratedTemporaryForAddressOf (cognitive 16): ILInlining.IsGeneratedTemporaryForAddressOf has cognitive complexity 16 (threshold 15). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/ILInlining.cs"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"6939e443ef0010e61986037fcc93f771f069b66a3adb3a444aa87ea76b686cb4"}},{"ruleId":"D2","level":"warning","message":{"text":"IndexRangeTransform.MatchSliceLength (cognitive 16): IndexRangeTransform.MatchSliceLength has cognitive complexity 16 (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":"ICSharpCode.Decompiler/IL/Transforms/IndexRangeTransform.cs"},"region":{"startLine":750}}}],"partialFingerprints":{"codehealthFindingId/v1":"b01825fc3076754ffe94c5f5ba526275d39291494978edd9e6754b848fc5e7d0"}},{"ruleId":"D2","level":"warning","message":{"text":"LockTransform.MatchExitBlock (cognitive 16): LockTransform.MatchExitBlock has cognitive complexity 16 (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":"ICSharpCode.Decompiler/IL/Transforms/LockTransform.cs"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ef71704e158a79501ee3f110cff6f08898653243c8d63bd569cd6c24b532b2b"}},{"ruleId":"D2","level":"warning","message":{"text":"TransformExpressionTrees.ConvertProperty (cognitive 16): TransformExpressionTrees.ConvertProperty has cognitive complexity 16 (threshold 15). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/TransformExpressionTrees.cs"},"region":{"startLine":1878}}}],"partialFingerprints":{"codehealthFindingId/v1":"c55f6649b874e2afde15b853eb74e6752aa39658e765442a0e3f4d758a9f3b5a"}},{"ruleId":"D2","level":"warning","message":{"text":"AttributeListBuilder.IgnoreAttribute (cognitive 16): AttributeListBuilder.IgnoreAttribute has cognitive complexity 16 (threshold 15). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. 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. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/TypeSystem/Implementation/AttributeListBuilder.cs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"15d061d70f92cfc786dcfc92cedae9d1d0c9142e668a9b1d0c07bcedad7ac991"}},{"ruleId":"D2","level":"warning","message":{"text":"TupleType.GetTupleElementTypes (cognitive 16): TupleType.GetTupleElementTypes has cognitive complexity 16 (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":"ICSharpCode.Decompiler/TypeSystem/TupleType.cs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"a85da489734be86a1a0579ee1073c53c91c33229197e2bce92b744320243f5df"}},{"ruleId":"D2","level":"warning","message":{"text":"LongSet.MergeOverlapping (cognitive 16): LongSet.MergeOverlapping has cognitive complexity 16 (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":"ICSharpCode.Decompiler/Util/LongSet.cs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"27126e74b9fa58b7a68555986ad7700e21d8d8ac3aaf0890a9a98fc3d3e9ab16"}},{"ruleId":"D2","level":"warning","message":{"text":"AssemblyTreeModel.RestoreSelectedPathAsync (cognitive 16): AssemblyTreeModel.RestoreSelectedPathAsync has cognitive complexity 16 (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":"ILSpy/AssemblyTree/AssemblyTreeModel.cs"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"601017f899916c15c461c0409363c86149197927d11ec232120c34906541f9cf"}},{"ruleId":"D2","level":"warning","message":{"text":"AssemblyTreeModel.NavigateOnLaunchAsync (cognitive 16): AssemblyTreeModel.NavigateOnLaunchAsync has cognitive complexity 16 (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":"ILSpy/AssemblyTree/AssemblyTreeModel.cs"},"region":{"startLine":826}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c3555147b95aafca4a29b351ae6b57b73c5cbd9ee5bb45fbb631660956c95ad"}},{"ruleId":"D2","level":"warning","message":{"text":"CSharpHighlightingTokenWriter.WriteIdentifier (cognitive 16): CSharpHighlightingTokenWriter.WriteIdentifier has cognitive complexity 16 (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":"ILSpy/Languages/CSharpHighlightingTokenWriter.cs"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"596b02f3842b254de550ce3261301df35575478c7517103eadd150d82ae6e087"}},{"ruleId":"D2","level":"warning","message":{"text":"CSharpLanguage.CollectFieldsAndCtors (cognitive 16): CSharpLanguage.CollectFieldsAndCtors has cognitive complexity 16 (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":"ILSpy/Languages/CSharpLanguage.cs"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5393e2b753222846cddda4a2136060e516477c88be1f9e07e06d7ebadefcc73"}},{"ruleId":"D2","level":"warning","message":{"text":"RunningSearch.RunSearch (cognitive 16): RunningSearch.RunSearch has cognitive complexity 16 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Search/RunningSearch.cs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"b635ddc4961b71babcb3516b4d407624bada41524a48b3990952e7f4e6c96c2a"}},{"ruleId":"D2","level":"warning","message":{"text":"DocumentationRenderer.AddPlainTextWithLinks (cognitive 16): DocumentationRenderer.AddPlainTextWithLinks has cognitive complexity 16 (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":"ILSpy/TextView/DocumentationRenderer.cs"},"region":{"startLine":745}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8b88801a9a016337b2f6341f37fd4c3a4e7e30dba45304f33cf0a3d2fd4650b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: CSharp/ExpressionBuilder.cs: FileTooLong \u2014 3145 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 2645 over it, 6.29\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":"ICSharpCode.Decompiler/CSharp/ExpressionBuilder.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad0fe0fcc3a925327ee12c3a42daa8976303f21dc62913ceb2b8978a7f32f3af"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CSharpOutputVisitor: TooManyMethods \u2014 1986 significant lines (blank, comment-only and punctuation-only lines excluded), 180 methods. The bar is 30 methods; this is 150 over it, 6.00\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":"ICSharpCode.Decompiler/CSharp/OutputVisitor/CSharpOutputVisitor.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"318bca02f841be04aae0dd3eecff36936f1c851700a2c6fbe9f4b45ab7ee862d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ExpressionBuilder: TooManyMethods \u2014 3118 significant lines (blank, comment-only and punctuation-only lines excluded), 169 methods. The bar is 30 methods; this is 139 over it, 5.63\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":"ICSharpCode.Decompiler/CSharp/ExpressionBuilder.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a02a0134bad5fc60028c978acf8bc90d6a514ed50754b90650988e803d0d586"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: OutputVisitor/CSharpOutputVisitor.cs: FileTooLong \u2014 1997 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1497 over it, 3.99\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":"ICSharpCode.Decompiler/CSharp/OutputVisitor/CSharpOutputVisitor.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ac9f48281b4a788166491aa609a402c7adc5f1ad8d02cf4baa80b166efd623e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DecompilerTextView: TooManyMethods \u2014 1066 significant lines (blank, comment-only and punctuation-only lines excluded), 102 methods. The bar is 30 methods; this is 72 over it, 3.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":"ILSpy/TextView/DecompilerTextView.axaml.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c60cde66ee9709f59c2b84a98dc76f967f3e3c72a5b8c7673733491b95e319e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: CSharp/CSharpDecompiler.cs: FileTooLong \u2014 1670 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1170 over it, 3.34\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":"ICSharpCode.Decompiler/CSharp/CSharpDecompiler.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"170dcfdafa473268922a457e85c106ca3dcd19e07e83e1b2e10e1cdb093cc530"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CSharpPrimitiveCast.CSharpPrimitiveCastChecked: MethodTooLong \u2014 CSharpPrimitiveCastChecked runs 331 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 231 over it, 3.31\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/Util/CSharpPrimitiveCast.cs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"f15ad9f632c942b6d1b78adea77c75c261901fb6ed95a284d58e4991c098bec9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CSharpPrimitiveCast.CSharpPrimitiveCastUnchecked: MethodTooLong \u2014 CSharpPrimitiveCastUnchecked runs 331 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 231 over it, 3.31\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/Util/CSharpPrimitiveCast.cs"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddf3ad8271d58609ca52092e7f0beb1e740688cbe8cc02584e882c517ac4dcf1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Syntax/TypeSystemAstBuilder.cs: FileTooLong \u2014 1567 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1067 over it, 3.13\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":"ICSharpCode.Decompiler/CSharp/Syntax/TypeSystemAstBuilder.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2075361098c4dda7cbf9d6d7319ab583a29eb9dc79847ac55f53c5fd5d5a4ea"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CSharpResolver: TooManyMethods \u2014 1471 significant lines (blank, comment-only and punctuation-only lines excluded), 93 methods. The bar is 30 methods; this is 63 over it, 3.10\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":"ICSharpCode.Decompiler/CSharp/Resolver/CSharpResolver.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bcca90cd364099dbca4211ff6e399151a6794ce47b6d61b24c7c5c5b3e64990"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Disassembler/ReflectionDisassembler.cs: FileTooLong \u2014 1526 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1026 over it, 3.05\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":"ICSharpCode.Decompiler/Disassembler/ReflectionDisassembler.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c27b7ed3a3a172b01565a83e12c876367cad9d5ffc0257b636bcc34c45b400e4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Resolver/CSharpResolver.cs: FileTooLong \u2014 1495 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 995 over it, 2.99\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":"ICSharpCode.Decompiler/CSharp/Resolver/CSharpResolver.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb1f39ccfba66f4c8fb4e0acdec0230c17f2c1fa78e65974857f7ce408b99980"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: IL/ILReader.cs: FileTooLong \u2014 1411 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 911 over it, 2.82\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":"ICSharpCode.Decompiler/IL/ILReader.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee193ef978478acb2f647130dffd58dca60ceec0fd8a5b98bd95c696adc8d50e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SwitchOnStringTransform: ClassTooLong \u2014 1093 significant lines (blank, comment-only and punctuation-only lines excluded), 27 methods. The bar is 400 significant lines; this is 693 over it, 2.73\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":"ICSharpCode.Decompiler/IL/Transforms/SwitchOnStringTransform.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"de94bdb75d0343ee38670ac86bec8dbb67bfb53b4e2738fbc19c9303669f33a3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ControlFlow/AsyncAwaitDecompiler.cs: FileTooLong \u2014 1313 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 813 over it, 2.63\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":"ICSharpCode.Decompiler/IL/ControlFlow/AsyncAwaitDecompiler.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c2d876ba2bbb21b22b740cf6c962d3f713691526dfc71cf3297e99c1d4969ca"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Transforms/TransformExpressionTrees.cs: FileTooLong \u2014 1290 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 790 over it, 2.58\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":"ICSharpCode.Decompiler/IL/Transforms/TransformExpressionTrees.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"26b3652eb2fa0750faf33532e99a10179eb9d728a5361090f7cd40623303ec4b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CSharpDecompiler: TooManyMethods \u2014 1640 significant lines (blank, comment-only and punctuation-only lines excluded), 77 methods. The bar is 30 methods; this is 47 over it, 2.57\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":"ICSharpCode.Decompiler/CSharp/CSharpDecompiler.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"777109f6a3d4daf106da794590a5bb84e6bf2f420e38f0d9f63fb62e31058bf5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SwitchOnStringTransform.MatchRoslynSwitchOnStringUsingLengthAndChar: MethodTooLong \u2014 MatchRoslynSwitchOnStringUsingLengthAndChar runs 254 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 154 over it, 2.54\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/SwitchOnStringTransform.cs"},"region":{"startLine":1195}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5d141e2fb64d2f5c869c679826226e929a1baa46a06d69f9cae8bb80f7a083f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TypeSystemAstBuilder: TooManyMethods \u2014 1540 significant lines (blank, comment-only and punctuation-only lines excluded), 73 methods. The bar is 30 methods; this is 43 over it, 2.43\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":"ICSharpCode.Decompiler/CSharp/Syntax/TypeSystemAstBuilder.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"791e3e73b8bdaa05bbc558bab45d830572af428465c2d257cb0b9078f92876fc"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TranslatedExpression.ConvertTo: MethodTooLong \u2014 ConvertTo runs 230 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 130 over it, 2.30\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/TranslatedExpression.cs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e34b2dd0c1da3f4a03a497782a33180370be93dc3799798f385ab95d1197994"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: CSharp/CallBuilder.cs: FileTooLong \u2014 1147 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 647 over it, 2.29\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":"ICSharpCode.Decompiler/CSharp/CallBuilder.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9c5f75dfb55fa8f038e018c90b5b2273d8efb3e3ebf26c3c7e7ad9053ce9738"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: RecordDecompiler: ClassTooLong \u2014 908 significant lines (blank, comment-only and punctuation-only lines excluded), 29 methods. The bar is 400 significant lines; this is 508 over it, 2.27\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":"ICSharpCode.Decompiler/CSharp/RecordDecompiler.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b54c5be038bb29efe5c8ae6377fc8477039b89047174a667ec1dedcb3cee8353"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AstNode: TooManyMethods \u2014 444 significant lines (blank, comment-only and punctuation-only lines excluded), 67 methods. The bar is 30 methods; this is 37 over it, 2.23\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":"ICSharpCode.Decompiler/CSharp/Syntax/AstNode.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"28f88ff59045f170d47be50853fbbc0cc1cef0244a499db3d1b394ddf036ecd5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: TextView/DecompilerTextView.axaml.cs: FileTooLong \u2014 1102 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 602 over it, 2.20\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":"ILSpy/TextView/DecompilerTextView.axaml.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"744debf51d6687d557a3f99167561b0263a01d45847ef08f23460a48f49b4039"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Transforms/SwitchOnStringTransform.cs: FileTooLong \u2014 1101 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 601 over it, 2.20\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":"ICSharpCode.Decompiler/IL/Transforms/SwitchOnStringTransform.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"59ed6c76d11965f08252f703ceff08a19e24397a8eb380129dbd8286de39d27d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DockWorkspace: TooManyMethods \u2014 598 significant lines (blank, comment-only and punctuation-only lines excluded), 66 methods. The bar is 30 methods; this is 36 over it, 2.20\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":"ILSpy/Docking/DockWorkspace.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"26067534540e658489258ac0509cc530ae9318a800e792043e3197e18dd6dc69"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ILReader: TooManyMethods \u2014 1321 significant lines (blank, comment-only and punctuation-only lines excluded), 65 methods. The bar is 30 methods; this is 35 over it, 2.17\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":"ICSharpCode.Decompiler/IL/ILReader.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9853884c207413199d07f6bbe05a13463a499e0263e6d9852dd34ec6ead5e2a7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DynamicCallSiteTransform.ScanCallSiteInitBlock: MethodTooLong \u2014 ScanCallSiteInitBlock runs 212 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 112 over it, 2.12\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/DynamicCallSiteTransform.cs"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"607f7b5a453f6bdc6a8226c0c660427964d6e2c64811a9b3a3293062a14323f2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CSharpResolver.ResolveBinaryOperator: MethodTooLong \u2014 ResolveBinaryOperator runs 209 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 109 over it, 2.09\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/Resolver/CSharpResolver.cs"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"41c43836ff88f159db512e2d662d5ca6d1e753e93e05ebec0a48a96153a96aa0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CSharpConversions: TooManyMethods \u2014 945 significant lines (blank, comment-only and punctuation-only lines excluded), 62 methods. The bar is 30 methods; this is 32 over it, 2.07\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":"ICSharpCode.Decompiler/CSharp/Resolver/CSharpConversions.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4330911d49601224f0c39b52d163de851c7eddddaa73e4bb4159903e7950130"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SharpTreeNode: TooManyMethods \u2014 601 significant lines (blank, comment-only and punctuation-only lines excluded), 62 methods, declared across 3 files: TreeView/SharpTreeNode.cs (39), TreeView/FlatListTreeNode.cs (19), TreeView/TreeThreadAffinity.cs (4). The bar is 30 methods; this is 32 over it, 2.07\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":"ICSharpCode.ILSpyX/TreeView/SharpTreeNode.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"89fc2c2800c06cc5d16d3d056a77c2903fda343e0e28c943d281d147011dbf75"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ReflectionDisassembler.WriteNativeType: MethodTooLong \u2014 WriteNativeType runs 204 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 104 over it, 2.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/Disassembler/ReflectionDisassembler.cs"},"region":{"startLine":953}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddee5546bd3a6371146ede0e36052d4525ab2611a952b85e4f330776ce8f07b8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: IndexRangeTransform.Run: MethodTooLong \u2014 Run runs 204 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 104 over it, 2.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/IndexRangeTransform.cs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e5f5e41ded730111ba82f49e270b0eb106b48701b90d6601b5aba99ae60f1dc"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ReflectionDisassembler: TooManyMethods \u2014 1394 significant lines (blank, comment-only and punctuation-only lines excluded), 61 methods. The bar is 30 methods; this is 31 over it, 2.03\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":"ICSharpCode.Decompiler/Disassembler/ReflectionDisassembler.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"34fb2cf818846ea5bfa5391c9e8ae70d2cd5f5313cd2cfaa47fb55706f756739"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: CSharp/StatementBuilder.cs: FileTooLong \u2014 1008 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 508 over it, 2.02\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":"ICSharpCode.Decompiler/CSharp/StatementBuilder.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a87211d3fcaeff2aa1ea379a99053b11b42709dbff6a4611f2a9b70cf5190219"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CSharpDecompiler.DoDecompile: MethodTooLong \u2014 DoDecompile runs 197 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 97 over it, 1.97\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/CSharpDecompiler.cs"},"region":{"startLine":1821}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c05934e40b5e55130b451d1164c02ff11e6b455e7a32c1a7c23e00d71b2ed04"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: YieldReturnDecompiler: ClassTooLong \u2014 779 significant lines (blank, comment-only and punctuation-only lines excluded), 26 methods. The bar is 400 significant lines; this is 379 over it, 1.95\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":"ICSharpCode.Decompiler/IL/ControlFlow/YieldReturnDecompiler.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"941a125e406baedf619682a10a928570ba2756dae844617f692c027fc2edc1b9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Resolver/CSharpConversions.cs: FileTooLong \u2014 965 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 465 over it, 1.93\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":"ICSharpCode.Decompiler/CSharp/Resolver/CSharpConversions.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7085005c65de1ed95ada25433918ce8486d84bb576b9f208afd4a35ab4507acb"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BamlReader.ReadDocument: MethodTooLong \u2014 ReadDocument runs 189 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 89 over it, 1.89\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.BamlDecompiler/Baml/BamlReader.cs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"720597bf76df4d8df53de7680dcb7b95af645146de0ddd7ff0bfd391d638cbee"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PatternStatementTransform: TooManyMethods \u2014 886 significant lines (blank, comment-only and punctuation-only lines excluded), 56 methods. The bar is 30 methods; this is 26 over it, 1.87\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":"ICSharpCode.Decompiler/CSharp/Transforms/PatternStatementTransform.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d665d8f94aafb3c5c163805d3cf8ed38809645717a1e33b46c2faee5276e8119"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: CSharp/RecordDecompiler.cs: FileTooLong \u2014 920 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 420 over it, 1.84\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":"ICSharpCode.Decompiler/CSharp/RecordDecompiler.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"58633f0dbd014605a5849aea7eb9ea5d2a50da8aebda98dfcd378ce0e28db77a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: StatementBuilder: TooManyMethods \u2014 994 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":"ICSharpCode.Decompiler/CSharp/StatementBuilder.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e66a44fb1c75b87da8eebdff8ac51b9edb7bc3eaaa2391c1e76876527b42432e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Transforms/PatternStatementTransform.cs: FileTooLong \u2014 897 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 397 over it, 1.79\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":"ICSharpCode.Decompiler/CSharp/Transforms/PatternStatementTransform.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"52f373a24b60b9e5f5823ec8ec294ecab27179412f04429343c876afda127f53"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: RuntimeAsyncExceptionRewriteTransform: ClassTooLong \u2014 712 significant lines (blank, comment-only and punctuation-only lines excluded), 25 methods. The bar is 400 significant lines; this is 312 over it, 1.78\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":"ICSharpCode.Decompiler/IL/ControlFlow/RuntimeAsyncExceptionRewriteTransform.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d0f3b3a633efa5fe742a44134323fc07fa2fe6ce15d014b044ad5ad6e31d398"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: InstructionOutputExtensions.WriteTo: MethodTooLong \u2014 WriteTo runs 178 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 78 over it, 1.78\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/InstructionOutputExtensions.cs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"89a4f3c2641839be7b9cf84d712ad394c044e6531211cbaad92803c32e5e5bf2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AsyncAwaitDecompiler: TooManyMethods \u2014 1298 significant lines (blank, comment-only and punctuation-only lines excluded), 52 methods. The bar is 30 methods; this is 22 over it, 1.73\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":"ICSharpCode.Decompiler/IL/ControlFlow/AsyncAwaitDecompiler.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a21e3d42e543a699c6a68af0c96862973dce2deca112437122bdd89aa2136d5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CallBuilder.Build: MethodTooLong \u2014 Build runs 173 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 73 over it, 1.73\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/CallBuilder.cs"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"d37660c05252c710a938f3001901b580863251894f85f2c62686deb77b60f9b6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MethodBodyDisassembler.WriteInstruction: MethodTooLong \u2014 WriteInstruction runs 173 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 73 over it, 1.73\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/Disassembler/MethodBodyDisassembler.cs"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8a4ceaf8b45f89f1f808b7d20829009a0c785e0adbb6c942d107c2d5a14df34"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TransformExpressionTrees: TooManyMethods \u2014 1278 significant lines (blank, comment-only and punctuation-only lines excluded), 51 methods. The bar is 30 methods; this is 21 over it, 1.70\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":"ICSharpCode.Decompiler/IL/Transforms/TransformExpressionTrees.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ada8ca7e4fa05c243f0da374937c28b6219716b1b1fa6cbc8030b161326d3b51"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CSharpPrimitiveCast: ClassTooLong \u2014 670 significant lines (blank, comment-only and punctuation-only lines excluded), 3 methods. The bar is 400 significant lines; this is 270 over it, 1.68\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":"ICSharpCode.Decompiler/Util/CSharpPrimitiveCast.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d80cc8f40edbdf0d7b03ddbafbe5a51a68d2287cbb69079beb626164c7f1c04"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ILAmbience.ConvertSymbol: MethodTooLong \u2014 ConvertSymbol runs 166 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 66 over it, 1.66\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/ILAmbience.cs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8807e1b5235cc56d576d74dadca0a720778e35456de3530a4d3f2f15f5797b7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CSharpHighlightingTokenWriter.WriteKeyword: MethodTooLong \u2014 WriteKeyword runs 164 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 64 over it, 1.64\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Languages/CSharpHighlightingTokenWriter.cs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"38ffd90192b1b13e4488f9a575d8ab400bffd2b992ff0a43b355075ebac5ffdd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Syntax/DepthFirstAstVisitor.cs: FileTooLong \u2014 801 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 301 over it, 1.60\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":"ICSharpCode.Decompiler/CSharp/Syntax/DepthFirstAstVisitor.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d88d8e422dd70de925c67909ca9d7929d2ed86a53a10145032f10c6793f38565"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AssemblyTreeModel: TooManyMethods \u2014 539 significant lines (blank, comment-only and punctuation-only lines excluded), 48 methods. The bar is 30 methods; this is 18 over it, 1.60\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":"ILSpy/AssemblyTree/AssemblyTreeModel.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"05853592458e2b816cb193c867fcc161289a9fc83c666b3455dec7873ec62324"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Lexer.ReadDigit: MethodTooLong \u2014 ReadDigit runs 160 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 60 over it, 1.60\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/Search/CSharpLexer.cs"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"e108bbda598eb0293868bd52f3437652fb4f800fb9366ad7da17c5dfaabb422b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ControlFlow/YieldReturnDecompiler.cs: FileTooLong \u2014 789 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 289 over it, 1.58\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":"ICSharpCode.Decompiler/IL/ControlFlow/YieldReturnDecompiler.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"92fcef5541a1f419b164ab123270ed6cdf4c5e8fde3801b1a00b3e3e1d819098"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MetadataModule: TooManyMethods \u2014 628 significant lines (blank, comment-only and punctuation-only lines excluded), 47 methods. The bar is 30 methods; this is 17 over it, 1.57\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":"ICSharpCode.Decompiler/TypeSystem/MetadataModule.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f193a33a6479fe9f76a641a2e49366fbd130f96fc08c663cee97911f48cb3be2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: IntroduceQueryExpressions.DecompileQuery: MethodTooLong \u2014 DecompileQuery runs 155 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 55 over it, 1.55\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/Transforms/IntroduceQueryExpressions.cs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"10657c331295602d7a52469a74635303e2c4dc3193a94c5cd2cee7bc60d75d74"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Resolver/TypeInference.cs: FileTooLong \u2014 770 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 270 over it, 1.54\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":"ICSharpCode.Decompiler/CSharp/Resolver/TypeInference.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"feebe5a2da6ee6e322a2cc0d1a8ad379522fe081e8d90e33452581705729b2e9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ICSharpCode.ILSpyCmd/IlspyCmdProgram.cs: FileTooLong \u2014 767 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 267 over it, 1.53\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":"ICSharpCode.ILSpyCmd/IlspyCmdProgram.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3462834f538d67e85f85bd6a7c1796522b8fd146c7a52a76ad5d12f69766b15e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DeconstructionTransform: ClassTooLong \u2014 604 significant lines (blank, comment-only and punctuation-only lines excluded), 26 methods. The bar is 400 significant lines; this is 204 over it, 1.51\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":"ICSharpCode.Decompiler/IL/Transforms/DeconstructionTransform.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f82534ec96b099c9ace4499fc53922f65308a484f4963adfcddcb151a3f2e7e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TransformAssignment: ClassTooLong \u2014 595 significant lines (blank, comment-only and punctuation-only lines excluded), 17 methods. The bar is 400 significant lines; this is 195 over it, 1.49\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":"ICSharpCode.Decompiler/IL/Transforms/TransformAssignment.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cb12d7ae34f840760641d488688f384769c4e233fb81d66e0b6c0a934190403"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Transforms/TransformArrayInitializers.cs: FileTooLong \u2014 742 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 242 over it, 1.48\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":"ICSharpCode.Decompiler/IL/Transforms/TransformArrayInitializers.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fba916ab43f8c3e4d39f4c0fa7e8be2faefe33162d39fb60c01b153e1f0b17e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: YieldReturnDecompiler.ConvertBody: MethodTooLong \u2014 ConvertBody runs 146 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 46 over it, 1.46\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/ControlFlow/YieldReturnDecompiler.cs"},"region":{"startLine":855}}}],"partialFingerprints":{"codehealthFindingId/v1":"9139ef4272ab125dabf307b1bcb5d6890f43541092084437c9b6b8f14ee89393"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ControlFlow/RuntimeAsyncExceptionRewriteTransform.cs: FileTooLong \u2014 719 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 219 over it, 1.44\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":"ICSharpCode.Decompiler/IL/ControlFlow/RuntimeAsyncExceptionRewriteTransform.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a18b07300a5ae0234518ae0684fd9ed62ae000c50a98b69391cdb4c013abdd63"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SharpTreeView: TooManyMethods \u2014 435 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. 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":"ILSpy/Controls/TreeView/SharpTreeView.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d0b67dcc8f4bcbdb1dee0358b7d23841c162b923c5fcb922fd5d0d83b561b7e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FormattingOptionsFactory.CreateMono: MethodTooLong \u2014 CreateMono runs 138 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 38 over it, 1.38\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/OutputVisitor/FormattingOptionsFactory.cs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ff45201825be17312d530e0c711c13ac1d5cfc4efef85b44dbd790a0fce2581"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CSharpDecompiler.IsAccessorInterfaceImplementationRuntimeHelper: MethodTooLong \u2014 IsAccessorInterfaceImplementationRuntimeHelper runs 137 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 37 over it, 1.37\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/CSharpDecompiler.cs"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac7968788edf3d28d9bed6b819f410d8df68107810ceb7bbb4df6a7e94e7ce12"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DetectPinnedRegions: ClassTooLong \u2014 547 significant lines (blank, comment-only and punctuation-only lines excluded), 21 methods. The bar is 400 significant lines; this is 147 over it, 1.37\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":"ICSharpCode.Decompiler/IL/ControlFlow/DetectPinnedRegions.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1c64b25c609c2fca5e4cd9eb0804a7e84e7713df83addaa2470c9cba2aeee15"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Util/CSharpPrimitiveCast.cs: FileTooLong \u2014 672 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 172 over it, 1.34\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":"ICSharpCode.Decompiler/Util/CSharpPrimitiveCast.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8214e67599f86cb4e2220b128b047a67f574e4cc36baa315ab7a4e748e67fe8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FormattingOptionsFactory.CreateKRStyle: MethodTooLong \u2014 CreateKRStyle runs 134 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 34 over it, 1.34\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/OutputVisitor/FormattingOptionsFactory.cs"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"859806f8225eecb920f3420d8ae5459d03847bf8e880c5bab1e76d6fe0148437"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CallBuilder: TooManyMethods \u2014 1037 significant lines (blank, comment-only and punctuation-only lines excluded), 40 methods. The bar is 30 methods; this is 10 over it, 1.33\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":"ICSharpCode.Decompiler/CSharp/CallBuilder.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bda6d372dbeb741c6aed9c5e0716710c723d4cabbaa5328409758c0900aa88be"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: OverloadResolution: ClassTooLong \u2014 529 significant lines (blank, comment-only and punctuation-only lines excluded), 29 methods. The bar is 400 significant lines; this is 129 over it, 1.32\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":"ICSharpCode.Decompiler/CSharp/Resolver/OverloadResolution.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc7b5e8a30233142ba7ee82e7a31c5d676e65faa12fcd0835daa0364e880b607"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DataFlowVisitor: TooManyMethods \u2014 287 significant lines (blank, comment-only and punctuation-only lines excluded), 39 methods. The bar is 30 methods; this is 9 over it, 1.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":"ICSharpCode.Decompiler/FlowAnalysis/DataFlowVisitor.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e7cab5d1e10f31dc00ad86874f04ae0f5fef217b2dcd375686494fe598e70fa"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TransformExpressionTrees.ConvertInstruction: MethodTooLong \u2014 ConvertInstruction runs 130 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 30 over it, 1.30\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/TransformExpressionTrees.cs"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"8489e97050f0ec8e02e3dc102f740005af9465d82880aebc6d702894debe7f98"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CSharpFormattingOptions: ClassTooLong \u2014 517 significant lines (blank, comment-only and punctuation-only lines excluded), 2 methods. The bar is 400 significant lines; this is 117 over it, 1.29\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":"ICSharpCode.Decompiler/CSharp/OutputVisitor/CSharpFormattingOptions.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbef28fcd5214ef27763c38debe12e8070e9af223ee90bc236ac0f529af6df8a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: TypeSystem/MetadataModule.cs: FileTooLong \u2014 640 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 140 over it, 1.28\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":"ICSharpCode.Decompiler/TypeSystem/MetadataModule.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb52939ae6a4c794d83a7fe7d8e77b3881bf352cbcf485fc9ce9e3dd340f87c9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ILSpyCmdProgram.OnExecuteAsync: MethodTooLong \u2014 OnExecuteAsync runs 127 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 27 over it, 1.27\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyCmd/IlspyCmdProgram.cs"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b5e12ed6f540d7f0e0169b4c74df543354153c07d1024a8ba8c0fd8617dd561"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SequencePointBuilder: TooManyMethods \u2014 290 significant lines (blank, comment-only and punctuation-only lines excluded), 38 methods. The bar is 30 methods; this is 8 over it, 1.27\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":"ICSharpCode.Decompiler/CSharp/SequencePointBuilder.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a66f4ed580d424bca3bbca7c344cef1bc8708d69f2ba16e4e61d06c746a74014"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Transforms/DeconstructionTransform.cs: FileTooLong \u2014 631 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 131 over it, 1.26\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":"ICSharpCode.Decompiler/IL/Transforms/DeconstructionTransform.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fa977e36dccc8229fb695e7ce013309f4f8ff8801ddfb091114dd322577bfb1"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: LocalFunctionDecompiler: ClassTooLong \u2014 504 significant lines (blank, comment-only and punctuation-only lines excluded), 30 methods. The bar is 400 significant lines; this is 104 over it, 1.26\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":"ICSharpCode.Decompiler/IL/Transforms/LocalFunctionDecompiler.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea883ac5cf55c3044a4888119edced1ed5a8ada9274fa6427cede37302c89338"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Resolver/CSharpOperators.cs: FileTooLong \u2014 630 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 130 over it, 1.26\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":"ICSharpCode.Decompiler/CSharp/Resolver/CSharpOperators.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"78089a38d9f5ef6c1ce5b9b38581bd3c5179676d1e973946b8a25914ca4c52aa"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MetadataTypeDefinition: ClassTooLong \u2014 503 significant lines (blank, comment-only and punctuation-only lines excluded), 30 methods. The bar is 400 significant lines; this is 103 over it, 1.26\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":"ICSharpCode.Decompiler/TypeSystem/Implementation/MetadataTypeDefinition.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c59003796047010a455af76eb09e8cc35558624f063962b77f6267fe272366e6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Docking/DockWorkspace.cs: FileTooLong \u2014 628 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 128 over it, 1.26\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":"ILSpy/Docking/DockWorkspace.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8fd125b2067ae506be578c2363ef71831957d4b51138acf8e7a494a3fdeb35d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DecompilerTypeSystem.InitializeCoreAsync: MethodTooLong \u2014 InitializeCoreAsync runs 125 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 25 over it, 1.25\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/TypeSystem/DecompilerTypeSystem.cs"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d2d86d55016d1ddacfd60f56648d67a7cb00b1da26900a40edc47a883c7ddc8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Transforms/AssignVariableNames.cs: FileTooLong \u2014 620 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 120 over it, 1.24\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":"ICSharpCode.Decompiler/IL/Transforms/AssignVariableNames.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"78314cb26bf8f4d61d4f42b37d34b593c489cb11ba8b689c1fbc95448516cad1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DeclareVariables.InsertVariableDeclarations: MethodTooLong \u2014 InsertVariableDeclarations runs 124 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 24 over it, 1.24\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/Transforms/DeclareVariables.cs"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ad3001ba6c2a831b8d943bb3c4bac097201b82ce4a086820deb8de056a5cef4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Documentation/IdStringProvider.cs: FileTooLong \u2014 619 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 119 over it, 1.24\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":"ICSharpCode.Decompiler/Documentation/IdStringProvider.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"828d102d759512a320c0de21720d30c74b84b08850950da5fb82b7fe575055aa"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Transforms/TransformAssignment.cs: FileTooLong \u2014 605 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 105 over it, 1.21\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":"ICSharpCode.Decompiler/IL/Transforms/TransformAssignment.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4278acadd54a5f785d2e9b391a3e348936e51f59a96d4c965889474cee7d0d9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CSharpAmbience.ConvertSymbol: MethodTooLong \u2014 ConvertSymbol runs 121 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 21 over it, 1.21\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/OutputVisitor/CSharpAmbience.cs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6a4297ff59b8828030b448fe472505d19dc61cb8fd3a2fec86560829bd478d2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Transforms/ExpressionTransforms.cs: FileTooLong \u2014 604 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 104 over it, 1.21\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":"ICSharpCode.Decompiler/IL/Transforms/ExpressionTransforms.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2154f7366eb3934ca1fb4b8864807af957a663032f861547c8844c7d48cf480"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Search/CSharpLexer.cs: FileTooLong \u2014 603 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 103 over it, 1.21\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":"ICSharpCode.ILSpyX/Search/CSharpLexer.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6b077bc81fac355b95ce978a8f3f2b35979d1a173e1b35e35834f50d5e58afb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Resolver/OverloadResolution.cs: FileTooLong \u2014 601 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 101 over it, 1.20\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":"ICSharpCode.Decompiler/CSharp/Resolver/OverloadResolution.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"422e9c939593cbd66e46c7dd22059708bc66784e749c51e78af9409bf0d73723"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ExpressionTransforms: TooManyMethods \u2014 597 significant lines (blank, comment-only and punctuation-only lines excluded), 36 methods. The bar is 30 methods; this is 6 over it, 1.20\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":"ICSharpCode.Decompiler/IL/Transforms/ExpressionTransforms.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f95fb7381508003442b23b89955b3b5f21225841595a1211cc981beaec1f98c0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Disambiguator: TooManyMethods \u2014 530 significant lines (blank, comment-only and punctuation-only lines excluded), 36 methods. The bar is 30 methods; this is 6 over it, 1.20\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":"ICSharpCode.Decompiler/CSharp/Disambiguator.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb8d661befb309a551ed5849077f1422ed27f5a07342c386c0353cdd12708d55"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ILInlining: TooManyMethods \u2014 476 significant lines (blank, comment-only and punctuation-only lines excluded), 36 methods. The bar is 30 methods; this is 6 over it, 1.20\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":"ICSharpCode.Decompiler/IL/Transforms/ILInlining.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"776a3738c67213ecff39d09f28b7d22e0ba0c919ed678ed35696877a6a2142b1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Transforms/NullableLiftingTransform.cs: FileTooLong \u2014 598 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 98 over it, 1.20\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":"ICSharpCode.Decompiler/IL/Transforms/NullableLiftingTransform.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d0786d93c0601a8b95b4f78dbc325ab509032d8a47beb60c0bb0408c863edb7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: UsingTransform.MatchDisposeCheck: MethodTooLong \u2014 MatchDisposeCheck runs 118 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 18 over it, 1.18\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/UsingTransform.cs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"f042e13a427fcc5684fdd05c22fdc546b538d7e53d62066326dd1647c8f308ec"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DynamicCallSiteTransform: ClassTooLong \u2014 471 significant lines (blank, comment-only and punctuation-only lines excluded), 10 methods. The bar is 400 significant lines; this is 71 over it, 1.18\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":"ICSharpCode.Decompiler/IL/Transforms/DynamicCallSiteTransform.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"017165e47628f04c81b3be189f4c8aab3a59f5a9a02f983bd7860a4fb2ea0e21"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Transforms/TransformDisplayClassUsage.cs: FileTooLong \u2014 585 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 85 over it, 1.17\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":"ICSharpCode.Decompiler/IL/Transforms/TransformDisplayClassUsage.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ce4adc06e01a23cc8d5261ff00bbb103f4066402d8dcd22d735227d19608262"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ReplaceMethodCallsWithOperators.ProcessInvocationExpression: MethodTooLong \u2014 ProcessInvocationExpression runs 117 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 17 over it, 1.17\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/Transforms/ReplaceMethodCallsWithOperators.cs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddf9dd2d2466745c22308bf9b90e17ac9ac5298d5dc72a3d38ff8b3a7d3a1c6c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: AssemblyTree/AssemblyTreeModel.cs: FileTooLong \u2014 584 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 84 over it, 1.17\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":"ILSpy/AssemblyTree/AssemblyTreeModel.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"32e919bd87179ce7029c44925880ee77b76eaae4138f9eee85136d159ae8ca80"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: IdStringProvider: TooManyMethods \u2014 504 significant lines (blank, comment-only and punctuation-only lines excluded), 35 methods. The bar is 30 methods; this is 5 over it, 1.17\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":"ICSharpCode.Decompiler/Documentation/IdStringProvider.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"65b9e66c5bebfb11799b68ff0665b4f181705929258672ba1f3252f00a2c7f40"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CSharpLanguage: TooManyMethods \u2014 456 significant lines (blank, comment-only and punctuation-only lines excluded), 35 methods, declared across 2 files: Languages/CSharpLanguage.cs (32), Languages/CSharpLanguage.DebugSteps.cs (3). The bar is 30 methods; this is 5 over it, 1.17\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":"ILSpy/Languages/CSharpLanguage.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d37ecc87a234ec4063b3dcddf650349cca23f260994ae403d6f6f99421fa798e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ICSharpCode.Decompiler/SRMExtensions.cs: FileTooLong \u2014 580 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 80 over it, 1.16\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":"ICSharpCode.Decompiler/SRMExtensions.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d10f31186dec1f85b250822681181e8d1e35a1a95a8d8c9b83f1e5abc66427b7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CSharpDecompiler.ReadCodeMappingInfo: MethodTooLong \u2014 ReadCodeMappingInfo runs 116 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 16 over it, 1.16\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/CSharpDecompiler.cs"},"region":{"startLine":1134}}}],"partialFingerprints":{"codehealthFindingId/v1":"492840c2c706221c7d5d6a344e1beb17183691a7fdedf7ff2900afbf1921ffda"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ConstructorInitializerAnalyzer.Analyze: MethodTooLong \u2014 Analyze runs 116 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 16 over it, 1.16\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/Transforms/TransformFieldAndConstructorInitializers.cs"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2c82eb2161cbbb424e87208a0c8ac32329bb7cf71436a59f923298ac537b067"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RecordDecompiler.DetectPrimaryConstructor: MethodTooLong \u2014 DetectPrimaryConstructor runs 115 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 15 over it, 1.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/RecordDecompiler.cs"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"09343b0c895b68276dab0cecb95b886f834bddde9f9780d75c66804dadf7631f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AsyncAwaitDecompiler.MatchTaskCreationPattern: MethodTooLong \u2014 MatchTaskCreationPattern runs 114 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 14 over it, 1.14\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/ControlFlow/AsyncAwaitDecompiler.cs"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"e609a472e129b24ddb3f2730de2f888b14f0308306986b91b3d3a7a2f7818988"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SwitchOnStringTransform.SimplifyCascadingIfStatements: MethodTooLong \u2014 SimplifyCascadingIfStatements runs 114 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 14 over it, 1.14\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/SwitchOnStringTransform.cs"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"663a83a4668215bbaded30cc94e87057519edef2ea34879804501461de2e4a4a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ILSpyCmdProgram: TooManyMethods \u2014 736 significant lines (blank, comment-only and punctuation-only lines excluded), 34 methods. The bar is 30 methods; this is 4 over it, 1.13\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":"ICSharpCode.ILSpyCmd/IlspyCmdProgram.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"45506e967c673cf99cb089a08cd6517a162fdbd440886b27bbbd30ca27847e3a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TransformArrayInitializers: TooManyMethods \u2014 733 significant lines (blank, comment-only and punctuation-only lines excluded), 34 methods. The bar is 30 methods; this is 4 over it, 1.13\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":"ICSharpCode.Decompiler/IL/Transforms/TransformArrayInitializers.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb7ec3fe46f52ab49d806129bd0b1f829dddaf8e022b3ff643adfdff84107ef2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DocumentationRenderer: TooManyMethods \u2014 475 significant lines (blank, comment-only and punctuation-only lines excluded), 34 methods. The bar is 30 methods; this is 4 over it, 1.13\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":"ILSpy/TextView/DocumentationRenderer.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ea78cc0cc2072640b5ddf18ecbf7be11864321a762cbedf85a7475b0839345f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Baml/BamlRecords.cs: FileTooLong \u2014 564 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 64 over it, 1.13\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":"ICSharpCode.BamlDecompiler/Baml/BamlRecords.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf41d271786878982bd4dc3a3f36f0bcadc542b297d9a63a3bdbdd744062a709"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TextWriterTokenWriter.WritePrimitiveValue: MethodTooLong \u2014 WritePrimitiveValue runs 112 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 12 over it, 1.12\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/OutputVisitor/TextWriterTokenWriter.cs"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"39db905de1793f7b24a4684b361acb6836ce96174e9749314bd3c07f44c76f60"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TypeSystemAstBuilder.ConvertTypeHelper: MethodTooLong \u2014 ConvertTypeHelper runs 112 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 12 over it, 1.12\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/Syntax/TypeSystemAstBuilder.cs"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"d83a1f7f398f9d6bd6ca7b7669316de985fbd9f1c04cd13765c2cd00f35f9400"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ControlFlow/DetectPinnedRegions.cs: FileTooLong \u2014 555 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 55 over it, 1.11\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":"ICSharpCode.Decompiler/IL/ControlFlow/DetectPinnedRegions.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bc0d9fb14f6a124f01cc9172a12abd3a017a35638c576a78804d788b863daa2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: CSharp/Disambiguator.cs: FileTooLong \u2014 553 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 53 over it, 1.11\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":"ICSharpCode.Decompiler/CSharp/Disambiguator.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c47a606eb1310c6cd0912bac191d1de331359de58c0525bc30019e306cf6b3bb"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TransformDisplayClassUsage: TooManyMethods \u2014 539 significant lines (blank, comment-only and punctuation-only lines excluded), 33 methods. The bar is 30 methods; this is 3 over it, 1.10\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":"ICSharpCode.Decompiler/IL/Transforms/TransformDisplayClassUsage.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"57e952c71e5d084463ecee755aa2d0c6f4b6df19de61119b767be7e96d5b20b6"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DecompilerSettings: ClassTooLong \u2014 437 significant lines (blank, comment-only and punctuation-only lines excluded), 6 methods. The bar is 400 significant lines; this is 37 over it, 1.09\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":"ICSharpCode.Decompiler/DecompilerSettings.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b64be97d5d8f47d7375a8e27215b581ee3d30b150d8f725a7143dec539d7e40"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Transforms/TransformFieldAndConstructorInitializers.cs: FileTooLong \u2014 545 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 45 over it, 1.09\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":"ICSharpCode.Decompiler/CSharp/Transforms/TransformFieldAndConstructorInitializers.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1280bb5534ddc871f9c75e037645c5bc1ef9fd4bd17d78f095f9e546f96c95ed"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: OutputVisitor/CSharpFormattingOptions.cs: FileTooLong \u2014 544 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 44 over it, 1.09\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":"ICSharpCode.Decompiler/CSharp/OutputVisitor/CSharpFormattingOptions.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5c59a730e39660eded9bb67fba945c534a274c50a4cc86c11c2c8a5c938e93e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Transforms/LocalFunctionDecompiler.cs: FileTooLong \u2014 542 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 42 over it, 1.08\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":"ICSharpCode.Decompiler/IL/Transforms/LocalFunctionDecompiler.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"741a9ed11784792c0e3886d8ed4c539ffaf25511e0f9b467266d092db6605385"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Languages/CSharpLanguage.cs: FileTooLong \u2014 542 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 42 over it, 1.08\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":"ILSpy/Languages/CSharpLanguage.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"105039182835cddff034969926495398b86b30f4cb769eca2102b119cd2b3785"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ExtensionInfo.ExtensionInfo(\u2026): MethodTooLong \u2014 ExtensionInfo(\u2026) runs 108 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 8 over it, 1.08\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/TypeSystem/ExtensionInfo.cs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"79d254a12a9acf93b4431798c9a0348ce80e4f851d2355d138fed3e75620cf1c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Analyzer: ClassTooLong \u2014 429 significant lines (blank, comment-only and punctuation-only lines excluded), 22 methods. The bar is 400 significant lines; this is 29 over it, 1.07\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":"ICSharpCode.Decompiler/IL/Transforms/IntroduceScopedModifierOnLocals.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"51e03e07c594449426e33ed7f317cf299db178cc2fdb3d15b2bdf021156ad4c5"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CSharpHighlightingTokenWriter: ClassTooLong \u2014 429 significant lines (blank, comment-only and punctuation-only lines excluded), 14 methods. The bar is 400 significant lines; this is 29 over it, 1.07\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":"ILSpy/Languages/CSharpHighlightingTokenWriter.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"50425d0f4e16b7e9899a9d3d8c49e72bdd0d227a8f7620c9d964eb51693a3f83"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TransformAssignment.HandleCompoundAssign: MethodTooLong \u2014 HandleCompoundAssign runs 107 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/TransformAssignment.cs"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"46226929139b5960581f0439af9a63a12e57b7aeecf4836bdf1b80f05aa90dca"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AstNodeCollection: TooManyMethods \u2014 162 significant lines (blank, comment-only and punctuation-only lines excluded), 32 methods. The bar is 30 methods; this is 2 over it, 1.07\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":"ICSharpCode.Decompiler/CSharp/Syntax/AstNodeCollection.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"856e6c846735a4364f1bc739871bda9d637bb77158f5fb684d8e06e00bf2c46c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RecordDecompiler.IsGeneratedPrintMembers: MethodTooLong \u2014 IsGeneratedPrintMembers runs 106 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 6 over it, 1.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/RecordDecompiler.cs"},"region":{"startLine":837}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbba0f7b98af34c99f3a409a46695feeb6cfbfea8ebdee9bca23ae3ddbeedd77"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: StatementBuilder.TransformToForeach: MethodTooLong \u2014 TransformToForeach runs 105 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/StatementBuilder.cs"},"region":{"startLine":763}}}],"partialFingerprints":{"codehealthFindingId/v1":"6db71658a36b07bab0d1d18c32ac35f097fdfebdedaa55589c014e90b58228f8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Conv.GetConversionKind: MethodTooLong \u2014 GetConversionKind runs 105 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Instructions/Conv.cs"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"50c46ee48417e4df9d8f7d71577e70832689e3f9168df6a3f79f77ec55e552f6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: VariableScope.VariableScope(\u2026): MethodTooLong \u2014 VariableScope(\u2026) runs 105 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/AssignVariableNames.cs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e26ef97b6d2347a6643bfb63e9bca747324772dbb7c4b1d7bf904318857d4e2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DynamicCallSiteTransform.MakeDynamicInstruction: MethodTooLong \u2014 MakeDynamicInstruction runs 105 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/DynamicCallSiteTransform.cs"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"61bc22394aca2b69f81fe5f1dafef05a6cf81b53e29d29b6a34547f5f7f5637c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SwitchOnStringTransform.MatchRoslynSwitchOnString: MethodTooLong \u2014 MatchRoslynSwitchOnString runs 105 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/SwitchOnStringTransform.cs"},"region":{"startLine":1014}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fddf126ecfe7e2ccfdc3a87924f9a869fb8f6a4c35c0816f01c7ceb402a4cd8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LiteralSearchStrategy.MethodIsLiteralMatch: MethodTooLong \u2014 MethodIsLiteralMatch runs 105 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/Search/LiteralSearchStrategy.cs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c7720e3366ab6a847152d3c45aa15994c7e27fde3aff91a8a4c9cf1f9fb9b99"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TypeInference: TooManyMethods \u2014 717 significant lines (blank, comment-only and punctuation-only lines excluded), 31 methods. The bar is 30 methods; this is 1 over it, 1.03\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":"ICSharpCode.Decompiler/CSharp/Resolver/TypeInference.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"37ca9cd19e01302f02a9395750de128bce2a162d1233046e93b08bc9eba56ba6"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: NullableLiftingTransform: TooManyMethods \u2014 549 significant lines (blank, comment-only and punctuation-only lines excluded), 31 methods. The bar is 30 methods; this is 1 over it, 1.03\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":"ICSharpCode.Decompiler/IL/Transforms/NullableLiftingTransform.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3376bf4fbb09bd621a5039fbf0032088a4d26cd12e0a42ab23af1497deb079b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MethodBodyDisassembler: ClassTooLong \u2014 413 significant lines (blank, comment-only and punctuation-only lines excluded), 12 methods. The bar is 400 significant lines; this is 13 over it, 1.03\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":"ICSharpCode.Decompiler/Disassembler/MethodBodyDisassembler.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"09b839f82a192e75ec7b3dc272f9696b37c82478793ff724d9e4eb6ee756909b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DeclareVariables: ClassTooLong \u2014 412 significant lines (blank, comment-only and punctuation-only lines excluded), 20 methods. The bar is 400 significant lines; this is 12 over it, 1.03\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":"ICSharpCode.Decompiler/CSharp/Transforms/DeclareVariables.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"314b4c709834ce46abfe333a0b3f5d8fee2d7398c17daa11140bff59b6b6d569"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TransformCollectionAndObjectInitializers.Run: MethodTooLong \u2014 Run runs 103 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/TransformCollectionAndObjectInitializers.cs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"75809df56475090e761d5e2f1b08712c62ef8ddc64dcc5f335b7f65ce0e9660c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Transforms/ILInlining.cs: FileTooLong \u2014 514 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 14 over it, 1.03\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":"ICSharpCode.Decompiler/IL/Transforms/ILInlining.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b64b0aeabba41bcff8dec5ae5b3f5a3ce79aadc734e4ca7d94d78c975b59b48c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Implementation/MetadataTypeDefinition.cs: FileTooLong \u2014 514 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 14 over it, 1.03\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":"ICSharpCode.Decompiler/TypeSystem/Implementation/MetadataTypeDefinition.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9a9f24015234fee1f6720cf4d9be91474427c90d423c921cb54919d3df3ad35"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Lexer: ClassTooLong \u2014 411 significant lines (blank, comment-only and punctuation-only lines excluded), 9 methods. The bar is 400 significant lines; this is 11 over it, 1.03\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":"ICSharpCode.ILSpyX/Search/CSharpLexer.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"46d9926afa4dfc001263db834dd52ef7dce31823f01e1a8bb6ea51f4b0b3e506"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RuntimeAsyncExceptionRewriteTransform.TryRewriteFlagBasedEarlyReturn: MethodTooLong \u2014 TryRewriteFlagBasedEarlyReturn runs 102 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/ControlFlow/RuntimeAsyncExceptionRewriteTransform.cs"},"region":{"startLine":1054}}}],"partialFingerprints":{"codehealthFindingId/v1":"e60223d5b97cc0a054afeeecfc2d95a3c41ad74ed91021b929e7612380f1e505"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SwitchOnStringTransform.MatchLegacySwitchOnStringWithDict: MethodTooLong \u2014 MatchLegacySwitchOnStringWithDict runs 102 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/SwitchOnStringTransform.cs"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"91ac6d8d2ecaba8bae131a23936cc5a8dfc1d21dbac5eab0f70f0ac52559cca8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Syntax/AstNode.cs: FileTooLong \u2014 505 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 5 over it, 1.01\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":"ICSharpCode.Decompiler/CSharp/Syntax/AstNode.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aa877814e7fadc37f0b6823764f6b070a04a719a053a61e7ef4199e988f217f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AwaitInCatchTransform.MatchAwaitCatchHandler: MethodTooLong \u2014 MatchAwaitCatchHandler runs 101 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1 over it, 1.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/ControlFlow/AwaitInCatchTransform.cs"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad380133095d2b22cba9baa6522ebb471a2bcee062d0ac7667b6f2f693b857ec"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Block.CheckInvariant: MethodTooLong \u2014 CheckInvariant runs 101 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1 over it, 1.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Instructions/Block.cs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"a25f6acae395061da2a5091cafde5acd992380aebd7bc7eb02b0f98764b825ee"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: IndexRangeTransform: ClassTooLong \u2014 402 significant lines (blank, comment-only and punctuation-only lines excluded), 13 methods. The bar is 400 significant lines; this is 2 over it, 1.01\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":"ICSharpCode.Decompiler/IL/Transforms/IndexRangeTransform.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c778807b644fb6e9df608db1fd96ce081b0db501f3fe09f0e02dfcae33917a50"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): ICSharpCode.BamlDecompiler/Handlers/Records/OptimizedStaticResourceHandler.cs:44-116 | ICSharpCode.BamlDecompiler/Handlers/Records/PropertyWithExtensionHandler.cs:35-122 \u2014 These two members are one piece of code written twice and then edited apart: 39 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.BamlDecompiler/Handlers/Records/OptimizedStaticResourceHandler.cs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ab38ffa5e749f4ae3b519a7af3ce7c325442a6af32648684f1a3d78902dc31c"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): ICSharpCode.BamlDecompiler/Handlers/Blocks/PropertyArrayHandler.cs:34-49 | ICSharpCode.BamlDecompiler/Handlers/Blocks/PropertyComplexHandler.cs:34-49 | ICSharpCode.BamlDecompiler/Handlers/Blocks/PropertyDictionaryHandler.cs:34-49 | ICSharpCode.BamlDecompiler/Handlers/Blocks/PropertyListHandler.cs:34-49 | ICSharpCode.BamlDecompiler/Handlers/Records/PropertyWithStaticResourceIdHandler.cs:36-68 \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":"ICSharpCode.BamlDecompiler/Handlers/Blocks/PropertyArrayHandler.cs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb90cd80c91c0fb9a223d5e73d4bdc731e20519ca30fda85e51fe05f077b3e73"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): ICSharpCode.Decompiler/CSharp/Syntax/TypeSystemAstBuilder.cs:2393-2415 | ICSharpCode.Decompiler/CSharp/Syntax/TypeSystemAstBuilder.cs:2435-2460 | ICSharpCode.Decompiler/CSharp/Syntax/TypeSystemAstBuilder.cs:2463-2500 | ICSharpCode.Decompiler/CSharp/Syntax/TypeSystemAstBuilder.cs:2503-2560 | ICSharpCode.Decompiler/CSharp/Syntax/TypeSystemAstBuilder.cs:2563-2598 \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":"ICSharpCode.Decompiler/CSharp/Syntax/TypeSystemAstBuilder.cs"},"region":{"startLine":2393}}}],"partialFingerprints":{"codehealthFindingId/v1":"be993b55e659872bf5785ff894ebe90b45b3a13fe70cf379542a352b5f5f2aee"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): ICSharpCode.Decompiler/CSharp/RecordDecompiler.cs:724-787 | ICSharpCode.Decompiler/CSharp/RecordDecompiler.cs:838-1002 | ICSharpCode.Decompiler/CSharp/RecordDecompiler.cs:1085-1210 | ICSharpCode.Decompiler/CSharp/RecordDecompiler.cs:1275-1362 \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":"ICSharpCode.Decompiler/CSharp/RecordDecompiler.cs"},"region":{"startLine":724}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ff6c3591c77e06db44e0dc568f6149880670a23e5fd67452129e2b24964b0ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (78 corresponding lines): ICSharpCode.Decompiler/CSharp/Resolver/TypeInference.cs:647-724 | ICSharpCode.Decompiler/CSharp/Resolver/TypeInference.cs:748-870 \u2014 These two members are one piece of code written twice and then edited apart: 78 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/Resolver/TypeInference.cs"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"059e5605c7e36192c99bf0ec37a9368881cf8f4daa07efe1a1af6d6936305d28"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (60 corresponding lines): ICSharpCode.Decompiler/IL/Transforms/TransformAssignment.cs:862-934 | ICSharpCode.Decompiler/IL/Transforms/TransformAssignment.cs:956-1015 \u2014 These two members are one piece of code written twice and then edited apart: 60 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/TransformAssignment.cs"},"region":{"startLine":862}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9941c282f7552b4229fe42dd2a3714ee50846b2bae07ce5e6d9c09f839a180c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (98 corresponding lines): ILSpy/Languages/CSharpBracketSearcher.cs:134-234 | ILSpy/Languages/CSharpBracketSearcher.cs:237-334 \u2014 These two members are one piece of code written twice and then edited apart: 98 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Languages/CSharpBracketSearcher.cs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae44431cfe6160fb7766d5c3e1ab7f3485bfc81a88a07c109ccd4ad5bf1eca54"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 19\u002B corresponding lines): ICSharpCode.Decompiler/CSharp/Resolver/CSharpOperators.cs:487-505 | ICSharpCode.Decompiler/CSharp/Resolver/CSharpOperators.cs:512-530 | ICSharpCode.Decompiler/CSharp/Resolver/CSharpOperators.cs:537-555 | ICSharpCode.Decompiler/CSharp/Resolver/CSharpOperators.cs:562-583 | ICSharpCode.Decompiler/CSharp/Resolver/CSharpOperators.cs:614-632 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 19 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/Resolver/CSharpOperators.cs"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"96ec8d6adb27382520d916c4f5af3c5b404d27d5a6d55927c896fdf70ac660ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): ICSharpCode.Decompiler/IL/Transforms/CachedDelegateInitialization.cs:231-264 | ICSharpCode.Decompiler/IL/Transforms/CachedDelegateInitialization.cs:304-337 \u2014 These two members are one piece of code written twice and then edited apart: 34 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/CachedDelegateInitialization.cs"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"39e48e6f3343c694543d1eb4019539257b1da02aa4349dc06beb6b9aebdfba64"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): ILSpy/Commands/DecompileAllCommand.cs:68-107 | ILSpy/Commands/DecompileAllCommand.cs:137-177 \u2014 These two members are one piece of code written twice and then edited apart: 40 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Commands/DecompileAllCommand.cs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"783141d23b2b44f6f72962734bd8cd94272bc6f55e45cf631a4ec5a7f22d78c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): ICSharpCode.Decompiler/IL/Transforms/CachedDelegateInitialization.cs:166-187 | ICSharpCode.Decompiler/IL/Transforms/CachedDelegateInitialization.cs:198-219 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/CachedDelegateInitialization.cs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"53277976f4f7ee185b749d12497dc4f7eb3891b4697a3c28edb773f294307ec8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): ICSharpCode.Decompiler/CSharp/AutoEventDecompiler.cs:278-305 | ICSharpCode.Decompiler/CSharp/AutoEventDecompiler.cs:316-345 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/AutoEventDecompiler.cs"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0960018c10865d9dd02b3fe9b0c6aff133d97efbe41a8882a83a2099ea13321"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 27\u002B corresponding lines): ICSharpCode.Decompiler/IL/Transforms/UsingTransform.cs:81-121 | ICSharpCode.Decompiler/IL/Transforms/UsingTransform.cs:150-176 | ICSharpCode.Decompiler/IL/Transforms/UsingTransform.cs:485-512 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 27 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/UsingTransform.cs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"87989528da3c5d7826a6c357c54eb8306ff4f0c6b643bff883e177879998b759"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): ICSharpCode.Decompiler/IL/Transforms/SwitchOnStringTransform.cs:132-182 | ICSharpCode.Decompiler/IL/Transforms/SwitchOnStringTransform.cs:969-1012 \u2014 These two members are one piece of code written twice and then edited apart: 44 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/SwitchOnStringTransform.cs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6e487deb6bf37bb4797f7255b7fa0a5b147180312ff7569b14f1c2ec050e044"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (49 corresponding lines): ICSharpCode.Decompiler/IL/Transforms/AssignVariableNames.cs:999-1054 | ICSharpCode.Decompiler/IL/Transforms/AssignVariableNames.cs:1059-1107 \u2014 These two members are one piece of code written twice and then edited apart: 49 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/AssignVariableNames.cs"},"region":{"startLine":999}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0ad7d5a61d45ec9924ac7bb03fd9562c2f9a1d92b3df50114e04a382806973c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): ICSharpCode.Decompiler/SRMExtensions.cs:471-514 | ICSharpCode.Decompiler/SRMExtensions.cs:522-564 \u2014 These two members are one piece of code written twice and then edited apart: 43 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/SRMExtensions.cs"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"64464fa307f9bc13bde47d6ab68f32777dd42e46e6ce59c6cda7601febde76ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): ICSharpCode.Decompiler/Output/TextTokenWriter.cs:118-141 | ILSpy/Languages/CSharpHighlightingTokenWriter.cs:477-502 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/Output/TextTokenWriter.cs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"d47eadcba9d05ace3a14425b4c53b6cc278ee05e6f4561d191c861555b3a772d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 19\u002B corresponding lines): ICSharpCode.Decompiler/CSharp/Resolver/CSharpOperators.cs:901-919 | ICSharpCode.Decompiler/CSharp/Resolver/CSharpOperators.cs:925-943 | ICSharpCode.Decompiler/CSharp/Resolver/CSharpOperators.cs:949-967 | ICSharpCode.Decompiler/CSharp/Resolver/CSharpOperators.cs:973-991 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 19 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/Resolver/CSharpOperators.cs"},"region":{"startLine":901}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0330dc7746213d82b0fa3ba26b0f8e0611c93de004f92779f97454fc351f946"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 21\u002B corresponding lines): ICSharpCode.Decompiler/IL/Transforms/LockTransform.cs:92-113 | ICSharpCode.Decompiler/IL/Transforms/LockTransform.cs:138-159 | ICSharpCode.Decompiler/IL/Transforms/LockTransform.cs:186-206 | ICSharpCode.Decompiler/IL/Transforms/LockTransform.cs:234-254 | ICSharpCode.Decompiler/IL/Transforms/LockTransform.cs:282-303 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 21 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/LockTransform.cs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"83b2eeb2886879b8c63ae1998f0ae084f2158d1c605ad5ff7a22fdfc94cad709"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (48 corresponding lines): ICSharpCode.Decompiler/Util/UnicodeNewline.cs:163-210 | ICSharpCode.Decompiler/Util/UnicodeNewline.cs:221-268 \u2014 These two members are one piece of code written twice and then edited apart: 48 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/Util/UnicodeNewline.cs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"10026c383c9dd296727127f2525956932fc865dc1fbb3a7b68869ee46f173f66"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): ICSharpCode.Decompiler/IL/Transforms/IntroduceScopedModifierOnLocals.cs:365-396 | ICSharpCode.Decompiler/IL/Transforms/IntroduceScopedModifierOnLocals.cs:399-437 \u2014 These two members are one piece of code written twice and then edited apart: 32 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/IntroduceScopedModifierOnLocals.cs"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a7f0813ca64ccd890033cfe9911664b5bfa8e351a6d2243e4627bc097b2afed"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): ICSharpCode.Decompiler/Disassembler/DisassemblerHelpers.cs:226-252 | ICSharpCode.Decompiler/Disassembler/DisassemblerHelpers.cs:255-281 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/Disassembler/DisassemblerHelpers.cs"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c2e53f604c140a4dc7f0ac653c28ef51ca2ac6f8d581a14bc0c03e3c11c76da"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): ICSharpCode.Decompiler/IL/Instructions/BinaryNumericInstruction.cs:210-237 | ICSharpCode.Decompiler/IL/Instructions/CompoundAssignmentInstruction.cs:277-305 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Instructions/BinaryNumericInstruction.cs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"857ab35e0732367ad6ea61a29c59fc31d068287b36ca19d348c47107cbc46c78"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): ICSharpCode.Decompiler/TypeSystem/Implementation/MetadataTypeDefinition.cs:233-254 | ICSharpCode.Decompiler/TypeSystem/Implementation/MetadataTypeDefinition.cs:258-280 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/TypeSystem/Implementation/MetadataTypeDefinition.cs"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"853496ef46fefedbb9140974cba4b8fb4f4a9769751c0578fd018e1c68a8d964"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): ICSharpCode.Decompiler/CSharp/Resolver/CSharpConversions.cs:1505-1528 | ICSharpCode.Decompiler/CSharp/Resolver/CSharpConversions.cs:1531-1556 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/Resolver/CSharpConversions.cs"},"region":{"startLine":1505}}}],"partialFingerprints":{"codehealthFindingId/v1":"361b5f8adc62d78389388e9da31c537c38098011d7d0463000bf0e52436e5bee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): ICSharpCode.Decompiler/IL/Transforms/EarlyExpressionTransforms.cs:101-120 | ICSharpCode.Decompiler/IL/Transforms/EarlyExpressionTransforms.cs:130-148 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/EarlyExpressionTransforms.cs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"accbb68b5e73862683f9603c518451d0d0a4f7ea02d145d77574647fc33cd4ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): ICSharpCode.Decompiler/TypeSystem/FunctionPointerType.cs:176-205 | ICSharpCode.Decompiler/TypeSystem/ParameterizedType.cs:334-359 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/TypeSystem/FunctionPointerType.cs"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bb75b2179a493b459f50203d8c3f97c169ea1d4bbe8d53fa2ac161f583d43f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (7 members, 15\u002B corresponding lines): ILSpy/Metadata/CorTables/ClassLayoutTableTreeNode.cs:41-56 | ILSpy/Metadata/CorTables/EventMapTableTreeNode.cs:39-54 | ILSpy/Metadata/CorTables/FieldLayoutTableTreeNode.cs:39-53 | ILSpy/Metadata/CorTables/FieldRVATableTreeNode.cs:40-54 | ILSpy/Metadata/CorTables/InterfaceImplTableTreeNode.cs:39-56 | ILSpy/Metadata/CorTables/NestedClassTableTreeNode.cs:40-54 | ILSpy/Metadata/CorTables/PropertyMapTableTreeNode.cs:39-54 \u2014 These 7 members are one piece of code written 7 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 7 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Metadata/CorTables/ClassLayoutTableTreeNode.cs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"4865963858a3ea5fcc7b6aededa93fd4d25f11818faddfaaf3aa06d416ab58d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 28\u002B corresponding lines): ICSharpCode.Decompiler/Util/TreeTraversal.cs:48-75 | ICSharpCode.Decompiler/Util/TreeTraversal.cs:95-127 | ICSharpCode.ILSpyX/TreeView/TreeTraversal.cs:47-74 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 28 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/Util/TreeTraversal.cs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"08f60d6690d98167feb0160b00accabd868f1665598f1060e5e45deca531e193"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): ICSharpCode.Decompiler/IL/Transforms/TransformExpressionTrees.cs:870-896 | ICSharpCode.Decompiler/IL/Transforms/TransformExpressionTrees.cs:1899-1925 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/TransformExpressionTrees.cs"},"region":{"startLine":870}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e5c5b5dee8b811246749a408037a7facaeed1c83303434ca9cdcd9554352da0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): ICSharpCode.Decompiler/IL/ControlFlow/RuntimeAsyncExceptionRewriteTransform.cs:227-243 | ICSharpCode.Decompiler/IL/ControlFlow/RuntimeAsyncExceptionRewriteTransform.cs:1014-1040 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/ControlFlow/RuntimeAsyncExceptionRewriteTransform.cs"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"29ccf2b66fc528ed968778164c15974c418c7c36ec1412622cd22c05497df03f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 16\u002B corresponding lines): ICSharpCode.Decompiler/CSharp/Resolver/CSharpOperators.cs:639-654 | ICSharpCode.Decompiler/CSharp/Resolver/CSharpOperators.cs:660-675 | ICSharpCode.Decompiler/CSharp/Resolver/CSharpOperators.cs:1017-1033 | ICSharpCode.Decompiler/CSharp/Resolver/CSharpOperators.cs:1057-1073 | ICSharpCode.Decompiler/CSharp/Resolver/CSharpOperators.cs:1083-1099 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/Resolver/CSharpOperators.cs"},"region":{"startLine":639}}}],"partialFingerprints":{"codehealthFindingId/v1":"d395761f950707c507cbacc7e7ea63dcef5c34a6a7d67973fe87ceb0aec9c93e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): ICSharpCode.Decompiler/Documentation/IdStringProvider.cs:348-367 | ICSharpCode.Decompiler/Documentation/IdStringProvider.cs:380-400 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/Documentation/IdStringProvider.cs"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"119dd413c06a8074fc8e7ad22288a15d67bd7117b70a7674b27aa550ccf2cce1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): ILSpy/Commands/OpenCommandLineHereContextMenuEntry.cs:55-70 | ILSpy/Commands/OpenContainingFolderContextMenuEntry.cs:58-73 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Commands/OpenCommandLineHereContextMenuEntry.cs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"da7672656286e5040414cddff32152e8658476a70856befb9383651dc298d04a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): ILSpy/Languages/CSharpBracketSearcher.cs:337-363 | ILSpy/Languages/CSharpBracketSearcher.cs:366-397 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Languages/CSharpBracketSearcher.cs"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce91f185cfc58a65f5bbaed6bc449e20d9d15ed82cbecd299ceee776dea192ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): ILSpy/Themes/DocumentSwitcherDropdownBehavior.cs:68-86 | ILSpy/Themes/MultiRowTabStripBehavior.cs:66-91 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Themes/DocumentSwitcherDropdownBehavior.cs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fc4d330da4f2686923972498de7a64a8530736d97969d93f634a3129fc625bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): ICSharpCode.Decompiler/IL/Transforms/TransformExpressionTrees.cs:1465-1484 | ICSharpCode.Decompiler/IL/Transforms/TransformExpressionTrees.cs:1603-1623 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/TransformExpressionTrees.cs"},"region":{"startLine":1465}}}],"partialFingerprints":{"codehealthFindingId/v1":"21395b9c5e784ef4849b8be4b5e0c42576796666999ae801d567e66138891e04"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): ILSpy/Languages/ILLanguage.cs:150-167 | ILSpy/Languages/ILLanguage.cs:170-192 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Languages/ILLanguage.cs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"966d3f4b94df4e057e18abc2913c77dbcdabb49958136a925f9b73938c11ffa4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 24\u002B corresponding lines): ICSharpCode.Decompiler/Util/BitSet.cs:92-117 | ICSharpCode.Decompiler/Util/BitSet.cs:203-226 | ICSharpCode.Decompiler/Util/BitSet.cs:240-263 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 24 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/Util/BitSet.cs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1c7056568cdbbacf8924407fcfcc6d4001ce4b66e31c54325eae96d280c78fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): ICSharpCode.Decompiler/TypeSystem/Implementation/DummyTypeParameter.cs:44-70 | ICSharpCode.Decompiler/TypeSystem/Implementation/DummyTypeParameter.cs:76-107 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/TypeSystem/Implementation/DummyTypeParameter.cs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb062ef4f5afe4f0276048ff6ddf9c6d60949d6672c0c7db713908e6066af155"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): ICSharpCode.Decompiler/TypeSystem/Implementation/MetadataTypeDefinition.cs:179-193 | ICSharpCode.Decompiler/TypeSystem/Implementation/MetadataTypeDefinition.cs:210-229 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/TypeSystem/Implementation/MetadataTypeDefinition.cs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"27d0d92196de96c2996899346f2cde43f5e4214ec74c0ce8e7a80f51fd5b43ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): ICSharpCode.Decompiler/IL/Transforms/ILInlining.cs:946-962 | ICSharpCode.Decompiler/IL/Transforms/ILInlining.cs:983-1001 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/ILInlining.cs"},"region":{"startLine":946}}}],"partialFingerprints":{"codehealthFindingId/v1":"39e5ad097db77650555f5da81ee8673167c93df907d9bddf9e32ef924aac1b0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): ICSharpCode.Decompiler/IL/Instructions/PatternMatching.cs:363-386 | ICSharpCode.Decompiler/IL/Instructions/PatternMatching.cs:446-469 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Instructions/PatternMatching.cs"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"e76ef4a59a242fb0245b09e06901b81991fe3ad1cc14f15d6111058d76277bf3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): ICSharpCode.Decompiler/CSharp/Resolver/CSharpResolver.cs:2595-2609 | ICSharpCode.Decompiler/CSharp/Resolver/CSharpResolver.cs:2617-2632 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/Resolver/CSharpResolver.cs"},"region":{"startLine":2595}}}],"partialFingerprints":{"codehealthFindingId/v1":"4299d0377059cd35470fcac307830dfafc5afa9f991df6cd334b5c4edcdde22f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): ICSharpCode.Decompiler/CSharp/ExpressionBuilder.cs:4640-4647 | ICSharpCode.Decompiler/CSharp/ExpressionBuilder.cs:4693-4699 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/ExpressionBuilder.cs"},"region":{"startLine":4640}}}],"partialFingerprints":{"codehealthFindingId/v1":"64c6d3247401e619012657f690b5003020872e402a7e297e2e34091a0b85505b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): ICSharpCode.Decompiler/CSharp/Transforms/NormalizeBlockStatements.cs:240-253 | ICSharpCode.Decompiler/CSharp/Transforms/NormalizeBlockStatements.cs:256-269 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/Transforms/NormalizeBlockStatements.cs"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"05ef6ba46655a3c2e363c342fac5cf5d5e354adab02fda497ee0de1ef928d52a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): ICSharpCode.Decompiler/Util/ResXResourceWriter.cs:165-196 | ICSharpCode.Decompiler/Util/ResXResourceWriter.cs:199-221 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/Util/ResXResourceWriter.cs"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c75b63aace2af6a20d31c72b27e49faeffe6859081be96d807bfd8b6a7607e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): ICSharpCode.Decompiler/TypeSystem/MetadataModule.cs:300-314 | ICSharpCode.Decompiler/TypeSystem/MetadataModule.cs:317-331 | ICSharpCode.Decompiler/TypeSystem/MetadataModule.cs:334-348 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/TypeSystem/MetadataModule.cs"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"75ab6ac6bacb303ec74bfd8bfa474f7f99c5cac14fd3b954480804a0dfffff32"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 28\u002B corresponding lines): ICSharpCode.Decompiler/SRMExtensions.cs:803-831 | ICSharpCode.Decompiler/TypeSystem/MetadataModule.cs:131-160 | ICSharpCode.Decompiler/TypeSystem/MetadataModule.cs:1088-1115 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 28 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/SRMExtensions.cs"},"region":{"startLine":803}}}],"partialFingerprints":{"codehealthFindingId/v1":"a11174f67d85d9f3d19802ee30406662d50b55e482890d29d13f70228e25c52b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): ILSpy/Processes/RunningDotNetProcess.cs:106-132 | ILSpy/Search/RunningSearch.cs:482-507 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Search/RunningSearch.cs"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"5547b785fef19f8144771cbe7d686a16bfc88f2069ace074f8099cca43463a03"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): ICSharpCode.Decompiler/Util/CollectionExtensions.cs:330-355 | ICSharpCode.Decompiler/Util/CollectionExtensions.cs:372-397 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/Util/CollectionExtensions.cs"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"0532e1ca15b08b6607cadf33aa511e079588f3bd1fdcfd19781d795eb7cf3e78"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): ILSpy/TreeNodes/IconResourceEntryNode.cs:59-80 | ILSpy/TreeNodes/ImageResourceEntryNode.cs:63-84 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/TreeNodes/IconResourceEntryNode.cs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"b45b5e93b396d9929f6b3fffce71ddaf28c02edc06cd92f0921e0b3703662d53"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): ICSharpCode.Decompiler/CSharp/OutputVisitor/CSharpOutputVisitor.cs:1550-1567 | ICSharpCode.Decompiler/CSharp/OutputVisitor/CSharpOutputVisitor.cs:2573-2590 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/OutputVisitor/CSharpOutputVisitor.cs"},"region":{"startLine":1550}}}],"partialFingerprints":{"codehealthFindingId/v1":"21ad61ae00761da5853ca70eb5dcc0fa03d0e31e39696e43f8220c00fe990a9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): ICSharpCode.Decompiler/CSharp/ExpressionBuilder.cs:626-647 | ICSharpCode.Decompiler/CSharp/ExpressionBuilder.cs:650-671 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/ExpressionBuilder.cs"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebc5c820ac951726ca32cd1623698f3be0b70fd2ebf6f78bd83c144f0417ccab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): ICSharpCode.Decompiler/TypeSystem/MetadataModule.cs:268-281 | ICSharpCode.Decompiler/TypeSystem/MetadataModule.cs:284-297 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/TypeSystem/MetadataModule.cs"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"12a27b46f81a2b03e38c4405ffe055826b023cc76718aea4f7f081f5fef953ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): ICSharpCode.Decompiler/TypeSystem/ParameterizedType.cs:130-143 | ICSharpCode.Decompiler/TypeSystem/ParameterizedType.cs:147-160 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/TypeSystem/ParameterizedType.cs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"55dd242c4ea3c015fb8361899e46b2fa1056babc266a1b400914fa5b037716c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 20\u002B corresponding lines): ICSharpCode.Decompiler/CSharp/CSharpDecompiler.cs:2588-2607 | ICSharpCode.Decompiler/CSharp/CSharpDecompiler.cs:2610-2631 | ICSharpCode.Decompiler/CSharp/CSharpDecompiler.cs:2634-2655 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 20 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/CSharpDecompiler.cs"},"region":{"startLine":2588}}}],"partialFingerprints":{"codehealthFindingId/v1":"92f510a2e93a527375761fdad02041767051d2786d69b925ea29f47bb6152656"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): ICSharpCode.Decompiler/IL/ControlFlow/AsyncAwaitDecompiler.cs:43-56 | ICSharpCode.Decompiler/IL/ControlFlow/AsyncAwaitDecompiler.cs:733-744 | ICSharpCode.Decompiler/IL/ControlFlow/YieldReturnDecompiler.cs:444-455 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/ControlFlow/AsyncAwaitDecompiler.cs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1c7b157a76c5761d3b80224fb66d72cb35b1b1c7c660b6d3273a5d05c24e0b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): ICSharpCode.Decompiler/IL/Instructions/ILInstruction.cs:129-158 | ICSharpCode.Decompiler/IL/Instructions/ILInstruction.cs:164-204 \u2014 These two members are one piece of code written twice and then edited apart: 30 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Instructions/ILInstruction.cs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb2528e9394a3b6b2dd0d8091a9546f671dbfc9162e78fddb7fa219838de1a86"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): ICSharpCode.Decompiler/CSharp/Syntax/AstNode.cs:206-223 | ICSharpCode.Decompiler/CSharp/Syntax/AstNode.cs:227-241 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/Syntax/AstNode.cs"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"5139f1fb69e0b5192ec10245d6d45eb8eebe247e16390dfeba847b3dd8d471c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): ICSharpCode.BamlDecompiler/Handlers/Blocks/KeyElementStartHandler.cs:41-52 | ICSharpCode.BamlDecompiler/Handlers/Records/DefAttributeKeyStringHandler.cs:41-52 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.BamlDecompiler/Handlers/Blocks/KeyElementStartHandler.cs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"23a2f4fd581713566fee61d9437118fd2a558b03cd716a8a9456cebc3c2e254c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): ICSharpCode.Decompiler/Disassembler/ReflectionDisassembler.cs:1541-1555 | ICSharpCode.Decompiler/Disassembler/ReflectionDisassembler.cs:1648-1662 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/Disassembler/ReflectionDisassembler.cs"},"region":{"startLine":1541}}}],"partialFingerprints":{"codehealthFindingId/v1":"56457881272d90dea0a3a83214448a88c0edccbaca522a21e192d8b1f4108722"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): ICSharpCode.Decompiler/TypeSystem/InheritanceHelper.cs:203-224 | ICSharpCode.Decompiler/TypeSystem/InheritanceHelper.cs:227-248 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/TypeSystem/InheritanceHelper.cs"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"97103f3aa445c55b96fcca11e5439cfcf09110052a75e3de04020ad149a7cd2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): ILSpy/Commands/CommandManager.cs:111-128 | ILSpy/Util/WeakEventSource.cs:67-85 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Commands/CommandManager.cs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d7937dfb02728ab47b996a3018cca866bc25ef07703401ebbb129170d1e9e51"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): ILSpy/TreeNodes/AssemblyReferenceTreeNode.cs:126-138 | ILSpy/TreeNodes/ModuleReferenceTreeNode.cs:78-93 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/TreeNodes/AssemblyReferenceTreeNode.cs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f0fee24c5877f7b3c5f3e791d4583f1392fa11e80055b852e6bf856ed5671c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): ICSharpCode.Decompiler/Disassembler/DisassemblerSignatureTypeProvider.cs:232-249 | ICSharpCode.Decompiler/Disassembler/DisassemblerSignatureTypeProvider.cs:252-269 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/Disassembler/DisassemblerSignatureTypeProvider.cs"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"af5b21d1aadfead7a591e2263e0471341cfa7c88b255e4a64e6718e0ef6cba2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): ICSharpCode.Decompiler/TypeSystem/TupleType.cs:250-266 | ICSharpCode.Decompiler/Util/BitSet.cs:337-356 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/TypeSystem/TupleType.cs"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"f84f827fbc355b4c66914cc11f189e9a8371765be33a895b852181642952eb89"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): ICSharpCode.Decompiler/Util/UnicodeNewline.cs:277-298 | ICSharpCode.Decompiler/Util/UnicodeNewline.cs:307-328 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/Util/UnicodeNewline.cs"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"57234392529c6e462a5719d4eca30737724e535343f0dc2a421d0746fcdaf186"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): ILSpy/Controls/Omnibar/OmnibarViewModel.cs:177-190 | ILSpy/Search/SearchPaneModel.cs:277-291 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Controls/Omnibar/OmnibarViewModel.cs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"17a1cb3380fd663b62c2ef819f4771ccb0548daedb2a55e2fab6aa527b04a0aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): ICSharpCode.ILSpyCmd/ValidationAttributes.cs:56-74 | ICSharpCode.ILSpyCmd/ValidationAttributes.cs:100-116 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyCmd/ValidationAttributes.cs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"f33cb5f688c7584b2d4c29473c5fce4a76deb4bb7d0af2a349e7ebd99c3ff28d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): ILSpy/Analyzers/CopyAnalysisResultsContextMenuEntry.cs:50-66 | ILSpy/Analyzers/CopyAnalyzerErrorContextMenuEntry.cs:53-66 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Analyzers/CopyAnalysisResultsContextMenuEntry.cs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2c060d6c6551dc6c567f515d2d78d83aa9aad5b5897178d65cabe11cd4beedf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): ICSharpCode.Decompiler/CSharp/Resolver/CSharpResolver.cs:947-958 | ICSharpCode.Decompiler/CSharp/Resolver/CSharpResolver.cs:965-977 | ICSharpCode.Decompiler/CSharp/Resolver/CSharpResolver.cs:989-1004 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/Resolver/CSharpResolver.cs"},"region":{"startLine":947}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3009ecda9ab8c36035a91944384fa6611e55678a6d107692ba7b332c09c3ad1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): ICSharpCode.Decompiler/IL/Instructions/InstructionCollection.cs:239-253 | ICSharpCode.Decompiler/IL/Instructions/InstructionCollection.cs:256-267 | ICSharpCode.Decompiler/IL/Instructions/InstructionCollection.cs:307-321 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Instructions/InstructionCollection.cs"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"caa7955305cf002523641ee288ace28e0da1e4b31fa8ed2bd3ced15f1c0b56e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): ICSharpCode.Decompiler/IL/Transforms/LockTransform.cs:372-382 | ICSharpCode.Decompiler/IL/Transforms/LockTransform.cs:385-398 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/LockTransform.cs"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2f851575b5dd08895fb048d94adc1bba56880cf825ea8db258bf2b49aea00f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): ILSpy/Search/SearchPane.axaml.cs:64-79 | ILSpy/TextView/DecompilerTextView.axaml.cs:858-882 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Search/SearchPane.axaml.cs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c5fc2437e668a3db5024be5b8c504eb45b11f856221d800cacb3cd968d702fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 10\u002B corresponding lines): ICSharpCode.Decompiler/TypeSystem/Implementation/MetadataEvent.cs:128-137 | ICSharpCode.Decompiler/TypeSystem/Implementation/MetadataField.cs:169-178 | ICSharpCode.Decompiler/TypeSystem/Implementation/MetadataMethod.cs:491-500 | ICSharpCode.Decompiler/TypeSystem/Implementation/MetadataProperty.cs:221-230 | ICSharpCode.Decompiler/TypeSystem/Implementation/MetadataTypeDefinition.cs:473-482 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/TypeSystem/Implementation/MetadataEvent.cs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"5933e8b3aaccfe63152102e834f6159c680509f38e35843f4101a1af014e26a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 10\u002B corresponding lines): ICSharpCode.Decompiler/TypeSystem/Implementation/MetadataEvent.cs:140-149 | ICSharpCode.Decompiler/TypeSystem/Implementation/MetadataField.cs:181-190 | ICSharpCode.Decompiler/TypeSystem/Implementation/MetadataMethod.cs:503-512 | ICSharpCode.Decompiler/TypeSystem/Implementation/MetadataProperty.cs:233-242 | ICSharpCode.Decompiler/TypeSystem/Implementation/MetadataTypeDefinition.cs:485-494 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/TypeSystem/Implementation/MetadataEvent.cs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3e259d4190bc1bbc9fdc2a336829c94b2699d96250474593123c4fe590a4ee6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): ICSharpCode.Decompiler/TypeSystem/TypeParameterSubstitution.cs:130-143 | ICSharpCode.Decompiler/TypeSystem/TypeParameterSubstitution.cs:146-161 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/TypeSystem/TypeParameterSubstitution.cs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"c80377b1ae49046f634ea467b41c0ee4a09ff427f994a495fd60a3e3e9b6edc0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): ICSharpCode.Decompiler/Disassembler/ReflectionDisassembler.cs:191-205 | ICSharpCode.Decompiler/Disassembler/ReflectionDisassembler.cs:208-221 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/Disassembler/ReflectionDisassembler.cs"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ea422efadf9ad40fcd61f0374f8716b40665589d160e8141882813dec1b21a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): ICSharpCode.Decompiler/CSharp/Syntax/IAnnotatable.cs:173-190 | ICSharpCode.Decompiler/CSharp/Syntax/IAnnotatable.cs:193-212 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/Syntax/IAnnotatable.cs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"760eb9aa341a65dc500766ac8ec87d15c18fb59f8a6db1935f03c91a5a0f51c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): ICSharpCode.Decompiler/Disassembler/DisassemblerSignatureTypeProvider.cs:82-96 | ICSharpCode.Decompiler/Disassembler/DisassemblerSignatureTypeProvider.cs:99-112 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/Disassembler/DisassemblerSignatureTypeProvider.cs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"0992764dfc4073146dcdbcd6b5eb0498e0377918b6cb7503edfadd9e3e85cd09"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): ICSharpCode.Decompiler/IL/Instructions/PatternMatching.cs:392-413 | ICSharpCode.Decompiler/IL/Instructions/PatternMatching.cs:419-440 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Instructions/PatternMatching.cs"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"c23f70f3aeb7bc2108ac292d03a41c4fd9abbf5c6b54e1a5904a569f682353ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): ICSharpCode.ILSpyX/Extensions/CollectionExtensions.cs:45-65 | ICSharpCode.ILSpyX/Extensions/CollectionExtensions.cs:69-91 | ILSpy/TextView/UIElementGenerator.cs:93-107 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/Extensions/CollectionExtensions.cs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e6a4c31dd80a422651a7db0fc512cb1e13a7cfee009d9e8ff060d12e1622d93"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): ICSharpCode.Decompiler/CSharp/CSharpDecompiler.cs:963-972 | ICSharpCode.Decompiler/CSharp/CSharpDecompiler.cs:1410-1424 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/CSharpDecompiler.cs"},"region":{"startLine":963}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8798d76eb1fcc120ec8d9060e1f7f401f4949227fcfdd456d8cb822e6aed1ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): ICSharpCode.Decompiler/TypeSystem/Accessibility.cs:90-104 | ICSharpCode.Decompiler/TypeSystem/Accessibility.cs:112-126 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/TypeSystem/Accessibility.cs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"aacaffc5602b14ab1cff8c5de773004d2992406817c13907f3ec4ffbb0984c7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): ICSharpCode.Decompiler/TypeSystem/Implementation/SpecializedField.cs:29-37 | ICSharpCode.Decompiler/TypeSystem/Implementation/SpecializedProperty.cs:29-37 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/TypeSystem/Implementation/SpecializedField.cs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"2342d9b5870d0b0283a08f571b6403b36fb5b4c5c827eb95a4aa5c3e251e5bcf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): ILSpy/TreeNodes/ResourceEntryNode.cs:98-106 | ILSpy/TreeNodes/ResourceTreeNode.cs:94-105 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/TreeNodes/ResourceEntryNode.cs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0aa716a864d04ab2a86661bf240ac5f571e598b3e428e3cdb6df53ad8a449f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): ICSharpCode.Decompiler/Disassembler/ReflectionDisassembler.cs:2140-2154 | ICSharpCode.Decompiler/Disassembler/ReflectionDisassembler.cs:2157-2176 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/Disassembler/ReflectionDisassembler.cs"},"region":{"startLine":2140}}}],"partialFingerprints":{"codehealthFindingId/v1":"827bae7e769f828b0d88ab2f8e4481746f2aa213abc15e1519e4d462181eb14e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 17\u002B corresponding lines): ICSharpCode.Decompiler/TypeSystem/Implementation/GetMembersHelper.cs:204-220 | ICSharpCode.Decompiler/TypeSystem/Implementation/GetMembersHelper.cs:237-254 | ICSharpCode.Decompiler/TypeSystem/Implementation/GetMembersHelper.cs:271-288 | ICSharpCode.Decompiler/TypeSystem/Implementation/GetMembersHelper.cs:305-322 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 17 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/TypeSystem/Implementation/GetMembersHelper.cs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5f3efd8a67c935ad958610818fefe8dac042c78bd88a0e8dd60ccdb72b4cc79"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): ILSpy/Docking/DockWorkspace.cs:1111-1127 | ILSpy/Docking/DockWorkspace.cs:1137-1156 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Docking/DockWorkspace.cs"},"region":{"startLine":1111}}}],"partialFingerprints":{"codehealthFindingId/v1":"97dabf6297dbc4590cfd26270e2e10f3ad854b68ae8c5026a95bb7577745e735"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): ICSharpCode.Decompiler/IL/Transforms/TransformExpressionTrees.cs:2202-2212 | ICSharpCode.Decompiler/IL/Transforms/TransformExpressionTrees.cs:2220-2230 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/TransformExpressionTrees.cs"},"region":{"startLine":2202}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9b6bb1740c91196ae928bcad95cf49f56e7b7cd97248aa237b5236bccc5e039"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): ICSharpCode.Decompiler/TypeSystem/Implementation/MetadataTypeParameter.cs:45-60 | ICSharpCode.Decompiler/TypeSystem/Implementation/MetadataTypeParameter.cs:63-74 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/TypeSystem/Implementation/MetadataTypeParameter.cs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"162ddaf39361c6f2bc12303de0be17933d162252a29a7dd7e979e068792bade2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): ICSharpCode.Decompiler/TypeSystem/FullTypeName.cs:150-165 | ICSharpCode.Decompiler/TypeSystem/FullTypeName.cs:169-181 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/TypeSystem/FullTypeName.cs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6441898c087ec30a9c3c439c21cd0078abe2e937b4a6dda7503b26b99213a5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): ICSharpCode.Decompiler/TypeSystem/TaskType.cs:111-124 | ICSharpCode.Decompiler/TypeSystem/TaskType.cs:131-144 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/TypeSystem/TaskType.cs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5c2836ebd5e194157119802d52a6c118a83672da3cfb5a60bd1f29363ad3f2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): ILSpy/TreeNodes/XamlResourceEntryNode.cs:52-63 | ILSpy/TreeNodes/XmlResourceEntryNode.cs:61-76 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/TreeNodes/XamlResourceEntryNode.cs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ba5e24cce2faea4cdf80c04e4d54b7b8cb70de0b0dad3172a7d3e3e223928c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 11\u002B corresponding lines): ICSharpCode.Decompiler/IL/Transforms/NullableLiftingTransform.cs:1039-1051 | ICSharpCode.Decompiler/IL/Transforms/NullableLiftingTransform.cs:1086-1098 | ICSharpCode.Decompiler/IL/Transforms/NullableLiftingTransform.cs:1104-1114 | ICSharpCode.Decompiler/IL/Transforms/NullableLiftingTransform.cs:1120-1132 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/NullableLiftingTransform.cs"},"region":{"startLine":1039}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b2aeb132d0e2cf920408c8a6f166a6d11aed18e6d05a7ae2f0d6a558a60b04f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): ICSharpCode.Decompiler/TypeSystem/Implementation/MetadataField.cs:118-130 | ICSharpCode.Decompiler/TypeSystem/Implementation/MetadataMethod.cs:319-331 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/TypeSystem/Implementation/MetadataField.cs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"f75a4cd84ea251d5361519d26eb4f2cd21500224002eb4f76fd81b488240677f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): ILSpy/TreeNodes/CursorResourceEntryNode.cs:88-94 | ILSpy/TreeNodes/IconResourceEntryNode.cs:83-89 | ILSpy/TreeNodes/ImageResourceEntryNode.cs:87-94 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/TreeNodes/CursorResourceEntryNode.cs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b0e8247d11e95fc13aaab41c01ceb5dd5dae98550be820abba1a4940136d683"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): ICSharpCode.Decompiler/IL/Instructions/DynamicInstructions.cs:442-449 | ICSharpCode.Decompiler/IL/Instructions/DynamicInstructions.cs:485-492 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Instructions/DynamicInstructions.cs"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d451cb840a1fdb5734220e069323957cc362e6dd11df14c8180f67ba012a49d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): ICSharpCode.Decompiler/TypeSystem/TypeSystemExtensions.cs:607-627 | ICSharpCode.Decompiler/TypeSystem/TypeSystemExtensions.cs:644-664 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/TypeSystem/TypeSystemExtensions.cs"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"f71379fd82ee03a0c7b9a54681d259ffa3213a443b6e52319dc02eff3f3a48c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): ICSharpCode.Decompiler/CSharp/OutputVisitor/CSharpOutputVisitor.cs:1779-1792 | ICSharpCode.Decompiler/CSharp/OutputVisitor/CSharpOutputVisitor.cs:2261-2272 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/OutputVisitor/CSharpOutputVisitor.cs"},"region":{"startLine":1779}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f41993b4b30d24bebce1801ea2612bb462a87ae33799f4a755d97c72bb2c66d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): ICSharpCode.Decompiler/TypeSystem/Implementation/MetadataField.cs:71-78 | ICSharpCode.Decompiler/TypeSystem/Implementation/MetadataMethod.cs:130-137 | ICSharpCode.Decompiler/TypeSystem/Implementation/MetadataParameter.cs:171-178 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/TypeSystem/Implementation/MetadataField.cs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"690e56fdf1911d724e073ffa0d70c65a61551b10779a4197551f9ce96fee03c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): ICSharpCode.Decompiler/CSharp/StatementBuilder.cs:1644-1659 | ICSharpCode.Decompiler/CSharp/StatementBuilder.cs:1662-1677 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/StatementBuilder.cs"},"region":{"startLine":1644}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecfcc7726f26c1116244dd4a5a2dcc8d7f99b0f75a90bcdfde147d470a73c5ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): ICSharpCode.ILSpyX/LoadedAssembly.cs:168-178 | ICSharpCode.ILSpyX/LoadedAssembly.cs:183-193 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/LoadedAssembly.cs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"c55731d98e07c892bde11392361854583bf60a608902c071245e4ec3b0e6bb4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): ILSpy/Commands/CommandManager.cs:59-72 | ILSpy/Util/WeakEventSource.cs:51-64 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Commands/CommandManager.cs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fe496b71ae18bdee9b3ddabe551b43ce001329f75f28b5491a6eee0370e91cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): ICSharpCode.Decompiler/IL/Transforms/TransformExpressionTrees.cs:567-597 | ICSharpCode.Decompiler/IL/Transforms/TransformExpressionTrees.cs:1372-1404 \u2014 These two members are one piece of code written twice and then edited apart: 31 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/TransformExpressionTrees.cs"},"region":{"startLine":567}}}],"partialFingerprints":{"codehealthFindingId/v1":"09bd5da5b8ad146f1865005be314b92c697be72d0b1df0b1faca9c0acc32d72b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): ICSharpCode.Decompiler/Util/Interval.cs:97-104 | ICSharpCode.Decompiler/Util/Interval.cs:233-240 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/Util/Interval.cs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"e43454f0724c19ffa6eadf4e7fa60e8619df73cbf69c9e4bbcc9dc9538e6946b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 8\u002B corresponding lines): ILSpy/TreeNodes/EventTreeNode.cs:66-73 | ILSpy/TreeNodes/FieldTreeNode.cs:79-86 | ILSpy/TreeNodes/PropertyTreeNode.cs:75-82 | ILSpy/TreeNodes/TypeTreeNode.cs:98-112 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/TreeNodes/EventTreeNode.cs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"b60c6c0b6c102bfc5b393e3e769afa0be576e5a33e3e52a1511d37467d64bf35"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): ICSharpCode.Decompiler/IL/ILReader.cs:1624-1635 | ICSharpCode.Decompiler/IL/ILReader.cs:1662-1675 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/ILReader.cs"},"region":{"startLine":1624}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcc885cab1b22de80f817cf43f344c2ea737cba412e2a69a2f7fa783ad5fe5c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): ICSharpCode.Decompiler/IL/Instructions/DynamicInstructions.cs:134-143 | ICSharpCode.Decompiler/IL/Instructions/ExpressionTreeCast.cs:36-46 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Instructions/DynamicInstructions.cs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"d15303196b38e9b364ef9a59bc62e396ef35c3aa4095ad75f060e01f80b5932a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): ILSpy/Controls/TreeView/SharpTreeView.cs:709-722 | ILSpy/Controls/TreeView/SharpTreeView.cs:725-734 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Controls/TreeView/SharpTreeView.cs"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"d432adda74ac2af506c4cddb26acbf6368cabfb1ec1dd2eb2bb50948cbd6c4a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): ILSpy/Languages/CSharpHighlightingTokenWriter.cs:463-474 | ICSharpCode.Decompiler/Output/TextTokenWriter.cs:264-275 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Languages/CSharpHighlightingTokenWriter.cs"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"018b78cdda5126da720eeabfef50ca09f7427b31fa2224e98bbee7832410902f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): ICSharpCode.Decompiler/CSharp/CallBuilder.cs:340-347 | ICSharpCode.Decompiler/CSharp/CallBuilder.cs:354-360 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/CallBuilder.cs"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"443348b65f9027e85ed0db6ae0049a418a470a0873dfecf4755e9ebe1440f5c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): ICSharpCode.Decompiler/CSharp/ExpressionBuilder.cs:2812-2823 | ICSharpCode.Decompiler/TypeSystem/TaskType.cs:150-164 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/ExpressionBuilder.cs"},"region":{"startLine":2812}}}],"partialFingerprints":{"codehealthFindingId/v1":"b404d15a8db41277b06084ddb2ee2d4e7268e6381c6145a0881741d8c6e05173"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): ILSpy/Metadata/CorTables/FieldMarshalTableTreeNode.cs:40-48 | ILSpy/Metadata/DebugTables/StateMachineMethodTableTreeNode.cs:41-49 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Metadata/CorTables/FieldMarshalTableTreeNode.cs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4b970c9faa6744d2af1642d39b18804a163a640ea38c8bcae1390dba58e80e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): ILSpy/Search/ScopeSearchToAssemblyContextMenuEntry.cs:62-66 | ILSpy/Search/ScopeSearchToNamespaceContextMenuEntry.cs:61-65 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Search/ScopeSearchToAssemblyContextMenuEntry.cs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9a2ba95df60eafea0839e59bee744bfad3704fa36a5fc8bb20ee2e133d71cb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): ICSharpCode.Decompiler/IL/Instructions/DeconstructResultInstruction.cs:45-53 | ICSharpCode.Decompiler/IL/Instructions/LdLen.cs:47-55 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Instructions/DeconstructResultInstruction.cs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"e23c61487c7c582db416fb647a5795c8428eb811ce5737cb4879049d6aef95f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): ILSpy/Analyzers/AnalyzerEntityTreeNode.cs:150-162 | ILSpy/Analyzers/AnalyzedModuleTreeNode.cs:90-100 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Analyzers/AnalyzerEntityTreeNode.cs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff92f6c324bcbb6a97bb7d99cafd937a6aa2b28171075c7b9f416402815618dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 6\u002B corresponding lines): ILSpy/Metadata/CorTables/ConstantTableTreeNode.cs:40-45 | ILSpy/Metadata/CorTables/GenericParamTableTreeNode.cs:41-46 | ILSpy/Metadata/CorTables/MethodImplTableTreeNode.cs:40-45 | ILSpy/Metadata/CorTables/ParamTableTreeNode.cs:40-45 | ILSpy/Metadata/CorTables/StandAloneSigTableTreeNode.cs:40-45 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Metadata/CorTables/ConstantTableTreeNode.cs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"842a319d35a0b39b99f37e09986277a86e1e89c44f2d67423dfc71b82082115e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): ICSharpCode.BamlDecompiler/BamlDecompilerTypeSystem.cs:192-203 | ICSharpCode.Decompiler/TypeSystem/DecompilerTypeSystem.cs:694-705 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.BamlDecompiler/BamlDecompilerTypeSystem.cs"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"da7cdd7726afdb84336dab00c8eefd6b0c11de3e2bf530103ee331c19381f291"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): ICSharpCode.BamlDecompiler/Rewrite/MarkupExtensionRewritePass.cs:39-52 | ICSharpCode.BamlDecompiler/Rewrite/AttributeRewritePass.cs:36-48 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.BamlDecompiler/Rewrite/MarkupExtensionRewritePass.cs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"72065ce2c5b7eb8a5495c90cdbccfe22217bff38296c0d62387d0e7d94bde30f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): ICSharpCode.Decompiler/CSharp/Transforms/PatternStatementTransform.cs:1052-1058 | ICSharpCode.Decompiler/CSharp/Transforms/TransformFieldAndConstructorInitializers.cs:288-296 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/Transforms/PatternStatementTransform.cs"},"region":{"startLine":1052}}}],"partialFingerprints":{"codehealthFindingId/v1":"c992025cd9af4d459eed146d11027a59db1a89fa5e6f8d507ec986d191a2197f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): ILSpy/TextView/DocumentationRenderer.cs:438-454 | ILSpy/TextView/DocumentationRenderer.cs:620-640 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/TextView/DocumentationRenderer.cs"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"e23290e000fc9dd16414c34ea865b68b4a9ba2ff341bbed5a9abc6f3c4e0a27b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): ICSharpCode.BamlDecompiler/Handlers/Records/DefAttributeHandler.cs:34-41 | ICSharpCode.BamlDecompiler/Handlers/Records/PresentationOptionsAttributeHandler.cs:34-42 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.BamlDecompiler/Handlers/Records/DefAttributeHandler.cs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"96a44a82c1de01335ad0b93f7d96193ac3bf0a26c6b84086ab08d4d6a15d33d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): ICSharpCode.Decompiler/CSharp/OutputVisitor/CSharpOutputVisitor.cs:1404-1414 | ICSharpCode.Decompiler/CSharp/OutputVisitor/CSharpOutputVisitor.cs:2404-2417 | ICSharpCode.Decompiler/CSharp/OutputVisitor/CSharpOutputVisitor.cs:2745-2756 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/OutputVisitor/CSharpOutputVisitor.cs"},"region":{"startLine":1404}}}],"partialFingerprints":{"codehealthFindingId/v1":"f33fd12403797136517fced4481338de6b0f02015f954ac8c87b83c7efb10f5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): ICSharpCode.Decompiler/TypeSystem/Implementation/MetadataField.cs:251-258 | ICSharpCode.Decompiler/TypeSystem/Implementation/MetadataParameter.cs:231-238 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/TypeSystem/Implementation/MetadataField.cs"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8a191c72635aef49c4ade94a206c00c307cbecf3925cda99b907c62daeab6bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): ILSpy/Commands/CommandManager.cs:143-149 | ILSpy/Util/WeakEventSource.cs:101-107 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Commands/CommandManager.cs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b8d9cc7e7e08e545f1166896606b3e44c4fa972a19939c66d35ae64ff7e9e4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): ICSharpCode.BamlDecompiler/Rewrite/AttributeRewritePass.cs:51-59 | ICSharpCode.BamlDecompiler/Rewrite/MarkupExtensionRewritePass.cs:55-63 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.BamlDecompiler/Rewrite/AttributeRewritePass.cs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd914179f6bb17e3ea7803f6fed4971f1777a688753b79676b71205c514a43f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): ILSpy/TreeNodes/AssemblyReferenceReferencedTypesTreeNode.cs:52-57 | ILSpy/TreeNodes/TypeReferenceTreeNode.cs:55-60 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/TreeNodes/AssemblyReferenceReferencedTypesTreeNode.cs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e9152041e737fd12a7ed80ed9b3633f80d32136ad2d716daafa5852a6e48a24"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): ICSharpCode.BamlDecompiler/Handlers/Blocks/ConstructorParametersHandler.cs:34-41 | ICSharpCode.BamlDecompiler/Handlers/Blocks/DocumentHandler.cs:34-40 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.BamlDecompiler/Handlers/Blocks/ConstructorParametersHandler.cs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7bfc7ead9f2acc2974d72b2dd5b0ba5ba3686ee4cf175730a6ae8cc8c65d51d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): ICSharpCode.Decompiler/CSharp/OutputVisitor/CSharpAmbience.cs:491-499 | ICSharpCode.Decompiler/CSharp/Syntax/TypeSystemAstBuilder.cs:2912-2920 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/OutputVisitor/CSharpAmbience.cs"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"790d794701db7d8cb88bf5ea5c454400336f402fa34b52022521630ecb798c80"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 6\u002B corresponding lines): ILSpy/Metadata/CorTables/AssemblyRefTableTreeNode.cs:76-81 | ILSpy/Metadata/CorTables/FileTableTreeNode.cs:73-78 | ILSpy/Metadata/DebugTables/DocumentTableTreeNode.cs:84-89 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Metadata/CorTables/AssemblyRefTableTreeNode.cs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"da1d39931a5b6863ea616303c04a78fcd6fc9ab82c8d648895bc3fc95ba71778"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): ICSharpCode.Decompiler/TypeSystem/Implementation/SpecializedMember.cs:226-232 | ICSharpCode.Decompiler/TypeSystem/Implementation/SpecializedMethod.cs:177-183 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/TypeSystem/Implementation/SpecializedMember.cs"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"11bc3db83c16b319f0815998c479b88bea9d260dc7a6abaa156ea4be62f9cc67"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): ILSpy/Commands/ExportProjectContextMenuEntry.cs:57-62 | ILSpy/Commands/FileCommands.cs:304-309 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Commands/ExportProjectContextMenuEntry.cs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dd140ebebcf49c0d563b70600114e6171ce5db5f2eaff2e62273023dbe9a88f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): ICSharpCode.Decompiler/CSharp/OutputVisitor/CSharpAmbience.cs:445-454 | ICSharpCode.Decompiler/CSharp/OutputVisitor/CSharpOutputVisitor.cs:473-482 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/OutputVisitor/CSharpAmbience.cs"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d19e6c16e87ab563cffb3793f5319922894800086fc06e86a978d55aea395b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): ICSharpCode.Decompiler/DebugInfo/PortablePdbWriter.cs:437-443 | ILSpy/Languages/CSharpILMixedLanguage.cs:87-92 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Languages/CSharpILMixedLanguage.cs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"d383fd50963b428ff1986f816e8b30a76ed022043f8484bed433ee9dd10f3ed6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): ILSpy/Commands/CreateDiagramContextMenuEntry.cs:66-71 | ILSpy/Commands/SelectPdbContextMenuEntry.cs:61-66 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Commands/CreateDiagramContextMenuEntry.cs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c702e40f04db72bae99affedd8977b15b8a9606b1160f80a541f1ca5ce6c217"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 5\u002B corresponding lines): ILSpy/TreeNodes/AssemblyReferenceReferencedTypesTreeNode.cs:41-45 | ILSpy/TreeNodes/ExportedTypeTreeNode.cs:40-45 | ILSpy/TreeNodes/TypeReferenceTreeNode.cs:41-46 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 5 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/TreeNodes/AssemblyReferenceReferencedTypesTreeNode.cs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"63cf9d51579b8c5e9e1adc1bfbff07ae4f787bb8c8a23db1728875dfaf60c04b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): ICSharpCode.Decompiler/TypeSystem/Implementation/SpecializedMember.cs:235-240 | ICSharpCode.Decompiler/TypeSystem/Implementation/SpecializedMethod.cs:186-191 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/TypeSystem/Implementation/SpecializedMember.cs"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"980f68a51b26da36e163024423478d0b537d2a7ba1c3e312dd689d18a8b39065"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): ICSharpCode.BamlDecompiler/Handlers/Records/OptimizedStaticResourceHandler.cs:35-41 | ICSharpCode.BamlDecompiler/Handlers/Records/StaticResourceStartHandler.cs:33-39 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.BamlDecompiler/Handlers/Records/OptimizedStaticResourceHandler.cs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"f24a533be48293cdd84cdd640693a678656418a1059ff19963c70b34332d0b4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): ICSharpCode.BamlDecompiler/XamlDecompiler.cs:88-95 | ICSharpCode.Decompiler/CSharp/CSharpDecompiler.cs:815-823 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.BamlDecompiler/XamlDecompiler.cs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"a93ed8007bf8f27b90eab49bc7dd2cce0172afef158a8691e86ff7132d66a360"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): ILSpy/TreeNodes/ImageListResourceEntryNode.cs:56-60 | ILSpy/TreeNodes/ResourceEntryNode.cs:45-48 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/TreeNodes/ImageListResourceEntryNode.cs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"2479bedfccb57b5852bf21df8c8e4eda466cbf9709d8bf2983ccfb08ca28f170"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): ICSharpCode.Decompiler/CSharp/Transforms/TransformContext.cs:133-137 | ICSharpCode.Decompiler/IL/Transforms/IILTransform.cs:158-162 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/Transforms/TransformContext.cs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"20de80036e4449a6519d9611154720c2474c0cde274c5d79b29ae019fd6ec79a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 6\u002B corresponding lines): ILSpy/Analyzers/AnalyzedEventTreeNode.cs:37-42 | ILSpy/Analyzers/AnalyzedMethodTreeNode.cs:36-41 | ILSpy/Analyzers/AnalyzedPropertyTreeNode.cs:36-41 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Analyzers/AnalyzedEventTreeNode.cs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bc3962110348412260a1a551b8e97ce85ff8d749090ec266e2da4bfc11920c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): ICSharpCode.BamlDecompiler/XamlDecompiler.cs:79-85 | ICSharpCode.Decompiler/CSharp/CSharpDecompiler.cs:411-418 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.BamlDecompiler/XamlDecompiler.cs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"23b385923f48ec46b1a16f1a9d45920801ebb772292661f2ac26c416ef4c5219"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): ICSharpCode.Decompiler/Semantics/Conversion.cs:464-475 | ICSharpCode.Decompiler/TypeSystem/TypeParameterSubstitution.cs:164-177 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/Semantics/Conversion.cs"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ba7a08841257cc258f828241ce4632094bc37f2d61b09da5fde5373d30f7e5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): ICSharpCode.Decompiler/IL/Instructions/DeconstructResultInstruction.cs:56-63 | ICSharpCode.Decompiler/IL/Instructions/ILInstruction.cs:119-126 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Instructions/DeconstructResultInstruction.cs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"86521ef9565a7b5e5a2c3a74b0607891b85e2aed462b45f387b7db6845a9ff69"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): ILSpy/Analyzers/CopyAnalysisResultsContextMenuEntry.cs:41-45 | ILSpy/Analyzers/CopyAnalyzerErrorContextMenuEntry.cs:44-48 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Analyzers/CopyAnalysisResultsContextMenuEntry.cs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0ce5595fec0d3cb968dffa3900f90441bf84b48c5971c109beadd2f195bb320"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): ICSharpCode.Decompiler/CSharp/Resolver/TypeInference.cs:72-77 | ICSharpCode.Decompiler/IL/ILReader.cs:1308-1313 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/Resolver/TypeInference.cs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec12e83833bba6b8382fdfba2a07a1b966fd2d8050ada9746c14aaf201d6e081"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): ICSharpCode.Decompiler/CSharp/Syntax/PatternMatching/Match.cs:56-64 | ICSharpCode.Decompiler/IL/Patterns/Match.cs:94-103 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/Syntax/PatternMatching/Match.cs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"efd75a72e6235ad2a281a3cc003f31c857fc7c27b8a4b729c1025271f0f245f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 7\u002B corresponding lines): ICSharpCode.Decompiler/TypeSystem/Implementation/MetadataEvent.cs:168-174 | ICSharpCode.Decompiler/TypeSystem/Implementation/MetadataField.cs:299-305 | ICSharpCode.Decompiler/TypeSystem/Implementation/MetadataMethod.cs:629-635 | ICSharpCode.Decompiler/TypeSystem/Implementation/MetadataProperty.cs:302-308 | ICSharpCode.Decompiler/TypeSystem/Implementation/MetadataTypeDefinition.cs:583-589 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/TypeSystem/Implementation/MetadataEvent.cs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"95fcf4d36a55a860d1c025b2f63322821ac3c459ccd19bb5fe5602fcd25db382"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): ICSharpCode.Decompiler/TypeSystem/Implementation/MetadataField.cs:193-196 | ICSharpCode.Decompiler/TypeSystem/Implementation/MetadataProperty.cs:124-127 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/TypeSystem/Implementation/MetadataField.cs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"353c5931614323983612dc63bdb663cc6203dc4dd52f8d98162b20c3632c6f46"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): ILSpy/AppEnv/GlobalExceptionHandler.cs:233-237 | ILSpy/AppEnv/StartupErrorWindow.cs:106-110 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/AppEnv/GlobalExceptionHandler.cs"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa5af9a38c3182a185ce2d7d150b17b53564dad2e4c94158d9b574c8140a8f49"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (354 lines \u00D7 2): ICSharpCode.Decompiler/Util/CSharpPrimitiveCast.cs:51-404 | ICSharpCode.Decompiler/Util/CSharpPrimitiveCast.cs:413-766 \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. 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":"ICSharpCode.Decompiler/Util/CSharpPrimitiveCast.cs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"1460cbe18f3fc3be59243dec5b251d535807c8bd667b3c86fdaf80d7601096d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (58 lines \u00D7 2): ILSpy/Languages/CSharpBracketSearcher.cs:160-217 | ILSpy/Languages/CSharpBracketSearcher.cs:260-317 \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 \u0060ILSpy/Languages/CSharpBracketSearcher.cs:160\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. 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":"ILSpy/Languages/CSharpBracketSearcher.cs"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"87f518f8e603ed8c7ddad214cb78433e896644d90f87f43089e20445d75e6ec4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2): ICSharpCode.BamlDecompiler/Handlers/Records/OptimizedStaticResourceHandler.cs:59-95 | ICSharpCode.BamlDecompiler/Handlers/Records/PropertyWithExtensionHandler.cs:68-104 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.BamlDecompiler/Handlers/Records/OptimizedStaticResourceHandler.cs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f92c1d2c55514ba620c8a785b468b96b2a6d10d030fb29eb26744862e2b3494"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): ICSharpCode.Decompiler/IL/Transforms/TransformExpressionTrees.cs:701-735 | ICSharpCode.Decompiler/IL/Transforms/TransformExpressionTrees.cs:1526-1560 \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 \u0060ICSharpCode.Decompiler/IL/Transforms/TransformExpressionTrees.cs:701\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":"ICSharpCode.Decompiler/IL/Transforms/TransformExpressionTrees.cs"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fd02d7b6e32ddeddde03665ddf7e1f03f1375c8d515d67e8494a1673793288a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): ICSharpCode.Decompiler/CSharp/Resolver/TypeInference.cs:809-834 | ICSharpCode.Decompiler/CSharp/Resolver/TypeInference.cs:913-938 \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 \u0060ICSharpCode.Decompiler/CSharp/Resolver/TypeInference.cs:809\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":"ICSharpCode.Decompiler/CSharp/Resolver/TypeInference.cs"},"region":{"startLine":809}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc65d5182985bf4bdf12e99460619e38fdb1d19d5e0b7895f62e407168bda926"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201326 lines \u00D7 2): ICSharpCode.Decompiler/IL/Transforms/TransformExpressionTrees.cs:1281-1306 | ICSharpCode.Decompiler/IL/Transforms/TransformExpressionTrees.cs:1641-1651 \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 \u0060ICSharpCode.Decompiler/IL/Transforms/TransformExpressionTrees.cs:1641\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. 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. 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":"ICSharpCode.Decompiler/IL/Transforms/TransformExpressionTrees.cs"},"region":{"startLine":1281}}}],"partialFingerprints":{"codehealthFindingId/v1":"374f73ac4c1df03fd3781576af1f6dc181a54dab417b0815ac0c979322fa6d87"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): ICSharpCode.Decompiler/IL/Transforms/TransformAssignment.cs:879-900 | ICSharpCode.Decompiler/IL/Transforms/TransformAssignment.cs:964-985 \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 \u0060ICSharpCode.Decompiler/IL/Transforms/TransformAssignment.cs:879\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. 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":"ICSharpCode.Decompiler/IL/Transforms/TransformAssignment.cs"},"region":{"startLine":879}}}],"partialFingerprints":{"codehealthFindingId/v1":"1923eb697f92d657406a9c0fdb8e1ecbe333739f1aabe15699870e1b9a3588c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): ICSharpCode.Decompiler/CSharp/Resolver/TypeInference.cs:840-862 | ICSharpCode.Decompiler/CSharp/Resolver/TypeInference.cs:944-966 \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 \u0060ICSharpCode.Decompiler/CSharp/Resolver/TypeInference.cs:840\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":"ICSharpCode.Decompiler/CSharp/Resolver/TypeInference.cs"},"region":{"startLine":840}}}],"partialFingerprints":{"codehealthFindingId/v1":"5da8fe902f6f6187db08874f10d72d011ef0ab33c88e58ae15389933f6f726a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): ICSharpCode.Decompiler/IL/Instructions/PatternMatching.cs:366-386 | ICSharpCode.Decompiler/IL/Instructions/PatternMatching.cs:449-469 \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 \u0060ICSharpCode.Decompiler/IL/Instructions/PatternMatching.cs:366\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":"ICSharpCode.Decompiler/IL/Instructions/PatternMatching.cs"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"625b0032e7d46cdeb1ae080b7f9b60f9b28d6484650926df67c645ad795069fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 2): ICSharpCode.Decompiler/Output/TextTokenWriter.cs:119-140 | ILSpy/Languages/CSharpHighlightingTokenWriter.cs:481-501 \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. 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. 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":"ICSharpCode.Decompiler/Output/TextTokenWriter.cs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"b49c52a527deb43cf223254f9778c05796bdb21292823da592f1270a65d35e4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): ICSharpCode.Decompiler/CSharp/Resolver/CSharpResolver.cs:653-672 | ICSharpCode.Decompiler/CSharp/Resolver/CSharpResolver.cs:700-719 \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 \u0060ICSharpCode.Decompiler/CSharp/Resolver/CSharpResolver.cs:653\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. 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":"ICSharpCode.Decompiler/CSharp/Resolver/CSharpResolver.cs"},"region":{"startLine":653}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb2aca5907c9deae22ab085fd2316d94a839fbc3d6220c79f16b383880a1f101"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): ICSharpCode.Decompiler/IL/Instructions/PatternMatching.cs:398-413 | ICSharpCode.Decompiler/IL/Instructions/PatternMatching.cs:425-440 \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 \u0060ICSharpCode.Decompiler/IL/Instructions/PatternMatching.cs:398\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":"ICSharpCode.Decompiler/IL/Instructions/PatternMatching.cs"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9caeb557264159437f9ccb5b45e357df27e4ef5867d5107ef0536c32580eb8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): ICSharpCode.BamlDecompiler/Handlers/Records/PropertyWithStaticResourceIdHandler.cs:46-58 | ICSharpCode.BamlDecompiler/Handlers/Records/StaticResourceIdHandler.cs:34-46 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.BamlDecompiler/Handlers/Records/PropertyWithStaticResourceIdHandler.cs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"b61f8713180a32930f9ed3da4c8170d8c8a19fbaa4363cf22aee1593259be00d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): ICSharpCode.Decompiler/CSharp/AutoEventDecompiler.cs:279-295 | ICSharpCode.Decompiler/CSharp/AutoEventDecompiler.cs:317-333 \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. 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":"ICSharpCode.Decompiler/CSharp/AutoEventDecompiler.cs"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"b974d275d25fd15c2a6a4484132f047b1836224290498570835c55179aa9c0e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): ILSpy/TreeNodes/IconResourceEntryNode.cs:62-80 | ILSpy/TreeNodes/ImageResourceEntryNode.cs:66-84 \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 \u0060ILSpy/TreeNodes/IconResourceEntryNode.cs:62\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":"ILSpy/TreeNodes/IconResourceEntryNode.cs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"17e52fd8fb607c9087913feb3a54692a8d4e0cccb65d9f2501ca7f22cc55e846"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): ICSharpCode.Decompiler/IL/Transforms/LockTransform.cs:97-113 | ICSharpCode.Decompiler/IL/Transforms/LockTransform.cs:143-159 \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 \u0060ICSharpCode.Decompiler/IL/Transforms/LockTransform.cs:97\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":"ICSharpCode.Decompiler/IL/Transforms/LockTransform.cs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"10c1d2bb24994ed827c52ddeac492a77ebab2afecf98b30013edbb8cd9c6cf6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): ICSharpCode.Decompiler/IL/Transforms/TransformExpressionTrees.cs:881-896 | ICSharpCode.Decompiler/IL/Transforms/TransformExpressionTrees.cs:1910-1925 \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 \u0060ICSharpCode.Decompiler/IL/Transforms/TransformExpressionTrees.cs:881\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":"ICSharpCode.Decompiler/IL/Transforms/TransformExpressionTrees.cs"},"region":{"startLine":881}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fd1952e6f4cd7bd0c1c507b6eca259a5ce4f1ee61072cf0b70c081497b989bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): ICSharpCode.Decompiler/Util/CollectionExtensions.cs:331-346 | ICSharpCode.Decompiler/Util/CollectionExtensions.cs:373-388 \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 \u0060ICSharpCode.Decompiler/Util/CollectionExtensions.cs:331\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":"ICSharpCode.Decompiler/Util/CollectionExtensions.cs"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"f058c425f1b93e248806af856ea2edf7c0108d7769b0a08122e723906b2f6d36"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): ICSharpCode.Decompiler/Util/UnicodeNewline.cs:282-298 | ICSharpCode.Decompiler/Util/UnicodeNewline.cs:312-328 \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 \u0060ICSharpCode.Decompiler/Util/UnicodeNewline.cs:282\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":"ICSharpCode.Decompiler/Util/UnicodeNewline.cs"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"91f511d9169b78ad6313313cdf5ba195118fcbd0bba36936261c940db4c70c88"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): ICSharpCode.Decompiler/IL/Transforms/DynamicCallSiteTransform.cs:487-500 | ICSharpCode.Decompiler/IL/Transforms/DynamicCallSiteTransform.cs:535-548 | ICSharpCode.Decompiler/IL/Transforms/DynamicCallSiteTransform.cs:574-587 \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. 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":"ICSharpCode.Decompiler/IL/Transforms/DynamicCallSiteTransform.cs"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac3433d98997b4c5688cd6ad85119f1b846191cc9908fbc14680f8add4047646"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): ICSharpCode.Decompiler/CSharp/Resolver/CSharpConversions.cs:1011-1029 | ICSharpCode.Decompiler/CSharp/Resolver/CSharpConversions.cs:1069-1085 \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 \u0060ICSharpCode.Decompiler/CSharp/Resolver/CSharpConversions.cs:1011\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":"ICSharpCode.Decompiler/CSharp/Resolver/CSharpConversions.cs"},"region":{"startLine":1011}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd58b3027e7ca945c9c4cc6b6ea350f41e01b60cbf9ab45f2dd5c8b38ac6fa2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): ICSharpCode.Decompiler/CSharp/Syntax/TypeMembers/EventDeclaration.cs:84-98 | ICSharpCode.Decompiler/CSharp/Syntax/TypeMembers/MethodDeclaration.cs:45-59 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/Syntax/TypeMembers/EventDeclaration.cs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"14269a815b66184a6ca64590318e7793a14013867a1609245e3ed80ed44195ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): ICSharpCode.Decompiler/IL/Transforms/AssignVariableNames.cs:156-172 | ICSharpCode.Decompiler/IL/Transforms/AssignVariableNames.cs:176-192 \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 \u0060ICSharpCode.Decompiler/IL/Transforms/AssignVariableNames.cs:156\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/AssignVariableNames.cs"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"a318c2c551405d85d12d121a900cb1b9bc8320afaacaee5c12b14f591d3c865c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): ICSharpCode.Decompiler/IL/Transforms/AssignVariableNames.cs:1018-1032 | ICSharpCode.Decompiler/IL/Transforms/AssignVariableNames.cs:1067-1081 \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 \u0060ICSharpCode.Decompiler/IL/Transforms/AssignVariableNames.cs:1018\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":"ICSharpCode.Decompiler/IL/Transforms/AssignVariableNames.cs"},"region":{"startLine":1018}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1294a66a32e14a5b5bcc47c43f58859546d18ab4f3995ad874291720a66e0cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): ICSharpCode.Decompiler/IL/Transforms/CachedDelegateInitialization.cs:232-246 | ICSharpCode.Decompiler/IL/Transforms/CachedDelegateInitialization.cs:305-319 \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. 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":"ICSharpCode.Decompiler/IL/Transforms/CachedDelegateInitialization.cs"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8f26cf49e01bbcbac7e556cfe8945891fbae1eb677ea720317a917885cd666d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): ICSharpCode.Decompiler/IL/Transforms/DynamicCallSiteTransform.cs:395-411 | ICSharpCode.Decompiler/IL/Transforms/DynamicCallSiteTransform.cs:473-488 \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. 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. 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":"ICSharpCode.Decompiler/IL/Transforms/DynamicCallSiteTransform.cs"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb29c331d367861c2b065ac2e0b44296e6dd50a17deaec46a65c0c4127eb9939"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): ICSharpCode.Decompiler/TypeSystem/TypeSystemExtensions.cs:897-912 | ICSharpCode.Decompiler/TypeSystem/TypeSystemExtensions.cs:916-931 \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. 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060assemblyName\u0060 to \u0060IAssemblyReference\u0060 in one and \u0060AssemblyNameInfo\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":"ICSharpCode.Decompiler/TypeSystem/TypeSystemExtensions.cs"},"region":{"startLine":897}}}],"partialFingerprints":{"codehealthFindingId/v1":"50e7ba699b00c4eff30369958043f7d3ada5f2f936625a028c20e758f77fb0ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): ILSpy/Commands/DecompileAllCommand.cs:93-107 | ILSpy/Commands/DecompileAllCommand.cs:163-177 \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 \u0060ILSpy/Commands/DecompileAllCommand.cs:93\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":"ILSpy/Commands/DecompileAllCommand.cs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"fedfe1aa554316940dd00df000a6689668042bccda9767ac23d3b9ae96b811c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201316 lines \u00D7 3): ICSharpCode.Decompiler/IL/Transforms/TransformExpressionTrees.cs:716-731 | ICSharpCode.Decompiler/IL/Transforms/TransformExpressionTrees.cs:1116-1129 | ICSharpCode.Decompiler/IL/Transforms/TransformExpressionTrees.cs:1541-1556 \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":"ICSharpCode.Decompiler/IL/Transforms/TransformExpressionTrees.cs"},"region":{"startLine":716}}}],"partialFingerprints":{"codehealthFindingId/v1":"961173ffa263c673793a8b1a87ef895784456f370f756c624148e4b838a9a998"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): ICSharpCode.Decompiler/CSharp/OutputVisitor/TextWriterTokenWriter.cs:476-488 | ICSharpCode.Decompiler/CSharp/OutputVisitor/TextWriterTokenWriter.cs:611-623 \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 \u0060ICSharpCode.Decompiler/CSharp/OutputVisitor/TextWriterTokenWriter.cs:476\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":"ICSharpCode.Decompiler/CSharp/OutputVisitor/TextWriterTokenWriter.cs"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"9810cee0204f17263699ed64f9da257915903c5b9726f28c799e46ad672ad6b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): ICSharpCode.Decompiler/Disassembler/ReflectionDisassembler.cs:1962-1975 | ICSharpCode.Decompiler/IL/InstructionOutputExtensions.cs:204-217 \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 \u0060ICSharpCode.Decompiler/Disassembler/ReflectionDisassembler.cs:1962\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":"ICSharpCode.Decompiler/Disassembler/ReflectionDisassembler.cs"},"region":{"startLine":1962}}}],"partialFingerprints":{"codehealthFindingId/v1":"dadc1bbb6b4b570ca4f9eeaeed110384a4a4ef5493838fc0af3d0245c7273d3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): ICSharpCode.Decompiler/IL/Transforms/InlineArrayTransform.cs:100-113 | ICSharpCode.Decompiler/IL/Transforms/InlineArrayTransform.cs:120-133 \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 \u0060ICSharpCode.Decompiler/IL/Transforms/InlineArrayTransform.cs:100\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":"ICSharpCode.Decompiler/IL/Transforms/InlineArrayTransform.cs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab8269b4f78c5337d5a1a277058809f90e11c9ab71d2791e1251cfe9ed684dc3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): ICSharpCode.Decompiler/IL/Transforms/TransformExpressionTrees.cs:1470-1484 | ICSharpCode.Decompiler/IL/Transforms/TransformExpressionTrees.cs:1608-1623 \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 \u0060ICSharpCode.Decompiler/IL/Transforms/TransformExpressionTrees.cs:1470\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060ICSharpCode.Decompiler/IL/Transforms/TransformExpressionTrees.cs:1608\u0060 calls \u0060Block\u0060 and \u0060ICSharpCode.Decompiler/IL/Transforms/TransformExpressionTrees.cs:1470\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":"ICSharpCode.Decompiler/IL/Transforms/TransformExpressionTrees.cs"},"region":{"startLine":1470}}}],"partialFingerprints":{"codehealthFindingId/v1":"be5b1f37270da9adc47132e94e55f608843f7aad2cd3427c124f95d4078e439b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): ICSharpCode.BamlDecompiler/Handlers/Blocks/PropertyArrayHandler.cs:36-49 | ICSharpCode.BamlDecompiler/Handlers/Blocks/PropertyComplexHandler.cs:36-49 | ICSharpCode.BamlDecompiler/Handlers/Blocks/PropertyDictionaryHandler.cs:36-49 | ICSharpCode.BamlDecompiler/Handlers/Blocks/PropertyListHandler.cs:36-49 \u2014 before extracting anything, compare \u0060ICSharpCode.BamlDecompiler/Handlers/Blocks/PropertyArrayHandler.cs\u0060 and \u0060ICSharpCode.BamlDecompiler/Handlers/Blocks/PropertyComplexHandler.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 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. 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 \u0060ICSharpCode.BamlDecompiler/Handlers/Blocks/PropertyArrayHandler.cs:36\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":"ICSharpCode.BamlDecompiler/Handlers/Blocks/PropertyArrayHandler.cs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c044052ba295f32840b43fe7f4624ebe80f3dc7d20ba01bc5546eb25308f9c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): ILSpy/TreeNodes/CursorResourceEntryNode.cs:60-73 | ILSpy/TreeNodes/IconResourceEntryNode.cs:60-73 | ILSpy/TreeNodes/ImageResourceEntryNode.cs:64-77 \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 all 3 call sites, so a change lands once. 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060ILSpy/TreeNodes/CursorResourceEntryNode.cs:78\u0060 calls \u0060Clone\u0060 and \u0060ILSpy/TreeNodes/IconResourceEntryNode.cs:76\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":"ILSpy/TreeNodes/CursorResourceEntryNode.cs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b8acfb8101a331d6ec2c9bec69026d2d54cbd9225333a754d71bba2d8f027e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): ICSharpCode.Decompiler/IL/ControlFlow/YieldReturnDecompiler.cs:1423-1429 | ICSharpCode.Decompiler/IL/ControlFlow/YieldReturnDecompiler.cs:1487-1493 \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 \u0060ICSharpCode.Decompiler/IL/ControlFlow/YieldReturnDecompiler.cs:1423\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":"ICSharpCode.Decompiler/IL/ControlFlow/YieldReturnDecompiler.cs"},"region":{"startLine":1423}}}],"partialFingerprints":{"codehealthFindingId/v1":"b175c54a85364f76c007529aef8bf5ca50b7b61f8efa4e170747f1c53d69e379"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): ICSharpCode.Decompiler/IL/ILAmbience.cs:160-174 | ICSharpCode.Decompiler/IL/ILAmbience.cs:286-300 \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. 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060ICSharpCode.Decompiler/IL/ILAmbience.cs:284\u0060 calls \u0060Write\u0060 and \u0060ICSharpCode.Decompiler/IL/ILAmbience.cs:159\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":"ICSharpCode.Decompiler/IL/ILAmbience.cs"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"4595fc2af9a039314b4ddc035e43fe62d00aeb3b3e2c96e4a858340aa44cf171"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): ICSharpCode.Decompiler/IL/Instructions/BinaryNumericInstruction.cs:214-226 | ICSharpCode.Decompiler/IL/Instructions/CompoundAssignmentInstruction.cs:281-293 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Instructions/BinaryNumericInstruction.cs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"443e11c6631a40aa6c32dad7ee59218d9455c1b2c51d951d1ca3f4ceb7f45a8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): ICSharpCode.Decompiler/IL/PointerArithmeticOffset.cs:94-105 | ICSharpCode.Decompiler/TypeSystem/TypeUtils.cs:58-69 \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 \u0060ICSharpCode.Decompiler/IL/PointerArithmeticOffset.cs:94\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. 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":"ICSharpCode.Decompiler/IL/PointerArithmeticOffset.cs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"89b3b5cc83531d09fc4907cf61f9a598da89a50afd340f278c96f0a7f3a9bb95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 4): ICSharpCode.Decompiler/IL/Transforms/DynamicCallSiteTransform.cs:391-404 | ICSharpCode.Decompiler/IL/Transforms/DynamicCallSiteTransform.cs:469-482 | ICSharpCode.Decompiler/IL/Transforms/DynamicCallSiteTransform.cs:526-538 | ICSharpCode.Decompiler/IL/Transforms/DynamicCallSiteTransform.cs:556-569 \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. 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. 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":"ICSharpCode.Decompiler/IL/Transforms/DynamicCallSiteTransform.cs"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cdeef2cd6855bfa4f5e2b0f2846d1a476d98a639bf3b84bcf62a71ef6451584"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): ICSharpCode.Decompiler/CSharp/RecordDecompiler.cs:1097-1109 | ICSharpCode.Decompiler/CSharp/RecordDecompiler.cs:1287-1299 \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":"ICSharpCode.Decompiler/CSharp/RecordDecompiler.cs"},"region":{"startLine":1097}}}],"partialFingerprints":{"codehealthFindingId/v1":"94b4bd573df2b3d6926c8c04f5f985cb56aa98f73237498db146dc54a3a01c7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): ICSharpCode.Decompiler/CSharp/Resolver/CSharpConversions.cs:1046-1057 | ICSharpCode.Decompiler/CSharp/Resolver/CSharpConversions.cs:1120-1131 \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":"ICSharpCode.Decompiler/CSharp/Resolver/CSharpConversions.cs"},"region":{"startLine":1046}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1719b6b42cfc78d3cb4fc6d70a31f66411979da2cd723f95b7edcbc1488fa1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): ICSharpCode.Decompiler/CSharp/Resolver/CSharpResolver.cs:679-691 | ICSharpCode.Decompiler/CSharp/Resolver/CSharpResolver.cs:694-707 \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 \u0060ICSharpCode.Decompiler/CSharp/Resolver/CSharpResolver.cs:679\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. 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":"ICSharpCode.Decompiler/CSharp/Resolver/CSharpResolver.cs"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9b7fe252af54efdf6d7dcbb6443b950f2c56e0105700942ba1865f0889cab31"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): ICSharpCode.Decompiler/CSharp/Syntax/TypeSystemAstBuilder.cs:2321-2334 | ICSharpCode.Decompiler/CSharp/Syntax/TypeSystemAstBuilder.cs:2890-2903 \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 \u0060ICSharpCode.Decompiler/CSharp/Syntax/TypeSystemAstBuilder.cs:2321\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":"ICSharpCode.Decompiler/CSharp/Syntax/TypeSystemAstBuilder.cs"},"region":{"startLine":2321}}}],"partialFingerprints":{"codehealthFindingId/v1":"80bf93dcae050590fb2480c230fc76de77e599134d8414d45e7c510b530aac58"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): ICSharpCode.Decompiler/CSharp/Syntax/TypeSystemAstBuilder.cs:2396-2408 | ICSharpCode.Decompiler/CSharp/Syntax/TypeSystemAstBuilder.cs:2438-2450 \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":"ICSharpCode.Decompiler/CSharp/Syntax/TypeSystemAstBuilder.cs"},"region":{"startLine":2396}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d277e37af3d968fb201000f5cf44f6ec64698dd45a9e0f6895e72425eedcb33"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): ICSharpCode.Decompiler/CSharp/Transforms/PatternStatementTransform.cs:399-414 | ICSharpCode.Decompiler/CSharp/Transforms/PatternStatementTransform.cs:507-520 \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 \u0060ICSharpCode.Decompiler/CSharp/Transforms/PatternStatementTransform.cs:399\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":"ICSharpCode.Decompiler/CSharp/Transforms/PatternStatementTransform.cs"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"20e1b64d3e66626d33219011ec02233fd3be898f07099a920283f96d7189887e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): ICSharpCode.Decompiler/CSharp/Transforms/PatternStatementTransform.cs:813-826 | ICSharpCode.Decompiler/CSharp/Transforms/PatternStatementTransform.cs:900-912 \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":"ICSharpCode.Decompiler/CSharp/Transforms/PatternStatementTransform.cs"},"region":{"startLine":813}}}],"partialFingerprints":{"codehealthFindingId/v1":"16411a52b8a5712b7d25c191f90c54674913d54af09212477968cadd5b37fb1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): ICSharpCode.Decompiler/IL/InstructionOutputExtensions.cs:154-165 | ICSharpCode.Decompiler/IL/InstructionOutputExtensions.cs:255-266 \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 \u0060ICSharpCode.Decompiler/IL/InstructionOutputExtensions.cs:154\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":"ICSharpCode.Decompiler/IL/InstructionOutputExtensions.cs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3087d01d837455d1ceb9f03dd6b93843eb2208489ea2ef19b0c68d665fe0937"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): ICSharpCode.Decompiler/CSharp/ExpressionBuilder.cs:1993-2001 | ICSharpCode.Decompiler/CSharp/ExpressionBuilder.cs:2293-2301 \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 \u0060ICSharpCode.Decompiler/CSharp/ExpressionBuilder.cs:1993\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. 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060inst\u0060 to \u0060BinaryNumericInstruction\u0060 in one and \u0060NumericCompoundAssign\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":"ICSharpCode.Decompiler/CSharp/ExpressionBuilder.cs"},"region":{"startLine":1993}}}],"partialFingerprints":{"codehealthFindingId/v1":"f494a741394867f9eb19195cfa3feb2571870003813e09bb2d8798f64f1e7194"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): ICSharpCode.Decompiler/CSharp/OutputVisitor/CSharpOutputVisitor.cs:2547-2558 | ICSharpCode.Decompiler/CSharp/OutputVisitor/CSharpOutputVisitor.cs:2704-2715 \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":"ICSharpCode.Decompiler/CSharp/OutputVisitor/CSharpOutputVisitor.cs"},"region":{"startLine":2547}}}],"partialFingerprints":{"codehealthFindingId/v1":"974c0d363e6cf25134429d49b98ed6a789b6dbb9287a6f892d150a974d152a5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): ICSharpCode.Decompiler/CSharp/Syntax/GeneralScope/DelegateDeclaration.cs:49-59 | ICSharpCode.Decompiler/CSharp/Syntax/TypeMembers/MethodDeclaration.cs:58-68 \u2014 before extracting anything, compare \u0060ICSharpCode.Decompiler/CSharp/Syntax/GeneralScope/DelegateDeclaration.cs\u0060 and \u0060ICSharpCode.Decompiler/CSharp/Syntax/TypeMembers/MethodDeclaration.cs\u0060 as WHOLE FILES: 82% 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060ICSharpCode.Decompiler/CSharp/Syntax/TypeMembers/MethodDeclaration.cs:55\u0060 calls \u0060Slot\u0060 and \u0060ICSharpCode.Decompiler/CSharp/Syntax/GeneralScope/DelegateDeclaration.cs:47\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":"ICSharpCode.Decompiler/CSharp/Syntax/GeneralScope/DelegateDeclaration.cs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9f9b0f535232870b0c3f846bd9b9a2ec5732ef113b4385bf00d668bb05fdb57"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): ICSharpCode.Decompiler/Disassembler/ReflectionDisassembler.cs:1932-1941 | ICSharpCode.Decompiler/IL/InstructionOutputExtensions.cs:178-187 \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 \u0060ICSharpCode.Decompiler/Disassembler/ReflectionDisassembler.cs:1932\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":"ICSharpCode.Decompiler/Disassembler/ReflectionDisassembler.cs"},"region":{"startLine":1932}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d5c1d83d2809ef9b19142be7b85f7e6fc49b403294bf180518e0bffaa00ec87"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): ICSharpCode.Decompiler/IL/Transforms/CachedDelegateInitialization.cs:168-179 | ICSharpCode.Decompiler/IL/Transforms/CachedDelegateInitialization.cs:200-211 \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. 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":"ICSharpCode.Decompiler/IL/Transforms/CachedDelegateInitialization.cs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"61c90302234af099ec5df753428cdac602a4ef440447d4f2e6412de550f04769"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): ICSharpCode.Decompiler/IL/Transforms/NullCoalescingTransform.cs:68-81 | ICSharpCode.Decompiler/IL/Transforms/NullCoalescingTransform.cs:87-99 \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 \u0060ICSharpCode.Decompiler/IL/Transforms/NullCoalescingTransform.cs:68\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. 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":"ICSharpCode.Decompiler/IL/Transforms/NullCoalescingTransform.cs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"60e868765f9015161e524123d8e8524c33a3255ecc8841e744c941d763a27764"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): ICSharpCode.Decompiler/Util/BitSet.cs:204-214 | ICSharpCode.Decompiler/Util/BitSet.cs:241-251 \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 \u0060ICSharpCode.Decompiler/Util/BitSet.cs:204\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":"ICSharpCode.Decompiler/Util/BitSet.cs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"0493025f34417daf59ab4c5631cda4286a6b9676f8edd93657ffffe123cae57e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): ILSpy/Controls/Omnibar/OmnibarViewModel.cs:179-190 | ILSpy/Search/SearchPaneModel.cs:280-291 \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 \u0060ILSpy/Controls/Omnibar/OmnibarViewModel.cs:179\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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060result\u0060 to \u0060SearchResult?\u0060 in one and \u0060SearchResult\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":"ILSpy/Controls/Omnibar/OmnibarViewModel.cs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7edb4b952775abe588850c1bc5ef36535e5f63f494c2989c839c1253f9a578b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): ICSharpCode.Decompiler/CSharp/RecordDecompiler.cs:731-740 | ICSharpCode.Decompiler/CSharp/RecordDecompiler.cs:844-853 \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":"ICSharpCode.Decompiler/CSharp/RecordDecompiler.cs"},"region":{"startLine":731}}}],"partialFingerprints":{"codehealthFindingId/v1":"b15d2408dc04bd97cef34f28022314a984c20f438ad622d519a0b4194fe15a51"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): ICSharpCode.Decompiler/CSharp/Syntax/TypeSystemAstBuilder.cs:2400-2408 | ICSharpCode.Decompiler/CSharp/Syntax/TypeSystemAstBuilder.cs:2511-2519 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060ICSharpCode.Decompiler/CSharp/Syntax/TypeSystemAstBuilder.cs:2509\u0060 calls \u0060AddRange\u0060, \u0060ConvertAttributes\u0060, \u0060GetReturnTypeAttributes\u0060 and \u0060ICSharpCode.Decompiler/CSharp/Syntax/TypeSystemAstBuilder.cs:2398\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":"ICSharpCode.Decompiler/CSharp/Syntax/TypeSystemAstBuilder.cs"},"region":{"startLine":2400}}}],"partialFingerprints":{"codehealthFindingId/v1":"a85ff44ff7f50d22fad03170efd4b1f1d7f2ef5adad781ac9272bc6527c431cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): ICSharpCode.Decompiler/CSharp/Syntax/TypeSystemAstBuilder.cs:2467-2476 | ICSharpCode.Decompiler/CSharp/Syntax/TypeSystemAstBuilder.cs:2487-2496 \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":"ICSharpCode.Decompiler/CSharp/Syntax/TypeSystemAstBuilder.cs"},"region":{"startLine":2467}}}],"partialFingerprints":{"codehealthFindingId/v1":"d55a5b63e3fe4aa944c0738874331358437685fbd3aa131a7386b7d69d634b32"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): ICSharpCode.Decompiler/Disassembler/ReflectionDisassembler.cs:1197-1206 | ICSharpCode.Decompiler/Disassembler/ReflectionDisassembler.cs:1237-1246 \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. 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":"ICSharpCode.Decompiler/Disassembler/ReflectionDisassembler.cs"},"region":{"startLine":1197}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4f5cb889d332e64fa34eba48c55fca682b18a421bb22b5f55e0fd14319cecc2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): ICSharpCode.Decompiler/IL/ControlFlow/AsyncAwaitDecompiler.cs:506-519 | ICSharpCode.Decompiler/IL/ControlFlow/AsyncAwaitDecompiler.cs:673-684 \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 \u0060ICSharpCode.Decompiler/IL/ControlFlow/AsyncAwaitDecompiler.cs:506\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. 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":"ICSharpCode.Decompiler/IL/ControlFlow/AsyncAwaitDecompiler.cs"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"03cdf5c249691693b53a5f6e0746de913d6d457650d81b105503286a7b28eec1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): ICSharpCode.Decompiler/IL/Transforms/SwitchOnStringTransform.cs:1131-1140 | ICSharpCode.Decompiler/IL/Transforms/SwitchOnStringTransform.cs:1158-1167 \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 \u0060ICSharpCode.Decompiler/IL/Transforms/SwitchOnStringTransform.cs:1131\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, \u0060ICSharpCode.Decompiler/IL/Transforms/SwitchOnStringTransform.cs:1156\u0060 calls \u0060AddILRange\u0060 and \u0060ICSharpCode.Decompiler/IL/Transforms/SwitchOnStringTransform.cs:1129\u0060 does not \u2014 after which the two agree again for 4 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":"ICSharpCode.Decompiler/IL/Transforms/SwitchOnStringTransform.cs"},"region":{"startLine":1131}}}],"partialFingerprints":{"codehealthFindingId/v1":"10dbded0610a931eee18847af0692210f41709281a29a4e6ac4e8041b1426f3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): ILSpy/Commands/DecompileAllCommand.cs:74-82 | ILSpy/Commands/DecompileAllCommand.cs:143-151 \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 \u0060ILSpy/Commands/DecompileAllCommand.cs:74\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":"ILSpy/Commands/DecompileAllCommand.cs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"564756638b01eadd9c4f1db813ff21f35017c05edba63f93662f53b142c0714a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): ICSharpCode.Decompiler/CSharp/Syntax/TypeSystemAstBuilder.cs:2396-2403 | ICSharpCode.Decompiler/CSharp/Syntax/TypeSystemAstBuilder.cs:2438-2445 | ICSharpCode.Decompiler/CSharp/Syntax/TypeSystemAstBuilder.cs:2468-2475 | ICSharpCode.Decompiler/CSharp/Syntax/TypeSystemAstBuilder.cs:2488-2495 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/Syntax/TypeSystemAstBuilder.cs"},"region":{"startLine":2396}}}],"partialFingerprints":{"codehealthFindingId/v1":"a36b627d1a2f6557fb93258386a58dd0cdcc45ba7f2a645aeb96b7e87d36f6e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): ICSharpCode.BamlDecompiler/BamlDecompilerTypeSystem.cs:84-94 | ICSharpCode.Decompiler/TypeSystem/DecompilerTypeSystem.cs:622-632 \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 \u0060ICSharpCode.BamlDecompiler/BamlDecompilerTypeSystem.cs:84\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":"ICSharpCode.BamlDecompiler/BamlDecompilerTypeSystem.cs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0f58553ae1a857d2993b02a4da90731ead4a76493976e2c50f017abb5d26722"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): ICSharpCode.Decompiler/CSharp/Resolver/CSharpConversions.cs:622-631 | ICSharpCode.Decompiler/CSharp/Resolver/CSharpConversions.cs:719-728 \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 \u0060ICSharpCode.Decompiler/CSharp/Resolver/CSharpConversions.cs:622\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":"ICSharpCode.Decompiler/CSharp/Resolver/CSharpConversions.cs"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"53caf34961a091c0c5bad0287e3723313b96cc45c2395b57078cbcdca16ac0ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): ICSharpCode.Decompiler/CSharp/Resolver/CSharpConversions.cs:1508-1527 | ICSharpCode.Decompiler/CSharp/Resolver/CSharpConversions.cs:1536-1555 \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. 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":"ICSharpCode.Decompiler/CSharp/Resolver/CSharpConversions.cs"},"region":{"startLine":1508}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdde0c4f8bf6f7d36861fac4cc90c3f0811a3f72ce7ca3d696b2c3762a119ece"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 2): ICSharpCode.Decompiler/CSharp/Resolver/TypeInference.cs:678-686 | ICSharpCode.Decompiler/CSharp/Resolver/TypeInference.cs:783-793 \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. 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":"ICSharpCode.Decompiler/CSharp/Resolver/TypeInference.cs"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"79571540bf9102ba45d214954e63ba69d5eead4fb2d686216d854e2d140103fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): ICSharpCode.Decompiler/CSharp/Syntax/TypeSystemAstBuilder.cs:862-871 | ICSharpCode.Decompiler/CSharp/Syntax/TypeSystemAstBuilder.cs:882-891 \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 \u0060ICSharpCode.Decompiler/CSharp/Syntax/TypeSystemAstBuilder.cs:862\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060ICSharpCode.Decompiler/CSharp/Syntax/TypeSystemAstBuilder.cs:879\u0060 calls \u0060CompareOrdinal\u0060 and \u0060ICSharpCode.Decompiler/CSharp/Syntax/TypeSystemAstBuilder.cs:861\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":"ICSharpCode.Decompiler/CSharp/Syntax/TypeSystemAstBuilder.cs"},"region":{"startLine":862}}}],"partialFingerprints":{"codehealthFindingId/v1":"050602bca4d2207248b8cfa9efd3e5f6e9f26361d25e9db1a4d56e0a09864ee8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): ICSharpCode.Decompiler/Disassembler/ReflectionDisassembler.cs:1947-1955 | ICSharpCode.Decompiler/IL/InstructionOutputExtensions.cs:189-197 \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 \u0060ICSharpCode.Decompiler/Disassembler/ReflectionDisassembler.cs:1947\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":"ICSharpCode.Decompiler/Disassembler/ReflectionDisassembler.cs"},"region":{"startLine":1947}}}],"partialFingerprints":{"codehealthFindingId/v1":"b95345dca0a7777f327affde82e8c6449fb8ef3c92a189930f1bb927e83b3de5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): ICSharpCode.Decompiler/IL/ILReader.cs:2000-2010 | ICSharpCode.Decompiler/IL/ILReader.cs:2204-2214 \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":"ICSharpCode.Decompiler/IL/ILReader.cs"},"region":{"startLine":2000}}}],"partialFingerprints":{"codehealthFindingId/v1":"4427056cdf4a6d10d6a4527b8531959596a8a0bec9898fe956bdce5190c2a176"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): ICSharpCode.Decompiler/IL/Transforms/NullPropagationTransform.cs:296-306 | ICSharpCode.Decompiler/IL/Transforms/NullPropagationTransform.cs:392-402 \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 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":"ICSharpCode.Decompiler/IL/Transforms/NullPropagationTransform.cs"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"d02025adcb1858d1e15525499f655cc5ea1c341894efb7ff0dcc285fa3ef3064"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): ICSharpCode.Decompiler/IL/Transforms/TransformExpressionTrees.cs:1060-1067 | ICSharpCode.Decompiler/IL/Transforms/TransformExpressionTrees.cs:1193-1200 \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 \u0060ICSharpCode.Decompiler/IL/Transforms/TransformExpressionTrees.cs:1060\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060ICSharpCode.Decompiler/IL/Transforms/TransformExpressionTrees.cs:1191\u0060 calls \u0060ConvertInstruction\u0060 and \u0060ICSharpCode.Decompiler/IL/Transforms/TransformExpressionTrees.cs:1059\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":"ICSharpCode.Decompiler/IL/Transforms/TransformExpressionTrees.cs"},"region":{"startLine":1060}}}],"partialFingerprints":{"codehealthFindingId/v1":"55de92176db1d29eb4fbb7c5a4da4bafae76b2c1345514c986afaa519769ec28"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): ICSharpCode.Decompiler/IL/Transforms/UsingTransform.cs:158-166 | ICSharpCode.Decompiler/IL/Transforms/UsingTransform.cs:493-501 \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":"ICSharpCode.Decompiler/IL/Transforms/UsingTransform.cs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"954736c7513fe4bf345ba243d94dd23753097f97c2be297925ae59bbb6b092ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): ICSharpCode.Decompiler/Util/TreeTraversal.cs:49-58 | ICSharpCode.ILSpyX/TreeView/TreeTraversal.cs:48-57 \u2014 before extracting anything, compare \u0060ICSharpCode.Decompiler/Util/TreeTraversal.cs\u0060 and \u0060ICSharpCode.ILSpyX/TreeView/TreeTraversal.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 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ICSharpCode.Decompiler/Util/TreeTraversal.cs:49\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. 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":"ICSharpCode.Decompiler/Util/TreeTraversal.cs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6d7ac9d2fdda9e7640450e8bace83c115adba8a363afd4e5ab6fd98be998c6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): ICSharpCode.ILSpyX/Search/CSharpLexer.cs:1025-1033 | ICSharpCode.ILSpyX/Search/CSharpLexer.cs:1044-1052 \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 \u0060ICSharpCode.ILSpyX/Search/CSharpLexer.cs:1025\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060ICSharpCode.ILSpyX/Search/CSharpLexer.cs:1053\u0060 calls \u0060Error\u0060, \u0060Format\u0060, \u0060ReaderPeek\u0060 and \u0060ICSharpCode.ILSpyX/Search/CSharpLexer.cs:1034\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":"ICSharpCode.ILSpyX/Search/CSharpLexer.cs"},"region":{"startLine":1025}}}],"partialFingerprints":{"codehealthFindingId/v1":"306a7fc69f3845c062ca8baa0f62fc065930ca81b24c95a68fb950ddc01a2a8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): ICSharpCode.Decompiler/Util/TreeTraversal.cs:49-57 | ICSharpCode.Decompiler/Util/TreeTraversal.cs:96-104 | ICSharpCode.ILSpyX/TreeView/TreeTraversal.cs:48-56 \u2014 before extracting anything, compare \u0060ICSharpCode.Decompiler/Util/TreeTraversal.cs\u0060 and \u0060ICSharpCode.ILSpyX/TreeView/TreeTraversal.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 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ICSharpCode.Decompiler/Util/TreeTraversal.cs:49\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":"ICSharpCode.Decompiler/Util/TreeTraversal.cs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"86bee7771d5b52de9299cc551333df12d6426fff3c4f5b39bd7aad13848deaa1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201310 lines \u00D7 2): ICSharpCode.BamlDecompiler/Handlers/Blocks/ElementHandler.cs:36-45 | ICSharpCode.BamlDecompiler/Handlers/Records/StaticResourceStartHandler.cs:43-49 \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":"ICSharpCode.BamlDecompiler/Handlers/Blocks/ElementHandler.cs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"df33933b02c978c72b9c88c7ac81d6c5ad88c8f56c36043793a696b536ff24a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): ICSharpCode.BamlDecompiler/Rewrite/ConnectionIdRewritePass.cs:320-324 | ICSharpCode.BamlDecompiler/Rewrite/ConnectionIdRewritePass.cs:336-340 \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. 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":"ICSharpCode.BamlDecompiler/Rewrite/ConnectionIdRewritePass.cs"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ffb50eabc941fde6c369c4a8a90e0960318f7be354eec8b32a95d0b0ec784e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): ICSharpCode.Decompiler/CSharp/CSharpDecompiler.cs:1576-1584 | ICSharpCode.Decompiler/CSharp/CSharpDecompiler.cs:2145-2153 \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":"ICSharpCode.Decompiler/CSharp/CSharpDecompiler.cs"},"region":{"startLine":1576}}}],"partialFingerprints":{"codehealthFindingId/v1":"5067dd9ff10182789a09ed3af2e9f5eed6d5c5b733685c50ca594af3c1c3c560"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): ICSharpCode.Decompiler/CSharp/ExpressionBuilder.cs:1763-1772 | ICSharpCode.Decompiler/CSharp/ExpressionBuilder.cs:1773-1782 \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":"ICSharpCode.Decompiler/CSharp/ExpressionBuilder.cs"},"region":{"startLine":1763}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0aa0c34d8d827ab15a74523c5824fcc319e5c87a0a20cda56eb974578195728"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): ICSharpCode.Decompiler/CSharp/Syntax/TypeSystemAstBuilder.cs:2506-2514 | ICSharpCode.Decompiler/CSharp/Syntax/TypeSystemAstBuilder.cs:2586-2594 \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":"ICSharpCode.Decompiler/CSharp/Syntax/TypeSystemAstBuilder.cs"},"region":{"startLine":2506}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee4fefdc731241b21a0cc03dad4488a238bc883044aaac29e5defbe7f3d1c561"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): ICSharpCode.Decompiler/IL/ControlFlow/AsyncAwaitDecompiler.cs:752-767 | ICSharpCode.Decompiler/IL/ControlFlow/YieldReturnDecompiler.cs:464-473 \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 \u0060ICSharpCode.Decompiler/IL/ControlFlow/AsyncAwaitDecompiler.cs:752\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":"ICSharpCode.Decompiler/IL/ControlFlow/AsyncAwaitDecompiler.cs"},"region":{"startLine":752}}}],"partialFingerprints":{"codehealthFindingId/v1":"73794cc25a3f640dbf4d1d2d31d26895d945830ff44b6aa52e2397ccb43ff855"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): ICSharpCode.Decompiler/IL/ControlFlow/AsyncAwaitDecompiler.cs:953-962 | ICSharpCode.Decompiler/IL/ControlFlow/AsyncAwaitDecompiler.cs:1136-1145 \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 \u0060ICSharpCode.Decompiler/IL/ControlFlow/AsyncAwaitDecompiler.cs:953\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":"ICSharpCode.Decompiler/IL/ControlFlow/AsyncAwaitDecompiler.cs"},"region":{"startLine":953}}}],"partialFingerprints":{"codehealthFindingId/v1":"5757fe55b66d5e68d9c694236d1ed3fcbed525c64faa280283c3814e3d2d024f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): ICSharpCode.Decompiler/IL/Transforms/SwitchOnStringTransform.cs:1173-1181 | ICSharpCode.Decompiler/IL/Transforms/SwitchOnStringTransform.cs:1312-1320 \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":"ICSharpCode.Decompiler/IL/Transforms/SwitchOnStringTransform.cs"},"region":{"startLine":1173}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f9368f0fbfbc212f558c361b284cbf53787116dcac49dd863e920a2de60ef64"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): ICSharpCode.Decompiler/IL/Transforms/TransformArrayInitializers.cs:111-119 | ICSharpCode.Decompiler/IL/Transforms/TransformArrayInitializers.cs:298-306 \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 \u0060ICSharpCode.Decompiler/IL/Transforms/TransformArrayInitializers.cs:111\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":"ICSharpCode.Decompiler/IL/Transforms/TransformArrayInitializers.cs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"a958c3f638c7cc87fe7ccc6f843a10e66eb454d3ea9183cb81ae19414fa0c235"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): ICSharpCode.Decompiler/TypeSystem/Implementation/SpecializedMethod.cs:235-239 | ICSharpCode.Decompiler/TypeSystem/VarArgInstanceMethod.cs:93-97 \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 \u0060ICSharpCode.Decompiler/TypeSystem/Implementation/SpecializedMethod.cs:235\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":"ICSharpCode.Decompiler/TypeSystem/Implementation/SpecializedMethod.cs"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bbaf97aa029bde8b90493ccc45449aef688150714508c586b622910041e70a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): ICSharpCode.Decompiler/IL/Transforms/DynamicCallSiteTransform.cs:450-456 | ICSharpCode.Decompiler/IL/Transforms/DynamicCallSiteTransform.cs:489-495 | ICSharpCode.Decompiler/IL/Transforms/DynamicCallSiteTransform.cs:537-543 | ICSharpCode.Decompiler/IL/Transforms/DynamicCallSiteTransform.cs:576-582 \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. 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":"ICSharpCode.Decompiler/IL/Transforms/DynamicCallSiteTransform.cs"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"81c885eb6613d03649e5bceb2ea270e82133bef2cb6868d86eb44904216322de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): ICSharpCode.Decompiler/IL/ControlFlow/AsyncAwaitDecompiler.cs:506-516 | ICSharpCode.Decompiler/IL/ControlFlow/AsyncAwaitDecompiler.cs:565-575 | ICSharpCode.Decompiler/IL/ControlFlow/AsyncAwaitDecompiler.cs:673-681 \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 \u0060ICSharpCode.Decompiler/IL/ControlFlow/AsyncAwaitDecompiler.cs:506\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":"ICSharpCode.Decompiler/IL/ControlFlow/AsyncAwaitDecompiler.cs"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"285e7daca878208e3fd2ec3f82110e8ac118d98d19b6c10337fb77073fc1856d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): ICSharpCode.BamlDecompiler/Handlers/Records/DefAttributeKeyTypeHandler.cs:48-56 | ICSharpCode.BamlDecompiler/Handlers/Records/PropertyTypeReferenceHandler.cs:53-61 \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. 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":"ICSharpCode.BamlDecompiler/Handlers/Records/DefAttributeKeyTypeHandler.cs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed2e8189769afac8fcf1c87f9dafc7ba857f3233414a073659d4cf3146b159f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): ICSharpCode.Decompiler/CSharp/CallBuilder.cs:1245-1252 | ICSharpCode.Decompiler/CSharp/CallBuilder.cs:1256-1263 \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. 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":"ICSharpCode.Decompiler/CSharp/CallBuilder.cs"},"region":{"startLine":1245}}}],"partialFingerprints":{"codehealthFindingId/v1":"e942f00ce6ef17d378457fdf25e22f65269e547762df9636cfb4dcf4e5a4b9cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): ICSharpCode.Decompiler/IL/ControlFlow/LoopDetection.cs:115-124 | ICSharpCode.Decompiler/IL/ControlFlow/LoopDetection.cs:777-785 \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 \u0060ICSharpCode.Decompiler/IL/ControlFlow/LoopDetection.cs:115\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":"ICSharpCode.Decompiler/IL/ControlFlow/LoopDetection.cs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"66abaf6914e6c857f72c2c6cf8e7870e5269c9cb1e129eadcb658ef5f670e744"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): ICSharpCode.Decompiler/IL/Transforms/TransformArrayInitializers.cs:63-69 | ICSharpCode.Decompiler/IL/Transforms/TransformArrayInitializers.cs:279-285 \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 \u0060ICSharpCode.Decompiler/IL/Transforms/TransformArrayInitializers.cs:63\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. 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":"ICSharpCode.Decompiler/IL/Transforms/TransformArrayInitializers.cs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"a94f9746763c0abd2376c7862e51ac207daf37382efb0a662fc2f0b088877f27"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): ICSharpCode.Decompiler/IL/Transforms/UsingTransform.cs:85-91 | ICSharpCode.Decompiler/IL/Transforms/UsingTransform.cs:156-162 \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":"ICSharpCode.Decompiler/IL/Transforms/UsingTransform.cs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3ad88c0a50b6b1d386be9de0f5077d574aa6a4ff9bf2df3e9cbcf370ba94e0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): ICSharpCode.Decompiler/TypeSystem/ApplyAttributeTypeVisitor.cs:70-75 | ICSharpCode.Decompiler/TypeSystem/ApplyAttributeTypeVisitor.cs:84-89 \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 \u0060ICSharpCode.Decompiler/TypeSystem/ApplyAttributeTypeVisitor.cs:70\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":"ICSharpCode.Decompiler/TypeSystem/ApplyAttributeTypeVisitor.cs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa06e816ba1f747315ecbe331e5f80aff7fa2fe3cfa65401aaaae795a7351e7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): ICSharpCode.Decompiler/TypeSystem/Implementation/SpecializedMember.cs:320-327 | ICSharpCode.Decompiler/TypeSystem/Implementation/SpecializedMethod.cs:235-242 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/TypeSystem/Implementation/SpecializedMember.cs"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2730bd99e0947bfdb8f5103406a5a89ecf677f807794ce0c068a8c0f8f315fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): ILSpy/Views/OpenFromNuGetFeedDialog.axaml.cs:100-108 | ILSpy/Views/OpenFromProcessDialog.axaml.cs:78-87 \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 \u0060ILSpy/Views/OpenFromProcessDialog.axaml.cs:78\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. 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":"ILSpy/Views/OpenFromNuGetFeedDialog.axaml.cs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"259b17fa4d44eb5d33ac9e9d02f4c6e791280259354381d4980477509122d317"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5): ICSharpCode.BamlDecompiler/Handlers/Blocks/PropertyArrayHandler.cs:36-42 | ICSharpCode.BamlDecompiler/Handlers/Blocks/PropertyComplexHandler.cs:36-42 | ICSharpCode.BamlDecompiler/Handlers/Blocks/PropertyDictionaryHandler.cs:36-42 | ICSharpCode.BamlDecompiler/Handlers/Blocks/PropertyListHandler.cs:36-42 | ICSharpCode.BamlDecompiler/Handlers/Records/PropertyWithStaticResourceIdHandler.cs:38-44 \u2014 before extracting anything, compare \u0060ICSharpCode.BamlDecompiler/Handlers/Blocks/PropertyArrayHandler.cs\u0060 and \u0060ICSharpCode.BamlDecompiler/Handlers/Blocks/PropertyComplexHandler.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 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. 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":"ICSharpCode.BamlDecompiler/Handlers/Blocks/PropertyArrayHandler.cs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fd06d9aeb6080ebfdec53d5b4870b22b3b00252c11cbfa3552e8ceffcd90938"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): ICSharpCode.Decompiler/IL/ControlFlow/YieldReturnDecompiler.cs:1423-1429 | ICSharpCode.Decompiler/IL/ControlFlow/YieldReturnDecompiler.cs:1487-1493 | ICSharpCode.Decompiler/IL/ControlFlow/YieldReturnDecompiler.cs:1512-1518 \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 \u0060ICSharpCode.Decompiler/IL/ControlFlow/YieldReturnDecompiler.cs:1423\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":"ICSharpCode.Decompiler/IL/ControlFlow/YieldReturnDecompiler.cs"},"region":{"startLine":1423}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c0d0a77fde683bac1eb0d1eb7e995b271e73fad1157e32a4db8f99066257ef7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): ICSharpCode.Decompiler/TypeSystem/Implementation/SpecializedEvent.cs:29-37 | ICSharpCode.Decompiler/TypeSystem/Implementation/SpecializedField.cs:29-36 | ICSharpCode.Decompiler/TypeSystem/Implementation/SpecializedProperty.cs:29-36 \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 all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ICSharpCode.Decompiler/TypeSystem/Implementation/SpecializedEvent.cs:29\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. 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":"ICSharpCode.Decompiler/TypeSystem/Implementation/SpecializedEvent.cs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0e5376e916a99b7a439f4bb4ec6ad9682f548f89a912b6a6347d1258a53fa1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): ICSharpCode.Decompiler/CSharp/RecordDecompiler.cs:840-845 | ICSharpCode.Decompiler/CSharp/RecordDecompiler.cs:1094-1099 \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":"ICSharpCode.Decompiler/CSharp/RecordDecompiler.cs"},"region":{"startLine":840}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfc7febbf5a0b67c0fcd553cf23a3fae3da750687a448206d2ed480074363109"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): ICSharpCode.Decompiler/CSharp/Transforms/IntroduceQueryExpressions.cs:211-216 | ICSharpCode.Decompiler/CSharp/Transforms/IntroduceQueryExpressions.cs:312-317 \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 \u0060ICSharpCode.Decompiler/CSharp/Transforms/IntroduceQueryExpressions.cs:211\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060ICSharpCode.Decompiler/CSharp/Transforms/IntroduceQueryExpressions.cs:210\u0060 calls \u0060IsNullConditional\u0060 and \u0060ICSharpCode.Decompiler/CSharp/Transforms/IntroduceQueryExpressions.cs:311\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":"ICSharpCode.Decompiler/CSharp/Transforms/IntroduceQueryExpressions.cs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"d73a49d620013a0db8c926c2ff997fa1620a326d039ef9252985dbb25daacd17"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): ICSharpCode.Decompiler/IL/ControlFlow/AsyncAwaitDecompiler.cs:734-739 | ICSharpCode.Decompiler/IL/ControlFlow/YieldReturnDecompiler.cs:445-450 \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 \u0060ICSharpCode.Decompiler/IL/ControlFlow/AsyncAwaitDecompiler.cs:734\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. 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":"ICSharpCode.Decompiler/IL/ControlFlow/AsyncAwaitDecompiler.cs"},"region":{"startLine":734}}}],"partialFingerprints":{"codehealthFindingId/v1":"982d3e90ad8bfe9e7d84bec35c430537b65a7974506c5e9aad34e7ccca0fc020"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): ICSharpCode.Decompiler/IL/ControlFlow/AsyncAwaitDecompiler.cs:1604-1611 | ICSharpCode.Decompiler/IL/ControlFlow/AsyncAwaitDecompiler.cs:1624-1631 \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 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060ICSharpCode.Decompiler/IL/ControlFlow/AsyncAwaitDecompiler.cs:1599\u0060 calls \u0060MatchStateMachineArg\u0060, \u0060MatchLdLoca\u0060, \u0060MatchLdThis\u0060 and \u0060ICSharpCode.Decompiler/IL/ControlFlow/AsyncAwaitDecompiler.cs:1623\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":"ICSharpCode.Decompiler/IL/ControlFlow/AsyncAwaitDecompiler.cs"},"region":{"startLine":1604}}}],"partialFingerprints":{"codehealthFindingId/v1":"29b4818fdb429e3b31204deed9dd20c455dfd83dd26be2b81f336ba79381c7de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): ICSharpCode.Decompiler/IL/ControlFlow/RuntimeAsyncExceptionRewriteTransform.cs:153-157 | ICSharpCode.Decompiler/IL/ControlFlow/RuntimeAsyncExceptionRewriteTransform.cs:514-518 \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. 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":"ICSharpCode.Decompiler/IL/ControlFlow/RuntimeAsyncExceptionRewriteTransform.cs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd8d45b7077740c34fdb8e35bfc000d6722f4154be20bdfe6792203f6876d0ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): ICSharpCode.Decompiler/IL/ILReader.cs:1932-1942 | ICSharpCode.Decompiler/IL/ILReader.cs:1943-1950 \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 \u0060ICSharpCode.Decompiler/IL/ILReader.cs:1943\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":"ICSharpCode.Decompiler/IL/ILReader.cs"},"region":{"startLine":1932}}}],"partialFingerprints":{"codehealthFindingId/v1":"316d61d3f64260a052035f6d8877a4d1dd0960466aa66820ea1adec3be294ded"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): ICSharpCode.Decompiler/IL/Instructions/DynamicInstructions.cs:443-449 | ICSharpCode.Decompiler/IL/Instructions/DynamicInstructions.cs:486-492 \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. 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":"ICSharpCode.Decompiler/IL/Instructions/DynamicInstructions.cs"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"38c72c754b6a759c436b3cb640c48640609f392b3b7064d13421919f9bc32c2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): ICSharpCode.Decompiler/IL/Transforms/LockTransform.cs:187-192 | ICSharpCode.Decompiler/IL/Transforms/LockTransform.cs:235-240 \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. 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":"ICSharpCode.Decompiler/IL/Transforms/LockTransform.cs"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"551ab31623df519e1e615864b27c66827bde86bcb171e4bda58b8785013efdfa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): ICSharpCode.Decompiler/IL/Transforms/LockTransform.cs:201-206 | ICSharpCode.Decompiler/IL/Transforms/LockTransform.cs:298-303 \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 \u0060ICSharpCode.Decompiler/IL/Transforms/LockTransform.cs:201\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060ICSharpCode.Decompiler/IL/Transforms/LockTransform.cs:296\u0060 calls \u0060RemoveAt\u0060 and \u0060ICSharpCode.Decompiler/IL/Transforms/LockTransform.cs:199\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":"ICSharpCode.Decompiler/IL/Transforms/LockTransform.cs"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"95832fa76a67c25a803e8a511cf1da42aae686c89fa46b283dcc7a4cce1cf737"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): ICSharpCode.Decompiler/IL/Transforms/NullableLiftingTransform.cs:1106-1111 | ICSharpCode.Decompiler/IL/Transforms/NullableLiftingTransform.cs:1123-1128 \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. 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":"ICSharpCode.Decompiler/IL/Transforms/NullableLiftingTransform.cs"},"region":{"startLine":1106}}}],"partialFingerprints":{"codehealthFindingId/v1":"b75467e5d43b299823bcf972811b8ecae81e2353e2959b251b33d7ea6d1ff3ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): ICSharpCode.Decompiler/TypeSystem/ApplyAttributeTypeVisitor.cs:97-101 | ICSharpCode.Decompiler/TypeSystem/ApplyAttributeTypeVisitor.cs:110-114 \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 \u0060ICSharpCode.Decompiler/TypeSystem/ApplyAttributeTypeVisitor.cs:97\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":"ICSharpCode.Decompiler/TypeSystem/ApplyAttributeTypeVisitor.cs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"0725c85a78174b03b0c79583c039d3820c44f9cd8f7b8d3dbd135c277852d666"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): ICSharpCode.Decompiler/TypeSystem/Implementation/MetadataMethod.cs:263-268 | ICSharpCode.Decompiler/TypeSystem/Implementation/MetadataMethod.cs:279-284 \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. 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":"ICSharpCode.Decompiler/TypeSystem/Implementation/MetadataMethod.cs"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa39adca0593c07284f0e8736cabb761ab0b7cce3b4547bee8726a8e7434d8eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): ILSpy/Commands/ExportCommandAttribute.cs:34-41 | ILSpy/Commands/ExportCommandAttribute.cs:58-65 \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":"ILSpy/Commands/ExportCommandAttribute.cs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"65e2ee0261abff66b02557473df53a70c369de41247191240c1b287e79d783b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): ILSpy/Controls/Omnibar/OmnibarViewModel.cs:217-223 | ILSpy/Search/SearchPaneModel.cs:324-330 \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. 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":"ILSpy/Controls/Omnibar/OmnibarViewModel.cs"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"30b9027c7399cd62ef4adbd74881cbbe65c771fe4cfadc3d8723a80ff343d198"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): ICSharpCode.BamlDecompiler/Handlers/Blocks/KeyElementStartHandler.cs:43-47 | ICSharpCode.BamlDecompiler/Handlers/Records/DefAttributeKeyStringHandler.cs:43-47 \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":"ICSharpCode.BamlDecompiler/Handlers/Blocks/KeyElementStartHandler.cs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"442a70c0d29d0e17922ffb4fe5e2976a8cd92add2cba23fbc1c94e3ee733229f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): ICSharpCode.Decompiler/CSharp/AutoEventDecompiler.cs:383-387 | ICSharpCode.Decompiler/CSharp/AutoEventDecompiler.cs:417-421 \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. 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":"ICSharpCode.Decompiler/CSharp/AutoEventDecompiler.cs"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9267edfadf59916f4beb96eabb5d3511d61dbae15b6dcb414c600358ec3b226"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): ICSharpCode.Decompiler/CSharp/ExpressionBuilder.cs:4771-4777 | ICSharpCode.Decompiler/CSharp/ExpressionBuilder.cs:4802-4808 \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":"ICSharpCode.Decompiler/CSharp/ExpressionBuilder.cs"},"region":{"startLine":4771}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cb6e798cb7caef13ab9bdd49b48e489fbad50fac5bf0028eed5b10aaaba2e27"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): ICSharpCode.Decompiler/IL/InstructionOutputExtensions.cs:228-232 | ICSharpCode.Decompiler/IL/InstructionOutputExtensions.cs:280-284 \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":"ICSharpCode.Decompiler/IL/InstructionOutputExtensions.cs"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe5fe274787faa6cd9e4f59c18368832ca9c68be78d79f7661cb95ea83721da0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): ILSpy/ContextMenuEntry.cs:86-92 | ILSpy/ContextMenuEntry.cs:115-127 \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 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":"ILSpy/ContextMenuEntry.cs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"138745abe739b44f7311dd56cd4efdabdf0a97d446e4f9da2275d8937d20fcbf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): ILSpy/Metadata/CorTables/FieldLayoutTableTreeNode.cs:45-49 | ILSpy/Metadata/CorTables/FieldRVATableTreeNode.cs:46-50 \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 \u0060ILSpy/Metadata/CorTables/FieldLayoutTableTreeNode.cs:45\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":"ILSpy/Metadata/CorTables/FieldLayoutTableTreeNode.cs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"6122e787129bde16656c48732774f3757c1e40dcff2bd18943c590939f38fe9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): ILSpy/TreeNodes/CursorResourceEntryNode.cs:89-94 | ILSpy/TreeNodes/IconResourceEntryNode.cs:84-89 \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":"ILSpy/TreeNodes/CursorResourceEntryNode.cs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"89217675640187845acd38db1a2d70dc2e7bc7ea5e1f2a29e4e8cb7fa1bdf3c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): ICSharpCode.Decompiler/TypeSystem/ApplyAttributeTypeVisitor.cs:70-74 | ICSharpCode.Decompiler/TypeSystem/ApplyAttributeTypeVisitor.cs:84-88 | ICSharpCode.Decompiler/TypeSystem/ApplyAttributeTypeVisitor.cs:97-101 | ICSharpCode.Decompiler/TypeSystem/ApplyAttributeTypeVisitor.cs:110-114 \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 \u0060ICSharpCode.Decompiler/TypeSystem/ApplyAttributeTypeVisitor.cs:70\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":"ICSharpCode.Decompiler/TypeSystem/ApplyAttributeTypeVisitor.cs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9c98985782b75b66aacbd40e3245d0b403137b2808935c38fdc212d0dceea1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): ILSpy/Metadata/CorTables/EventMapTableTreeNode.cs:46-51 | ILSpy/Metadata/CorTables/NestedClassTableTreeNode.cs:46-51 | ILSpy/Metadata/CorTables/PropertyMapTableTreeNode.cs:46-51 \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 all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ILSpy/Metadata/CorTables/EventMapTableTreeNode.cs:46\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060ILSpy/Metadata/CorTables/EventMapTableTreeNode.cs:45\u0060 calls \u0060GetTableRowCount\u0060 and \u0060ILSpy/Metadata/CorTables/NestedClassTableTreeNode.cs:45\u0060 does not \u2014 after which the two agree again for 4 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":"ILSpy/Metadata/CorTables/EventMapTableTreeNode.cs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"da4208621cf00ecf5bd6290f7c7cfe3329ffdd67f8a45e2940349434f68451b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): ICSharpCode.Decompiler/CSharp/Syntax/TypeSystemAstBuilder.cs:2410-2415 | ICSharpCode.Decompiler/CSharp/Syntax/TypeSystemAstBuilder.cs:2455-2460 \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 \u0060ICSharpCode.Decompiler/CSharp/Syntax/TypeSystemAstBuilder.cs:2410\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":"ICSharpCode.Decompiler/CSharp/Syntax/TypeSystemAstBuilder.cs"},"region":{"startLine":2410}}}],"partialFingerprints":{"codehealthFindingId/v1":"be4bfc146ee664f08c8eaa9637d5ea922ee16fc0443aaf34e2b2f6d3e9c95cf3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): ICSharpCode.Decompiler/IL/ControlFlow/RuntimeAsyncExceptionRewriteTransform.cs:680-687 | ICSharpCode.Decompiler/IL/ControlFlow/RuntimeAsyncExceptionRewriteTransform.cs:824-829 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060ICSharpCode.Decompiler/IL/ControlFlow/RuntimeAsyncExceptionRewriteTransform.cs:837\u0060 calls \u0060Clone\u0060, \u0060SetILRange\u0060, \u0060Interval\u0060 and \u0060ICSharpCode.Decompiler/IL/ControlFlow/RuntimeAsyncExceptionRewriteTransform.cs:692\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":"ICSharpCode.Decompiler/IL/ControlFlow/RuntimeAsyncExceptionRewriteTransform.cs"},"region":{"startLine":680}}}],"partialFingerprints":{"codehealthFindingId/v1":"94511b5191d87936a3661882a448a96a1189991b425ffee31f7a1e30a977f75e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): ICSharpCode.Decompiler/IL/Transforms/CachedDelegateInitialization.cs:126-130 | ICSharpCode.Decompiler/IL/Transforms/CachedDelegateInitialization.cs:167-171 | ICSharpCode.Decompiler/IL/Transforms/CachedDelegateInitialization.cs:199-203 \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. 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":"ICSharpCode.Decompiler/IL/Transforms/CachedDelegateInitialization.cs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"823af18027e6d462be9f400c6f36083dee73efa07f4fb6099c0e42ef2ce59863"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): ICSharpCode.Decompiler/CSharp/ExpressionBuilder.cs:1061-1065 | ICSharpCode.Decompiler/CSharp/ExpressionBuilder.cs:1101-1105 \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 \u0060ICSharpCode.Decompiler/CSharp/ExpressionBuilder.cs:1061\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":"ICSharpCode.Decompiler/CSharp/ExpressionBuilder.cs"},"region":{"startLine":1061}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ecbacfae885dbad79c26e96fea4e534ce899debcada578bab9241d69a68cb81"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): ILSpy/Languages/CSharpLanguage.cs:182-186 | ILSpy/Languages/CSharpLanguage.cs:188-192 \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. 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":"ILSpy/Languages/CSharpLanguage.cs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"b291516609ad99c7b82285bdc5b2056b9676569278f1303ada3b3522ddb1a40d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): ICSharpCode.BamlDecompiler/Rewrite/AttributeRewritePass.cs:52-59 | ICSharpCode.BamlDecompiler/Rewrite/MarkupExtensionRewritePass.cs:56-63 \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":"ICSharpCode.BamlDecompiler/Rewrite/AttributeRewritePass.cs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a5e482cc1923338cbffde3180ef144ced152ff91f42e9b3b430c5b2bd46b082"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): ICSharpCode.BamlDecompiler/Xaml/XamlUtils.cs:226-234 | ICSharpCode.Decompiler/IL/ILAmbience.cs:514-522 \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":"ICSharpCode.BamlDecompiler/Xaml/XamlUtils.cs"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a2a3c4e7450bc78720a687e5e628f4429a647d3e698b0e494080c5ab79530cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 2): ICSharpCode.Decompiler.PowerShell/TypesParser.cs:32-70 | ICSharpCode.ILSpyCmd/TypesParser.cs:31-69 \u2014 \u0060ICSharpCode.Decompiler.PowerShell/TypesParser.cs\u0060 and \u0060ICSharpCode.ILSpyCmd/TypesParser.cs\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 1 separate duplicated blocks between them, totalling at least 39 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. 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":"ICSharpCode.ILSpyCmd/TypesParser.cs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"9136b1e4a834d65ce4eb7df8c9d61e42068be529b6ff05569f193556acf9a579"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): ICSharpCode.Decompiler/TypeSystem/Implementation/MetadataEvent.cs:99-103 | ICSharpCode.Decompiler/TypeSystem/Implementation/MetadataProperty.cs:188-192 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/TypeSystem/Implementation/MetadataEvent.cs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"a870d12c6dc2497466e12a8ed7378e252864d6cfa2fb599eb4631ea0cb9f1ff3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): ICSharpCode.Decompiler/TypeSystem/Implementation/MetadataMethod.cs:166-172 | ICSharpCode.Decompiler/TypeSystem/Implementation/MetadataProperty.cs:104-110 \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. 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":"ICSharpCode.Decompiler/TypeSystem/Implementation/MetadataMethod.cs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"d272e2ece3cc34cada6fdeb19eafa8694e97a3ecc00fef37b0d1cfb4c7bdad88"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): ICSharpCode.Decompiler/TypeSystem/Implementation/MetadataMethod.cs:176-182 | ICSharpCode.Decompiler/TypeSystem/Implementation/MetadataProperty.cs:114-120 \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. 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":"ICSharpCode.Decompiler/TypeSystem/Implementation/MetadataMethod.cs"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"bffdd258886673b0c5a60e4809fe5cf10a53b6622f74db50d235c7215e5952b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): ILSpy/TextView/DecompilerTextView.axaml.cs:819-823 | ILSpy/Views/MetadataTablePage.axaml.cs:171-175 \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. 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":"ILSpy/TextView/DecompilerTextView.axaml.cs"},"region":{"startLine":819}}}],"partialFingerprints":{"codehealthFindingId/v1":"691feec338a1a3a6c57e04b3884466b11721b623cd217a1a1ff8b5714cc8fd1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): ILSpy/Themes/PreviewTabClassBehavior.cs:73-79 | ILSpy/Themes/PreviewTabContextMenuBehavior.cs:65-74 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Themes/PreviewTabClassBehavior.cs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"f182ac27a362118c062775f32be32a65fcac37750da2a32d6d22e18f2ab0495f"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: ICSharpCode.Decompiler: ICSharpCode.Decompiler: abstractness 0.13, instability 0.00, distance 0.87 \u2014 zone of pain \u2014 concrete and depended on by 5 project(s), so it\u0027s rigid to change."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/ICSharpCode.Decompiler.csproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab9bb3c3c516993ec6d79cd33484fa91e60af6a0dbf684adc2f748d9414ac5ca"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ILInstruction (LCOM4 80): ILInstruction\u0027s methods fall into 80 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 80 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Instructions/ILInstruction.cs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2f09b4bf88cae52024a1bf23c1555d6476da7ef2c9eef29a40e41ce13ea442d"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SecurityDeclarationDecoder (LCOM4 6): SecurityDeclarationDecoder\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/Disassembler/ReflectionDisassembler.cs"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"037925b84d7edd63e96255fb6dd22b723b3b2664008a5d3e8d7f3523472cd6b1"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: MainWindow (LCOM4 5): MainWindow\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Views/MainWindow.axaml.cs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"f300b7f3238bb7c9bcd0dc9ed275f2774a0d37b3d7bb398fbfb5e24f42f1b9f4"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AstType (LCOM4 4): AstType\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/Syntax/AstType.cs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a3f05342c0aad78362934d419793c9f8867f9688a9439d459907878ab13277d"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: Issue379: Skipped \u2014 Need to decide how to represent virtual methods without \u0027newslot\u0027 flag Its body is token-identical to \u0060Issue3320\u0060 at line 54 of this file, which is NOT skipped and passes on every build \u2014 so the reason above is contradicted by this class\u0027s own suite, and re-enabling this test would verify exactly what its twin already verifies. Fix whichever is wrong: delete this test as a duplicate, give it the distinct input it was meant to have, or drop the skip."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/ILPrettyTestRunner.cs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"a12f0fec2722db494c59ff42466b8ac64eaedcfc5a71332b0c2ae3e54a30b63a"}},{"ruleId":"D10","level":"warning","message":{"text":"Depends on a live external host: NormalizePath_Web: This test fetches \u0060http://danielgrunwald.de/path/\u0060 while it runs, so it passes only while danielgrunwald.de is up, reachable from the build machine, and still serving what this test expects \u2014 none of which this repository controls. It goes red on an aeroplane, behind a corporate proxy, in a sealed CI network, and on the day the third party edits that document. Serve the payload from the repository instead (a checked-in fixture file), or stub the transport; if the point really is to check the remote contract, move it out of the unit suite into a separately-scheduled integration job that is allowed to fail for someone else\u0027s reasons."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/Util/FileUtilityTests.cs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f0560a788fe00430abc0b5bb3ec4c108619862562f629d2a67feb41be61bf2c"}},{"ruleId":"D13","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":"c1b527ccb7060939702a9d18b0b0f5ae4abaedcf40576b8d38a048333c2a99db"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","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":"4d27046a8ea3c89325c9dd47946d61b155b93d7cc13b0147b88aa4fe87dab4ea"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ICSharpCode.Decompiler/CSharp/ExpressionBuilder.cs: ICSharpCode.Decompiler/CSharp/ExpressionBuilder.cs changed 40 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 47 in ExpressionBuilder.HandleBinaryNumeric at line 1674. 10 of those changes were fix/bug commits, and the other 30 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 14:35:49 \u002B01:00\u0027 --until=\u00272026-11-11 14:35:49 \u002B01:00\u0027 --full-history --no-merges -- ICSharpCode.Decompiler/CSharp/ExpressionBuilder.cs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/ExpressionBuilder.cs"},"region":{"startLine":1674}}}],"partialFingerprints":{"codehealthFindingId/v1":"331d876e1992bbafa831858c92e97118bcc21c44961cae9ef8d4d948efc13c42"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ICSharpCode.Decompiler/CSharp/CSharpDecompiler.cs: ICSharpCode.Decompiler/CSharp/CSharpDecompiler.cs changed 19 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 76 in CSharpDecompiler.MemberIsHidden at line 427. 3 of those changes were fix/bug commits, and the other 16 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 14:35:49 \u002B01:00\u0027 --until=\u00272026-11-11 14:35:49 \u002B01:00\u0027 --full-history --no-merges -- ICSharpCode.Decompiler/CSharp/CSharpDecompiler.cs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/CSharpDecompiler.cs"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"8960805dcb9db5138f123bdb152d75404dfd790b24d0a3567c518be1e62814ba"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ICSharpCode.Decompiler/IL/Transforms/TransformExpressionTrees.cs: ICSharpCode.Decompiler/IL/Transforms/TransformExpressionTrees.cs changed 21 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 63 in TransformExpressionTrees.ConvertInstruction at line 372. 1 of those changes was a fix/bug commit, and the other 20 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 14:35:49 \u002B01:00\u0027 --until=\u00272026-11-11 14:35:49 \u002B01:00\u0027 --full-history --no-merges -- ICSharpCode.Decompiler/IL/Transforms/TransformExpressionTrees.cs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/TransformExpressionTrees.cs"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"63598a43027db12b1cd2dd7712e2e6209e54dd0a2e7c1cbb1186d5ad16704416"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ICSharpCode.Decompiler/CSharp/CallBuilder.cs: ICSharpCode.Decompiler/CSharp/CallBuilder.cs changed 17 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 73 in CallBuilder.Build at line 389. 1 of those changes was a fix/bug commit, and the other 16 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 14:35:49 \u002B01:00\u0027 --until=\u00272026-11-11 14:35:49 \u002B01:00\u0027 --full-history --no-merges -- ICSharpCode.Decompiler/CSharp/CallBuilder.cs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/CallBuilder.cs"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"229d4f3a5f440165472d41f5a39ba9c7877660053693f46a6f826e825fee5710"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ICSharpCode.ILSpyCmd/IlspyCmdProgram.cs: ICSharpCode.ILSpyCmd/IlspyCmdProgram.cs changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 46 in ILSpyCmdProgram.OnExecuteAsync at line 284. 1 of those changes was a fix/bug commit, and the other 13 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 14:35:49 \u002B01:00\u0027 --until=\u00272026-11-11 14:35:49 \u002B01:00\u0027 --full-history --no-merges -- ICSharpCode.ILSpyCmd/IlspyCmdProgram.cs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyCmd/IlspyCmdProgram.cs"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a4720fbbe9b5dc6bfa89f3cd92df65134e8e718b7b59e17bc86b54ba4702730"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ICSharpCode.Decompiler/CSharp/TranslatedExpression.cs: ICSharpCode.Decompiler/CSharp/TranslatedExpression.cs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 130 in TranslatedExpression.ConvertTo at line 209. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 14:35:49 \u002B01:00\u0027 --until=\u00272026-11-11 14:35:49 \u002B01:00\u0027 --full-history --no-merges -- ICSharpCode.Decompiler/CSharp/TranslatedExpression.cs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/TranslatedExpression.cs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"85a4d8aa72662998e0088a0d1bb2c31326124a63550013ec706b3c3d8351d7d4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ICSharpCode.Decompiler/CSharp/Resolver/TypeInference.cs: ICSharpCode.Decompiler/CSharp/Resolver/TypeInference.cs changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 51 in TypeInference.MergeSimilarTypes at line 1032. 2 of those changes were fix/bug commits, and the other 7 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 14:35:49 \u002B01:00\u0027 --until=\u00272026-11-11 14:35:49 \u002B01:00\u0027 --full-history --no-merges -- ICSharpCode.Decompiler/CSharp/Resolver/TypeInference.cs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/Resolver/TypeInference.cs"},"region":{"startLine":1032}}}],"partialFingerprints":{"codehealthFindingId/v1":"250293eb8c6d4d77fcdb702a47bdf260cbc6f7a1a4f96a8a3a0e0462d44c9602"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ICSharpCode.Decompiler/CSharp/Syntax/TypeSystemAstBuilder.cs: ICSharpCode.Decompiler/CSharp/Syntax/TypeSystemAstBuilder.cs changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 45 in TypeSystemAstBuilder.ConvertTypeHelper at line 311. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 14:35:49 \u002B01:00\u0027 --until=\u00272026-11-11 14:35:49 \u002B01:00\u0027 --full-history --no-merges -- ICSharpCode.Decompiler/CSharp/Syntax/TypeSystemAstBuilder.cs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/Syntax/TypeSystemAstBuilder.cs"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"f008b396b017c544e6c505580379faa812ac0e52ab7ab563b74c16a3b80e4973"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ICSharpCode.Decompiler/IL/Instructions/Block.cs: ICSharpCode.Decompiler/IL/Instructions/Block.cs changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 49 in Block.CheckInvariant at line 126. 2 of those changes were fix/bug commits, and the other 4 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 14:35:49 \u002B01:00\u0027 --until=\u00272026-11-11 14:35:49 \u002B01:00\u0027 --full-history --no-merges -- ICSharpCode.Decompiler/IL/Instructions/Block.cs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Instructions/Block.cs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"9104a8024b816d5ca5a1fb6d7e9a46bfbce14b5e8ef9dc6378d0d5a5372d087b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ICSharpCode.Decompiler/IL/Transforms/NullPropagationTransform.cs: ICSharpCode.Decompiler/IL/Transforms/NullPropagationTransform.cs changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 48 in NullPropagationTransform.IsValidAccessChain at line 255. 2 of those changes were fix/bug commits, and the other 4 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 14:35:49 \u002B01:00\u0027 --until=\u00272026-11-11 14:35:49 \u002B01:00\u0027 --full-history --no-merges -- ICSharpCode.Decompiler/IL/Transforms/NullPropagationTransform.cs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/NullPropagationTransform.cs"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf4f48134c7b3948bbcf8446834e294a3451796d764f7369dfe7c2153d50dbc0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ILSpy/Controls/TreeView/SharpTreeView.cs: ILSpy/Controls/TreeView/SharpTreeView.cs changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in SharpTreeView.OnKeyDown at line 462. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 14:35:49 \u002B01:00\u0027 --until=\u00272026-11-11 14:35:49 \u002B01:00\u0027 --full-history --no-merges -- ILSpy/Controls/TreeView/SharpTreeView.cs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Controls/TreeView/SharpTreeView.cs"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"40c3add15bb0e8814670d59873c8dbe34aa3a41e967ef0d9e1e533299a383edc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ICSharpCode.Decompiler/IL/Transforms/ExpressionTransforms.cs: ICSharpCode.Decompiler/IL/Transforms/ExpressionTransforms.cs changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in ExpressionTransforms.VisitComp at line 90. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 14:35:49 \u002B01:00\u0027 --until=\u00272026-11-11 14:35:49 \u002B01:00\u0027 --full-history --no-merges -- ICSharpCode.Decompiler/IL/Transforms/ExpressionTransforms.cs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/ExpressionTransforms.cs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"d05cceaafbbd88b729e912a4ec3f8c317dfc3475af6dc9d111f38b28bd62f121"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ICSharpCode.Decompiler/CSharp/ProjectDecompiler/WholeProjectDecompiler.cs: ICSharpCode.Decompiler/CSharp/ProjectDecompiler/WholeProjectDecompiler.cs changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in WholeProjectDecompiler.WriteCodeFilesInProject at line 356. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 14:35:49 \u002B01:00\u0027 --until=\u00272026-11-11 14:35:49 \u002B01:00\u0027 --full-history --no-merges -- ICSharpCode.Decompiler/CSharp/ProjectDecompiler/WholeProjectDecompiler.cs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/ProjectDecompiler/WholeProjectDecompiler.cs"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"72a032e48881bb3fd53ae87e8d2e4a4cf78fe1cf060279aa3f62218b569677a6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ILSpy/Languages/CSharpLanguage.cs: ILSpy/Languages/CSharpLanguage.cs changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in CSharpLanguage.DecompileAssembly at line 447. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 14:35:49 \u002B01:00\u0027 --until=\u00272026-11-11 14:35:49 \u002B01:00\u0027 --full-history --no-merges -- ILSpy/Languages/CSharpLanguage.cs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Languages/CSharpLanguage.cs"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"62623df1ad2e06295ed867e87f6fbcd95d7a2ba9034f8f58b40acfba7aee6e8a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ICSharpCode.Decompiler/IL/Transforms/LocalFunctionDecompiler.cs: ICSharpCode.Decompiler/IL/Transforms/LocalFunctionDecompiler.cs changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in LocalFunctionDecompiler.DetermineCaptureAndDeclarationScope at line 710. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 14:35:49 \u002B01:00\u0027 --until=\u00272026-11-11 14:35:49 \u002B01:00\u0027 --full-history --no-merges -- ICSharpCode.Decompiler/IL/Transforms/LocalFunctionDecompiler.cs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/LocalFunctionDecompiler.cs"},"region":{"startLine":710}}}],"partialFingerprints":{"codehealthFindingId/v1":"627bfb91e4a9cdc5cd4f4b6dbc249794b23ff407e713ce656b3a473272fdb6df"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ICSharpCode.Decompiler/CSharp/Transforms/PatternStatementTransform.cs: ICSharpCode.Decompiler/CSharp/Transforms/PatternStatementTransform.cs changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in PatternStatementTransform.TransformAutomaticProperty at line 759. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 14:35:49 \u002B01:00\u0027 --until=\u00272026-11-11 14:35:49 \u002B01:00\u0027 --full-history --no-merges -- ICSharpCode.Decompiler/CSharp/Transforms/PatternStatementTransform.cs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/Transforms/PatternStatementTransform.cs"},"region":{"startLine":759}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f66a9d691894bd3659fec0b7080d852ce98af7a421f14af62caf394070429cd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ICSharpCode.Decompiler/TypeSystem/DecompilerTypeSystem.cs: ICSharpCode.Decompiler/TypeSystem/DecompilerTypeSystem.cs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 43 in DecompilerTypeSystem.InitializeCoreAsync at line 472. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 14:35:49 \u002B01:00\u0027 --until=\u00272026-11-11 14:35:49 \u002B01:00\u0027 --full-history --no-merges -- ICSharpCode.Decompiler/TypeSystem/DecompilerTypeSystem.cs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/TypeSystem/DecompilerTypeSystem.cs"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"13e50ba72d2823a644b112bfa4a16728098755a961149cea6d0ed23c0c13612e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ICSharpCode.Decompiler/CSharp/Disambiguator.cs: ICSharpCode.Decompiler/CSharp/Disambiguator.cs changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 15 in Disambiguator.IsUnambiguousCall at line 684. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 14:35:49 \u002B01:00\u0027 --until=\u00272026-11-11 14:35:49 \u002B01:00\u0027 --full-history --no-merges -- ICSharpCode.Decompiler/CSharp/Disambiguator.cs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/Disambiguator.cs"},"region":{"startLine":684}}}],"partialFingerprints":{"codehealthFindingId/v1":"93f589ffb52d0e447211b6266d0525d48ad24c0eb711bffa82eb4099fc1985b6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ICSharpCode.Decompiler/Metadata/UniversalAssemblyResolver.cs: ICSharpCode.Decompiler/Metadata/UniversalAssemblyResolver.cs changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in UniversalAssemblyResolver.ResolveInternal at line 496. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 14:35:49 \u002B01:00\u0027 --until=\u00272026-11-11 14:35:49 \u002B01:00\u0027 --full-history --no-merges -- ICSharpCode.Decompiler/Metadata/UniversalAssemblyResolver.cs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/Metadata/UniversalAssemblyResolver.cs"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"786f40340e38cc03abd6c268c416ded74d180e0b734d7a4a4df66223a558461e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ICSharpCode.Decompiler/IL/Transforms/NullableLiftingTransform.cs: ICSharpCode.Decompiler/IL/Transforms/NullableLiftingTransform.cs changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in NullableLiftingTransform.LiftNormal at line 771. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 14:35:49 \u002B01:00\u0027 --until=\u00272026-11-11 14:35:49 \u002B01:00\u0027 --full-history --no-merges -- ICSharpCode.Decompiler/IL/Transforms/NullableLiftingTransform.cs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/NullableLiftingTransform.cs"},"region":{"startLine":771}}}],"partialFingerprints":{"codehealthFindingId/v1":"d63bfb28a499966fe02ca28bc36ed6f04c48ab035c3cfd413191c6e2b4bf6469"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ILSpy/TextView/DecompilerTabPageModel.cs: ILSpy/TextView/DecompilerTabPageModel.cs changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in DecompilerTabPageModel.DecompileAsync at line 553. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 14:35:49 \u002B01:00\u0027 --until=\u00272026-11-11 14:35:49 \u002B01:00\u0027 --full-history --no-merges -- ILSpy/TextView/DecompilerTabPageModel.cs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/TextView/DecompilerTabPageModel.cs"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"200df4c7f9f87c7a364f9def2b97cf04396147f5b49c22b4d6f658fe8eee6a80"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ICSharpCode.Decompiler/CSharp/ProjectDecompiler/ProjectFileWriterDefault.cs: ICSharpCode.Decompiler/CSharp/ProjectDecompiler/ProjectFileWriterDefault.cs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in ProjectFileWriterDefault.Write at line 47. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 14:35:49 \u002B01:00\u0027 --until=\u00272026-11-11 14:35:49 \u002B01:00\u0027 --full-history --no-merges -- ICSharpCode.Decompiler/CSharp/ProjectDecompiler/ProjectFileWriterDefault.cs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/ProjectDecompiler/ProjectFileWriterDefault.cs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d31acdc03d359076b1c6e12ae379440f10ffcda852d58340f13f60d4f9b9fc9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ICSharpCode.BamlDecompiler/BamlDecompilerTypeSystem.cs: ICSharpCode.BamlDecompiler/BamlDecompilerTypeSystem.cs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in BamlDecompilerTypeSystem.BamlDecompilerTypeSystem.ctor at line 74. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 14:35:49 \u002B01:00\u0027 --until=\u00272026-11-11 14:35:49 \u002B01:00\u0027 --full-history --no-merges -- ICSharpCode.BamlDecompiler/BamlDecompilerTypeSystem.cs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.BamlDecompiler/BamlDecompilerTypeSystem.cs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"45440f62bcacfbe313f6369632148ecd5b5e9b4ee2943ec313165eae05e77f2f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ICSharpCode.ILSpyX/TreeView/SharpTreeNode.cs: ICSharpCode.ILSpyX/TreeView/SharpTreeNode.cs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in SharpTreeNode.OnChildrenChanged at line 202. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 14:35:49 \u002B01:00\u0027 --until=\u00272026-11-11 14:35:49 \u002B01:00\u0027 --full-history --no-merges -- ICSharpCode.ILSpyX/TreeView/SharpTreeNode.cs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/TreeView/SharpTreeNode.cs"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6111fac8881e178fc6f7fd8ec9d54ebb74d6686d47cabcc8ca4a03c070225f0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ICSharpCode.Decompiler/IL/Transforms/TransformArrayInitializers.cs: ICSharpCode.Decompiler/IL/Transforms/TransformArrayInitializers.cs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 15 in TransformArrayInitializers.DoTransform at line 61. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 14:35:49 \u002B01:00\u0027 --until=\u00272026-11-11 14:35:49 \u002B01:00\u0027 --full-history --no-merges -- ICSharpCode.Decompiler/IL/Transforms/TransformArrayInitializers.cs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/TransformArrayInitializers.cs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d4ed697f6fbbb4a6784b95b5a3e9617d7949bd27d389f508375e3c6c8016c31"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ICSharpCode.Decompiler/Disassembler/ReflectionDisassembler.cs: ICSharpCode.Decompiler/Disassembler/ReflectionDisassembler.cs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 15 in ReflectionDisassembler.WriteParameters at line 1177. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 14:35:49 \u002B01:00\u0027 --until=\u00272026-11-11 14:35:49 \u002B01:00\u0027 --full-history --no-merges -- ICSharpCode.Decompiler/Disassembler/ReflectionDisassembler.cs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/Disassembler/ReflectionDisassembler.cs"},"region":{"startLine":1177}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc34ff0d8a35efef3c4e9b65a78ceadc03233d5930a380a4e91213aa7b4a19b1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ICSharpCode.Decompiler/CSharp/Transforms/DeclareVariables.cs: ICSharpCode.Decompiler/CSharp/Transforms/DeclareVariables.cs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in DeclareVariables.InsertVariableDeclarations at line 613. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 14:35:49 \u002B01:00\u0027 --until=\u00272026-11-11 14:35:49 \u002B01:00\u0027 --full-history --no-merges -- ICSharpCode.Decompiler/CSharp/Transforms/DeclareVariables.cs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/Transforms/DeclareVariables.cs"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c81ef62302bf2008f6ab9bb44da5c1109eb5323edc9cd965801def1fc282c6d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ICSharpCode.Decompiler/TypeSystem/TypeUtils.cs: ICSharpCode.Decompiler/TypeSystem/TypeUtils.cs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in TypeUtils.GetStackType at line 263. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 14:35:49 \u002B01:00\u0027 --until=\u00272026-11-11 14:35:49 \u002B01:00\u0027 --full-history --no-merges -- ICSharpCode.Decompiler/TypeSystem/TypeUtils.cs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/TypeSystem/TypeUtils.cs"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6ad31961d7c4519d1914c776080b51c6df6afc69f823714813f7b60b63e48d6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ICSharpCode.Decompiler/IL/Transforms/TransformAssignment.cs: ICSharpCode.Decompiler/IL/Transforms/TransformAssignment.cs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in TransformAssignment.TransformPreIncDecOperatorWithInlineStore at line 861. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 14:35:49 \u002B01:00\u0027 --until=\u00272026-11-11 14:35:49 \u002B01:00\u0027 --full-history --no-merges -- ICSharpCode.Decompiler/IL/Transforms/TransformAssignment.cs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/TransformAssignment.cs"},"region":{"startLine":861}}}],"partialFingerprints":{"codehealthFindingId/v1":"10147863c25d77257048d2f2df7cbdf05e936844ab6af25471ed56594bb1f608"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ICSharpCode.Decompiler/IL/Transforms/NamedArgumentTransform.cs: ICSharpCode.Decompiler/IL/Transforms/NamedArgumentTransform.cs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in NamedArgumentTransform.CanIntroduceNamedArgument at line 43. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 14:35:49 \u002B01:00\u0027 --until=\u00272026-11-11 14:35:49 \u002B01:00\u0027 --full-history --no-merges -- ICSharpCode.Decompiler/IL/Transforms/NamedArgumentTransform.cs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/NamedArgumentTransform.cs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"75705e5ae00537e1e7bf2d766b0bcef82575c47ef5676af47df4049e97f4e204"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ICSharpCode.Decompiler/IL/Transforms/DynamicCallSiteTransform.cs: ICSharpCode.Decompiler/IL/Transforms/DynamicCallSiteTransform.cs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in DynamicCallSiteTransform.TransformCallSites at line 73. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 14:35:49 \u002B01:00\u0027 --until=\u00272026-11-11 14:35:49 \u002B01:00\u0027 --full-history --no-merges -- ICSharpCode.Decompiler/IL/Transforms/DynamicCallSiteTransform.cs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/DynamicCallSiteTransform.cs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebaa62b35e853c028c919ab05d01f59ea362274111cc2005df849de3727cd8c2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ICSharpCode.Decompiler/TypeSystem/Implementation/MetadataTypeDefinition.cs: ICSharpCode.Decompiler/TypeSystem/Implementation/MetadataTypeDefinition.cs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 15 in MetadataTypeDefinition.MetadataTypeDefinition.ctor at line 65. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 14:35:49 \u002B01:00\u0027 --until=\u00272026-11-11 14:35:49 \u002B01:00\u0027 --full-history --no-merges -- ICSharpCode.Decompiler/TypeSystem/Implementation/MetadataTypeDefinition.cs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/TypeSystem/Implementation/MetadataTypeDefinition.cs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"f15505efb13b8fc3ddab215fbeadd4f41e0da3bdafc6360667d817f18e8b449e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ICSharpCode.Decompiler/Semantics/Conversion.cs: ICSharpCode.Decompiler/Semantics/Conversion.cs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in BuiltinConversion.ToString at line 275. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 14:35:49 \u002B01:00\u0027 --until=\u00272026-11-11 14:35:49 \u002B01:00\u0027 --full-history --no-merges -- ICSharpCode.Decompiler/Semantics/Conversion.cs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/Semantics/Conversion.cs"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebb2a979e82171bc86a9320b59a50cdef0c396baf08ce187580bf67810e06283"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ICSharpCode.Decompiler/Util/ResourcesFile.cs: ICSharpCode.Decompiler/Util/ResourcesFile.cs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 15 in ResourcesFile.ResourcesFile.ctor at line 111. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 14:35:49 \u002B01:00\u0027 --until=\u00272026-11-11 14:35:49 \u002B01:00\u0027 --full-history --no-merges -- ICSharpCode.Decompiler/Util/ResourcesFile.cs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/Util/ResourcesFile.cs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9bddea95e79d16a16051ef5f0c743a38360fe105561a586725b831e322bf445"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: ILSpy/TextView/DecompilerTextEditor.cs: ILSpy/TextView/DecompilerTextEditor.cs changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 4 (its worst body is DecompilerTextEditor.ApplyFontSettings at line 96), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201CFix #4173, #4219: scroll the editor by lines and pages, not fixed pixels\u201D; \u201CFix live line number margin toggle\u201D; \u201CFix search result highlight contrast\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 14:35:49 \u002B01:00\u0027 --until=\u00272026-11-11 14:35:49 \u002B01:00\u0027 --full-history --no-merges -- ILSpy/TextView/DecompilerTextEditor.cs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/TextView/DecompilerTextEditor.cs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"f77d7ba1f8a7f013f92bc210b512d6924e2ba593b91b88ddd50b3859a2e92a42"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 230 significant file(s) lose their only recent owner: ICSharpCode.Decompiler/CSharp/Transforms/PatternStatementTransform.cs, ILSpy/Docking/DockWorkspace.cs, ICSharpCode.Decompiler/CSharp/Resolver/OverloadResolution.cs, ILSpy/Languages/CSharpLanguage.cs, ICSharpCode.Decompiler/CSharp/Resolver/CSharpOperators.cs, ILSpy/TextView/DecompilerTabPageModel.cs, ILSpy/TreeNodes/AssemblyTreeNode.cs, ICSharpCode.ILSpyX/TreeView/SharpTreeNode.cs (\u002B222 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"cdfdd9d125d954ab0c64538b67359d9a9bf8ae3aea19d93666a43f0f9d2ded9e"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #2: If anonymized user #2 becomes unavailable, 12 significant file(s) lose their only recent owner: ICSharpCode.BamlDecompiler/Baml/BamlRecords.cs, ICSharpCode.Decompiler/Instrumentation/DecompilerEventSource.cs, ILSpy/ViewModels/OpenFromNuGetFeedDialogViewModel.cs, ICSharpCode.BamlDecompiler/Baml/BamlReader.cs, ILSpy/Controls/TreeView/TreeContextMenuController.cs, ICSharpCode.Decompiler/DecompilerException.cs, ICSharpCode.Decompiler/SingleFileBundle.cs, ILSpy/NuGetFeeds/NuGetFeedClient.cs (\u002B4 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"e3809230de65e7ccd7845f6149bbf2dcbe803daa3d8caf267e54844f6420d8a2"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 3 other contributor(s) are each the sole owner of a small amount of code below the off-boarding threshold \u2014 folded into the bus-factor score and metrics (246 single-owned of 511 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 511 of the 674 production source files in this repository met that bar). They are anonymized user #3 (2 file(s)), anonymized user #4 (1 file(s)), anonymized user #5 (1 file(s)) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above. The files folded here: ICSharpCode.Decompiler/TypeSystem/KnownTypeCode.cs, ICSharpCode.Decompiler/TypeSystem/Implementation/MergedNamespace.cs, ICSharpCode.Decompiler/TypeSystem/IParameter.cs, ICSharpCode.BamlDecompiler/Rewrite/AttributeRewritePass.cs."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj \u2014 23 warning codes suppressed in one element: A single \u003CNoWarn\u003E suppresses 23 warning codes (1701;1702;1705;67;169;1058;728;1720;649;168;251;660;661;675;1998;162;8632;626;8618;8714;8602;8981;NU1903) in one stroke \u2014 one team-wide decision, not 23 independent debts. Review the set centrally rather than code-by-code; each code you can re-enable is one less blanket suppression. (Every code still counts toward the score and metrics.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/ICSharpCode.Decompiler.Tests.csproj"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"362d30289b6daf6b9f24fa534e9e189518fa4a8fefb766836055557935138749"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: What to do here? \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":"ICSharpCode.BamlDecompiler/Handlers/Records/ContentPropertyHandler.cs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"83a75b24c4a2521d4b07dc5e269840e6f821d603007e32bb6c7fa5aa770bc860"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Convert to enum names \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":"ICSharpCode.BamlDecompiler/Handlers/Records/PropertyCustomHandler.cs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7a305ef71b7725efb397d34f7836599e304bbefb25234d6d7a01f811e4154a7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO : implement xmlns resolver! \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":"ICSharpCode.BamlDecompiler/Rewrite/ConnectionIdRewritePass.cs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"d96d65a113146fa995ce96861f317dcddb5a9f7182aa33956110686de6b69acd"}},{"ruleId":"D17","level":"error","message":{"text":"FileScopedPragmaDisable: #pragma warning disable 169, 67 \u2014 the disable has no matching restore anywhere in this file, so it does not end with the construct that needed it: it runs to the end of the file and silences the rule for everything written below, including code added years later that nobody weighed against it. Close it with the matching restore directive immediately after the construct it covers \u2014 that alone turns a standing exemption into a scoped one \u2014 or fix the cause and drop the directive entirely."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/Output/CSharpAmbienceTests.cs"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"45e00893532afaada08875708651d3b13396057d0ea34bc62402cc3347b45cb8"}},{"ruleId":"D17","level":"error","message":{"text":"FileScopedPragmaDisable: #pragma warning disable 169, 67 \u2014 the disable has no matching restore anywhere in this file, so it does not end with the construct that needed it: it runs to the end of the file and silences the rule for everything written below, including code added years later that nobody weighed against it. Close it with the matching restore directive immediately after the construct it covers \u2014 that alone turns a standing exemption into a scoped one \u2014 or fix the cause and drop the directive entirely."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/Output/ILAmbienceTests.cs"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2ee1c3fd401b81eae843eeac22b94191ec8eba3a2512e17caaca73b2a36fde8"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private CompilerOptions[] noRoslynOptions \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/PrettyTestRunner.cs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"820fe45749ed71330c91b83efdfaa6a686e644f7801879fcc0e42a9923807540"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private CompilerOptions[] noRoslynOptions \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/UglyTestRunner.cs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bc7378632e552876b0380cf8daaa6c616daa603b32af6a68bc93a1db82cb3b4"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/Semantics/ConversionTests.cs"},"region":{"startLine":1033}}}],"partialFingerprints":{"codehealthFindingId/v1":"593ccd56e44a73a19c87dd182c9beadca91131deec2c52b16d340fd273454b4e"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/Semantics/ConversionTests.cs"},"region":{"startLine":1051}}}],"partialFingerprints":{"codehealthFindingId/v1":"443d5ecb8a4513dc9109f209b993e7b787d0cc94fa8da9a9a145ed2c7715a4de"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/CompoundAssignmentTest.cs"},"region":{"startLine":2184}}}],"partialFingerprints":{"codehealthFindingId/v1":"550176c4702696b9ea5435cc4e52f8f4496e8d43dcd0d74237d5305130fc12bd"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/CompoundAssignmentTest.cs"},"region":{"startLine":5245}}}],"partialFingerprints":{"codehealthFindingId/v1":"e563d5531966921232d340efa7b279f28e2bfd10776d12d63cb7adc3a0516d86"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/ControlFlow/AwaitInCatchTransform.cs"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc9d61877336cc39b0887a70f1406a4d28d6640d8f3ee26b6ad33c7b0f380a24"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/ControlFlow/AwaitInCatchTransform.cs"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"eebca6a8bd766a45b9cf6b020f41f9a0ce2a07fd390282d58a1329c6b2ba690e"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/TreeView/SharpTreeNode.cs"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"3023c44b29d04ff40cc04f31617a4a529a0f0c03e4c2cd77f10c06a0370edc81"}},{"ruleId":"D17","level":"error","message":{"text":"FileScopedPragmaDisable: #pragma warning disable 652 \u2014 the disable has no matching restore anywhere in this file, so it does not end with the construct that needed it: it runs to the end of the file and silences the rule for everything written below, including code added years later that nobody weighed against it. Close it with the matching restore directive immediately after the construct it covers \u2014 that alone turns a standing exemption into a scoped one \u2014 or fix the cause and drop the directive entirely."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Correctness/Comparisons.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"51d4ff94be206220a08ac328c17ed518e35cc7127d7d4d582ebb9cc300174602"}},{"ruleId":"D17","level":"error","message":{"text":"FileScopedPragmaDisable: #pragma warning disable CS9099, CS9100 \u2014 the disable has no matching restore anywhere in this file, so it does not end with the construct that needed it: it runs to the end of the file and silences the rule for everything written below, including code added years later that nobody weighed against it. Close it with the matching restore directive immediately after the construct it covers \u2014 that alone turns a standing exemption into a scoped one \u2014 or fix the cause and drop the directive entirely."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Correctness/LambdaOptionalAndParamsParameters.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcad4ec5085ce5075b0bae4001a28d31551635a2d399ebfece5b2917dd24e58b"}},{"ruleId":"D17","level":"error","message":{"text":"FileScopedPragmaDisable: #pragma warning disable CS9099, CS9100 \u2014 the disable has no matching restore anywhere in this file, so it does not end with the construct that needed it: it runs to the end of the file and silences the rule for everything written below, including code added years later that nobody weighed against it. Close it with the matching restore directive immediately after the construct it covers \u2014 that alone turns a standing exemption into a scoped one \u2014 or fix the cause and drop the directive entirely."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/LambdaOptionalAndParamsParameters.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8e18ee7787d92e811efcb1718f614100fb2c26a010569e342758c0aa470025e"}},{"ruleId":"D17","level":"error","message":{"text":"FileScopedPragmaDisable: #pragma warning disable CS9193 \u2014 the disable has no matching restore anywhere in this file, so it does not end with the construct that needed it: it runs to the end of the file and silences the rule for everything written below, including code added years later that nobody weighed against it. Close it with the matching restore directive immediately after the construct it covers \u2014 that alone turns a standing exemption into a scoped one \u2014 or fix the cause and drop the directive entirely."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Correctness/OverloadResolution.cs"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"688291e9241c02a8763342e0d9fd2dc17dad77b5ff8bbee6054ef42f43873d79"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private int thisValue \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Correctness/PropertiesAndEvents.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"56f7c8c25b7057fe3093dc64627d73b6493bb9dfec4c3392f640ab99b2c33ee6"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable CS0162 \u2014 the disable is closed again below, so its scope is not the problem; what it records is no reason: there is nothing on the directive line, and no ordinary comment attached to it either side. A suppression is a decision somebody made, and without the reason the next reader cannot tell a considered exception from an unexamined one, so it is never revisited and it outlives the code it was written for. Put the reason on the directive line \u2014 what makes this site legitimately different \u2014 or fix what the rule is pointing at and delete the pair. A rationale in the member\u0027s documentation comment does not clear this row and is not meant to: it explains the member to its callers, and the next person to touch the suppression is not reading it for that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Correctness/Switch.cs"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aea61d96d3914a465426018b7afc2ddadeb0fc6db40cbb4248f21f5646a302d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: test behavior, or convert this into a pretty-test \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":"ICSharpCode.Decompiler.Tests/TestCases/Correctness/UnsafeCode.cs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"36d389dbe08313dd768d699aaf84be6c50fde538927423f1945aeb1c0d50da68"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: check anon methods \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":"ICSharpCode.Decompiler.Tests/TestCases/Correctness/YieldReturn.cs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeefee58a56fc8501c36d1e09e99203086f00296dabb4fa36220c5ab19b831f7"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if EXPECTED_OUTPUT \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/ILPretty/Issue3465.cs"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"60bbb52259ebe956ce4bb2ed8763844bcbbbadae77fdb056727d33de0497c163"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if EXPECTED_OUTPUT \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/ILPretty/NegativeReadOnlySpanLength.cs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"64808c278bf2bf85373739de47969c33072f12f0655f22553c2e7596c54ca55d"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if EXPECTED_OUTPUT \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/ConstructorInitializers.cs"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef733bc606f16085a0ed5de532a3a301136408920c61f183ea281aa109672a0c"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if EXPECTED_OUTPUT \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/ConstructorInitializers.cs"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"1933678b583a4234cc293fefbaff6e79ece2fc0767164f81c5e87ce8591c9f5a"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if EXPECTED_OUTPUT \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/ConstructorInitializers.cs"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"e789c9389b945432dbb275aaedb6efe6c02ed3eca9fc61ce299b97e9b8eebb5e"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if EXPECTED_OUTPUT \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/ConstructorInitializers.cs"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"463df67cd5c429313f227f82f66c3494e7163a8ffe91d0b1ee7ce37f70eada39"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if EXPECTED_OUTPUT \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/ConstructorInitializers.cs"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"82b92483af6fb64f7356fa6e78b7cf73b6e8f4c2126bc4edb2700ace0f4f92a1"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if EXPECTED_OUTPUT \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/ConstructorInitializers.cs"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"862b50157f3e43674de4594700c0237332d0426dfd002f1142a011fb833e7b10"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if EXPECTED_OUTPUT \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/ConstructorInitializers.cs"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"d87e2aed7b6c891f76cffd18396c0bc12448bf28b59c81a14a7858ae1f93b7c1"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if EXPECTED_OUTPUT \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/DelegateConstruction.cs"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc8d8ec3efae6fe1c8f9294ee0ca59022cffa5e856c8c0722f9744116e96ee76"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if EXPECTED_OUTPUT \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/Issue3965.cs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"711109db3a1e9a3a52c18bbd5ff31218e1a4ba6d46b8c626546671d53dadfa7a"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if EXPECTED_OUTPUT \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/Issue3965.cs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"860b5c5c7f83e4e7d32f49fbf19d499c29ef2cc0cf1bd31e0e75fece2534ceac"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if EXPECTED_OUTPUT \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/Issue3965.cs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b88b36a61b19e27f939985ff4fc14f097935e955b343108b319f0f606403205"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if EXPECTED_OUTPUT \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/Issue3965.cs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"67f776ba3b81cae13db608d0adf5c46b2f9760e2ac12497c1fa27469e52514d8"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if EXPECTED_OUTPUT \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/Issue3965.cs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"06038f64d3f3962a768b37d4805b3b589d67ab169d5b8298739620b38af25938"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if EXPECTED_OUTPUT \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/Issue3965.cs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"3794cf17d55cee501d4446e980056451fd6b2242dafe63356bfd5f4dfad2de99"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if EXPECTED_OUTPUT \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/Issue3965.cs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"00c86b57b532acf40e470990a4f5cf69e8172b08397669b0df0dc6dba028cdb7"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if EXPECTED_OUTPUT \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/Issue3965.cs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bce01688dfac14bba3caf21c8f21e7bf14b9a98ef163ceb277e5a907df6ad4d"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if EXPECTED_OUTPUT \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/LiftedOperators.cs"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f3c3c8890f03ac62c8d14001c318f200a7ab0898aa966872a95ff0553dd32df"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if EXPECTED_OUTPUT \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/NullPropagation.cs"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"a317074e2b729590441b1cdf0e708e639a3986f9404e80ca7d87ba7fe5ab2243"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if EXPECTED_OUTPUT \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/Records.cs"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae80c4cc65c06a6511d17ac0d7790685c557d642046361da082b0f87247d5b68"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if EXPECTED_OUTPUT \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/VariableNamingWithoutSymbols.cs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"9098724ac43697d0ba84c418e5fc222386fe5052e2787e2871279a7646094dfc"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if EXPECTED_OUTPUT \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/VBPretty/Issue2199.cs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"053c4d1dd5686da5856b3c286ad8b4fd47d3396e183cca9cf684b142ed06094a"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if OPT \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/AnonymousTypes.cs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"845dff6e5b52aca1f32a4a1ea453d17c051c914cc933111defed3bb5aa44027c"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if OPT \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/FirstClassSpanTypes.cs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b39989fb962eb48e737efe533fa211ec557a2a674a623538b79b5ffcd275dcd"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if OPT \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/Issue3598.cs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b7635df2746eb274d6c2508ceef6f975aaeabe0cd367537d7b26d0b667f8369"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if OPT \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/Issue3598.cs"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c1c918af852fce5918afe5caf791216ebfa305196a63ffe5fe67a9862860372"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if OPT \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/Issue3877.cs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"609164b4b528d5933fcbc616861ca0e40c393f7d2f1f91353b773cbb6843f359"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if OPT \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/PatternMatching.cs"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"803ae468abcf4539ee58b9a409d436bea4db9c5798f4d819db3c34e72997b064"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if OPT \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/Switch.cs"},"region":{"startLine":938}}}],"partialFingerprints":{"codehealthFindingId/v1":"280993fb81aeb78314ca379e6714ccfecf1dad09714d5c66a78442fc8a67a698"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if OPT \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/Switch.cs"},"region":{"startLine":979}}}],"partialFingerprints":{"codehealthFindingId/v1":"31811da99a3f477fe08d6a4b1bc0764e2e7492d68872d40bd9825cda4f5a9dd7"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if OPT \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/Switch.cs"},"region":{"startLine":1025}}}],"partialFingerprints":{"codehealthFindingId/v1":"48b852e3dd824d0c0292a328210a11675f6effa77d21c215e92a0e2785c0f388"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if OPT \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/Switch.cs"},"region":{"startLine":1129}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3b57e2900e4950ebb1ebdd070f1fa7cf9e2826418d62b3bff48bb5705fc2e25"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if RUNTIMEASYNC \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/Async.cs"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ff33d6de539b62c57729e9cb1088dc05d5d1aa220f18259160323508abf75ad"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] PropertyWithAttributeOnBackingField"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/AutoProperties.cs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e9fc1ce256eea2a2424c53d6f807b423a145e5b35bf675ec33a7c1898ad2e1f"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if MCS2 \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/AutomaticEvents.cs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"84731471880f90991307223238f8cd867a5b840dd7796691323c637f08364285"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if MCS2 \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/AutomaticEvents.cs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"40da73b9923da966f4977961e0dddeb52327e5e45b9d45b80f88e9d8a9527454"}},{"ruleId":"D17","level":"error","message":{"text":"FileScopedPragmaDisable: #pragma warning disable format \u2014 the disable has no matching restore anywhere in this file, so it does not end with the construct that needed it: it runs to the end of the file and silences the rule for everything written below, including code added years later that nobody weighed against it. Close it with the matching restore directive immediately after the construct it covers \u2014 that alone turns a standing exemption into a scoped one \u2014 or fix the cause and drop the directive entirely."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/CS73_StackAllocInitializers.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2b4d2c0c42cd5447f12b597137883715d0ee22fae7579331354eb6e230275fe"}},{"ruleId":"D17","level":"error","message":{"text":"FileScopedPragmaDisable: #pragma warning disable format \u2014 the disable has no matching restore anywhere in this file, so it does not end with the construct that needed it: it runs to the end of the file and silences the rule for everything written below, including code added years later that nobody weighed against it. Close it with the matching restore directive immediately after the construct it covers \u2014 that alone turns a standing exemption into a scoped one \u2014 or fix the cause and drop the directive entirely."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/ExpressionTrees.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0493d9739fcaca59149fb1933d99fa91869feb3775b0d9a9d21873c14d659080"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if MCS5 \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/ConstructorInitializers.cs"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"64d5c55c72fae7f49c7c8463d700d7d5135bfff647645d3aef9ae1c64375b85f"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if OPT \u0026\u0026 EXPECTED_OUTPUT \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/ConstructorInitializers.cs"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"cda98513b36648b18e7c0ec4befc4e26321c763870136d5177bd28c147f620dc"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private int _a \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/ConstructorInitializers.cs"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"e79e300572cdcbb04942b509c1131ce2e7019a4a7c71d4165bf4f4adade14a10"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private NoRecordButCopyConstructorLike parent \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/ConstructorInitializers.cs"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cd4a5211ccebaa2e317d7e2f3f70318e6476ec8f40751b4002ad2aaff0a3184"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] AppliedToDelegate"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/CustomAttributeSamples.cs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"788a10356526d2c50c34fe52e7d1f368904c47a25293fc64503028de11eadad0"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] AppliedToInterface"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/CustomAttributeSamples.cs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b32fece0ede9434715d721dd377fa93e6001e6c934feda4d70ff11b1aaa5364"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] AppliedToStruct"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/CustomAttributeSamples.cs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc15db86b2d95f56e9a6179a891f86346e09944a703ac318061706e5070e89f8"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] ObsoleteClass"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/CustomAttributeSamples.cs"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4f8e1f36dad9dfe7c4ff7c2ca7de269006049f9717a39daaa68fc6309db3eb2"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] this[]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/CustomAttributeSamples.cs"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"62459329c708bb81e0d66a7ed8e2b5575fe60a4d563d00a246852c4f089e0f14"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] ObsoletedMethod"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/CustomAttributes.cs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f56c54da7cad728cee6138d20e3564c132facb5ac234cb3dce244cef159554e"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] ObsoletedMethod"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/CustomAttributes2.cs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"008cf8d52053b4e4885c993be021880bb6beb19897ee5a418763a04d50272fe9"}},{"ruleId":"D17","level":"error","message":{"text":"FileScopedPragmaDisable: #pragma warning disable 1998 \u2014 the disable has no matching restore anywhere in this file, so it does not end with the construct that needed it: it runs to the end of the file and silences the rule for everything written below, including code added years later that nobody weighed against it. Close it with the matching restore directive immediately after the construct it covers \u2014 that alone turns a standing exemption into a scoped one \u2014 or fix the cause and drop the directive entirely."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/CustomTaskType.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"55cd79ed6f0a354444200037d2fe1acb56155280c876f9621076b4dc0a9ca351"}},{"ruleId":"D17","level":"error","message":{"text":"FileScopedPragmaDisable: #pragma warning disable CS8981 \u2014 the disable has no matching restore anywhere in this file, so it does not end with the construct that needed it: it runs to the end of the file and silences the rule for everything written below, including code added years later that nobody weighed against it. Close it with the matching restore directive immediately after the construct it covers \u2014 that alone turns a standing exemption into a scoped one \u2014 or fix the cause and drop the directive entirely."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/CustomTaskType.cs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"b978aebec49ece8fbbb73bd6dd8be5b4d282507b996e7446e5637f93dc2c94c1"}},{"ruleId":"D17","level":"error","message":{"text":"FileScopedPragmaDisable: #pragma warning disable CS8981 \u2014 the disable has no matching restore anywhere in this file, so it does not end with the construct that needed it: it runs to the end of the file and silences the rule for everything written below, including code added years later that nobody weighed against it. Close it with the matching restore directive immediately after the construct it covers \u2014 that alone turns a standing exemption into a scoped one \u2014 or fix the cause and drop the directive entirely."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/QualifierTests.cs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"f99e466dee40a090f764756cb31f2e1d1c5f3cffe743cf974de2ca0f29d4f0c7"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 6 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/DeconstructionTests.cs"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"d08b257d975ba5a4bf3236e106866316f4c5a01e27ae80b4550b8947ce954bfe"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 6 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TypeSystem/TypeSystemLoaderTests.cs"},"region":{"startLine":1406}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4e323b822c940441d6597c3eaa7fef831dab1bebb97cff8a38effebb03c0ec2"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 6 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TypeSystem/TypeSystemLoaderTests.cs"},"region":{"startLine":1413}}}],"partialFingerprints":{"codehealthFindingId/v1":"a49fc24468a5f972562903260b4ec1a1fdfbfaee20986eaf6947322e71be6569"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 6 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/AutoEventDecompiler.cs"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"085bd9834df3c27e27010c5cdba6f5cd2e80f83428f552f09fd7dbf53e4efdf9"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 6 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/OutputVisitor/CSharpFormattingOptions.cs"},"region":{"startLine":973}}}],"partialFingerprints":{"codehealthFindingId/v1":"c521e8caa4a1c3b6b4de2b2ff4a7a5481ec14c61654329d7ea7bf46cda382d8f"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 6 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/TreeView/SharpTreeNode.cs"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"aef94d08512468399c31dca437743673c4127bcd6d763afa45d43abad9076ca3"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 8 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/DeconstructionTests.cs"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"9be6be40fe7f09c2a4a12ada9681345fac7c215c769269ddb40d686386dfe6ed"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 8 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/DeconstructionTests.cs"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9b6f2053e39443633dd52135f2be44e0b50d6bc363dc9f576a7d749d48bb1b6"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 8 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/TreeView/SharpTreeNode.cs"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd1b530147290e9f960bceec4d3bbdaf7db8b8860719ceb526bb254adb121c98"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/DeconstructionTests.cs"},"region":{"startLine":794}}}],"partialFingerprints":{"codehealthFindingId/v1":"15262f0f4c5d74449ab55e96fbc355260476226dd12c8e6b8f8e5eca0e60745e"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/DeconstructionTests.cs"},"region":{"startLine":820}}}],"partialFingerprints":{"codehealthFindingId/v1":"e36537a67fa69295209b0846b70a8eebb300b2dd47d37691b4ebf36ba2531d1f"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/DeconstructionTests.cs"},"region":{"startLine":891}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4f8af55320e2ee24d368596b0a84d9632a92bf726c6ed3e523b5591363610a8"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/DeconstructionTests.cs"},"region":{"startLine":917}}}],"partialFingerprints":{"codehealthFindingId/v1":"64b2837bd5e80076d912e5a7b7a54f50ab1ad559bf6cfca1e23ef662e03215ac"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/DeconstructionTests.cs"},"region":{"startLine":947}}}],"partialFingerprints":{"codehealthFindingId/v1":"9da684b0dbb8a4dab4c43c9341ca887f0b30d75a146a77ce0a0bb602b3253276"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/DeconstructionTests.cs"},"region":{"startLine":983}}}],"partialFingerprints":{"codehealthFindingId/v1":"13590d62b5c623bedbb745c297815e7d2f9aa078fb0e07f0dafa479140f55ba4"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/DeconstructionTests.cs"},"region":{"startLine":1004}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1daf8c0accd1c76b66edd663e45d14ea994a6379b4b9a47557352772860bfd6"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/DynamicTests.cs"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7a940748079a68812acde34e94ea3b253bd9281e9d841b6e2a8cd9a26159788"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/ExtensionEverything.cs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c68f1061d65dde04a13b3478279f95af8b8263652ef7440c2e6151855d827b9"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/Generics.cs"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dad6b316145cf3166ed4720a4653894d9fa083bd3b3c27da0e65e3987cb28a8"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/LiftedOperators.cs"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ccf1864a8dbcced75ed7fcb142b198687682a10fc96676dba3116383640545c"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/LiftedOperators.cs"},"region":{"startLine":867}}}],"partialFingerprints":{"codehealthFindingId/v1":"b415948c860e9c2b906eb672112e9a81cdbce1f9bb45ba4a0d280303ff4511ad"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/LiftedOperators.cs"},"region":{"startLine":878}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d82ee01917c4eebef8c5bd434f802367de167c5a3fde890c4af62953f8d648b"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/TreeView/SharpTreeNode.cs"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"3308c1925c4db5a5c6f9de253bbb280e1ff15d373d90a74b5afa7ee265d6a71b"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/TreeView/SharpTreeNode.cs"},"region":{"startLine":673}}}],"partialFingerprints":{"codehealthFindingId/v1":"8549d6ec94f489511520de708547547ac0e061161641586ef4962cd816b76a2e"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/TreeView/SharpTreeNode.cs"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"789193a3adc2368542baa69039003fa17bed938375179f90e74a53539f0cb62a"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/TreeView/SharpTreeNode.cs"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7f2a2f8443b9ae9ba7a566e364002f05d8bb6c6696c2ba7ae2823b5cf8a67a2"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/TreeView/SharpTreeNode.cs"},"region":{"startLine":732}}}],"partialFingerprints":{"codehealthFindingId/v1":"6328c5ecb709d939cfb5e32ec81b8e0a282e4585dad0eec09d4de7fa72265e39"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/TreeView/SharpTreeNode.cs"},"region":{"startLine":737}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6146625bfead063ecb43488403d6e2d1e3a0d1aad5395de95d5b5d4c79c638d"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 9 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/DeconstructionTests.cs"},"region":{"startLine":1245}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b36b918e88eb5e7d1668442d309f515cde183115233a0a27e5baf72500c8edf"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 9 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/TreeView/SharpTreeNode.cs"},"region":{"startLine":646}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce918986ac6667953e48a7dce845e6fb2184a360bae1bf6bad1efd7b336b1f63"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if EXPECTED_OUTPUT \u0026\u0026 OPT \u0026\u0026 LEGACY_CSC \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/DynamicAwait.cs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"96f5e05b9d5dfd75284a987efb112e0a042a665a60bb1c925870b4ca5fa98293"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if LEGACY_CSC \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/DynamicAwait.cs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ed1edfef7dfe0ad08205dc598eebef2f8355f00231e424d0118e40733e1ef39"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if LEGACY_CSC \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/DynamicAwait.cs"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"346771b7b3cd8e514af2175c04c056aa58fb97f0011be9136ceff430bea0a7ad"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if LEGACY_CSC \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/DynamicAwait.cs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"52cebd1e4d2ac0181aaea8717c83bc9c440f1c5f19ce4d74473e02e3c33a9342"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if LEGACY_CSC \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/QualifierTests.cs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"500f5be94fa1ada9717cca89bd8e73e0afe176ef2f4456c9ac4a202e3f1dbe7a"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if LEGACY_CSC \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/QualifierTests.cs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ad66401f28be1e71edefa3eec42a79d71d8c5819ed661577413468f22534182"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if LEGACY_CSC \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/QualifierTests.cs"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4b631daa4de21d27e9caf5f7c154178e1e9d48c2449fed0133980bfdc1abe43"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if LEGACY_CSC \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/QualifierTests.cs"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"b79c0bb44d10cb1ba3c39f7d845528ea7edd3a2f1bb9f40bfa28285995d66484"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if LEGACY_CSC \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/Using.cs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"04b3f61c1c8191268a88ddc42b8db1ff503df724c4665dbf1a9b1e27a1bf1955"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if OPT || LEGACY_CSC \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/DynamicAwait.cs"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1318b395f03a56cf977d59a02a25152c796dda23d5fe74bd72c26bf5043fa08"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO : beautify inc/dec on locals and fields \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":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/DynamicTests.cs"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"de580c1749be0221786060936d1330ebefafadf055e444b63b65abcf920f7ebc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Non-Roslyn compilers create a second while loop inside the try, by inverting the if \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":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/ExceptionHandling.cs"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc901c5ae7a317a434b657fa635f4b3aad2789601b534cb00c81fd24577fd865"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 13 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/ExceptionHandling.cs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f8f6208d9ab43f80ea0ac92326dbf6b57cc23f86e41d5f532a96c2c25996766"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 13 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/ExceptionHandling.cs"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"adafbd5e41b96f9c014f8568f2d277ce4cda9631f639775281888692ce5a545b"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 13 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/TreeView/SharpTreeNode.cs"},"region":{"startLine":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"056c51a42ecef7bed64adab6e541d506bb79b9614ede8cc193950cdebcb68bc7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO implement use-site transformation \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":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/ExtensionEverything.cs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"b44ab6b24cc2377d9ec1f13c91da4f87b9f1bd43353972f57e9584a4ab84a601"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO implement use-site transformation \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":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/ExtensionEverything.cs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"df7098e19d69cf2a2ab5e4010086a2782defcc9c6bbab12a3741de119021052e"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if EXPECTED_OUTPUT \u0026\u0026 OPT \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/ExtensionMethods.cs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"888334eb0992567dae6cf611bf6b4456ac64e0cd3d4793d9d490a65b9ba725d5"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private Type type1 \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/Generics.cs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"b55d774d82d6fe0a422f92735f8adce1adfaa4b128e7967527ad649589085a96"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private Type type2 \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/Generics.cs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"46e486fbb50177e01344645c9b779e5adb7dd0d92d10a2c298ade7ec7146c7ab"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private Type type3 \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/Generics.cs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"be1b6a1e6fb21ac9861228a06aa2181976f4aedc931870700cc2f934dafbaf55"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private Type type4 \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/Generics.cs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"886fae5c777ff328bc195b7a5e85185d4592682e657591ac094ee84e6b81ffea"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private Type type5 \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/Generics.cs"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"f503294662d167140d8a2ab2502766bb400578bbd4f7ebd54015059ff5f860d9"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private Type type6 \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/Generics.cs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"db8b94e34bcc606331a9b278b7a79d01ea6c878a087f7fa8ec7774e29e2e529d"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable 251 \u2014 the disable is closed again below, so its scope is not the problem; what it records is no reason: there is nothing on the directive line, and no ordinary comment attached to it either side. A suppression is a decision somebody made, and without the reason the next reader cannot tell a considered exception from an unexamined one, so it is never revisited and it outlives the code it was written for. Put the reason on the directive line \u2014 what makes this site legitimately different \u2014 or fix what the rule is pointing at and delete the pair. A rationale in the member\u0027s documentation comment does not clear this row and is not meant to: it explains the member to its callers, and the next person to touch the suppression is not reading it for that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/InitializerTests.cs"},"region":{"startLine":781}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e43d1e88be309ee046ddf7347f637cabe50070a89023ca8eac29f32559dbc9b"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private S s1 \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/InitializerTests.cs"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5a8ce8927b57d9204be2dfebfa4c0df4168c90292017aa171b3460712e2fa2a"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private S s2 \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/InitializerTests.cs"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"37a1f043e59c159ea55f823e2e24a6671d7fd4e0709c452224e5162b49895f99"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private V3f[] Issue1336_rg0 \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/InitializerTests.cs"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"c23741fb2ccee333bfb5b5336abde73b3500a6a5be9675a51f184e9adb80fc1e"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private V3f[,] Issue1336_rg1 \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/InitializerTests.cs"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"baeaf1e334fc31d02d24df19d70de5931c43ef0f0637e17696e112ad3286d0ba"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private V3f[][] Issue1336_rg1b \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/InitializerTests.cs"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8551f539a231556d01ac3984b5a7c60d63dc8e358801b0f34aa1faf442457eb"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private V3f[,][] Issue1336_rg1c \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/InitializerTests.cs"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"8852143f6a0af9a2ca4bdce49bf80f8d0393ed717b5707cdbaaca837b5aecc12"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private V3f[][,] Issue1336_rg1d \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/InitializerTests.cs"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e2961f0b39c0fd157e9a2bb9bd5b99a38037f94e6f3d08370f1a5c9bcf970de"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private int[,] Issue1336_rg2 \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/InitializerTests.cs"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"82d5ea98a7b5c4c3259ddf4f7c8cfc7a6a6b52ea291586636d56e087af9e765e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \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":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/InlineArrayTests.cs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3eb73aa1dffcb0a85e8677239c9677859abcb76fb0d334381ed7091d7d97643"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 7 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/InlineArrayTests.cs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e9f0f24cd2dfbbf2819c860cb067ca6f8c93d8789be6765d92dcb6291f57ce3"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 7 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/TypeSystem/TupleType.cs"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cdd75460c6036e120b6ed7ed878f81e79eb1b65c4eaeaa0ac266bd245e7433c"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if MCS2 \u0026\u0026 EXPECTED_OUTPUT \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/InterfaceTests.cs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3d1e575f9ecfa5027a50457b9b758c811fe7cf4908622050a705817f3641480"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if MCS2 \u0026\u0026 EXPECTED_OUTPUT \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/InterfaceTests.cs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"46a44c99a838f59f7bcb99ccda7c7a67e3d90c5197c50e68757cb0202eae9278"}},{"ruleId":"D17","level":"error","message":{"text":"FileScopedPragmaDisable: #pragma warning disable CS0414, CS9113, CS9124 \u2014 the disable has no matching restore anywhere in this file, so it does not end with the construct that needed it: it runs to the end of the file and silences the rule for everything written below, including code added years later that nobody weighed against it. Close it with the matching restore directive immediately after the construct it covers \u2014 that alone turns a standing exemption into a scoped one \u2014 or fix the cause and drop the directive entirely."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/Issue3598.cs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bd34cfce7a84cc59cba562c3da8d0d04c11e08254819bfe14d03cf97542bda6"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private string _name \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/Issue3598.cs"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"4597569b24e7d0f77cdbbe8a0a899ab03b90fa078f69ff4701ef522d9accb4d9"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private string _name \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/Issue3598.cs"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e63d9cf60e5657f20fbfcd5fe50b9b057a18822fbc9a06aa5129e421d40cb8e"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private string _name \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/Issue3598.cs"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"81822c146e7f8a2fa18231d103e1b5e8a216024d3a899851a10058496cd8d031"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private string _name \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/Issue3598.cs"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"50820cdeca7e8a66053b786c79f14f5b169bfc41b19476b82ba655ffe7e75801"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private int _age \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/Issue3598.cs"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"20624be4e972f7bc1f41d67c5ecfdf3a42fc008001386fc7e36ccb8807be5827"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private int _age \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/Issue3598.cs"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"2627d10c631818b5d10ad5d35fe3276976b212486b164f7cdf8e8439a4a14557"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private int _age \u2014 assigned 2 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/Issue3598.cs"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1088e5b7a683d78c6dd994cff1a5b0b1d880fed7585bfff7c39f9e11c035a1b"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if ROSLYN5 \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/LambdaOptionalAndParamsParameters.cs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"0686b814665da4c3fea97a27f6e3bd8a9dfdafa91600345bdda083fbddb9255f"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if ROSLYN5 \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/LambdaOptionalAndParamsParameters.cs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"85275c6105696e21a0d180945974baf9e2cb29f2d26393aa52bdc475b495aab9"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if ROSLYN5 \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/LambdaOptionalAndParamsParameters.cs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ba4f23be3f91ea4fdef0259fa84fb0029f2e1c7a22fec6f35ab4f1e94f2b40e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \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":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/LiftedOperators.cs"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"1008ea2ee8b32abb2bd49de8747351f5b3027b4624f0f53fa150c7534445019c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \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":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/LiftedOperators.cs"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"7070652e1a9328e1dd00d5cf1447645252c0fe7ab14833179ad9c2cdbaf548ae"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \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":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/LiftedOperators.cs"},"region":{"startLine":733}}}],"partialFingerprints":{"codehealthFindingId/v1":"321dcfbf86a0baaeb99ff3575b3b3abd29d583155706afe6a0b00d3412376ff3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: redundant casts. \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":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/LiftedOperators.cs"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7ef0b9b534014fe754f3106718634826945e4eb0764fe51dd215dfa5e804193"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: redundant casts. \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":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/LiftedOperators.cs"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"63ff8dd01cbd6cd5ce24f533b11de4446c5bd13f00253c85073571fb1f87f987"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: redundant casts. \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":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/LiftedOperators.cs"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"50ce6582cf2459ee6b3fd0565a1028db38b33d18315e6db1bbd81df1c086765a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: redundant casts. \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":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/LiftedOperators.cs"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b4a04e97ffbcdedbab4ce1a7b068b8cffaa81dc21d569e6f313a2b078033b12"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: unnecessary cast \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":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/LiftedOperators.cs"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"59b78abd037efc4600d0a6cec2ee5bc7cb247f8576a2dcb46c4842b3cbe77ab6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: unnecessary cast \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":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/LiftedOperators.cs"},"region":{"startLine":866}}}],"partialFingerprints":{"codehealthFindingId/v1":"4998db4df63ff33134215524bbf094b6b2364ec85f8453c99d63919159d81d5f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: unnecessary cast \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":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/LiftedOperators.cs"},"region":{"startLine":877}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5763cecb4d8f0a432f7fce5b5c2bf331655086d99d9eca8c4456075ebd8e411"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: unnecessary cast \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":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/LiftedOperators.cs"},"region":{"startLine":947}}}],"partialFingerprints":{"codehealthFindingId/v1":"da6719b1801551fd12042edeb491806390feca415c18660e96887fa15008c9c1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: decompiler introduces a temporary for the array element. \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":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/LiftedOperators.cs"},"region":{"startLine":784}}}],"partialFingerprints":{"codehealthFindingId/v1":"009248147fab66772a361ba87561a060e05403d717b5f6417504ce75508fd634"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: unnecessary casts \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":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/LiftedOperators.cs"},"region":{"startLine":958}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab02ebbe46aa26b0284c2515bee09c249bbfae0f456182e60965350aa6bf6a40"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: unnecessary casts \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":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/LiftedOperators.cs"},"region":{"startLine":964}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0178593cad172d39712401b6b66b87018e764ff4262f78182031240ae23e744"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: unnecessary casts \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":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/LiftedOperators.cs"},"region":{"startLine":990}}}],"partialFingerprints":{"codehealthFindingId/v1":"33f09f8a25b21ccfcb7f2bd8a07da37050d1dd6116abc54b1f7b53dc6854504a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: unnecessary casts \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":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/LiftedOperators.cs"},"region":{"startLine":997}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa315eb3834e35f4f53a61763b61a22571def8da31ee580a6291b94b7494e2a2"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 5 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/LiftedOperators.cs"},"region":{"startLine":734}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb679a5d73e4b270c2b729314bdd3b5a736e3e6290e6c9df0525d3cba421eb14"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 5 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/RecordDecompiler.cs"},"region":{"startLine":1277}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c923186a41ae2034fb38ab5801f40a787fdba00d75f1b350682334d7249021f"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 5 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/TreeView/SharpTreeNode.cs"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"632675d9f4cb51a30d2b222986af519ad306769dea9e8b8d94a52978a0ee440d"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 5 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/TreeView/SharpTreeNode.cs"},"region":{"startLine":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"64a2dfa150ab9f004d3e15587c56bab586855f3a132f1bfa89baaf8f68840ce1"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if false \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/LocalFunctions.cs"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d3f5bf5e0898a16766df3ac8dfa7f6daa4a49137e027f62972cc6a14c83e858"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #else \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/LocalFunctions.cs"},"region":{"startLine":852}}}],"partialFingerprints":{"codehealthFindingId/v1":"65fc939cabe4901aa5cc57274398573fdde81e35be8c18f8f5c3d7666d53dd12"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #else \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/LocalFunctions.cs"},"region":{"startLine":861}}}],"partialFingerprints":{"codehealthFindingId/v1":"215f1912701de623d2977a2721d4ff30914202947de0163cc75476bbd1d56469"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #else \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/LocalFunctions.cs"},"region":{"startLine":895}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2cf0322a30aaa7c5a08ea4c254c2f413c5e9b9de3aecd8f9c5d55a2303ff5a3"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #else \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/LocalFunctions.cs"},"region":{"startLine":904}}}],"partialFingerprints":{"codehealthFindingId/v1":"a93d1d5bfd0d96535fee08a56542214f39114b07583d5285a610b08c82129cea"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #else \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/LocalFunctions.cs"},"region":{"startLine":926}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3b739804ceeca210b436c39d2129cfca3d6230961a5b637d0da46184d7fe85c"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #else \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/LocalFunctions.cs"},"region":{"startLine":940}}}],"partialFingerprints":{"codehealthFindingId/v1":"08cced5a2cac81eb13adcb390219604a38ecb4b54866bc5e482316e09bb082a1"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #else \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/TargetTypedDefault.cs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"67a28adc42434b253f8eee8131c9d88b8b74d0b0779ae6ed851f006ae86adae4"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #else \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/VariableNaming.cs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae7445fd6a8cb7b2712ea3bcd48069f89977de231c4d97b9a5a2122b219faede"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable CS0219 \u2014 the disable is closed again below, so its scope is not the problem; what it records is no reason: there is nothing on the directive line, and no ordinary comment attached to it either side. A suppression is a decision somebody made, and without the reason the next reader cannot tell a considered exception from an unexamined one, so it is never revisited and it outlives the code it was written for. Put the reason on the directive line \u2014 what makes this site legitimately different \u2014 or fix what the rule is pointing at and delete the pair. A rationale in the member\u0027s documentation comment does not clear this row and is not meant to: it explains the member to its callers, and the next person to touch the suppression is not reading it for that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/LocalFunctions.cs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"73ad8307ebcb0aad5e52aa9eda97406818940556b17298d089112c47f6838dc2"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable CS0219 \u2014 the disable is closed again below, so its scope is not the problem; what it records is no reason: there is nothing on the directive line, and no ordinary comment attached to it either side. A suppression is a decision somebody made, and without the reason the next reader cannot tell a considered exception from an unexamined one, so it is never revisited and it outlives the code it was written for. Put the reason on the directive line \u2014 what makes this site legitimately different \u2014 or fix what the rule is pointing at and delete the pair. A rationale in the member\u0027s documentation comment does not clear this row and is not meant to: it explains the member to its callers, and the next person to touch the suppression is not reading it for that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/LocalFunctions.cs"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"a78043ff8faf3a4a23bb345b45a3abc241472cf7ca2172d641e1183abdf65b55"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable CS0219 \u2014 the disable is closed again below, so its scope is not the problem; what it records is no reason: there is nothing on the directive line, and no ordinary comment attached to it either side. A suppression is a decision somebody made, and without the reason the next reader cannot tell a considered exception from an unexamined one, so it is never revisited and it outlives the code it was written for. Put the reason on the directive line \u2014 what makes this site legitimately different \u2014 or fix what the rule is pointing at and delete the pair. A rationale in the member\u0027s documentation comment does not clear this row and is not meant to: it explains the member to its callers, and the next person to touch the suppression is not reading it for that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/VariableNaming.cs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c1a8d92eb3410b6a7a0a6ca4d0f0a1170402f240debe1c534461cb1d3197823"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable CS8387 \u2014 the disable is closed again below, so its scope is not the problem; what it records is no reason: there is nothing on the directive line, and no ordinary comment attached to it either side. A suppression is a decision somebody made, and without the reason the next reader cannot tell a considered exception from an unexamined one, so it is never revisited and it outlives the code it was written for. Put the reason on the directive line \u2014 what makes this site legitimately different \u2014 or fix what the rule is pointing at and delete the pair. A rationale in the member\u0027s documentation comment does not clear this row and is not meant to: it explains the member to its callers, and the next person to touch the suppression is not reading it for that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/LocalFunctions.cs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceec1589837dd4b8061e14f850b1815c8a9a15dfe285d9f3508920a4e8dda34d"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable CS8387 \u2014 the disable is closed again below, so its scope is not the problem; what it records is no reason: there is nothing on the directive line, and no ordinary comment attached to it either side. A suppression is a decision somebody made, and without the reason the next reader cannot tell a considered exception from an unexamined one, so it is never revisited and it outlives the code it was written for. Put the reason on the directive line \u2014 what makes this site legitimately different \u2014 or fix what the rule is pointing at and delete the pair. A rationale in the member\u0027s documentation comment does not clear this row and is not meant to: it explains the member to its callers, and the next person to touch the suppression is not reading it for that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/LocalFunctions.cs"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4177a82636763835ad6f678f421bffaa1dac9e47f35261104227aaa942dd336"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private List\u003CT\u003E _items \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/LocalFunctions.cs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"de140481322826a24b99598469061dbad94bd63465f4d5889b8a8e0a69f81293"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private Lazy\u003Cobject\u003E nonCapturinglocalFunctionInLambda \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/LocalFunctions.cs"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c76f865a763837bcb9b91f554bd34c01f44762a0d2dc53e8d388a7512dfd282"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private Lazy\u003Cobject\u003E capturinglocalFunctionInLambda \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/LocalFunctions.cs"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"0919ae2c83c04bb83ef95051ec78657888171cdf323baef37659c71dcc13000c"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if MCS \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/Loops.cs"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9504df1afd175d52ebc025cec6568f26974ba12201c2ebf16989c95ef6421d0"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if ROSLYN \u0026\u0026 OPT \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/Loops.cs"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"956f4e9d7e922f1795cf29a4fea61ab9f3794af59fa5ecc0b0dc73b0892a5320"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if ROSLYN \u0026\u0026 OPT \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/Loops.cs"},"region":{"startLine":593}}}],"partialFingerprints":{"codehealthFindingId/v1":"731e0ba8ecdb2b8824702a9cff7346e70e0949a49ae38d1120815e255b219f54"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if ROSLYN \u0026\u0026 OPT \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/Loops.cs"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"e07a73d97c7ec7120c5f40d36dc5a91c16e62b619b7cdedc0086a286ba454b11"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if ROSLYN \u0026\u0026 OPT \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/VBPretty/VBNonGenericForEach.cs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f26cf45af6c9ee7447e3219dcf21443383c106077db41d800134cf11dbde9c2"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if OPT \u0026\u0026 !MCS \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/Loops.cs"},"region":{"startLine":825}}}],"partialFingerprints":{"codehealthFindingId/v1":"23248e44b202c12d533ea8a500f3e5b29a3ea1493f037ed595730c54e7796f23"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if OPT || MCS \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/Loops.cs"},"region":{"startLine":885}}}],"partialFingerprints":{"codehealthFindingId/v1":"93cc6ed7844407bbff4ae7303a5b89917656d5c4d18a845b1a39f69713f3193c"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if OPT || MCS \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/Loops.cs"},"region":{"startLine":896}}}],"partialFingerprints":{"codehealthFindingId/v1":"85a9a767e9bdc347ea873ffb3020605a060ce29e6676dcc56fe6b89ea652ff78"}},{"ruleId":"D17","level":"error","message":{"text":"DiscardedPureResult: alternative.ToLower(); \u2014 strings are immutable, so this call cannot change the text it was called on: it computes a new string and the statement throws it away, leaving the original exactly as it was. The line reads as the transformation it names, and the value that comes out of this method later is the untransformed one. Assign the result \u2014 to the same variable, or to the field or property the transformed text was meant to reach \u2014 or, if the call really was pointless, delete the line rather than leaving something that looks like it works."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/Loops.cs"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"0efe03ca2a61747cb2c58e096766e98c1b759f997f12e37f17c5ba88034596e7"}},{"ruleId":"D17","level":"error","message":{"text":"DiscardedPureResult: alternative.ToLower(); \u2014 strings are immutable, so this call cannot change the text it was called on: it computes a new string and the statement throws it away, leaving the original exactly as it was. The line reads as the transformation it names, and the value that comes out of this method later is the untransformed one. Assign the result \u2014 to the same variable, or to the field or property the transformed text was meant to reach \u2014 or, if the call really was pointless, delete the line rather than leaving something that looks like it works."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/Loops.cs"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d18c2ae0ea787545b78222667fbdde6b42a4ed9b6e0020c271c4f9718371a01"}},{"ruleId":"D17","level":"error","message":{"text":"DiscardedPureResult: item.ToLower(); \u2014 strings are immutable, so this call cannot change the text it was called on: it computes a new string and the statement throws it away, leaving the original exactly as it was. The line reads as the transformation it names, and the value that comes out of this method later is the untransformed one. Assign the result \u2014 to the same variable, or to the field or property the transformed text was meant to reach \u2014 or, if the call really was pointless, delete the line rather than leaving something that looks like it works."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/Loops.cs"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"b81a2c0026b27cddfe530e4823569c8c4b5d4be9a2563290701851044e977e09"}},{"ruleId":"D17","level":"error","message":{"text":"DiscardedPureResult: array[i].ToLower(); \u2014 strings are immutable, so this call cannot change the text it was called on: it computes a new string and the statement throws it away, leaving the original exactly as it was. The line reads as the transformation it names, and the value that comes out of this method later is the untransformed one. Assign the result \u2014 to the same variable, or to the field or property the transformed text was meant to reach \u2014 or, if the call really was pointless, delete the line rather than leaving something that looks like it works."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/Loops.cs"},"region":{"startLine":664}}}],"partialFingerprints":{"codehealthFindingId/v1":"81e901d0055219cbdb46afdaf5b14e2f08318b2a987104fea1c8fbf56c8e72a2"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private object someObject \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/Loops.cs"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"051034eac75b752f0a5756a9d8daf35e959ac6e35241b8e5da587653ee72f63a"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable format \u2014 the disable is closed again below, so its scope is not the problem; what it records is no reason: there is nothing on the directive line, and no ordinary comment attached to it either side. A suppression is a decision somebody made, and without the reason the next reader cannot tell a considered exception from an unexamined one, so it is never revisited and it outlives the code it was written for. Put the reason on the directive line \u2014 what makes this site legitimately different \u2014 or fix what the rule is pointing at and delete the pair. A rationale in the member\u0027s documentation comment does not clear this row and is not meant to: it explains the member to its callers, and the next person to touch the suppression is not reading it for that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/MemberTests.cs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebb33711f64604b3f92afc641f5512584e0670aec86215f9769d998f76265390"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable format \u2014 the disable is closed again below, so its scope is not the problem; what it records is no reason: there is nothing on the directive line, and no ordinary comment attached to it either side. A suppression is a decision somebody made, and without the reason the next reader cannot tell a considered exception from an unexamined one, so it is never revisited and it outlives the code it was written for. Put the reason on the directive line \u2014 what makes this site legitimately different \u2014 or fix what the rule is pointing at and delete the pair. A rationale in the member\u0027s documentation comment does not clear this row and is not meant to: it explains the member to its callers, and the next person to touch the suppression is not reading it for that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/TupleTests.cs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba0f283a7f5b57cb4487fba50c65a61f27ccbe953709e6569bedecf61cd584f5"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable format \u2014 the disable is closed again below, so its scope is not the problem; what it records is no reason: there is nothing on the directive line, and no ordinary comment attached to it either side. A suppression is a decision somebody made, and without the reason the next reader cannot tell a considered exception from an unexamined one, so it is never revisited and it outlives the code it was written for. Put the reason on the directive line \u2014 what makes this site legitimately different \u2014 or fix what the rule is pointing at and delete the pair. A rationale in the member\u0027s documentation comment does not clear this row and is not meant to: it explains the member to its callers, and the next person to touch the suppression is not reading it for that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/TupleTests.cs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"08b6dde0f4090b5e176b5a734ae5a8a41e5648be62b8f92f82f9f242ac3185a5"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private object issue1221 \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/PropertiesAndEvents.cs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bdf9b6ec3c91003ede6331c616f28ce47f80e7458f7a2041a4d16e82c8387af"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable IDE0043 \u2014 the disable is closed again below, so its scope is not the problem; what it records is no reason: there is nothing on the directive line, and no ordinary comment attached to it either side. A suppression is a decision somebody made, and without the reason the next reader cannot tell a considered exception from an unexamined one, so it is never revisited and it outlives the code it was written for. Put the reason on the directive line \u2014 what makes this site legitimately different \u2014 or fix what the rule is pointing at and delete the pair. A rationale in the member\u0027s documentation comment does not clear this row and is not meant to: it explains the member to its callers, and the next person to touch the suppression is not reading it for that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/StringInterpolation.cs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"52914a505b2f64d7d157aa6e7fff11207cd0a03ff29c0741211f96e35f727aaf"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private char ch1767 \u2014 assigned 6 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/Switch.cs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6e4379f1cda21cb9b70040cd15591fb81f67213fdc9cb02c7c8687f86bb0056"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private object cacheObj \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/ThrowExpressions.cs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d31bf2599e2a7261ae4b36a94f0e6be060ed2928d342802234b7defbeba6664"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // M1(a); TODO: tuple conversion transform \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":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/TupleTests.cs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"d95284b5aef8b0b8df50909131d808cb057aa533d248350693b48ded6cb4f6a1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: it would be nice if we could infer the name \u0027c\u0027 for the local \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":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/TupleTests.cs"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"102877617be0c1652d3e0ce1303f643535df637c65aa576c25e628a8c1c8d40d"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private UnsafeDelegate unsafeDelegate \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/UnsafeCode.cs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"b15710f461222315e91da4a1d7bc74f0f20e8251d97414416ad4eacd06c4b52b"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private UnsafeDelegate staticUnsafeDelegate \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/UnsafeCode.cs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"416b7be53ca9fbb3a3938c49b10102774ba674e6572bf7aa787b566679eed768"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private PointerConstructor pointerConstructor \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/UnsafeCode.cs"},"region":{"startLine":705}}}],"partialFingerprints":{"codehealthFindingId/v1":"d117b5038b44a3627947efa45450367e34ba9d8ed7410312a6811d3671b23ac7"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if EXPECTED_OUTPUT \u0026\u0026 !(LEGACY_CSC \u0026\u0026 !OPT) \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/VariableNaming.cs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae35e3888ec4ea610541f2ac0591843e11e4f11910ecbf380c44a4601519e943"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if EXPECTED_OUTPUT \u0026\u0026 CS70 \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/VariableNamingWithoutSymbols.cs"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"79dcec3036cd0ad62e48e4caaa89ab3cdc940508baa52a7c8de80906042a3ec2"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private Func\u003Cint\u003E _func \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Ugly/NoLocalFunctions.cs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfc12e9f13b252e7a9d5b5af973f05b233bf0202d3ee6bef38a89524d244e0b6"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if LEGACY_VBC || (OPTIMIZE \u0026\u0026 !ROSLYN4) \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/VBPretty/Async.cs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"b538350b6334e4066b6f927ceea7a87c3602d25f1e271f3c2c42295039b5eca2"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if LEGACY_VBC || (OPTIMIZE \u0026\u0026 !ROSLYN4) \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/VBPretty/Async.cs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cb0b48957169b56352aa965d4ea0925d646a5350053b4809272f7443c8da140"}},{"ruleId":"D17","level":"error","message":{"text":"FileScopedPragmaDisable: #pragma warning disable 657 \u2014 the disable has no matching restore anywhere in this file, so it does not end with the construct that needed it: it runs to the end of the file and silences the rule for everything written below, including code added years later that nobody weighed against it. Close it with the matching restore directive immediately after the construct it covers \u2014 that alone turns a standing exemption into a scoped one \u2014 or fix the cause and drop the directive entirely."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/VBPretty/ParameterizedProperties.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"732fc78fd76a17ed44f5b1208fc17c5cbf365412335905251818bcadfc91f7ec"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] get_Attributed"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/VBPretty/ParameterizedProperties.cs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"6777ba1f3a2a15845dc591482ee1efcc9e4c7ab355fc9d073e70c429e8c20933"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if LEGACY_VBC \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/VBPretty/VBAnonymousTypes.cs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"b04b3ab60bef51178038c3302f6e4772a364ea9a4575c09e5188a3ff83c975fc"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if LEGACY_VBC \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/VBPretty/VBAnonymousTypes.cs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eb39e964c2c3dd32b9d833e0cbd90adc5ffc737144323fe3f8d6e3daa8f2b42"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if LEGACY_VBC \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/VBPretty/VBTryCatchFinally.cs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"86f073e9134e5037e7dedbf6ec3287dcb0ad8ed21e82be606580c210b05dca57"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if LEGACY_VBC \u0026\u0026 OPT \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/VBPretty/VBTryCatchFinally.cs"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fe3e7b1d7c05c743d39ed1fda9a75405db9b04918c1a1b8f9abbd28495ea382"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if ROSLYN2 \u0026\u0026 !ROSLYN4 \u0026\u0026 OPT \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/VBPretty/YieldReturn.cs"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcfdc8860d8f278836795c4858fcc305fb3452317b239b4f2c0b050e7d850ea2"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if ROSLYN2 \u0026\u0026 !ROSLYN4 \u0026\u0026 OPT \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/VBPretty/YieldReturn.cs"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"65af7d9a2c46a220184252851f969c339c08f1b66427701168cd577b91e8d713"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable CS0465 \u2014 the disable is closed again below, so its scope is not the problem; what it records is no reason: there is nothing on the directive line, and no ordinary comment attached to it either side. A suppression is a decision somebody made, and without the reason the next reader cannot tell a considered exception from an unexamined one, so it is never revisited and it outlives the code it was written for. Put the reason on the directive line \u2014 what makes this site legitimately different \u2014 or fix what the rule is pointing at and delete the pair. A rationale in the member\u0027s documentation comment does not clear this row and is not meant to: it explains the member to its callers, and the next person to touch the suppression is not reading it for that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TypeSystem/TypeSystemTestCase.cs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fd01a6a8a0f18eece0fd235fa420d9a7896c173c60e8b84ad115de3facb0fff"}},{"ruleId":"D17","level":"error","message":{"text":"FileScopedPragmaDisable: #pragma warning disable 67 \u2014 the disable has no matching restore anywhere in this file, so it does not end with the construct that needed it: it runs to the end of the file and silences the rule for everything written below, including code added years later that nobody weighed against it. Close it with the matching restore directive immediately after the construct it covers \u2014 that alone turns a standing exemption into a scoped one \u2014 or fix the cause and drop the directive entirely."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TypeSystem/TypeSystemTestCase.cs"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbaad4133ff73381c08b1f5f5908397980759776ec6cd85f9f5d2042b143585c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: legacy VB compound assign \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":"ICSharpCode.Decompiler.Tests/VBPrettyTestRunner.cs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"201044a4c8b6184891eb66bfb7cf370d76dbeeffe36e634d6e71ff11aefd3cd1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //    TODO: actually, we could use the type info instead? \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":"ICSharpCode.Decompiler/CSharp/Annotations.cs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"11da0a1df8509bbdd7f4846e6dd564db88c94ed4d87a571db4cd1de45835d59c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //    TODO: here the info is also redundant, we could peek at the BinaryNumericInstruction instead \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":"ICSharpCode.Decompiler/CSharp/Annotations.cs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"dce9377d804626696886baa4fdf3161f94ff0cf63f4fe6db8074920ceb2a5a19"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO : use SignatureBlobComparer to ensure that the correct method is resolved \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":"ICSharpCode.Decompiler/CSharp/CSharpDecompiler.cs"},"region":{"startLine":1348}}}],"partialFingerprints":{"codehealthFindingId/v1":"28a3e91a58e329a8087e08f95112658b325c5185ab767216f555aed781f02f5f"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/CSharpDecompiler.cs"},"region":{"startLine":943}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce971b49e6f53f114be1b22ae81fb1855b4075fb9c2d0355eba7cc9a6a93d413"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/Documentation/IdStringProvider.cs"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb3260d2c0eb1d5210bb6764d531417ae04a70bb716bafd7c95bb71ee84e0e82"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/Documentation/IdStringProvider.cs"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e5174819fa14bec701afbc044798d8864d7e7dff7713d0bec92fe12828d0107"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/TypeSystem/DecompilerTypeSystem.cs"},"region":{"startLine":638}}}],"partialFingerprints":{"codehealthFindingId/v1":"a61b658c472c842b271ddd21b452cbc4c95fb638016220e2203838790323811d"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/TypeSystem/DecompilerTypeSystem.cs"},"region":{"startLine":688}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e1224d33e1898e0c52f8359b534900303bd883bb188d1f7925a50dc44a8c3e3"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyCmd/DotNetToolUpdateChecker.cs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3d59c2f38f44dd0ecddc2f7eed5e228f646326af2ab1eaeb0cd6f0f5342729b"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyCmd/IlspyCmdProgram.cs"},"region":{"startLine":1127}}}],"partialFingerprints":{"codehealthFindingId/v1":"a35f92bb33f4d60cefa9dd757209e7ff728b8ab9b3d60b862a01ef1876aae8fd"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/AssemblyListSnapshot.cs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7093058dc5d3b97af12cc757448af7ea82318173c9d22015180189ddc272605"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/LoadedAssembly.cs"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ac30db5b871e6b866b30387e4a3a8bf64e4529d61fdfd2cfdcb9a6830bf3436"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/LoadedAssembly.cs"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"290b3d140b638e20bd5369f57d99724132dd93dde2c46b76a25240afe55c800e"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/LoadedAssemblyExtensions.cs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"805c44daa86c9b6e5e1817f007e91e15bb1ba77ce10175951d69314716c885cb"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/Settings/ILSpySettings.cs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"6995dd18e5db144be0158b0cbe11f60fb8e84adce9851debbd6bf1709436e174"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/Settings/MutexProtector.cs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"f46673f6ceea1a15144b92594898da3ab50fb70be371e27b754912bc74937625"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Analyzers/AnalyzedModuleTreeNode.cs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"a105dd381f0e4983e2a54a00583988cdd8a419791c48294ee34b33ecb93b2861"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/App.axaml.cs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"b279fc94a4dfcd1d315c398b29e5ba34d64aad833b66c253dd623a46b2d27bc4"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/App.axaml.cs"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"da590ce770ca5a74d580823fb8df6446d12c337934a0a4ba9a68bf4fb2a8f447"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/AppEnv/AppLog.cs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d965230199d81b93f65dd9c06700aa95be651a1285e34402c409645e20e3090"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/AppEnv/CommandLineArguments.cs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9f6aaba5919a7fafd1de08efc06c3716a72947e79335e56692b2709af792737"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/AppEnv/GlobalExceptionHandler.cs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6880b83eb7e50bd7f4cbcc56313632e0952db923fc1d607550d8cd269ce1888"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/AppEnv/SingleInstance.cs"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef551404ad8f1ec5064c8bfd0936ef32f6a526e0790e8b465acb21803a4ca4ca"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/AssemblyTree/AssemblyTreeModel.cs"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"38febffda8c70c772b3dfa52f0fc32ee3bb8821bb377b94ca304de1be9694f95"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/AssemblyTree/AssemblyTreeModel.cs"},"region":{"startLine":1198}}}],"partialFingerprints":{"codehealthFindingId/v1":"51d02fa21742e34e982228c35f240721b3c48fa07d8be73076c42b9112a21273"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Commands/OpenCommandLineHereContextMenuEntry.cs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"02324ac2795e38973f879e1326f43902ad7b75098a97fd4928c68fcafd91ba43"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Commands/OpenCommandLineHereContextMenuEntry.cs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba27b984e9262cb357be1160b31f67edae2cd4c459061700ec39c92d779bc049"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Commands/SearchMsdnContextMenuEntry.cs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"5209226ee1ec49d7daa1987ae77b4a2fd4459b8e62a38711a93930e738637724"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Commands/SelectPdbContextMenuEntry.cs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"beb2a699f801cfd2491d21ed0acad4171d9cf56274624ac4014a0c4fdef6067a"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Docking/ILSpyDockJson.cs"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"88f602b09de8848bfeb4db6d3a4635354264adf2e7df5c5a92e5ad0225cc70ed"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Search/RunningSearch.cs"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd176b98592d8506f3245cf61b614c95e8af5793b486cccc8f1734e1f6539a9f"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Search/RunningSearch.cs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"7133da339fafe16b447216096a23c5016a9ba0d9ab9e31db9e1ccd8446307da7"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/TaskbarProgressService.cs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b664107025bdb7a3154c27aae7aec7a600590637618ea2ce9db1b49647f8662"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/TreeNodes/AssemblyReferenceTreeNode.cs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e2ca97842008513b0a25331e5e947f02396f33c008c9b04372231a8f53cf6f7"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/TreeNodes/TextResourceDetector.cs"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1267b670857eb337be61b583eaeb7363cb025627c882942fc118caa7b1d72b5"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Util/ShellHelper.Windows.cs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ce59944062017da1e7f18c9e711b60160b8068fca8111e3663b68fc38defb66"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Util/ShellHelper.cs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2e6c1ee623212032e78bfb0b09cb9c55324359e35c99168d353521cc4696466"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Util/ShellHelper.cs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a899fee2bbc2e4234c58210e297de88c1f7f3d6aadc7f8a5554b0d39ec1a73f"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Util/ShellHelper.cs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"b49941abbfd6f622f6cbdc6e656d3bee349100bafa2f9e516febda2a8a521bb4"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/ViewModels/NuGetPackageViewModel.cs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a1cb8ea2234f05560cc782098ac8adc62df88ccada68a9e685fb453a1ff52d1"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/ViewModels/UpdatePanelViewModel.cs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4f910ac0660a028af5c11c54172cf04476b978f9a571ca5feb1b4ad806f1702"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Views/MainToolBar.axaml.cs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd0b1ad4c95bd682575c2e47a13679e9e1fc8972f77774ba0530fb5ba7498d59"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // HACK : convert this.Dispose() to ((IDisposable)this).Dispose(), if Dispose is an explicitly implemented interface method. \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/CallBuilder.cs"},"region":{"startLine":653}}}],"partialFingerprints":{"codehealthFindingId/v1":"667154189b9fccdb189c0995317b1ba4f783264e93c047a30a9efa92bfb5817d"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // HACK: this is a special case for collection initializer calls, they do not allow a target to be \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/CallBuilder.cs"},"region":{"startLine":1405}}}],"partialFingerprints":{"codehealthFindingId/v1":"2919aed8277079978aa39caa00fcf2ab84b67191b086c04ef4780b06cd09ed3e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO : implement some more intelligent algorithm that decides which of these fixes (cast args, add target, cast target, add type args) \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":"ICSharpCode.Decompiler/CSharp/Disambiguator.cs"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"7961551c6a73f31c1fba43635f741c444d9248c1531a08a54403a7eb5b7bc700"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Improve nullability support so that we do not sprinkle ! operators everywhere."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/ExpressionBuilder.cs"},"region":{"startLine":3043}}}],"partialFingerprints":{"codehealthFindingId/v1":"0092f03ea0b2e6554ba8bbf3ba2973caf4a5ef0d4fd9cd01c253b01eb57084fe"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // HACK: avoid using Expression.Elements.Count: https://github.com/icsharpcode/ILSpy/issues/1202 \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/ExpressionBuilder.cs"},"region":{"startLine":3882}}}],"partialFingerprints":{"codehealthFindingId/v1":"35168ea169f1ed11075148755349bc811c5905ddbd05788b343256aa98dafa07"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO allowImplicitConversion \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":"ICSharpCode.Decompiler/CSharp/ExpressionBuilder.cs"},"region":{"startLine":5239}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fc76ae93bbabe801173f851a46ccf589d138d510f41c38529c0a7fd1cefa5de"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 16 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/ExpressionBuilder.cs"},"region":{"startLine":3045}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c0d12fe28cd555f8e3ba5cbe8992254824a7863a68ae017f6f3644bbd244fcb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO! \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":"ICSharpCode.Decompiler/CSharp/OutputVisitor/CSharpFormattingOptions.cs"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1efa677fc3653b984e0ada510d5f12a9c3d9c0d0b30291ea76a6eaabc7f5042"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 30 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/OutputVisitor/CSharpFormattingOptions.cs"},"region":{"startLine":980}}}],"partialFingerprints":{"codehealthFindingId/v1":"94a4010f8b1b7aac90959f76849bbf2217629a8219b68bbc147e78c9033350a3"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 19 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/OutputVisitor/CSharpFormattingOptions.cs"},"region":{"startLine":1011}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c595d7ad35f5c19e5052ee7859bf93aaf0352653ba2ae523e6d9fac8a70a81d"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 20 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/OutputVisitor/CSharpFormattingOptions.cs"},"region":{"startLine":1031}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a3953605d69d10884a90a9ae008c859b6b93f70766f3a176019233d43c3631e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Comma policy has changed. \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":"ICSharpCode.Decompiler/CSharp/OutputVisitor/CSharpOutputVisitor.cs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"8da5f19d67e5db6948da2d645f8f0ef481a236b0ee54ed37d181ebf09cfd4f93"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Comma policy has changed. \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":"ICSharpCode.Decompiler/CSharp/OutputVisitor/CSharpOutputVisitor.cs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"50051640bf292d10dd97bba5067a0831b2c6fda90062b7f3780e7841ec99e79c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: what about in parameters? \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":"ICSharpCode.Decompiler/CSharp/Resolver/CSharpConversions.cs"},"region":{"startLine":1333}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fa777f6991136d77cda36c4e3f318adc5af4b8998b4660ab4f7e1e4010ad4bb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: maybe make this a property on INamespace? \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":"ICSharpCode.Decompiler/CSharp/Resolver/CSharpResolver.cs"},"region":{"startLine":2180}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aba957e03dba5c7787813723f124e12161637ddd8552aa22413686884ae4db9"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if __MonoCS__ \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/Resolver/Log.cs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4e0df585c68ff2e41efaaa78d1ed5331d39a18d73f3f314f3477b2aac63eebe"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if __MonoCS__ \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/Resolver/Log.cs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d8f6fa21b63b900879b65f78ebff48a5451da1e72f80e87f88f942a11f95577"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if __MonoCS__ \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/Resolver/Log.cs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"97cc430d9b982bfbb5f57fa660d08324c3630560758f0dbe3d017132ce42c4b4"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if __MonoCS__ \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/Resolver/Log.cs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fa6f14246ae78e4d2e3c99598938c5523453eb47f86657b8717ae7753f72095"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if __MonoCS__ \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/Resolver/Log.cs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c65b6d7ebbdd16055364137057d0eef214f6cf1470279441ec996fe68c14fce"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO : Add a sequence point on foreach token (mapped to nop before using instruction). \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":"ICSharpCode.Decompiler/CSharp/SequencePointBuilder.cs"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"a907da7f67ede711a3ed69f3a707b4861fe469bbfc63c2a83924852db9772bed"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 23 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/Syntax/GeneralScope/AttributeSection.cs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"53adb0ef9f29a9a9d9b53cb3d7a297ac88a47d0a4f79b5e049dc9627bdbb4700"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 23 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/Transforms/ReplaceMethodCallsWithOperators.cs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"061f18c22a11f449ea8c48088375cafaf8a182dafc2258a1010764b916218748"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: maybe we should add an implicit Match-\u003Ebool conversion? (implicit operator bool(Match m) { return m != null; }) \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":"ICSharpCode.Decompiler/CSharp/Syntax/PatternMatching/Match.cs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"16a8035d86a7abfab520a9e02e26ad224bb4a0fb35abe3acb53e555fb15d9bc3"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // hack: penalize multiple layers of nested expressions \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/Transforms/AddCheckedBlocks.cs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4ddf965cb7222d2782db12498c2f9fd2f2685ace8354101d4c09e819e0e3dd3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: if no variable named _ is declared and var is used instead of T, use out _. \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":"ICSharpCode.Decompiler/CSharp/Transforms/DeclareVariables.cs"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cefdcdc240e0607691aaed099b9269ace2006c68de424a64ee014050250dddf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO : check whether there exists a variable named \u0027_\u0027 in scope. \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":"ICSharpCode.Decompiler/CSharp/Transforms/IntroduceQueryExpressions.cs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3dfa8f8e0b3fa28d646541dfe64e4d6e6d4d34bfb6412119f82ca434a14b807"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO : add ForeachAnnotation \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":"ICSharpCode.Decompiler/CSharp/Transforms/PatternStatementTransform.cs"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc095e64f07111f1b89895b169e8604c0642183bddf1d4df75f19790ce847181"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO : add ForeachAnnotation \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":"ICSharpCode.Decompiler/CSharp/Transforms/PatternStatementTransform.cs"},"region":{"startLine":690}}}],"partialFingerprints":{"codehealthFindingId/v1":"25c5d83307aa834d0e867b5f4a9c903593302bf507b875a10923c48fa3609d9b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO : This is dead code because LdTokenAnnotation is not added anywhere: \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":"ICSharpCode.Decompiler/CSharp/Transforms/ReplaceMethodCallsWithOperators.cs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcef596ca95f6cbcdc0aa65647fd0a7f340c186651f4f7fbdf17e9ff725c1c4f"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // HACK: because our current AST model doesn\u0027t allow specifying an explicit ordering across slots, \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/Transforms/TransformFieldAndConstructorInitializers.cs"},"region":{"startLine":718}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3fddd195d44787f69fd81b275499d971c074431c569e5b545400096f616792b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO : Remove once https://github.com/icsharpcode/ILSpy/issues/2032 is fixed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/DecompilerSettings.cs"},"region":{"startLine":910}}}],"partialFingerprints":{"codehealthFindingId/v1":"002427f555e5fe052e07dd620d207be2da7e076a0b72167dac3739a3de441f35"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: this can be made O(1) by numbering the dominator tree \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":"ICSharpCode.Decompiler/FlowAnalysis/ControlFlowNode.cs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"f795e68e65e35a3f9260d7e91d6144164d5b0327319bc0f0596ee533cd198322"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // HACK: the normal async/await logic expects \u0027initialState\u0027 to be the \u0027in progress\u0027 state \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/ControlFlow/AsyncAwaitDecompiler.cs"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc71dcc1906bf30a4a64d096089a9ef0c58c8637a83c38a3790a8293a74e292d"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // HACK: the normal async/await logic expects \u0027initialState\u0027 to be the \u0027in progress\u0027 state \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/ControlFlow/AsyncAwaitDecompiler.cs"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"95ded9d09042490f17d6d61cf877cdaa96f6cb8cec8d32334db1be8d94fe2d2a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: check against uses of promise fields in other methods? \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":"ICSharpCode.Decompiler/IL/ControlFlow/AsyncAwaitDecompiler.cs"},"region":{"startLine":1217}}}],"partialFingerprints":{"codehealthFindingId/v1":"53a05be36abbef3f219d6aa678b2c65b222f9a050c5d0bba943156cfe050160c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: check that we are accessing the current field (compare with get_Current) \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":"ICSharpCode.Decompiler/IL/ControlFlow/AsyncAwaitDecompiler.cs"},"region":{"startLine":1861}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e059701e1ce7b33d96ed7654c1a90ff56ef2d016f9140ccfc978c306cfb9395"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO : sanity check \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":"ICSharpCode.Decompiler/IL/ControlFlow/AwaitInCatchTransform.cs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bcfc4d8d678a02f7d64de648d705a0d88dc3102e67cfa84222ee6338361878b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: is SortBlocks() guaranteeing this, even if the user code has loops? \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":"ICSharpCode.Decompiler/IL/ControlFlow/StateRangeAnalysis.cs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"468257a18f338d8b057b595a29a6bfad74bbfa4daf96ff56ea7294255c855e58"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // HACK: While it\u0027s possible to have BlockContainers without entry point, \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Instructions/BlockContainer.cs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e6b9e64d33627e22f485c994250f5ec45d2c583ad74b02f85d82d49268a3f8a"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // HACK: We treat TargetBlock as non-nullable publicly, because it\u0027s only null inside \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Instructions/Branch.cs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"1755194f66cce8cca1a0a41953f44c1f13985f358ef1ecb1d0f89e5b00afee2a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: these are unclean semantics; we should probably drop this special case and adjust the other transforms. \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":"ICSharpCode.Decompiler/IL/Instructions/Comp.cs"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e6a99cf95f37a8755673b10bafbba243df78a3771c77991a3a7e499394624ca"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: implement lifted user-defined compound assignments \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":"ICSharpCode.Decompiler/IL/Instructions/CompoundAssignmentInstruction.cs"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"28a070dd157b03f23c6e33abf62537076458aec293994d8c0115038af7c0559e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO : check whether all type arguments can be inferred from the first argument \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":"ICSharpCode.Decompiler/IL/Instructions/MatchInstruction.cs"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"029438c537ba7cc70a2d71987abccfabbe3d8966143080bf2618fd592eef7de4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO : check whether the method is ambigious \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":"ICSharpCode.Decompiler/IL/Instructions/MatchInstruction.cs"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ac7ba0b770ec05a6300316fed54828574e937b4d051cc1d0d113799835e24b7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO v.LoadCount may be 2 if the deconstruction is assigned to a tuple variable \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":"ICSharpCode.Decompiler/IL/Transforms/DeconstructionTransform.cs"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fe42cc5dd2ad52b9174e2efa3e127755da4834e870a53851e09013afb0dd7c8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO : should make sure that the display-class \u0027this\u0027 is unused, \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":"ICSharpCode.Decompiler/IL/Transforms/DelegateConstruction.cs"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3ab4a15b483404de889967017a210468b742735a8b45d7f1f3dbfc8f700d955"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO : ldfld chains must be validated more thoroughly, i.e., we should make sure \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":"ICSharpCode.Decompiler/IL/Transforms/DelegateConstruction.cs"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"a334a950392b48d4d992c8f13e0ed9cdbbec17b597453d07c2244706d5b3c23a"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ILTransformContext context \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/DynamicCallSiteTransform.cs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6f0993a7485ab793da54a04b258c03bf9708d8ff85666a130a926ee817c9895"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: inlining of small integer types might be semantically incorrect, \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":"ICSharpCode.Decompiler/IL/Transforms/ILInlining.cs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"4df2fc218d81cc3b5752ae1036a7b39392a8f42d1f8f2d0e6ee4c03d43d50161"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // HACK: condition detection uses StartILOffset of blocks to decide which branch of if-else \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/PatternMatchingTransform.cs"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e9481038be697b13b8c69b4e2b3dd681edc762ac9655bc8701d3b2aca5a9181"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add tests and think about whether nullables need special considerations \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":"ICSharpCode.Decompiler/IL/Transforms/TransformAssignment.cs"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0af64c8d888c24b6459220336e68abcdde0208b4f9790e164cfdc86f26727bb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add tests and think about whether nullables need special considerations \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":"ICSharpCode.Decompiler/IL/Transforms/TransformAssignment.cs"},"region":{"startLine":900}}}],"partialFingerprints":{"codehealthFindingId/v1":"432a4af13f0f6d3d615e9e19f2dd3a116d0443e32f94b316d35fef0c690642d8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add tests and think about whether nullables need special considerations \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":"ICSharpCode.Decompiler/IL/Transforms/TransformAssignment.cs"},"region":{"startLine":985}}}],"partialFingerprints":{"codehealthFindingId/v1":"1481a80bed63e8eefe30ed7757c1e9f139c8b09c0ecd62421ae32e4f96647bfb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add tests and think about whether nullables need special considerations \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":"ICSharpCode.Decompiler/IL/Transforms/TransformAssignment.cs"},"region":{"startLine":1098}}}],"partialFingerprints":{"codehealthFindingId/v1":"fefa93441022c8c940b3369e44a23123fea5f38132ff52fbe8299396adafd944"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO : this is not entirely correct... we need argument type information to resolve Add methods properly \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":"ICSharpCode.Decompiler/IL/Transforms/TransformCollectionAndObjectInitializers.cs"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d50e90e35d01fc4784aad8499c66b2c998900b4a0cd4a62f61d1764a4993103"}},{"ruleId":"D17","level":"warning","message":{"text":"BareSuppressMessage: System.Diagnostics.CodeAnalysis.SuppressMessage \u2014 the suppression records no reason: either it carries no justification argument at all, or one that states nothing a reader can weigh (\u0022OK\u0022, \u0022By design\u0022). A suppression is a decision somebody made, and without the reason the next reader cannot tell a considered exception from an unexamined one, so it is never revisited. Write what makes this site legitimately different \u2014 the invariant that holds, the framework contract that forces the shape \u2014 or remove the suppression and fix what it hides."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/TypeSystem/IAttribute.cs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"93da65481191d74e635eee5af3b06c5d697b75ca8ecab7f5983e51d3c8f6b5c5"}},{"ruleId":"D17","level":"warning","message":{"text":"BareSuppressMessage: System.Diagnostics.CodeAnalysis.SuppressMessage \u2014 the suppression records no reason: either it carries no justification argument at all, or one that states nothing a reader can weigh (\u0022OK\u0022, \u0022By design\u0022). A suppression is a decision somebody made, and without the reason the next reader cannot tell a considered exception from an unexamined one, so it is never revisited. Write what makes this site legitimately different \u2014 the invariant that holds, the framework contract that forces the shape \u2014 or remove the suppression and fix what it hides."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/Util/BusyManager.cs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc237a90ce8d25ea5c081980c72a264e39af3e3bb49466ea8e8073bb455acedb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: maybe these should be extension methods? \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":"ICSharpCode.Decompiler/TypeSystem/InheritanceHelper.cs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"43e0a85e4825501fe36a1a4b82492f80eddd04811ad17b4c9a78093a622eaae3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO : Resolve assembly file (module)... \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":"ICSharpCode.Decompiler/TypeSystem/MetadataModule.cs"},"region":{"startLine":1004}}}],"partialFingerprints":{"codehealthFindingId/v1":"0de82c8d30052cd5c79a73ad1fe6b384e52ce81df7a2ff5cffc105a77efffe06"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 10 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/TypeSystem/TupleType.cs"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ecc824d2144eb2f6d466bce009dd35e6de7dea43c7485096315ce702db7a93b"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if SYSTEM_PRIVATE_CORELIB \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/Util/Index.cs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"03a9f1c7dd482547a74b36ff5bcba34c737a800f56d9377b65f5fd5f63e1ba2e"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if SYSTEM_PRIVATE_CORELIB \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/Util/Index.cs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"37a2aafcfdc454826b83f330d0e4e99188a648c8c432402c31e1b5334e9d332b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: optimize IsSubsetOf -- there\u0027s no need to build a temporary set \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":"ICSharpCode.Decompiler/Util/LongSet.cs"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"50868e44e81e593a60c361dece47120ae55525208c342ecd7b84b1a136fcb8db"}},{"ruleId":"D17","level":"warning","message":{"text":"ObsoleteWithCallers: [Obsolete] Equals"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/Util/LongSet.cs"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6e5e5f476ab3888b99378bf98ab0d9bb5253e8cf615105bec8abe9f145d6f8b"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if INSIDE_SYSTEM_WEB \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/Util/ResXResourceWriter.cs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cbf5070150e5a14ac3479d05dba88eb0fdcd24587545d42100bada7ab492569"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private IHostEnvironment _env \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyCmd/IlspyCmdProgram.cs"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"d461c017e557be4aa46518bb4f662dd233b1ec7294dd87117ebba76440917622"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private Mutex? heldMutex \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/AppEnv/SingleInstance.cs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"818b6d77a52f1bdc198f77854627ca82e260e43d9179ba49c9cf25c925efa245"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private SharpTreeNode[]? draggedNodes \u2014 assigned 2 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Controls/TreeView/SharpTreeView.cs"},"region":{"startLine":638}}}],"partialFingerprints":{"codehealthFindingId/v1":"58f2f9ec381ef581fe6846d9c8029a17505abf3ab32d17b5917be694b3fe451b"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private HighlightingColor typeParameterTypeColor \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Languages/CSharpHighlightingTokenWriter.cs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cc85c3aad59c6eb28ef7336a64ea5b4232cdf134abaf385f58cdd741c6867ae"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: drop this field and use Editor.ScrollToVerticalOffset once #594 ships and we bump the package."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/TextView/DecompilerTextView.axaml.cs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"cba200e32103396e3c33bf7d5728365fc06a1c34829d90dc02d113485ed245ec"}},{"ruleId":"D17","level":"error","message":{"text":"FileScopedPragmaDisable: #pragma warning disable CA1060 // Move pinvokes to native methods class \u2014 the disable has no matching restore anywhere in this file, so it does not end with the construct that needed it: it runs to the end of the file and silences the rule for everything written below, including code added years later that nobody weighed against it. Close it with the matching restore directive immediately after the construct it covers \u2014 that alone turns a standing exemption into a scoped one \u2014 or fix the cause and drop the directive entirely."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/TextView/SystemScrollSettings.cs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd6c9007ae6d1f5a6565ae2dd8fadfa1aaf197958a656ac06dc04f304ac2976a"}},{"ruleId":"D17","level":"error","message":{"text":"FileScopedPragmaDisable: #pragma warning disable CA1060 // Move pinvokes to native methods class \u2014 the disable has no matching restore anywhere in this file, so it does not end with the construct that needed it: it runs to the end of the file and silences the rule for everything written below, including code added years later that nobody weighed against it. Close it with the matching restore directive immediately after the construct it covers \u2014 that alone turns a standing exemption into a scoped one \u2014 or fix the cause and drop the directive entirely."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Util/ShellHelper.Windows.cs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"9799072aacdaa75e774ba7eb879f70229571f336a888526d2e14f8ed51c09387"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // rendering (with size/bpp labels) needs ICONDIR/ICONDIRENTRY parsing \u2014 TODO follow-up. \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":"ILSpy/TreeNodes/IconResourceEntryNode.cs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0281dc53410128e5b61e0b387d2a34c329453985a8574ea46d54526d6e749da"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: ship a ResourceImage.svg asset; the generic resource glyph is used for now. \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":"ILSpy/TreeNodes/ImageResourceEntryNode.cs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1db4d6e42df1b1a89927d28a2c212f3e54e375737a57fef2c8b4085a9e0d9c2"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ModuleReferenceHandle handle \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/TreeNodes/ModuleReferenceTreeNode.cs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aad048b2b3b3242e7329d33b696ca8f1ca5aafd2baf9ed15ad562728eda2277"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: ship Resource{Xml,Xsd,Xslt}.svg assets and pick by extension. Until then the \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":"ILSpy/TreeNodes/XmlResourceEntryNode.cs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eb780483ae9534932a2d4a723ffd0683bf6989daf8a28eee5a92148d0608adf"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: 1701 \u2014 this warning is switched off for the WHOLE project, in every file it builds, including code written years from now: nothing at the call site records that the rule was ever silenced, so the next reader has no reason to look here. Fix what the rule is reporting and drop the code from the list, or \u2014 if some occurrences really are legitimate \u2014 narrow the suppression to those sites and give each one its reason, so the rule keeps protecting the rest of the project."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/ICSharpCode.Decompiler.csproj"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dbe5c326a4d5f3650b8c8ec4cdfc2c390ef0bbf5516bd6c3e9938357a190042"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: 1702 \u2014 this warning is switched off for the WHOLE project, in every file it builds, including code written years from now: nothing at the call site records that the rule was ever silenced, so the next reader has no reason to look here. Fix what the rule is reporting and drop the code from the list, or \u2014 if some occurrences really are legitimate \u2014 narrow the suppression to those sites and give each one its reason, so the rule keeps protecting the rest of the project."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/ICSharpCode.Decompiler.csproj"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"11aa6daf63b6ebb1c4b40f3db8ea874b8d0bc875ddeb10cc0c797c46b50f2d93"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: 1591 \u2014 this project generates an XML documentation file as a build output, so its documentation is something it PUBLISHES to whoever consumes the assembly, and this entry switches off a rule whose only job is to report that documentation missing or malformed. The two decisions sit in the same file and the quiet one wins: the documentation this project ships has holes exactly where the rule would have pointed, no build says so, and the people who meet the gap are downstream \u2014 in their editor, at the moment they are trying to use the member. Write the documentation the rule is asking for and drop the code from the list; where only some elements genuinely cannot carry it, narrow the suppression to those sites and give each one its reason, so the rest of the API stays covered. If the documentation was never meant to be consumed, the honest fix is the other line \u2014 stop generating the file, so the project no longer publishes something it is choosing not to check."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/ICSharpCode.Decompiler.csproj"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a4c24eb4530d73213ebf0135f2889d756ddb9ac7cafdad91544023b2ce860e1"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: 1573 \u2014 this project generates an XML documentation file as a build output, so its documentation is something it PUBLISHES to whoever consumes the assembly, and this entry switches off a rule whose only job is to report that documentation missing or malformed. The two decisions sit in the same file and the quiet one wins: the documentation this project ships has holes exactly where the rule would have pointed, no build says so, and the people who meet the gap are downstream \u2014 in their editor, at the moment they are trying to use the member. Write the documentation the rule is asking for and drop the code from the list; where only some elements genuinely cannot carry it, narrow the suppression to those sites and give each one its reason, so the rest of the API stays covered. If the documentation was never meant to be consumed, the honest fix is the other line \u2014 stop generating the file, so the project no longer publishes something it is choosing not to check."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/ICSharpCode.Decompiler.csproj"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bb1677df791bc8cd61a633dc15d8b0e017367ace356991e6a8630d294b93f7d"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj \u2014 known-vulnerability alert suppressed: NU1903 \u2014 this is not a style rule being switched off: it is the dependency audit reporting that a package this project references has a KNOWN, already-published security vulnerability, and the entry deletes that report for the whole project \u2014 for this package and for every dependency the project takes from here on, including ones added long after whoever wrote the line has moved on. Nothing in the build will raise it again, so the next reader has no way to learn it was ever accepted. Upgrade the package to a version carrying the fix, or replace it, and drop the code from the list. Where the fix genuinely does not exist yet, keep the report and stop it FAILING the build \u2014 demote it to a warning without silencing it \u2014 and write down which advisory is being accepted and until when, so it is the acceptance that expires rather than the alert."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/ICSharpCode.Decompiler.Tests.csproj"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9566e772a9e398f16c540b347d4ae4ba30df5ca60c2b7bfc25ef8dc9b67073a"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: NU1510 \u2014 this warning is switched off for the WHOLE project, including builds years from now. It is raised by the build itself \u2014 the packaging, restore or SDK step \u2014 about the project as a whole, not by the compiler or an analyzer at a line of code, so there is no call site to narrow it to and no per-site directive that could carry a reason: this element is the only place the decision can be recorded. Say WHY here, in a comment on the entry, or fix what the rule is reporting and drop the code from the list."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Directory.Build.props"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dd2c0f1bc6fae94c476742a893c35de7153943503c0bde5fd83e9da0475b18e"}},{"ruleId":"D17","level":"error","message":{"text":"DemotedWarningsAsErrors: TreatWarningsAsErrors \u2014 this repository turns the warnings-are-errors gate ON in a scope above this line, and this entry switches it back OFF: from here down, no warning fails the build. That is broader than any suppression list \u2014 it is not one rule silenced but every rule, present and future, stopped from gating, for every project under this scope and for code nobody has written yet. Warnings keep being printed, so nothing looks switched off, and the only record of the decision is this line, which a reader of the code below has no reason to open. Fix what the build is reporting here and delete the entry so the scope rejoins the gate, or \u2014 where this scope really is allowed to warn (generated code, throwaway benchmarks) \u2014 name the codes it is allowed to warn about instead of standing the whole gate down, so the exception stays reviewable and the rest keeps protecting you. If the demotion is genuinely correct as it is, say why in a comment above it: that is what turns it from unexplained debt into a recorded decision, and it clears this row."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyCmd/ICSharpCode.ILSpyCmd.csproj"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"df7a2ad296deea30a6dcbcb96ca8b0d0b0c35869f4e441af44bc11587f84b259"}},{"ruleId":"D17","level":"error","message":{"text":"AnalyzerSeverityNone: IDE0007 \u2014 this rule is switched off for every file the section matches, in every project under this directory, and the only record that it was ever switched off is this line: nothing at the sites it would have reported says so, so a reader of that code has no reason to look here, and code added years from now inherits the decision silently. Fix what the rule reports and delete the entry, or \u2014 where some sites really are legitimate \u2014 leave the rule on and suppress it at those sites with their reasons, so it keeps protecting the rest of the tree. If the rule is genuinely unwanted here, say why \u2014 on this line after the entry, or in the comment run directly above it: a comment that only repeats the rule\u0027s own title is read as no explanation at all and leaves this row in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".editorconfig"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc34c9169936bfd57f9239e0d6a432a067791f2cbb4b006cb87005780fcb66ac"}},{"ruleId":"D17","level":"error","message":{"text":"AnalyzerSeverityNone: CA1060 \u2014 this rule is switched off for every file the section matches, in every project under this directory, and the only record that it was ever switched off is this line: nothing at the sites it would have reported says so, so a reader of that code has no reason to look here, and code added years from now inherits the decision silently. Fix what the rule reports and delete the entry, or \u2014 where some sites really are legitimate \u2014 leave the rule on and suppress it at those sites with their reasons, so it keeps protecting the rest of the tree. If the rule is genuinely unwanted here, say why \u2014 on this line after the entry, or in the comment run directly above it: a comment that only repeats the rule\u0027s own title is read as no explanation at all and leaves this row in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/.editorconfig"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"23495d26ba72ac3f6469fa6d50afb060b365cf73053aa2403d48eca3b0d5b231"}},{"ruleId":"D17","level":"error","message":{"text":"AnalyzerSeverityNone: CA1063 \u2014 this rule is switched off for every file the section matches, in every project under this directory, and the only record that it was ever switched off is this line: nothing at the sites it would have reported says so, so a reader of that code has no reason to look here, and code added years from now inherits the decision silently. Fix what the rule reports and delete the entry, or \u2014 where some sites really are legitimate \u2014 leave the rule on and suppress it at those sites with their reasons, so it keeps protecting the rest of the tree. If the rule is genuinely unwanted here, say why \u2014 on this line after the entry, or in the comment run directly above it: a comment that only repeats the rule\u0027s own title is read as no explanation at all and leaves this row in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/.editorconfig"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"a754e5d7e36c00249ca542e518b92423826dcdf6e4adbf073c54f9a82e0c7dd5"}},{"ruleId":"D17","level":"error","message":{"text":"AnalyzerSeverityNone: CA1065 \u2014 this rule is switched off for every file the section matches, in every project under this directory, and the only record that it was ever switched off is this line: nothing at the sites it would have reported says so, so a reader of that code has no reason to look here, and code added years from now inherits the decision silently. Fix what the rule reports and delete the entry, or \u2014 where some sites really are legitimate \u2014 leave the rule on and suppress it at those sites with their reasons, so it keeps protecting the rest of the tree. If the rule is genuinely unwanted here, say why \u2014 on this line after the entry, or in the comment run directly above it: a comment that only repeats the rule\u0027s own title is read as no explanation at all and leaves this row in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/.editorconfig"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8aeec0b54c67d5f407dd7857ce696371623f40816d13c989e022c977b853fc4"}},{"ruleId":"D17","level":"error","message":{"text":"AnalyzerSeverityNone: CA1401 \u2014 this rule is switched off for every file the section matches, in every project under this directory, and the only record that it was ever switched off is this line: nothing at the sites it would have reported says so, so a reader of that code has no reason to look here, and code added years from now inherits the decision silently. Fix what the rule reports and delete the entry, or \u2014 where some sites really are legitimate \u2014 leave the rule on and suppress it at those sites with their reasons, so it keeps protecting the rest of the tree. If the rule is genuinely unwanted here, say why \u2014 on this line after the entry, or in the comment run directly above it: a comment that only repeats the rule\u0027s own title is read as no explanation at all and leaves this row in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/.editorconfig"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"aebdf3d6319d957159a4f99e535ae1502b626fc8322a5835d6e2bf06894fba95"}},{"ruleId":"D17","level":"error","message":{"text":"AnalyzerSeverityNone: CA1821 \u2014 this rule is switched off for every file the section matches, in every project under this directory, and the only record that it was ever switched off is this line: nothing at the sites it would have reported says so, so a reader of that code has no reason to look here, and code added years from now inherits the decision silently. Fix what the rule reports and delete the entry, or \u2014 where some sites really are legitimate \u2014 leave the rule on and suppress it at those sites with their reasons, so it keeps protecting the rest of the tree. If the rule is genuinely unwanted here, say why \u2014 on this line after the entry, or in the comment run directly above it: a comment that only repeats the rule\u0027s own title is read as no explanation at all and leaves this row in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/.editorconfig"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"441495919a28ce6d692d22e83f067660a8ee3275d397ec959f416c561409a5dd"}},{"ruleId":"D17","level":"error","message":{"text":"AnalyzerSeverityNone: CA2002 \u2014 this rule is switched off for every file the section matches, in every project under this directory, and the only record that it was ever switched off is this line: nothing at the sites it would have reported says so, so a reader of that code has no reason to look here, and code added years from now inherits the decision silently. Fix what the rule reports and delete the entry, or \u2014 where some sites really are legitimate \u2014 leave the rule on and suppress it at those sites with their reasons, so it keeps protecting the rest of the tree. If the rule is genuinely unwanted here, say why \u2014 on this line after the entry, or in the comment run directly above it: a comment that only repeats the rule\u0027s own title is read as no explanation at all and leaves this row in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/.editorconfig"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"34db7f99c9a2186097832e307e0170eeb2baf0a49ac635c4f46dc1c3cc724d1b"}},{"ruleId":"D17","level":"error","message":{"text":"AnalyzerSeverityNone: CA2101 \u2014 this rule is switched off for every file the section matches, in every project under this directory, and the only record that it was ever switched off is this line: nothing at the sites it would have reported says so, so a reader of that code has no reason to look here, and code added years from now inherits the decision silently. Fix what the rule reports and delete the entry, or \u2014 where some sites really are legitimate \u2014 leave the rule on and suppress it at those sites with their reasons, so it keeps protecting the rest of the tree. If the rule is genuinely unwanted here, say why \u2014 on this line after the entry, or in the comment run directly above it: a comment that only repeats the rule\u0027s own title is read as no explanation at all and leaves this row in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/.editorconfig"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"c58ca2b4b69c8414f0cb86692a4c3d70e1fa5a802eb97f6f61e5477243819afa"}},{"ruleId":"D17","level":"error","message":{"text":"AnalyzerSeverityNone: CA2241 \u2014 this rule is switched off for every file the section matches, in every project under this directory, and the only record that it was ever switched off is this line: nothing at the sites it would have reported says so, so a reader of that code has no reason to look here, and code added years from now inherits the decision silently. Fix what the rule reports and delete the entry, or \u2014 where some sites really are legitimate \u2014 leave the rule on and suppress it at those sites with their reasons, so it keeps protecting the rest of the tree. If the rule is genuinely unwanted here, say why \u2014 on this line after the entry, or in the comment run directly above it: a comment that only repeats the rule\u0027s own title is read as no explanation at all and leaves this row in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/.editorconfig"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"7492e6a95eaf03020e4aae90b5dbe6876fda2c71c3f1f310a365ba1f6e219f78"}},{"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":"D24","level":"note","message":{"text":"redundant comment: \u0022Build the Roslyn ID -\u003E symbol map\u0022 repeats the code it sits on: 4 of its 5 words (roslyn, id, symbol, map) are already in \u0060roslynIdMap = new Dictionary\u003Cstring, Microsoft.CodeAnalysis.ISymbol\u003E();\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/Documentation/IdStringProviderTests.cs"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"87f85ec8a65382efa2a23c7270fe00dda54498f8f17675dcb990c0b981f719cc"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022SimplePublicClass.Method() compared to itself\u0022 repeats the code it sits on: 4 of its 5 words (simple, public, class, method) are already in \u0060var method = FindMethod(\u0022SimplePublicClass\u0022, \u0022Method\u0022);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/Metadata/SignatureBlobComparerTests.cs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ad5f1511df59aef47f67bda84469973f1fc5a012af3e1b44d06c2b2f3764ef3"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022ParameterTests.MethodWithParamsArray(params object[])\u0022 repeats the code it sits on: 5 of its 6 words (parameter, tests, method, params, array) are already in \u0060var method = FindMethod(\u0022ParameterTests\u0022, \u0022MethodWithParamsArray\u0022);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/Metadata/SignatureBlobComparerTests.cs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"532e3121680377df7a917e3e281a5eab3015f3a96e3f77906d7abd331fa1c23a"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022User-defined conversion followed by nullable conversion\u0022 repeats the code it sits on: 4 of its 5 words (user, defined, conversion, nullable) are already in \u0060Conversion c = ImplicitConversion(typeof(DateTime), typeof(DateTimeOffset?));\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/Semantics/ConversionTests.cs"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"1897a94231896a7346f75cf316822ba646732eedd474c8d6ac7fb7a7bd55f73f"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022The names are the base indexer\u0027s, which is what the call instruction names.\u0022 repeats the code it sits on: 4 of its 5 words (names, base, indexer, call) are already in \u0060Use(((BaseNames)derived)[y: Get(1), x: Get(2)], 0, 0);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/TestCases/Pretty/NamedArguments.cs"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"b518eaac577d31cf666232a99137aca88eb8aa3e67daa8615c4fa49a660809c1"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Fix empty parameter names in delegate declarations\u0022 repeats the code it sits on: 5 of its 6 words (fix, parameter, names, delegate, declarations) are already in \u0060FixParameterNames(delegateDeclaration);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/CSharpDecompiler.cs"},"region":{"startLine":1846}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9d72b7115b1c4d6234fa524750942820d2d152a989083b7b38325afee097f60"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Initially we allow implicit conversions for the body,\u0022 repeats the code it sits on: 4 of its 5 words (allow, implicit, conversions, body) are already in \u0060body = body.ConvertTo(resultType, this, allowImplicitConversion: true);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/ExpressionBuilder.cs"},"region":{"startLine":4497}}}],"partialFingerprints":{"codehealthFindingId/v1":"729267f2f8f51a6e06520f0925dd8368430fa843618f67c25e51660ba37c676e"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022First instruction is the base constructor call\u0022 repeats the code it sits on: 4 of its 5 words (instruction, base, constructor, call) are already in \u0060if (!(body.Instructions[pos] is Call { Method: { IsConstructor: true } } baseCtorCall))\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/RecordDecompiler.cs"},"region":{"startLine":744}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc1846b221cf067f5e1210ac2dcb980bb205795ad10310b0ff21d37bc51bd9f1"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022base.GetHashCode(): call GetHashCode(ldloc this)\u0022 repeats the code it sits on: 5 of its 6 words (base, get, hash, code, call) are already in \u0060if (inst is Call { Method: { Name: \u0022GetHashCode\u0022 } } baseHashCodeCall)\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/RecordDecompiler.cs"},"region":{"startLine":1334}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c1bd3a33c8d8ce791d92525cbaf9e3dd18b4f792057108c16797211d6d655f6"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022If the type is nullable, get the underlying type:\u0022 repeats the code it sits on: 4 of its 4 words (type, nullable, get, underlying) are already in \u0060IType type = NullableType.GetUnderlyingType(expression.Type);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/Resolver/CSharpResolver.cs"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bae8424c8ce1d894824d1ab739eee6452fbef2ef9ce5ac3300eae6262d10151"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Remove all hidden groups\u0022 repeats the code it sits on: 3 of its 3 words (remove, hidden, groups) are already in \u0060lookupGroups.RemoveAll(g =\u003E g.MethodsAreHidden || g.Methods.Count == 0);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/Resolver/MemberLookup.cs"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"87f792d2117c7959ae2cade9321673d3c967d5c17b388078851a5cb2c2c24d7a"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Replacing virtual member with override:\u0022 repeats the code it sits on: 4 of its 4 words (replacing, virtual, member, override) are already in \u0060for (int i = lookupGroups.Count - 1; i \u003E= 0 \u0026\u0026 !replacedVirtualMemberWithOverride; i--)\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/Resolver/MemberLookup.cs"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d503801c765aa1806e61cbf8eb95748b495270d91b3419abaed3e24fa38d97d"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Remove all hidden groups\u0022 repeats the code it sits on: 3 of its 3 words (remove, hidden, groups) are already in \u0060lookupGroups.RemoveAll(g =\u003E g.AllHidden);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/Resolver/MemberLookup.cs"},"region":{"startLine":702}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8e28c1b98207a20af749a3f4614fe036d58a4931fb04466b1259f1b456d5fbf"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022There is at least one type variable Xj that depends on Xi\u0022 repeats the code it sits on: 4 of its 5 words (type, xj, depends, xi) are already in \u0060if (typeParameters.Any((TP Xj) =\u003E DependsOn(Xj, Xi)))\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/Resolver/TypeInference.cs"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d6b63bb16977605344c54a4b6d0e5a7249abbfe4e02a48e6a71e42246bf04dd"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022return any of the candidates (prefer non-interfaces)\u0022 repeats the code it sits on: 4 of its 5 words (return, prefer, non, interfaces) are already in \u0060return GetFirstTypePreferNonInterfaces(result);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/Resolver/TypeInference.cs"},"region":{"startLine":1248}}}],"partialFingerprints":{"codehealthFindingId/v1":"963c04f5f06fcd69a84721eadcba0bdde7a908b23b1e09ec551d89c2844f18b4"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022b) context is checked, an unchecked block is open\u0022 repeats the code it sits on: 5 of its 5 words (context, checked, unchecked, block, open) are already in \u0060Cost costCheckedContextUncheckedBlockOpen = Cost.Infinite;\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/Transforms/AddCheckedBlocks.cs"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aa2d494d69f32d6591b5bd22448738fd804d310777b36001a714f89693c667f"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022d) context is unchecked, a checked block is open\u0022 repeats the code it sits on: 5 of its 5 words (context, unchecked, checked, block, open) are already in \u0060Cost costUncheckedContextCheckedBlockOpen = Cost.Infinite;\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/Transforms/AddCheckedBlocks.cs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"649eda5bfb300feecf2f1b423a21a933232a7ea7cbadfb0dc342e9e793b71812"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022join elementName2\u0022 repeats the code it sits on: 3 of its 3 words (join, element, name) are already in \u0060joinClause.JoinIdentifier = element2.Name!;    // join elementName2\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/Transforms/IntroduceQueryExpressions.cs"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"feeb6dc9dbb44cbcd0a78436d2832c36df0132f9d68ed3adb36b0c94898f3a41"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022dynamically create a pattern of an empty ctor\u0022 repeats the code it sits on: 4 of its 5 words (create, pattern, empty, ctor) are already in \u0060ConstructorDeclaration emptyCtorPattern = new ConstructorDeclaration();\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/Transforms/TransformFieldAndConstructorInitializers.cs"},"region":{"startLine":827}}}],"partialFingerprints":{"codehealthFindingId/v1":"5217ef385be33be6ebd324bed8bed7e6dca1256fdc3823847309fc08cb46a639"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Generate sequence points for the syntax tree\u0022 repeats the code it sits on: 4 of its 5 words (sequence, points, syntax, tree) are already in \u0060var sequencePoints = decompiler.CreateSequencePoints(syntaxTree);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/DebugInfo/PortablePdbWriter.cs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a992bbd9481a5d73c2d1e694aba9d966fa83c737cfad31132dd1e2e62567497"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Mark the variable as initialized:\u0022 repeats the code it sits on: 3 of its 3 words (mark, variable, initialized) are already in \u0060state.MarkVariableInitialized(v.IndexInFunction);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/FlowAnalysis/DefiniteAssignmentVisitor.cs"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fd70a73ef6be80b516e04c28b62c4227b08a2e965aabc3aff0fb45681715712"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022For each variable, find the list of ILInstructions storing to that variable\u0022 repeats the code it sits on: 6 of its 6 words (variable, find, list, il, instructions, storing) are already in \u0060List\u003CILInstruction\u003E[] storesByVar = new List\u003CILInstruction\u003E[scope.Variables.Count];\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/FlowAnalysis/ReachingDefinitionsVisitor.cs"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"56ecf733f1649ef9fa1654b585b190a27a6b71be25c8988cf550f058e09a67e1"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022if (comp(identifierVariable == id)) br realEntryPoint br jumpTableEntryBlock\u0022 repeats the code it sits on: 9 of its 11 words (identifier, variable, id, real, entry, point, jump, table, block) are already in \u0060return ParseIfJumpTable(id, jumpTableStartBlock, identifierVariable, out realEntryPoint, out nextBlockOrExitContainer, o \u2026\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/ControlFlow/AwaitInCatchTransform.cs"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"d711c77e12ca287f3e2a391e69f4f811c4542fd258ce68daf72620a6e968ba58"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Remove \u0027nop\u0027 instructions\u0022 repeats the code it sits on: 3 of its 3 words (remove, nop, instructions) are already in \u0060block.Instructions.RemoveAll(inst =\u003E inst.OpCode == OpCode.Nop);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/ControlFlow/ControlFlowSimplification.cs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"38fa54270cbe473ef110b8a9cc53d4b7542d2a650c84c15576ed49e433405040"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Build a new BlockContainer for the finally body.\u0022 repeats the code it sits on: 5 of its 6 words (new, block, container, finally, body) are already in \u0060var finallyContainer = new BlockContainer().WithILRange(handler.Body);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/ControlFlow/RuntimeAsyncExceptionRewriteTransform.cs"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"895bf18edc9130a0e54422ae1c8bde51cf321c79fe853fc69bf07ff392ce6fde"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Move case-body and dominated blocks into the handler\u0027s body container.\u0022 repeats the code it sits on: 7 of its 7 words (move, case, body, dominated, blocks, handler, container) are already in \u0060AwaitInFinallyTransform.MoveDominatedBlocksToContainer(caseBody, null, cfg, handlerBody, context);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/ControlFlow/RuntimeAsyncExceptionRewriteTransform.cs"},"region":{"startLine":812}}}],"partialFingerprints":{"codehealthFindingId/v1":"74c48351cbcfa034c14a80605dcea514ef12bce107da56046a01696e02564943"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Move offset into labels:\u0022 repeats the code it sits on: 3 of its 3 words (move, offset, labels) are already in \u0060context.Step(\u0022Move offset into switch labels\u0022, bop);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/ControlFlow/SwitchDetection.cs"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fb41cc97f03560bf5689aa7043b0e6bd8f5c8bd7bb5a7c51787aa2b4074e31b"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022create yield return\u0022 repeats the code it sits on: 3 of its 3 words (create, yield, return) are already in \u0060newBlock.Instructions.Add(new YieldReturn(value).WithILRange(oldInst));\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/ControlFlow/YieldReturnDecompiler.cs"},"region":{"startLine":894}}}],"partialFingerprints":{"codehealthFindingId/v1":"1166725270b1c062cb670173f3c4a47d8ddd5209d86efd5a8515656c09b87da0"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create a dummy block for the try offset\u0022 repeats the code it sits on: 4 of its 5 words (create, block, try, offset) are already in \u0060var block = new ImportedBlock(eh.TryOffset, ImmutableStack\u003CILVariable\u003E.Empty);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/ILReader.cs"},"region":{"startLine":663}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aa1a58af2c1956212a6571a26ac3b9e7d44f30fbfb02f5f3e99b5f33642a1be"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022evaluate the value for its side-effects\u0022 repeats the code it sits on: 4 of its 4 words (evaluate, value, side, effects) are already in \u0060context.Step(\u0022remove dead store to stack: evaluate the value for its side-effects\u0022, block.Instructions[i]);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/CopyPropagation.cs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"07f4805f832da338143c33a264a79da4e2e1295fd5302b9eb06915e559618f63"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022set exceptionType\u0022 repeats the code it sits on: 3 of its 3 words (set, exception, type) are already in \u0060catchBlock.Variable.Type = exceptionType;\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/DetectCatchWhenConditionBlocks.cs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"691eaf6f70e73e864ceaef2ecb556c50bc9fd488abc34470b325458f061b0122"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022move the block to the end of the loop:\u0022 repeats the code it sits on: 4 of its 4 words (move, block, end, loop) are already in \u0060loop.Blocks.MoveElementToEnd(incrementBlock);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/HighLevelLoopTransform.cs"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"6881dfb40a952f4517b7ae1832d70f37b3f2d2a0132a331206de4a99e6f09db8"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022create namedArgBlock:\u0022 repeats the code it sits on: 4 of its 4 words (create, named, arg, block) are already in \u0060namedArgBlock = new Block(BlockKind.CallWithNamedArgs);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/NamedArgumentTransform.cs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"122a1343de069849e078915697925b59c6a1326cd685f316e8194d754adcb3b2"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022testedVar == null ? trueInst : falseInst\u0022 repeats the code it sits on: 6 of its 6 words (tested, var, null, true, inst, false) are already in \u0060return TryNullPropagation(testedVar, falseInst, trueInst, Mode.ReferenceType);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/NullPropagationTransform.cs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c667f92998772923b58dfd8ded346f98244c736db0a3f36e055af48da3f00df"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Wrap varLoad in nullable.unwrap:\u0022 repeats the code it sits on: 4 of its 5 words (var, load, nullable, unwrap) are already in \u0060replacement = new NullableUnwrap(varLoad.InferType(context.TypeSystem), varLoad.ResultType, varLoad, refInput: varLoad.R \u2026\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/NullPropagationTransform.cs"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa1c55bb0143016c032fcbc40fea04b3d89166b899d6d627ce95792a89c9b66b"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022stloc defaultTemporary(default.value type)\u0022 repeats the code it sits on: 4 of its 5 words (default, temporary, value, type) are already in \u0060if (!(block.Instructions[pos \u002B 1].MatchStLoc(out var defaultTemporary, out var defaultExpression) \u0026\u0026 defaultExpression.M \u2026\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/NullPropagationTransform.cs"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4d44a64cc2fdc2de7afcbed94998531eab35da27e4a2ec9984d4cf69a71ab75"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Visit all children of the instruction\u0022 repeats the code it sits on: 3 of its 3 words (visit, children, instruction) are already in \u0060ILInstruction result = null;\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/TransformDisplayClassUsage.cs"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bb229a500e04aaf1f153d00d0e215e008e8e13122b3a3fceb26000446049192"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Check falseInst:\u0022 repeats the code it sits on: 3 of its 3 words (check, false, inst) are already in \u0060if (!(falseInst is DynamicBinaryOperatorInstruction binary))\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/UserDefinedLogicTransform.cs"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"0537b87948924033c91678805050cadafc774b76926d6e8d4ae99f939ec3413d"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022create IModuleReferences for all references\u0022 repeats the code it sits on: 3 of its 3 words (create, module, references) are already in \u0060var referencedAssembliesWithOptions = new List\u003CIModuleReference\u003E(referencedAssemblies.Count);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/TypeSystem/DecompilerTypeSystem.cs"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"f88732fa2902277e80f1f0447e4d90eacffe2e357bac74e84f80fbb3ee341f81"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022top-level type\u0022 repeats the code it sits on: 3 of its 3 words (top, level, type) are already in \u0060this.topLevelType = new TopLevelTypeName(reflectionName);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/TypeSystem/FullTypeName.cs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"b947183e0eba921428ad8a86fceabc17c20e5a6104c1594bfce79a018937cd0e"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create type parameters:\u0022 repeats the code it sits on: 3 of its 3 words (create, type, parameters) are already in \u0060this.TypeParameters = MetadataTypeParameter.Create(module, this.DeclaringTypeDefinition, this, td.GetGenericParameters() \u2026\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/TypeSystem/Implementation/MetadataTypeDefinition.cs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ec90dcdfc015780f1b68008807a2e20f067ed3dad8caa4bbab4653d0338e1da"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create type parameters:\u0022 repeats the code it sits on: 3 of its 3 words (create, type, parameters) are already in \u0060this.TypeParameters = MetadataTypeParameter.Create(module, this, td.GetGenericParameters());\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/TypeSystem/Implementation/MetadataTypeDefinition.cs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"26830d6891940f2cc2805a5995c4e6c1dba013aee30043510b6b838c4bb41939"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022nulls written as ResXNullRef\u0022 repeats the code it sits on: 4 of its 5 words (nulls, res, null, ref) are already in \u0060WriteString(name, \u0022\u0022, \u0022System.Resources.ResXNullRef\u0022 \u002B WinFormsAssemblyName, comment);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/Util/ResXResourceWriter.cs"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dc7f9328af68bca624fa280e8d862662e148c51212ee39da73d9a376af1b04b"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022get ancestor types this one is inheriting members from\u0022 repeats the code it sits on: 4 of its 5 words (get, types, inheriting, members) are already in \u0060Dictionary\u003Cstring, CD.Type.InheritedMembers\u003E inheritedMembersByType = type.GetNonInterfaceBaseTypes().Where(t =\u003E t != ty \u2026\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/MermaidDiagrammer/Factory.BuildTypes.cs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a5a3274917bae650c24ec9a33fbd2c9a9666d9d7269ee39c5badd3bee63b269"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Parse the JSON data\u0022 repeats the code it sits on: 3 of its 3 words (parse, json, data) are already in \u0060const model = JSON.parse(data);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/MermaidDiagrammer/html/gulpfile.js"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"713004afe2183f1495a5c78dd065dcacbc44fb9d8bad132dca82f9a47965a932"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Read template.html\u0022 repeats the code it sits on: 3 of its 3 words (read, template, html) are already in \u0060fs.readFile(\u0027template.html\u0027, \u0027utf8\u0027, function (err, templateContent)\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/MermaidDiagrammer/html/gulpfile.js"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bb4744ee337bf94e3d5b4ba5baba6066c5c759eecdacb9ac49a80b665a20ec2"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022document the type label itself\u0022 repeats the code it sits on: 3 of its 3 words (document, type, label) are already in \u0060if (hasProperty(docs, typeKey)) documentOwnLabel(title.querySelector(nodeLabel), typeKey);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/MermaidDiagrammer/html/script.js"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"6076d3ea5fdbef26864600ccff7e9866008b31f73011599f3f39a1160064c86c"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Rotate tree to the left * * this right * / \\ / \\ * A right ===\u003E this C * / \\ / \\ * B C A B\u0022 repeats the code it sits on: 4 of its 4 words (rotate, tree, left, right) are already in \u0060SharpTreeNode b = right.left;\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/TreeView/FlatListTreeNode.cs"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"394a63bc67d328a0448492c9388990cc5e1e49773a9b1d37ec229d18cfb80377"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Rotate tree to the right * * this left * / \\ / \\ * left C ===\u003E A this * / \\ / \\ * A B B C\u0022 repeats the code it sits on: 4 of its 4 words (rotate, tree, right, left) are already in \u0060SharpTreeNode b = left.right;\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/TreeView/FlatListTreeNode.cs"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb44e721030a207752789ae8d152fec382bc27793031dec43179075be07e8c32"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Then replace node with tmp\u0022 repeats the code it sits on: 3 of its 3 words (replace, node, tmp) are already in \u0060node.ReplaceWith(tmp);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/TreeView/FlatListTreeNode.cs"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bb97f2791e1aaa7f0bdaca5f95cd82a59cc0fdc82c819e4116ff7d9dfb8a80e"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022General Information about an assembly is controlled through the following set of attributes. Change these attribute values to modify the information associated  \u2026\u0022 is Visual Studio AssemblyInfo template text, left in place. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy.AddIn.VS2022/Properties/AssemblyInfo.cs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc02bd884b761934f3dfa300c20110482ce8e14c0f0802abd270ba6d6202acad"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022General Information about an assembly is controlled through the following set of attributes. Change these attribute values to modify the information associated  \u2026\u0022 is Visual Studio AssemblyInfo template text, left in place. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy.ReadyToRun/Properties/AssemblyInfo.cs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae015147e02f61dbae0e79dea4cf8d4432f7a74d9a41085635f889e12642b8bd"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Assert \u2014 at least one reference exposes its own AssemblyRefs.\u0022 repeats the code it sits on: 4 of its 5 words (reference, exposes, assembly, refs) are already in \u0060foundTransitive.Should().BeTrue(\u0022at least one reference must expose its own AssemblyRefs as child nodes\u0022);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy.Tests/AssemblyList/AssemblyTreeTests.cs"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"86959911a6b645ef0792d41cf279f2b46ae232cc78a3a66dc984e563ab8ac00b"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Assert \u2014 the editor\u0027s hyperlink-click option is off.\u0022 repeats the code it sits on: 4 of its 5 words (editor, hyperlink, click, option) are already in \u0060editor.Options.RequireControlModifierForHyperlinkClick.Should().BeFalse(\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy.Tests/Commands/HelpCommandTests.cs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"36df1486cb7cb7c7a6bc5523742a790638f7039f6be0615a64973d26d0f36a4a"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Wait for the tab strip to realise its items.\u0022 repeats the code it sits on: 4 of its 5 words (wait, tab, strip, items) are already in \u0060await Waiters.WaitForAsync(() =\u003E window.GetVisualDescendants().OfType\u003CDocumentTabStripItem\u003E().Any(),\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy.Tests/Docking/PreviewTabPromotionTests.cs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"62f53536ce31d2589f49b58ea3f7466003032d0fb671a71f7dbc80e3454f45cb"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Exported with Header=Select / Category=Editor.\u0022 repeats the code it sits on: 4 of its 5 words (exported, select, category, editor) are already in \u0060var window = AppComposition.Current.GetExport\u003CMainWindow\u003E();\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy.Tests/Editor/EditorCommandsTests.cs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"e25fe6c72c52b92c46e0c670f787d77adcb6d91f83f41904b051195419521261"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Type rows show a fully-qualified type signature with its type parameters.\u0022 repeats the code it sits on: 6 of its 7 words (type, show, fully, qualified, signature, parameters) are already in \u0060protected const ConversionFlags TypeSignatureFlags =\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Analyzers/AnalyzerEntityTreeNode.cs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"309f12507274bd3fb15f81f25b526c41a2b2af7b66498cb75160d93ab6078621"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Resolves a namespace to its tree node within its contributing assembly.\u0022 repeats the code it sits on: 5 of its 6 words (namespace, tree, node, contributing, assembly) are already in \u0060static NamespaceTreeNode? FindNamespaceNode(AssemblyListTreeNode root, INamespace ns)\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/AssemblyTree/TreeNodeLocator.cs"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e69df3aa8fc46b74d36fee974ffc610d90cc68ce618a0031f5be6c7e6fb0201"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060ICSharpCode.Decompiler\u0060 overshoots its size bounds (161571 LoC, 747 public types across 27 namespaces). 3 of 20 project(s) overshoot their size bounds, lowering Project Cohesion to 7.0/10. Size alone is no reason to split a project: where its type references show a separable part, a Split row names it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/ICSharpCode.Decompiler.csproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"74039d2b8a6f7682e775ff3a39168f48953cab2a763da9a1c606e4d78df30a2d"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060ILSpy\u0060 overshoots its size bounds (50951 LoC, 459 public types across 33 namespaces). 3 of 20 project(s) overshoot their size bounds, lowering Project Cohesion to 7.0/10. Size alone is no reason to split a project: where its type references show a separable part, a Split row names it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/ILSpy.csproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ad5247fcbb34d8fef7fbd907cf62eba60b7a15d4dc5a5e23d123e81cec9f514"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060ICSharpCode.ILSpyX\u0060 overshoots its size bounds (13570 LoC, 89 public types across 15 namespaces). 3 of 20 project(s) overshoot their size bounds, lowering Project Cohesion to 7.0/10. Size alone is no reason to split a project: where its type references show a separable part, a Split row names it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/ICSharpCode.ILSpyX.csproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"49467db30b4acb65d92dd1f1f34e6d28e03aef1e93e0cedc7f530ee3d0b37385"}},{"ruleId":"D26","level":"note","message":{"text":"Split ICSharpCode.ILSpyX: \u0060ICSharpCode.ILSpyX\u0060 overshoots its size bounds (13570 LoC, 89 public types across 15 namespaces). These parts reach the rest of the project only through its shared core (\u0060(root)\u0060, \u0060Abstractions\u0060, \u0060Extensions\u0060, \u0060FileLoaders\u0060, \u0060Instrumentation\u0060, \u0060PdbProvider\u0060, \u0060Settings\u0060), so they are the cleanest seams: \u0060ICSharpCode.ILSpyX.Analyzers\u0060 (31 types in 23 files): 0 of 262 of its type references cross into a sibling namespace, and the rest of the project uses it 0 times and it uses the rest 28 times; \u0060ICSharpCode.ILSpyX.MermaidDiagrammer\u0060 (15 types in 7 files): 0 of 112 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; \u0060ICSharpCode.ILSpyX.TreeView\u0060 (13 types in 12 files): 0 of 126 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. Extract each into its own project."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/ICSharpCode.ILSpyX.csproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"75dfec7670a5f3282c29fea20808a637b18bb451a284f59bcf632ea43c179647"}},{"ruleId":"D26","level":"note","message":{"text":"Split ILSpy: \u0060ILSpy\u0060 overshoots its size bounds (50951 LoC, 459 public types across 33 namespaces). These parts reach the rest of the project only through its shared core (\u0060(root)\u0060, \u0060AppEnv\u0060, \u0060Navigation\u0060, \u0060NuGetFeeds\u0060, \u0060Options\u0060, \u0060Processes\u0060, \u0060Updates\u0060, \u0060Util\u0060), so they are the cleanest seams: \u0060ICSharpCode.ILSpy.ImageList\u0060 (8 types in 3 files): 13 of 95 of its type references cross into a sibling namespace, and the rest of the project uses it 0 times and it uses the rest 21 times. Extract each into its own project."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/ILSpy.csproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"acf082cb2ecebd89286dca3007021c227c76a69963433d995e76e2cc9019915d"}},{"ruleId":"D27","level":"note","message":{"text":"Pass-through layer: TextOutputWriter: all 3 public methods forward their arguments unchanged to output and add no behaviour \u2014 an extra hop (and usually an extra interface) to trace through. Call output directly, or give the layer a job."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/Output/TextOutputWriter.cs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"bad9f4d8b74f42a707acec1bbfe44ae6a75487aef9d37eb116c808a40fb6a97a"}},{"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":"6bfcaa5ce3a6e764ef57f87b7d647c8953544481905015b9ea4db3dcca5780b9"},"properties":{"commitSha":"4bbae335f71727545fa2b4bbb076531058b3b675"},"taxa":[{"id":"CWE-321","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07: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":"9c3f765ed731b5d8e80d76aeb64771b986f3ec9d7d90f07a64c7140b9600bd64"},"properties":{"commitSha":"e42166ca85e5780e3d1ed7c7b91de3519089de35"},"taxa":[{"id":"CWE-321","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07: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":"8c484d357d56aa798a8fcc6c77c56e830116e01979000b32c20178d301948050"},"taxa":[{"id":"CWE-321","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07: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":"10382e09d1f15fc21757c54b1761efdf33ec8aba1ddf9037372e2bd710cc4acf"},"properties":{"commitSha":"8ba34d97557a503fec61aad21ea576b42a322ab3"}},{"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":"10ce38e8e929fe57672d98257b273728e98f38dda9eb7438eb5ad7525652d664"},"taxa":[{"id":"CWE-321","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07: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":"f9d48b8ac0b8e6091094258695cccf1a78aecc1be9eaaa66a0687197e7167246"},"properties":{"commitSha":"382f24666a17dc68986b009cf292b172e1e35cd9"}},{"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":"890770f6da6d3e1b1fb4eb80b02842f8634e95bcf3b1e6743f1544a823996292"},"properties":{"commitSha":"de279f32b3c08638bfbd6965b966e464c5b46a5d"},"taxa":[{"id":"CWE-321","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07: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":"d5b8f11381d61a58459ffc7c595fd52d09c03c711894a63a9578043d2338412b"},"taxa":[{"id":"CWE-829","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":"39d4acaca1eb83c719fef0b25e43ff46757382fea7785e6a699c33974d560741"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"607427fa4add865dcb6aa3cb5af5a64fe5a43ca60a561c955c6d3476fc6d3cd0"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"50b5ce9bcc61b913c09dc7e690b96f5babff4b68cb61bf2cb74d66960b544a6a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"88c256b25cf339a3c6de253f01aae6264121695fe58d6cd97bab84d260f0c3ae"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"c1f54fa1752baecb7b62bc6eb71cddf18fd5eea1c355211471ab73eb261a266a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"4cf247e3598d38dbdc41d17c1660f802316a4062e6ee742ccb8491def861f163"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"c462f900fd989d2e33f5442248d8f58271a6f0a7d509b1800cef4de25ac5c1b5"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"c940434b500caad9c85d726abb13a6f141a8adfa38026753f9b9f0715cc181ed"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"8e76de7d95fd81bdef3de51d88edf93baafa48f8d6425b46031f59a3436c287c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"afe2546e929aeb4f36fb042f98cc5d68ac9bef8083d722084811f9f4ff8460c2"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"252d83f1540b0a1c8f6019487a84fd801da07dd361505eeaa21d3a8f651267e0"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"4356b43432f9b0c97fff995ecd8c8edaafa88b916367dfaf0c383982ad34641c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"b5c612a241a8dbb9b5d05b503e7c4d6a8a04eeabb07dff2ffeac0345c9c35ac9"},"taxa":[{"id":"CWE-214","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-532","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A09: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":"81f03ace225c08cae1850252df30b24df922329264df3c3a6cc09da1aa257d52"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"0e6f5d0a22be1a0e7f48f6d76ec2d3f53753cc303d897bfe2417c4edf67f5151"},"taxa":[{"id":"CWE-214","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-532","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A09: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":"19c4ec9fb7a8c34259befb019993476649fead7e9d94d54b0daf9db78ace8896"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"4e72a38de8094643d7e46a5a8442715cde1d54ee2b54502b22b162958a336176"},"taxa":[{"id":"CWE-214","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-532","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A09: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":"e85d39ccb2f9b08ca150c46ff69df22eae4637a115797d0c6b239a173aa8a418"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"bba9cc4a13bd8525d2eeb587d068a8970e5dd4e456085f032c8db1a84ce24ece"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"01b5d42c6dc2625b655d3af78bdd98702e02fddc916926305bc4675a632f8550"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"1352a303d3a50f0646eabe4334fa865e72410a96394f2e5fced9f9e213bbddf5"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"71d660c0ce3916df9f22b8317e1070984bc362462e02351b476934ee3f6d5c02"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"84eaaeee4e3acb39c017286ba62bf1e4b6b466cb2a982e962e14800b472e722f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"5e7c185a231661722affc9c49a0afc284de1a9ca50e1b86f50eeef8d57785b58"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"611449824a2f636ae604ab660b7a454f5fdce3070e31e5417aef4ad743cba3c5"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"c840591af0599a2afc578928470839b51455df707133ac984a4f7b8121c17685"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"1768618c75ec30776242a616bd27b8001d86aecf2d718cffe26ac9166a31f3ad"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"3c2c42edc9fba129c8bd5d79f76681e2616368d20c09c7e2f0b8fef31ccae25e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"d08d6303597dfca8217189b40f1b92e30657fdfbdfde68683ba0224436371b27"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"c2a5b28b7f182eed9db3f0efdd32a2f6b33a20d154f8f2d0739a01f096280cb4"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"316994178988a5047ce65e3f6f2470800916e1f824e79219e123bbca3476a1c5"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"33666220473889876c14ff892598d2b2cedf569ef2909509ed10f970bbb9ddf9"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"d225a1bf14b8510adba5c5b6ffaac8d9450c754c6741cc0a2289c03ceab2e18e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"76aa321d71cd6b87c1cca61ec2c7ec61b9ee2bcfcdadd75de8c76c9e318a69fa"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"ca6fb17a661aae07fc70cfba597080fc8ce9609c765f3384d866222c882ddf8c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"2f82aaa661ef25f5063a594d03612772865b9629619352a57040245a52a57573"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"8f9f811a1f21662e32a47bd2558b7e403e7bef80126772d23a6cd1b76ebd94b9"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"789d7c1b3bd7432d8a9840a66aed6842d51710dbbe293ec123c69c1f29a71306"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"4474d6fe94293e440da90ef14c0e885ba5721abe941b4558db65581a74e2d91a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"155415ce3e56850cac7a98f9b9e3038aaf1799663466e3d24796e081f0da83a0"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"8fbd816e3edcba2755bb8f56cb9cdc73f010b563d365a25aa363acf1bbf11c2c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"367f56fd1792fa2f1c990c11986210ef62dfb643f7843d2476e51a4665bc99a0"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"54192d3d20814ac0f38c4aa72445c421a4a37fa8580b91da26741fd0e5e4f791"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"e3bf9fb4bc05331fdee1ba53e27f25c1f8b5c81dadc5dc1e1414016f81d609e6"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"5d04c051ac75951b63ba00fca7e4db104068fce361c24f6314595911090af012"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"17c4c1f22dd983b85492f1182ed6ad18d9b9d6245654555336e828b2ea7476a8"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"a463341869fa2bef9f30e4401a1767ff8511c514503fe9df0ea1a6a4442e8f02"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"18572cbf795fdf169e2cdcf7183df9aa32ccc56e8206511338df97b19147c474"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"29a51b2a0abd818229009e358973d201c2cf41f94dbc7c7392dd7d78fc160d81"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"774a569f4abbb1fe6ca5ea31a848a2324bc3d85ed7eb76dc4f7a47e409a0e12d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"9042144ec12da9fc172583114d9782554a31fbc59e39deef28395cc584b0228f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"479f37bf414ba2fc373031481f2beda294759bd33be0f5017c83f8c5af6a3d94"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"3108b6984304a69747efa7145b1ed6ca9f19be7281a3ffb5bedba7865e696187"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"af4bb0a0ccfbc874267fcb5870d10148e70608cc0ea476cca7f46e5d0ce5a763"},"taxa":[{"id":"CWE-88","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05: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":"69d6a77e2e5b7d8bfb2e3a3bac5f5e58923f682b7231cba58ccebec6c3dc8d06"},"taxa":[{"id":"CWE-88","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05: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":"bbc5b2966ea0121001f62e54850d2db12531e01be7958b4287fe2fc79bbebc00"},"taxa":[{"id":"CWE-88","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05: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":"aed65b068125adf0a2a3ded7d251243018a85b284510d80d8e050986c785c0af"},"taxa":[{"id":"CWE-252","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-390","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10: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":"53743109d2ef58232e3e793c94eaa012810c3613da154a8fd3bf2b284ee415e8"},"taxa":[{"id":"CWE-252","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-390","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10: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":"b43c96a2ea907bfa3d2214acce0d81e899cdeb11dca474114f1ad162f7953ce9"},"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":"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":"8efff7e4bbb5aae5a89eeb82e8dc4a1c219515a991b30e4882af606805c3461c"},"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":"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":"7144dd72ccbf2dbe99042b0f839b04b55a40762af8c8fa814793d28f5979ac44"},"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":"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":"3f38638da5b80e31165d21c64c89fe3b92dd57035e2d64e4bcd916cf7a008a5a"},"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":"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":"0ed135b187a68d07e075332df35351d61cafaa25cb3631df06a578234ff64e36"},"taxa":[{"id":"CWE-1333","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02: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":"52aa3779254db43f750c72a72a618664fd587f424f60c0db13269373cb5f8639"},"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":"D31","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":"f9e7bd8370aea5433d3c7215e3faa3b688815e02d22200bb008c9c752c83c15d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/Util/CSharpPrimitiveCast.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f78a381576a94bb4a013eb3eb52c009db672bd166cdf813d65abf57bb43c163d"}},{"ruleId":"D34","level":"note","message":{"text":"Further orphaned files (smaller): 1 smaller file(s) also have no living knowledge \u2014 folded into the freshness score and metrics rather than raised one row each \u2014 most significant first: ICSharpCode.ILSpyX/Search/AssemblySearchStrategy.cs (2 orphaned of 511 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 511 of the 674 production source files in this repository met that bar). Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/Search/AssemblySearchStrategy.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7a322af24a9d76aadef103df366e1211d0f72d228419b49bac3cc55035e1ba0"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: CSharpOutputVisitor.cs \u2194 DepthFirstAstVisitor.cs: \u0060ICSharpCode.Decompiler/CSharp/OutputVisitor/CSharpOutputVisitor.cs\u0060 and \u0060ICSharpCode.Decompiler/CSharp/Syntax/DepthFirstAstVisitor.cs\u0060 change together 88% of the time (15 of the 17 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \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 different directories, but in this ecosystem the namespace is declared in the FILE, not by the folder \u2014 so the two may well share one namespace and reference each other with no import for this pass to see. Read the pair before acting: if one derives from or overrides the other, the dependency is explicit in the type declaration and the co-change is definitional; if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE and the thing to add is a comment saying so; if they simply belong together, co-locate them; if none of these holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 15 shared commits counted here, the most recent 3 are \u006091571224\u0060 Add ExtensionDeclaration syntax node; \u0060f7343c75\u0060 Add support for simple recursive patterns where the sub pattern is a \u2026; \u0060a5858f16\u0060 Add support for primary constructor syntax. \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/OutputVisitor/CSharpOutputVisitor.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d7faf19197e92b8b515fd834cc6a1c4389c3218e95571dae1b1439f31f2b4b9"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: GeneratePdbContextMenuEntry.cs \u2194 SelectPdbContextMenuEntry.cs: \u0060ILSpy/Commands/GeneratePdbContextMenuEntry.cs\u0060 and \u0060ILSpy/Commands/SelectPdbContextMenuEntry.cs\u0060 change together 50% of the time (6 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \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 6 shared commits counted here, the most recent 3 are \u006018a1591f\u0060 Surface fire-and-forget command failures immediately; \u00604d455142\u0060 Re-categorise assembly tree context-menu entries; \u006031bbcf41\u0060 Fix handling of file extensions in project export. \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Commands/GeneratePdbContextMenuEntry.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9489a01d21607f5d3bcd750dd0a145a659553abd3b037b551ddb6f5e38ad4607"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: DisplaySettingsViewModel.cs \u2194 MiscSettingsViewModel.cs: \u0060ILSpy/Options/DisplaySettingsViewModel.cs\u0060 and \u0060ILSpy/Options/MiscSettingsViewModel.cs\u0060 change together 50% of the time (5 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \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 5 shared commits counted here, the most recent 3 are \u0060c3a9f247\u0060 Move the remaining hard-coded Options labels into Resources; \u00601717acdd\u0060 Add a search box to the Options tab; \u006080f72ba4\u0060 Options tab \u2014 live bindings, left tabs, font preview \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Options/DisplaySettingsViewModel.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd1fa530f6a21a7d8cb25f738f3b1db1583dd315153ae7cc194727ba315f1496"}},{"ruleId":"D36","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":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","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":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"},"taxa":[{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","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":"d657599f6f99da1927d3377533dfc0888b34c4d84aa7d5579841fd72d0e39bce"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful shared instance: Choice: \u0060Choice\u0060 is not registered, but \u0060StatementBuilder\u0060 creates it and keeps it in the static \u0060moveNextConditionPattern\u0060, so that one instance serves the whole process and is shared by every thread that reaches it \u2014 and it mutates instance state outside any lock (alternatives; e.g. \u0060alternatives\u0060 at line 38)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/Syntax/PatternMatching/Choice.cs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b2565504472c78dda234eee4f435317bf01f457126197de9373ed3bf2343d1e"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful shared instance: ControlFlowNode: \u0060ControlFlowNode\u0060 is not registered, but \u0060LoopDetection\u0060 creates it and keeps it in the static \u0060NoExitPoint\u0060, so that one instance serves the whole process and is shared by every thread that reaches it \u2014 and it mutates instance state outside any lock (Successors; e.g. \u0060Successors\u0060 at line 85)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/FlowAnalysis/ControlFlowNode.cs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"60c370bbce06ac18d5826afd114fe456478ddc3e131478425ca5f6551614709c"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful shared instance: FileLoaderRegistry: \u0060FileLoaderRegistry\u0060 is not registered, but \u0060InputFileLoader\u0060 creates it and keeps it in the static \u0060loaders\u0060, so that one instance serves the whole process and is shared by every thread that reaches it \u2014 and it mutates instance state outside any lock (registeredLoaders; e.g. \u0060registeredLoaders\u0060 at line 37)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/FileLoaders/FileLoaderRegistry.cs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"7226b5be637014cc5a919793607c7a872fcdc6d310c8c1d869aeaf4fdd9dfe85"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful shared instance: ThemeManager: \u0060ThemeManager\u0060 keeps one instance of itself in the static \u0060Current\u0060, so that one instance serves the whole process and is shared by every thread that reaches it \u2014 and it mutates instance state outside any lock (Theme, themableDefinitions; e.g. \u0060Theme\u0060 at line 121)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Themes/ThemeManager.cs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"a17bcbfd7f1461f2e6f9b3c29e62cd5c2859f4bb0f27da3a7fa1adc6874b340d"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: DummyTypeParameter: \u0060DummyTypeParameter\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 (methodTypeParameters, classTypeParameters; e.g. \u0060methodTypeParameters\u0060 at line 35). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/TypeSystem/Implementation/DummyTypeParameter.cs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bbad7d594d51ac5da1cdb296fc5f29ea20d79f0c5b677a275f74ef6bd6bfba6"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: SharpTreeNode: \u0060SharpTreeNode\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 (ImagesProvider; e.g. \u0060ImagesProvider\u0060 at line 36). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/TreeView/FlatListTreeNode.cs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"1223dd476b0ec38aee5a0cb176fc491545e9a37ff83d49e671eb9d6223950946"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: App: \u0060App\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 (CommandLineArguments, Composition; e.g. \u0060CommandLineArguments\u0060 at line 61). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/App.axaml.cs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a42a491eaca43fb8f065bbf87b087140157806edfc346aad6c675abe9914b71"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: Images: \u0060Images\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 (iconCache; e.g. \u0060iconCache\u0060 at line 227). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Images.cs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"91b0818cd02774c7031ecc453ce5e948648fe390da72621f240499761673a326"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: WindowsTaskbarList: \u0060WindowsTaskbarList\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 (initialised, instance; e.g. \u0060initialised\u0060 at line 100). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/TaskbarProgressService.cs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ab4f3415d864eced22c206efc5156b706deac03350255c4eab2eca1e6ec848b"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: MainMenu: \u0060MainMenu\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 (promotedHelpItems; e.g. \u0060promotedHelpItems\u0060 at line 153). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Views/MainMenu.axaml.cs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"334e100fbd62056ff75afa10d26c679454e5a4a1f65f16d16beaa8c1605afc17"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: AppComposition: \u0060AppComposition\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 (resolverRegistered, composedAssemblies, current; e.g. \u0060resolverRegistered\u0060 at line 82). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/AppEnv/AppComposition.cs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"074c07fe6df94dc934fa64a7afdde80f4a559f899965c01f8ce02396d217f00a"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: CompositionErrors: \u0060CompositionErrors\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 (items; e.g. \u0060items\u0060 at line 48). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/AppEnv/CompositionErrors.cs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c7b2beee4cc6a9876c2270a3b8afb51132b0e23faec778c218a6bc6d66be0bd"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: InputDiagnostics: \u0060InputDiagnostics\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 (lastMoveTick; e.g. \u0060lastMoveTick\u0060 at line 140). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/AppEnv/InputDiagnostics.cs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a94b19d9ff449e35be0df027dab8fd7628774651bb343759e819816faf0c275"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: SingleInstance: \u0060SingleInstance\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 (heldMutex, ownLaunchId; e.g. \u0060heldMutex\u0060 at line 222). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/AppEnv/SingleInstance.cs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"424a46aa262f9dbf2e8c867ebad53d8a2f1310cf3e32f4dec5c8926ed3caae85"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: BookmarkMargin: \u0060BookmarkMargin\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 (hoverPreviewGlyph; e.g. \u0060hoverPreviewGlyph\u0060 at line 239). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Bookmarks/BookmarkMargin.cs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"62a579aaf09cd152135057fb474d018bdc48e70c7035cc3d0e597995ba86b31a"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: CSharpLanguage: \u0060CSharpLanguage\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 (cachedVersions; e.g. \u0060cachedVersions\u0060 at line 67). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Languages/CSharpLanguage.cs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"817834c0a3217b2730e954c25a067168cf79078f7b5a5ef00a058d9c5055fcfa"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: UpdateService: \u0060UpdateService\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 (LatestAvailableVersion; e.g. \u0060LatestAvailableVersion\u0060 at line 100). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Updates/UpdateService.cs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb631101fe40498447b422eb27b438ba23e1f057e35d747223c7f32e10a0b786"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: OpenCodeItemCommand: \u0060OpenCodeItemCommand\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 (instance; e.g. \u0060instance\u0060 at line 231). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy.AddIn.VS2022/Commands/OpenCodeItemCommand.cs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8feec64c6844f8d6c19a9cc21383121e66fc1b8585c9c2c48036bbdc677fb63"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: OpenILSpyCommand: \u0060OpenILSpyCommand\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 (instance; e.g. \u0060instance\u0060 at line 170). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy.AddIn.VS2022/Commands/OpenILSpyCommand.cs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7758677eb0a5a3d11defbf6058472c87612875ff6a59fc61ca56343d463ec08"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: OpenProjectOutputCommand: \u0060OpenProjectOutputCommand\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 (instance; e.g. \u0060instance\u0060 at line 67). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy.AddIn.VS2022/Commands/OpenProjectOutputCommand.cs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"371c676d67e2e7a034e9d914e22604a306e0b4f7226c353e938e7da0ae8ab131"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: OpenReferenceCommand: \u0060OpenReferenceCommand\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 (instance; e.g. \u0060instance\u0060 at line 123). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy.AddIn.VS2022/Commands/OpenReferenceCommand.cs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"63d3a9b4940dbb5e8cd16f498722c0164dcabbf691e4d1d0962e02ef21c06149"}},{"ruleId":"AX3","level":"error","message":{"text":"Namespace dependency cycle: The namespaces ICSharpCode.Decompiler \u2194 ICSharpCode.Decompiler.CSharp \u2194 ICSharpCode.Decompiler.CSharp.OutputVisitor \u2194 ICSharpCode.Decompiler.CSharp.Resolver \u2194 ICSharpCode.Decompiler.CSharp.Syntax \u2194 ICSharpCode.Decompiler.CSharp.Syntax.PatternMatching \u2194 ICSharpCode.Decompiler.CSharp.Transforms \u2194 ICSharpCode.Decompiler.DebugInfo \u2194 ICSharpCode.Decompiler.Disassembler \u2194 ICSharpCode.Decompiler.Documentation \u2194 ICSharpCode.Decompiler.FlowAnalysis \u2194 ICSharpCode.Decompiler.IL \u2194 ICSharpCode.Decompiler.IL.ControlFlow \u2194 ICSharpCode.Decompiler.IL.Patterns \u2194 ICSharpCode.Decompiler.IL.Transforms \u2194 ICSharpCode.Decompiler.Metadata \u2194 ICSharpCode.Decompiler.Output \u2194 ICSharpCode.Decompiler.Semantics \u2194 ICSharpCode.Decompiler.TypeSystem \u2194 ICSharpCode.Decompiler.TypeSystem.Implementation depend on each other. The lightest dependency in the cycle is ICSharpCode.Decompiler \u2192 ICSharpCode.Decompiler.Documentation (ICSharpCode.Decompiler.DecompileRun \u2192 ICSharpCode.Decompiler.Documentation.IDocumentationProvider, 1 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":"ICSharpCode.Decompiler/DecompileRun.cs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"e409486a122df07b1d365ebc3e8ff56000b4d36a9c003b10ff47d2aea9258848"}},{"ruleId":"AX3","level":"error","message":{"text":"Namespace dependency cycle: The namespaces ICSharpCode.BamlDecompiler \u2194 ICSharpCode.BamlDecompiler.Xaml depend on each other. The lightest dependency in the cycle is ICSharpCode.BamlDecompiler \u2192 ICSharpCode.BamlDecompiler.Xaml (ICSharpCode.BamlDecompiler.XamlContext \u2192 ICSharpCode.BamlDecompiler.Xaml.XamlProperty, 3 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":"ICSharpCode.BamlDecompiler/XamlContext.cs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4157cd32aa5d5464594162fa47ba266487c7726a8981eb400ce6930d2d84b06"}},{"ruleId":"AX3","level":"error","message":{"text":"Namespace dependency cycle: The namespaces ICSharpCode.ILSpyX \u2194 ICSharpCode.ILSpyX.Abstractions \u2194 ICSharpCode.ILSpyX.FileLoaders \u2194 ICSharpCode.ILSpyX.Instrumentation \u2194 ICSharpCode.ILSpyX.Search depend on each other. The lightest dependency in the cycle is ICSharpCode.ILSpyX \u2192 ICSharpCode.ILSpyX.Instrumentation (ICSharpCode.ILSpyX.MyAssemblyResolver \u2192 ICSharpCode.ILSpyX.Instrumentation.AssemblyResolveOutcome, 1 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":"ICSharpCode.ILSpyX/LoadedAssembly.cs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fb7a777cbdd46875674d0d7a8235e405f5a3ee24bc2e92994ba5fd7df49a1ed"}},{"ruleId":"AX3","level":"error","message":{"text":"Namespace dependency cycle: The namespaces ICSharpCode.ILSpy \u2194 ICSharpCode.ILSpy.AssemblyTree \u2194 ICSharpCode.ILSpy.Bookmarks \u2194 ICSharpCode.ILSpy.Commands \u2194 ICSharpCode.ILSpy.Controls.Omnibar \u2194 ICSharpCode.ILSpy.Controls.TreeView \u2194 ICSharpCode.ILSpy.Docking \u2194 ICSharpCode.ILSpy.Languages \u2194 ICSharpCode.ILSpy.Metadata \u2194 ICSharpCode.ILSpy.Navigation \u2194 ICSharpCode.ILSpy.Options \u2194 ICSharpCode.ILSpy.Search \u2194 ICSharpCode.ILSpy.TextView \u2194 ICSharpCode.ILSpy.TreeNodes \u2194 ICSharpCode.ILSpy.Util \u2194 ICSharpCode.ILSpy.ViewModels depend on each other. The lightest dependency in the cycle is ICSharpCode.ILSpy \u2192 ICSharpCode.ILSpy.Docking (ICSharpCode.ILSpy.MainMenu \u2192 ICSharpCode.ILSpy.Docking.DockWorkspace, 1 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":"ILSpy/Views/MainMenu.axaml.cs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"df86b33b65929c30aa8d38113f8dc246338cc18716b6d7e65c2917982b3ac1b6"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: IMethod (17 members): \u0060IMethod\u0060 declares 17 members: \u0060GetReturnTypeAttributes\u0060, \u0060ReturnTypeIsRefReadOnly\u0060, \u0060IsInitOnly\u0060, \u0060ThisIsRefReadOnly\u0060, \u0060TypeParameters\u0060, \u0060TypeArguments\u0060, \u0060IsExtensionMethod\u0060, \u0060IsLocalFunction\u0060, \u0060IsConstructor\u0060, \u0060IsDestructor\u0060, \u0060IsOperator\u0060, \u0060HasBody\u0060, \u0060IsAccessor\u0060, \u0060AccessorOwner\u0060, \u0060AccessorKind\u0060, \u0060ReducedFrom\u0060, \u0060Specialize\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. 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":"ICSharpCode.Decompiler/TypeSystem/IMethod.cs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5010a76219851bf242152fce364cedcc79995791c3586419481f66516472178"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: IType (25 members): \u0060IType\u0060 declares 25 members: \u0060Kind\u0060, \u0060IsReferenceType\u0060, \u0060IsByRefLike\u0060, \u0060Nullability\u0060, \u0060ChangeNullability\u0060, \u0060GetDefinition\u0060, \u0060GetDefinitionOrUnknown\u0060, \u0060DeclaringType\u0060, \u0060TypeParameterCount\u0060, \u0060TypeParameters\u0060, \u0060TypeArguments\u0060, \u0060AcceptVisitor\u0060, \u0060VisitChildren\u0060, \u0060DirectBaseTypes\u0060, \u0060GetSubstitution\u0060, \u0060GetNestedTypes\u0060, \u0060GetNestedTypes\u0060, \u0060GetConstructors\u0060, \u0060GetMethods\u0060, \u0060GetMethods\u0060, \u0060GetProperties\u0060, \u0060GetFields\u0060, \u0060GetEvents\u0060, \u0060GetMembers\u0060, \u0060GetAccessors\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 25 declarations carry 23 distinct name(s), so part of the width is overloading rather than separate responsibilities \u2014 but 23 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":"ICSharpCode.Decompiler/TypeSystem/IType.cs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"13a30520f3980906f04980e35676e7f7e7981538a5e2c93e154588dbd72eb201"}},{"ruleId":"C2","level":"note","message":{"text":"No named authorization policies: Authorization IS enforced here (by imperative guard methods that throw on violation) \u2014 this is NOT a claim that the code is unprotected. What\u0027s missing is a NAMED rule set: the guards encode the access rules inline, so the rules can\u0027t be listed, reviewed or tested apart from the call sites that apply them. Recommendation, not a defect."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b048fdf3fa524ac68c7874fdfcdb4c49d5f010013f2cb22a0bd84cb12ceb951f"}},{"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":"ICSharpCode.Decompiler/FlowAnalysis/DataFlowVisitor.cs"},"region":{"startLine":842}}}],"partialFingerprints":{"codehealthFindingId/v1":"224e6890e45b2ba00f88ac32099c68da634b40c6e01d95bd043643f2c63fd7b0"}},{"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":"ICSharpCode.Decompiler/IL/ILAmbience.cs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6eef84fb37c039484c7e4cf2ca8c1405987f440586ba426fc41df57decda29f"}},{"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":"ICSharpCode.Decompiler/Metadata/FullTypeNameSignatureDecoder.cs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d7fb7df77b434693ab704c8e9fec5438bf7a301064c957dd948c999aa6b138f"}},{"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":"ICSharpCode.Decompiler/Util/LongSet.cs"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e45bbe74de5973de33baedb8081b300bebf3a13510ee27eef5f47156ecbdcc0"}},{"ruleId":"IC1","level":"warning","message":{"text":"Bound check compiled out of the shipping build: The only thing establishing that \u0060attr.FixedArguments\u0060 is long enough before it is indexed is a \u0060Debug.Assert\u0060, which is \u0060[Conditional(\u0022DEBUG\u0022)]\u0060 \u2014 the compiler deletes the call from Release, so the build your users install indexes \u0060attr.FixedArguments\u0060 with no length check at all and throws at the indexer instead of failing diagnosably. \u0060attr.FixedArguments\u0060 comes from outside this method, so its length is a contract, not something this code can see. Bound it with a check that ships (\u0060if (attr.FixedArguments.Count \u003C n) throw \u2026\u0060, or \u0060ArgumentOutOfRangeException.ThrowIfLessThan\u0060), and keep the assert for the invariant you believe holds."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.BamlDecompiler/Handlers/Records/XmlnsPropertyHandler.cs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb6be21c3a070a2116e368ade00e9f5736718b954939ee400d4beefcfa2ba8b0"}},{"ruleId":"IC1","level":"warning","message":{"text":"Condition was already decided \u2014 an earlier guard makes this test constant: Control only reaches here when \u0060reader.RemainingBytes \u003C 1\u0060 is false, because the guard on line 612 exits otherwise. This test is therefore always false and everything it guards is unreachable. Implement the distinction that was intended, or delete the test."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/CSharpDecompiler.cs"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"120863652433358773484848ff5f8db1c8399e55056cd561d51245c64d6b214a"}},{"ruleId":"IC1","level":"warning","message":{"text":"Bound check compiled out of the shipping build: The only thing establishing that \u0060inst.Arguments\u0060 is long enough before it is indexed is a \u0060Debug.Assert\u0060, which is \u0060[Conditional(\u0022DEBUG\u0022)]\u0060 \u2014 the compiler deletes the call from Release, so the build your users install indexes \u0060inst.Arguments\u0060 with no length check at all and throws at the indexer instead of failing diagnosably. \u0060inst.Arguments\u0060 comes from outside this method, so its length is a contract, not something this code can see. Bound it with a check that ships (\u0060if (inst.Arguments.Count \u003C n) throw \u2026\u0060, or \u0060ArgumentOutOfRangeException.ThrowIfLessThan\u0060), and keep the assert for the invariant you believe holds."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/ExpressionBuilder.cs"},"region":{"startLine":4890}}}],"partialFingerprints":{"codehealthFindingId/v1":"a461729d521df005755cb77968054cf22f0857469791f2d4c398073b106dcd1b"}},{"ruleId":"IC1","level":"warning","message":{"text":"Bound check compiled out of the shipping build: The only thing establishing that \u0060values\u0060 is long enough before it is indexed is a \u0060Debug.Assert\u0060, which is \u0060[Conditional(\u0022DEBUG\u0022)]\u0060 \u2014 the compiler deletes the call from Release, so the build your users install indexes \u0060values\u0060 with no length check at all and throws at the indexer instead of failing diagnosably. \u0060values\u0060 comes from outside this method, so its length is a contract, not something this code can see. Bound it with a check that ships (\u0060if (values.Count \u003C n) throw \u2026\u0060, or \u0060ArgumentOutOfRangeException.ThrowIfLessThan\u0060), and keep the assert for the invariant you believe holds."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/StatementBuilder.cs"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"a94e8b7e3cd082aba05c0c3126f651c866eae3dec8c805937ae5d6d43be8df37"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060VisitILFunction\u0060 is a shipped member whose whole body throws NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/FlowAnalysis/DataFlowVisitor.cs"},"region":{"startLine":842}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6c1b5e522cf721317e7e7bb4846164d90ff305793a45a32b4bf6c5be670d2dd"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060ConvertConstantValue\u0060 is a shipped member whose whole body throws NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/ILAmbience.cs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"7447bfe49df66b91857cdd79b0a1407542f1a6c827202dd722d584a4785d1238"}},{"ruleId":"IC1","level":"warning","message":{"text":"Bound check compiled out of the shipping build: The only thing establishing that \u0060EntryPoint.Instructions\u0060 is long enough before it is indexed is a \u0060Debug.Assert\u0060, which is \u0060[Conditional(\u0022DEBUG\u0022)]\u0060 \u2014 the compiler deletes the call from Release, so the build your users install indexes \u0060EntryPoint.Instructions\u0060 with no length check at all and throws at the indexer instead of failing diagnosably. \u0060EntryPoint.Instructions\u0060 comes from outside this method, so its length is a contract, not something this code can see. Bound it with a check that ships (\u0060if (EntryPoint.Instructions.Count \u003C n) throw \u2026\u0060, or \u0060ArgumentOutOfRangeException.ThrowIfLessThan\u0060), and keep the assert for the invariant you believe holds."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Instructions/BlockContainer.cs"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f61957845aac2abbaf4ad4721b4038d4d541db7d6cdcbd2716acc32134e6dcb"}},{"ruleId":"IC1","level":"warning","message":{"text":"Bound check compiled out of the shipping build: The only thing establishing that \u0060rangeCtorCall.Arguments\u0060 is long enough before it is indexed is a \u0060Debug.Assert\u0060, which is \u0060[Conditional(\u0022DEBUG\u0022)]\u0060 \u2014 the compiler deletes the call from Release, so the build your users install indexes \u0060rangeCtorCall.Arguments\u0060 with no length check at all and throws at the indexer instead of failing diagnosably. \u0060rangeCtorCall.Arguments\u0060 comes from outside this method, so its length is a contract, not something this code can see. Bound it with a check that ships (\u0060if (rangeCtorCall.Arguments.Count \u003C n) throw \u2026\u0060, or \u0060ArgumentOutOfRangeException.ThrowIfLessThan\u0060), and keep the assert for the invariant you believe holds."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/IndexRangeTransform.cs"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"37241d1291495b3d0a09a57dc3ad3bd8dd33400ab8a785bc4478eb0b8dbe688a"}},{"ruleId":"IC1","level":"warning","message":{"text":"Hollow method \u2014 returns a constant without doing the work: \u0060GetPrimitiveType\u0060 looks like it should compute a result but its body just returns a constant \u2014 a placeholder return that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/LocalFunctionDecompiler.cs"},"region":{"startLine":919}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a1f9b47a16455170f70c6aa51feed2cdbfbdfffa5e37da86ecc1df17a2be87c"}},{"ruleId":"IC1","level":"warning","message":{"text":"Hollow method \u2014 returns a constant without doing the work: \u0060GetSZArrayType\u0060 looks like it should compute a result but its body just returns a constant \u2014 a placeholder return that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/LocalFunctionDecompiler.cs"},"region":{"startLine":920}}}],"partialFingerprints":{"codehealthFindingId/v1":"1acd282ef34ea7e1f13c999352a9907704136e5fd80082f4d5d2092894060bf9"}},{"ruleId":"IC1","level":"warning","message":{"text":"Hollow method \u2014 returns a constant without doing the work: \u0060GetTypeFromReference\u0060 looks like it should compute a result but its body just returns a constant \u2014 a placeholder return that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/LocalFunctionDecompiler.cs"},"region":{"startLine":931}}}],"partialFingerprints":{"codehealthFindingId/v1":"459e02449dbedb7994cdd1410dbbe38b71a84ea01b482898daf3a7c3c312fbf8"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060GetUnderlyingEnumType\u0060 is a shipped member whose whole body throws NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/Metadata/FullTypeNameSignatureDecoder.cs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"d761c91912b74a4799dda391aba438a4e099255d983bc4515c62d844420442bc"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060GetHashCode\u0060 is a shipped member whose whole body throws NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/Util/LongSet.cs"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0f3a2568c99864470c36370b6d2c50e90d449e2077099e07876fda2810f3be5"}},{"ruleId":"IC1","level":"warning","message":{"text":"Empty method body \u2014 does nothing with its inputs: \u0060Error\u0060 takes parameters but its body is empty \u2014 it accepts inputs and does nothing. Either implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/Search/CSharpLexer.cs"},"region":{"startLine":1107}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d840839487d97b28f4d6bf926624ca5b7fa66e3b7294cb8726f647568b6e41e"}},{"ruleId":"IC1","level":"warning","message":{"text":"Empty method body \u2014 does nothing with its inputs: \u0060AddMessage\u0060 takes parameters but its body is empty \u2014 it accepts inputs and does nothing. Either implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy.AddIn.VS2022/Decompiler/Dummy.cs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f7b5524ec3c042e1ecb31dc28e0e7e7ea9ca9dadf77b6dca1ac3ab70b6f36ac"}},{"ruleId":"IC1","level":"warning","message":{"text":"Both branches are identical \u2014 the condition decides nothing: The \u0060if\u0060 and its \u0060else\u0060 contain the same 1 statement, so no input can make the condition matter. Implement the distinction that was intended, or drop the branch and keep the body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Controls/MutexChipGroup.cs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"66cda38ef7d1ad4c5fab53e7724e9f03cc1b09955a1a5ef3b09aa15cb72f3bff"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/ILPrettyTestRunner.cs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"847b509d49da12fe9719108cd9ef5630240ee563c268f5d60453eea073bb3d07"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/Semantics/ConversionTests.cs"},"region":{"startLine":980}}}],"partialFingerprints":{"codehealthFindingId/v1":"8380e25133172f8ed4d0e58ad9f4ca0d539a394b80a2e3941d3fd3910c04a2cb"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/Semantics/ConversionTests.cs"},"region":{"startLine":1618}}}],"partialFingerprints":{"codehealthFindingId/v1":"11ca92d00a998a44a8e5941f3bde57accc3e425cbde6e770177f70e703f16036"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/Semantics/ConversionTests.cs"},"region":{"startLine":1657}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea5af2e02cbc219b27a5faa9dde192fb6d9c1a3c98c73c8bf2bad321585058ec"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/Semantics/ExplicitConversionTest.cs"},"region":{"startLine":734}}}],"partialFingerprints":{"codehealthFindingId/v1":"cda56241e4bf73f0eb9b1cd3c29bf092b318a31f1117a0951cade661b08d39fe"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/Semantics/ExplicitConversionTest.cs"},"region":{"startLine":745}}}],"partialFingerprints":{"codehealthFindingId/v1":"395206f25af0a470b0f18b74a0536091c6b6d700dde9a03953c44e126cac0501"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/Semantics/OverloadResolutionTests.cs"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"15436851ac292b09e469a37f6bf8952826c85bee150b096dd36549b659b2b891"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/Semantics/TypeInferenceTests.cs"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a7152be4218961eeb393304f852d1f7fe84007448f58e00ac79a799715df826"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/Semantics/TypeInferenceTests.cs"},"region":{"startLine":676}}}],"partialFingerprints":{"codehealthFindingId/v1":"74ea083b7b0f2b5b49501e36b8a56106647f7792a3b6316e2663b7d2209fde98"}},{"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":"ICSharpCode.Decompiler/CSharp/AutoEventDecompiler.cs"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"7de8f6733a07765c985060e73d82b66e5ea9a391b6a14a5fdd36c9e2a36d261e"}},{"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":"ICSharpCode.Decompiler/CSharp/AutoEventDecompiler.cs"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ec4233ec5da4306d6cf79915b7e3e6749d852ccfa4691d31a16d34ad0da6e76"}},{"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":"ICSharpCode.Decompiler/CSharp/AutoEventDecompiler.cs"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"8634882643199f8dcc157af9fb6a5903ca5d8b277caaecb7737bc4dfc22dd59b"}},{"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":"ICSharpCode.Decompiler/CSharp/AutoEventDecompiler.cs"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f974db17110156f8d98e980986937229f79d69ec1b7c3ad5e86dd33bc40a238"}},{"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":"ICSharpCode.Decompiler/CSharp/AutoEventDecompiler.cs"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"98da5e737cfbb898ccf4e575d3015f976ddd80dc14918eb1730d1364af285cf7"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: 16 consecutive lines of code sit inside a \u0060/* \u2026 */\u0060 block \u2014 a block of code switched off rather than removed, which rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/ExpressionBuilder.cs"},"region":{"startLine":3045}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a82d5394bf03bee7c3b711dbb2ccab2aa4066e7b6075c1187803b88b92f9c79"}},{"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":"ICSharpCode.Decompiler/CSharp/ExpressionBuilder.cs"},"region":{"startLine":3098}}}],"partialFingerprints":{"codehealthFindingId/v1":"80c6a4c52347d2029cb531c8863963a6d1780aa6eb36ff6156949f61eace5ede"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: 6 consecutive lines of code sit inside a \u0060/* \u2026 */\u0060 block \u2014 a block of code switched off rather than removed, which rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/OutputVisitor/CSharpFormattingOptions.cs"},"region":{"startLine":973}}}],"partialFingerprints":{"codehealthFindingId/v1":"63595cd569fe9bf136459fc20925f59b67fc362a2e75d06c3fd4793cf00178f1"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: 30 consecutive lines of code sit inside a \u0060/* \u2026 */\u0060 block \u2014 a block of code switched off rather than removed, which rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/OutputVisitor/CSharpFormattingOptions.cs"},"region":{"startLine":980}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c54ebca2498c30815c7579f3539c599da6703101f084b712662dc045e81021d"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: 19 consecutive lines of code sit inside a \u0060/* \u2026 */\u0060 block \u2014 a block of code switched off rather than removed, which rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/OutputVisitor/CSharpFormattingOptions.cs"},"region":{"startLine":1011}}}],"partialFingerprints":{"codehealthFindingId/v1":"d53dba65c31a26ac6cb15d5bd9d2f75ee065d53a6ea46234b06b9243f1306c19"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: 20 consecutive lines of code sit inside a \u0060/* \u2026 */\u0060 block \u2014 a block of code switched off rather than removed, which rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/OutputVisitor/CSharpFormattingOptions.cs"},"region":{"startLine":1031}}}],"partialFingerprints":{"codehealthFindingId/v1":"48d711eb50da12dc848a3b5a69f211ccad748e3218c477f2c45b4f9f71f31edf"}},{"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":"ICSharpCode.Decompiler/CSharp/RecordDecompiler.cs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc8a6142cd9ca9e360298181e36e05d0e692264272422aa51a7bae58ad526437"}},{"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":"ICSharpCode.Decompiler/CSharp/RecordDecompiler.cs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"9408ef3090380f7a0a817884c1d67397f2eaff12b270b5619e8ddf3c284fb6ab"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: 5 consecutive lines of code sit inside a \u0060/* \u2026 */\u0060 block \u2014 a block of code switched off rather than removed, which rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/RecordDecompiler.cs"},"region":{"startLine":1277}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bb68e920e2cedc0d2f2e8db2b840fc590d48224e39b3c78b89be17a8315fc8f"}},{"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":"ICSharpCode.Decompiler/CSharp/Resolver/OverloadResolution.cs"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9d5120fc911b751658bd5dadfb065c8020d069b3ecc49c9006d85b454b3a2e0"}},{"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":"ICSharpCode.Decompiler/CSharp/Resolver/OverloadResolution.cs"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"28bde5544b12a3c93e024237384a6f870a8b2235d0789179860ca0056fe29281"}},{"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":"ICSharpCode.Decompiler/CSharp/Resolver/OverloadResolution.cs"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"48321b08ad7d21c32427ffd45ca25af036c16df61947ed5427b4c3b88e8b0e26"}},{"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":"ICSharpCode.Decompiler/CSharp/Resolver/TypeInference.cs"},"region":{"startLine":1184}}}],"partialFingerprints":{"codehealthFindingId/v1":"febeb5a17773d8a764458e3e470d3b276fdd7fffdab76dd3e73163a8beea17b0"}},{"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":"ICSharpCode.Decompiler/CSharp/Resolver/TypeInference.cs"},"region":{"startLine":1185}}}],"partialFingerprints":{"codehealthFindingId/v1":"dee119a22ebb77c54706fee9971a104652effc8842c77cd908184d0987ed2142"}},{"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":"ICSharpCode.Decompiler/CSharp/Syntax/AstNodeCollection.cs"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"23a108efd10c341d9dc194319c8370ffea54edf5953a2d12a04f40121a3f7053"}},{"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":"ICSharpCode.Decompiler/CSharp/Syntax/AstNodeCollection.cs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aa7bc34bd29389f143f3288f4f5866e9c11361de8ee4a35fd03fe8d265e3b34"}},{"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":"ICSharpCode.Decompiler/CSharp/Transforms/PatternStatementTransform.cs"},"region":{"startLine":686}}}],"partialFingerprints":{"codehealthFindingId/v1":"532a234fa4a4d311c42dcd54be36a60406936e2c9eaa7791c16379835cb11fb5"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: 23 consecutive lines of code sit inside a \u0060/* \u2026 */\u0060 block \u2014 a block of code switched off rather than removed, which rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/Transforms/ReplaceMethodCallsWithOperators.cs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0647dca390abfc5cbcb409c85338ca422bda8f4b056534ca10d95e4327447eb"}},{"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":"ICSharpCode.Decompiler/Documentation/IdStringProvider.cs"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"18ad9d213993c5065727634203f2cc34f41fcd5af6eefaa47a584fb5df0cfc8f"}},{"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":"ICSharpCode.Decompiler/Documentation/IdStringProvider.cs"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"799687a092f2031f73063470d727d8073ce288b5b4c94d5f29d2c8730dbb099b"}},{"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":"ICSharpCode.Decompiler/Documentation/IdStringProvider.cs"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"30296fca3f0e2f89dc8342b51fe85cb836e4886f3150fd54f826489f7ab37d98"}},{"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":"ICSharpCode.Decompiler/Documentation/IdStringProvider.cs"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"8628fc7ffd935837f717e459921b7daef2c3d8d79f56ff509025d6d0150ea395"}},{"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":"ICSharpCode.Decompiler/Documentation/IdStringProvider.cs"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"36f04c4ad0961ea2d28781c3647573b4a96a0c19d2b6998c4ca545a16cbc3186"}},{"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":"ICSharpCode.Decompiler/Documentation/IdStringProvider.cs"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"51849a8ef7407bd42cb8a6b1a61cdd709bff8cd24f36ae23e2778469287148b6"}},{"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":"ICSharpCode.Decompiler/Documentation/IdStringProvider.cs"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"77330b2150f065e4abf5b9459066bf2342b620fb08132623e12bdddba8293fbf"}},{"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":"ICSharpCode.Decompiler/Documentation/XmlDocLoader.cs"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3859e635c7236ac877d5985a7e799b9eb230894edb5e11412f146189dab4c44"}},{"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":"ICSharpCode.Decompiler/Documentation/XmlDocLoader.cs"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"850cb6e48fc691fe42cd66cfc18bceef7cf1a4f371f99c0a2b752151cc855c0e"}},{"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":"ICSharpCode.Decompiler/Documentation/XmlDocLoader.cs"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"909225b6c65f50ae3b706a8f7d6b3195258c83b02392fd76f735edde27c4e4c9"}},{"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":"ICSharpCode.Decompiler/Documentation/XmlDocLoader.cs"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"f111cc55a01df890b4c5176e9812078e11b07b2b725be9367b257c327405505e"}},{"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":"ICSharpCode.Decompiler/Documentation/XmlDocumentationProvider.cs"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"71c05e329f3a30b93193b18c974ed1d9bb87a3b03be626db23461ca4b31c6c13"}},{"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":"ICSharpCode.Decompiler/FlowAnalysis/DataFlowVisitor.cs"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"e30356f43f1fdf1c6a437dc67aef2a0398c6826677a22d089b87867e0a6ffd88"}},{"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":"ICSharpCode.Decompiler/FlowAnalysis/DataFlowVisitor.cs"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"0861d9e528e72173aa39e5d923975e158b2b0150b451986fd8dd0aa9ddbef88e"}},{"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":"ICSharpCode.Decompiler/FlowAnalysis/DefiniteAssignmentVisitor.cs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc4b53c2e7cdaa149e4e14f3fe377595e2559650a413e27a0d2f42d7fb29f3cf"}},{"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":"ICSharpCode.Decompiler/FlowAnalysis/ReachingDefinitionsVisitor.cs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c105e252248032b17978e3ab165cd7c84ba8c2a3032ec588da12032bc741ba4"}},{"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":"ICSharpCode.Decompiler/IL/ControlFlow/LoopDetection.cs"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2444b3cb7754b1731e96fa031fdb7862761648f1fc1cb55df88282b9ddce418"}},{"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":"ICSharpCode.Decompiler/IL/ControlFlow/LoopDetection.cs"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"683436353317fc00fe5b37573b632f07cbb85f83316764f7dc5c961cdf9b84bd"}},{"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":"ICSharpCode.Decompiler/IL/ControlFlow/YieldReturnDecompiler.cs"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"de60ddae62c3a14557ef8353667a3511df0b89e74c11438ae15a1d79d3f978af"}},{"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":"ICSharpCode.Decompiler/IL/ILReader.cs"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"d853e0de0517ab723d1b12d2969bc35906052be02593983d541f71001c25dfeb"}},{"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":"ICSharpCode.Decompiler/IL/Instructions/Conv.cs"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ce49c532d8184a838fda2a753e5b5abd055e470be55f67b3074db3c3d86197b"}},{"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":"ICSharpCode.Decompiler/IL/Instructions/Conv.cs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cb6dccd5e79d78c74455e881f4f8063f516291f139be402bd703bd108a2e23b"}},{"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":"ICSharpCode.Decompiler/IL/Instructions/DeconstructInstruction.cs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"d51e62f0b1f9dcfe23d51faef6c075953bd907ac3c1b719b653493275b26e4c0"}},{"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":"ICSharpCode.Decompiler/IL/Instructions/DeconstructInstruction.cs"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"7869c26f41e41417bc73364446316521565c01f533e7085c03a916c674c3f747"}},{"ruleId":"IC1","level":"note","message":{"text":"Member throws NotSupportedException: \u0060AcceptVisitor\u0060\u0027s body only throws NotSupportedException \u2014 sometimes a deliberate contract, often an unfinished stub. Confirm it\u0027s intentional."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Patterns/AnyNode.cs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"6651a5e56ac5b7dbbf69121846e2bbc30f2d7c50b092c5a9766b545ca62382f4"}},{"ruleId":"IC1","level":"note","message":{"text":"Member throws NotSupportedException: \u0060AcceptVisitor\u0060\u0027s body only throws NotSupportedException \u2014 sometimes a deliberate contract, often an unfinished stub. Confirm it\u0027s intentional."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Patterns/AnyNode.cs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"92e50d1df9194cf4857eb8408525e22b5bc90e8a940479ca1e73f89ef9f13060"}},{"ruleId":"IC1","level":"note","message":{"text":"Member throws NotSupportedException: \u0060AcceptVisitor\u0060\u0027s body only throws NotSupportedException \u2014 sometimes a deliberate contract, often an unfinished stub. Confirm it\u0027s intentional."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Patterns/AnyNode.cs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b41d3e683ece7387adfc3f7092eb7d3bc58bcfeb9651516dee83ae80d6427c6"}},{"ruleId":"IC1","level":"note","message":{"text":"Member throws NotSupportedException: \u0060ComputeFlags\u0060\u0027s body only throws NotSupportedException \u2014 sometimes a deliberate contract, often an unfinished stub. Confirm it\u0027s intentional."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Patterns/AnyNode.cs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"3de799cda009905827a86e3da488894c8e5757acfa2a83ac3dcae9acaa96849f"}},{"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":"ICSharpCode.Decompiler/IL/Transforms/FixRemainingIncrements.cs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"b65256eea9d1a3c4b0f194146368c6075b64d183048a39cb805e98964fab52e9"}},{"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":"ICSharpCode.Decompiler/IL/Transforms/FixRemainingIncrements.cs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"93a1071dfed6a41754e0a80fb2d584054a9480f8e6b0a984a70020edbb016b16"}},{"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":"ICSharpCode.Decompiler/IL/Transforms/FixRemainingIncrements.cs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"8723202cf1043ce69d14d8f6a2660bb757c4d8081d86176565bc201c132518ac"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: 11 consecutive lines of code sit inside a \u0060/* \u2026 */\u0060 block \u2014 a block of code switched off rather than removed, which rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/HighLevelLoopTransform.cs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6e965946704b446d3143bc7b84920d4338200a217f2c61d46b697861da7e8ae"}},{"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":"ICSharpCode.Decompiler/IL/Transforms/ILInlining.cs"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9b7bb0b8cead8002427ebfb685e94ff6892825b450b029fd3e60ce5a88f1804"}},{"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":"ICSharpCode.Decompiler/IL/Transforms/IndexRangeTransform.cs"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"78e2647f5f302224943f483ada32ce25106812d08a82a6e11902c0764d927179"}},{"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":"ICSharpCode.Decompiler/IL/Transforms/IndexRangeTransform.cs"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdbb2ba8e1d55f7751e4c7db54b9b4a691619f88649efe7a86bc5171c75aad56"}},{"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":"ICSharpCode.Decompiler/IL/Transforms/IndexRangeTransform.cs"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"2115427131d7d5936dbe6be4effee17f63c51dbc7820075a9334133868180b33"}},{"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":"ICSharpCode.Decompiler/IL/Transforms/IndexRangeTransform.cs"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a647dc195d14680c8fc7aeeee5a061977182d0e82b8c21ca30798f11c6684b3"}},{"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":"ICSharpCode.Decompiler/IL/Transforms/IndexRangeTransform.cs"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e449d74c520c76186570bb66190b73de87806edb2cd34352a5454fd860d5ea0"}},{"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":"ICSharpCode.Decompiler/IL/Transforms/NullPropagationTransform.cs"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ec3a58c695438aa2bb39472ce9142cb67b60ba4a77d0305829c29a50a9eb487"}},{"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":"ICSharpCode.Decompiler/IL/Transforms/ReduceNestingTransform.cs"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"61098ead467939a417ef60c0f82e83ab8498d5020be79c6c69338b8a10a57cca"}},{"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":"ICSharpCode.Decompiler/IL/Transforms/TransformDisplayClassUsage.cs"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cd474de01ac403efc0bb0d4e54d633ea4ddc6e51d60437e2219e9836c4fd102"}},{"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":"ICSharpCode.Decompiler/IL/Transforms/TransformExpressionTrees.cs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab746c6b0bdb2ade6898ef8d5c0517db089e4256c22e215f8ac9f81e05ee734d"}},{"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":"ICSharpCode.Decompiler/Metadata/CodeMappingInfo.cs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"00bb09cb13c5abc1d885d183d67dda452244f2e2604d3da57b882ca429b07811"}},{"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":"ICSharpCode.Decompiler/Semantics/MemberResolveResult.cs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ec4eba7fe67fde3ce8362216827470b33c54a497df537caff77824393514c6e"}},{"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":"ICSharpCode.Decompiler/TypeSystem/Implementation/SpecializedMember.cs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"f57ea69540c962087ba7d542ed6c7d76b638323924c71a913cc1dec36dc1bdcc"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: 10 consecutive lines of code sit inside a \u0060/* \u2026 */\u0060 block \u2014 a block of code switched off rather than removed, which rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/TypeSystem/TupleType.cs"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"d600c6862d6241e7ed4375aa4f661cce93d752218ecfcdd32337dfcb48c0c28a"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: 7 consecutive lines of code sit inside a \u0060/* \u2026 */\u0060 block \u2014 a block of code switched off rather than removed, which rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/TypeSystem/TupleType.cs"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"4814ccac8387e182daf73cb21d0f8d4626b2a32d4216087efec0456b5b939312"}},{"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":"ICSharpCode.ILSpyX/Analyzers/Builtin/TypeUsedByAnalyzer.cs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"996f0668f1023367558cd9ac3aa25e899b387529b6114db50e9093c412d5ccb1"}},{"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":"ICSharpCode.ILSpyX/Analyzers/Builtin/TypeUsedByAnalyzer.cs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"caf8231f9b4698016118ade2e2f1e8ccc9a20ba45b8121d41358c5b03d332d5c"}},{"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":"ICSharpCode.ILSpyX/Analyzers/Builtin/TypeUsedByAnalyzer.cs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"69dc9cd0af102e7ef6bb4ab4069573a1a01c4f584d40ffc3d560628a2b7071c5"}},{"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":"ICSharpCode.ILSpyX/Analyzers/Builtin/TypeUsedByAnalyzer.cs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"f93b210cc82755c879b10c8a46994cdd73636aea53025c6705e55b8e2ca5db76"}},{"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":"ICSharpCode.ILSpyX/Analyzers/Builtin/TypeUsedByAnalyzer.cs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4e2544c87774fccc5c257ce51b87f5f7598568f8d92e068181f824cbf7504d0"}},{"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":"ICSharpCode.ILSpyX/Analyzers/Builtin/TypeUsedByAnalyzer.cs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"517a902ebf282ca15f4cd23b6973529c93326444518c4a1dba571cef9bc8f06a"}},{"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":"ICSharpCode.ILSpyX/Analyzers/Builtin/TypeUsedByAnalyzer.cs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ac2bbd0d29fa3e74429dcfd9a58368caf08b655bccb49b9e30704414708378e"}},{"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":"ICSharpCode.ILSpyX/Analyzers/Builtin/TypeUsedByAnalyzer.cs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"111fba8a503eddcb5f982b93037735ae5777ea8d0e633c8cb6ceac7cdff9cc44"}},{"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":"ICSharpCode.ILSpyX/Search/CSharpLexer.cs"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"e733907601cfe6fe1bdbebd6b83805dcca47cac4f9a86572f37e6e52882a4e5e"}},{"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":"ICSharpCode.ILSpyX/Search/CSharpLexer.cs"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f21d4a191ee7eee825425da6b98556d1e032d17a6cc384342e5d65011c919f7"}},{"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":"ICSharpCode.ILSpyX/Search/CSharpLexer.cs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d83816d0f3a7172816fa8ef3cd1b7c28af781a7615914760a557f90d15242a4"}},{"ruleId":"IC1","level":"note","message":{"text":"Empty method body: \u0060LineBreak\u0060 has an empty body \u2014 confirm it\u0027s an intentional no-op and not an unfinished method."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/Search/CSharpLexer.cs"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"f115657aa8b375569ba60caee88b06b640106471ae896b56127455b4873a0053"}},{"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":"ICSharpCode.ILSpyX/TreeView/SharpTreeNode.cs"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"0692f87193c83cd3d67d89dee4af4ffdcdaf61d56456e31b72de7f9c4b018a82"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: 3 consecutive lines of code sit inside a \u0060/* \u2026 */\u0060 block \u2014 a block of code switched off rather than removed, which rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/TreeView/SharpTreeNode.cs"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"c23dc38b4530a32f306664fa5678bb07c91fcfc250e247096602de784745d405"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: 5 consecutive lines of code sit inside a \u0060/* \u2026 */\u0060 block \u2014 a block of code switched off rather than removed, which rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/TreeView/SharpTreeNode.cs"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e280d1d420267bf3175113d6dbcb54dcb3b4cfe73f2d005bbb169ee8a064959"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: 6 consecutive lines of code sit inside a \u0060/* \u2026 */\u0060 block \u2014 a block of code switched off rather than removed, which rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/TreeView/SharpTreeNode.cs"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf53bc6ac2ed0a4afb82e09de5df57339d94cc8493700c5937d36746175f5b17"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: 8 consecutive lines of code sit inside a \u0060/* \u2026 */\u0060 block \u2014 a block of code switched off rather than removed, which rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/TreeView/SharpTreeNode.cs"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b2dd4f438779de849d350beaeb61d296e5dd529ffb9f53155ef3011aeb2312c"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: 13 consecutive lines of code sit inside a \u0060/* \u2026 */\u0060 block \u2014 a block of code switched off rather than removed, which rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/TreeView/SharpTreeNode.cs"},"region":{"startLine":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"183a002f1563cf9c6669c31e23a6e916ad3f4607898661d6af6db623d3ce7bea"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: 9 consecutive lines of code sit inside a \u0060/* \u2026 */\u0060 block \u2014 a block of code switched off rather than removed, which rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/TreeView/SharpTreeNode.cs"},"region":{"startLine":646}}}],"partialFingerprints":{"codehealthFindingId/v1":"10bd6b2472f46962dac38f0bafea3a95954a8265705260f5da70b2318e1b24ad"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: 4 consecutive lines of code sit inside a \u0060/* \u2026 */\u0060 block \u2014 a block of code switched off rather than removed, which rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/TreeView/SharpTreeNode.cs"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"72577757caa4910001c642fb797501bfefd1fa9afc8934c046660e0ea3c26fdd"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: 4 consecutive lines of code sit inside a \u0060/* \u2026 */\u0060 block \u2014 a block of code switched off rather than removed, which rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/TreeView/SharpTreeNode.cs"},"region":{"startLine":673}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1a8f59f9d4656b6fceac3219f1f52236a6639017b8eaf61623d039aaa73e0b8"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: 4 consecutive lines of code sit inside a \u0060/* \u2026 */\u0060 block \u2014 a block of code switched off rather than removed, which rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/TreeView/SharpTreeNode.cs"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecd12b13a1f0f11fd7b37eb8162bea86b374707ff46c7cdb3662384be05e6f47"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: 4 consecutive lines of code sit inside a \u0060/* \u2026 */\u0060 block \u2014 a block of code switched off rather than removed, which rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/TreeView/SharpTreeNode.cs"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"add5c119f857dcd097f1ccd08b7cb7591db59dadb031f98fbdd7cab4483bfd5e"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: 4 consecutive lines of code sit inside a \u0060/* \u2026 */\u0060 block \u2014 a block of code switched off rather than removed, which rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/TreeView/SharpTreeNode.cs"},"region":{"startLine":732}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b4c85785db846a697d90b2b63e905008b20d957663b7dacd1f9739372a722cb"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: 4 consecutive lines of code sit inside a \u0060/* \u2026 */\u0060 block \u2014 a block of code switched off rather than removed, which rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/TreeView/SharpTreeNode.cs"},"region":{"startLine":737}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9c43e867d0d00b967548d097f2cd41284d319521a316a549727513b5ec692b4"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: 5 consecutive lines of code sit inside a \u0060/* \u2026 */\u0060 block \u2014 a block of code switched off rather than removed, which rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/TreeView/SharpTreeNode.cs"},"region":{"startLine":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a23f4dc1700446d6901b160e5906e62107e648b37be117e288a1162615804d9"}},{"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":"ILSpy.AddIn.VS2022/SyntaxNodeExtensions.cs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"508e2c17bec8541a12edff791fe4f0d48c08bdc9a03a35144dc12c504aacafa0"}},{"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":"ILSpy.AddIn.VS2022/SyntaxNodeExtensions.cs"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6fd767262a68eaa9d7a512f8ff7c7b9a15b59b16a2c17e7758b24413f850e62"}},{"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":"ILSpy.AddIn.VS2022/SyntaxNodeExtensions.cs"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"492c93bd74f0b1e6cc349357bf4d5f0b401a65795dbfe143fc04bb653d5210c9"}},{"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":"ILSpy.AddIn.VS2022/SyntaxNodeExtensions.cs"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0fc296619120ff0ea9bde3f7c8f02e0f7c016b52a99439c4e8632b4d4c7c698"}},{"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":"ILSpy.AddIn.VS2022/SyntaxNodeExtensions.cs"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"469429aa1cf847f26d0c8709fe72654efcd9b2e1d7d0faf2669cdc45c4d61b80"}},{"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":"ILSpy.AddIn.VS2022/SyntaxNodeExtensions.cs"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"338bee467332e60f1359bfa9ba8d9314a4aa2e6aca2d3bd94ce28988886c5190"}},{"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":"ILSpy.AddIn.VS2022/SyntaxNodeExtensions.cs"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"220ea4c8a030784ce5e4fd6ca37ae144fdfafb7e7bd7e67031b6e1e3761d4d33"}},{"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":"ILSpy.AddIn.VS2022/SyntaxNodeExtensions.cs"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c9dc53712faeb254e7fe9656b1250675b227d8047946f0759431671c02c7b18"}},{"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":"ILSpy.AddIn.VS2022/SyntaxNodeExtensions.cs"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7c82fbe1f653a4c536ceff17926db88bb76ea715a838f071ad43f662cdac172"}},{"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":"ILSpy.AddIn.VS2022/SyntaxNodeExtensions.cs"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"54313e26219e8f2ccffa28869b7cdf1762f71927524d54760d2d10306868d916"}},{"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":"ILSpy.ReadyToRun/ReadyToRunDisassembler.cs"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"68e2a7bc6f711ceaaa42f3beaa2581d359749c23854b760e79e9a92e40232039"}},{"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":"P12","level":"note","message":{"text":"Sleep-based test synchronization: 8 Task.Delay/Thread.Sleep call(s) in test code synchronize with background work by sleeping \u2014 a known flakiness precursor on slow runners. Prefer polling with a deadline or completion signals."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6a03a2c4f0cdb020131eedb5050e85716d2d15c3e6c049458617ddd83166de9e"}},{"ruleId":"P3","level":"error","message":{"text":"NuGet vulnerability audit suppressed via NoWarn: \u0060NoWarn\u0060 silences NU1902, NU1903 \u2014 NuGet\u0027s vulnerability-audit warnings for moderate and high advisories. Suppressed advisories are still shipped; they are only invisible in the build log. Remove these codes from NoWarn and address or explicitly accept each advisory instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.Tests/ICSharpCode.Decompiler.Tests.csproj"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8bb96a020852b8a27bb3d315a68a8124304f5163d040a81c8172f6d8bce1291"}},{"ruleId":"P3","level":"note","message":{"text":"Dependabot does not watch nuget/npm/gitsubmodule: \u0060.github/dependabot.yml\u0060 schedules updates, but no \u0060package-ecosystem\u0060 entry covers \u0060nuget\u0060, \u0060npm\u0060, \u0060gitsubmodule\u0060, which this tree depends on \u2014 so those dependencies get no update pull requests and no advisory pressure, however complete the dep-scan credit looks. Add the missing entries to the \u0060updates:\u0060 list."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/dependabot.yml"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"20a2898da36e48363e68b717fb78ff2ee9fd765f6a69f98ef66d18f9b3369b2e"}},{"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":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: 22 blocking call(s) on async work (.Wait()/.GetAwaiter().GetResult()) \u2014 these waste a thread and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"2dedb76432d7d4f359386b5c37564c0f3de368182a77e31aa8af9ba73f9a4def"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060task.Wait()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.PowerShell/GetDecompiledProjectCmdlet.cs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"702834de988419a6f20fd368c23b2744de56ea23915743b7680213fbb14e07b6"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/TypeSystem/DecompilerTypeSystem.cs"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b4fcbbd08962208bd1e4476b5d256dd3e108f4d61f2659f7e4487b17de0178b"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyCmd/InputFileLoader.cs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a66e61c6a108ac2c84dbe346476f3f1ec8920a3baaa3f17fce0709f77bfca32"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/Analyzers/AnalyzerScope.cs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b55801b277037499f59631e89479f945532bc8f4be054aaab9f401feef330fc"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/Analyzers/AnalyzerScope.cs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf06db0d25e211ef862484e970baa78928c4c9112cec181187d2f43a1d465ee3"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/Analyzers/AnalyzerScope.cs"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"07918abb409adf465625afde0c689bffd4284a33b0b84e8412ec9bbde859fb9a"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/LoadedAssembly.cs"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"3685a165cc96d230ef4f86befe2cb9a54dae16e1604d8e6da4c5185140d155e1"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/LoadedAssembly.cs"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ea27d0fe2841a4175a22bbee0cab5e3fa829d30800842c9b1a83daa03b80e3a"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/LoadedAssembly.cs"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"caa22cbbe1d31f5a88dc4ee29c3e6bdefce7ec73dffd1c28b341c07981081a5b"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/LoadedAssembly.cs"},"region":{"startLine":650}}}],"partialFingerprints":{"codehealthFindingId/v1":"018b34ca5566e2134c4868f3066ae4d0ee04eaceac58521d291635776f2bda8c"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/LoadedAssembly.cs"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"9db0d72e9fc200bed967751ae739a0c0c3fd2b680dd9feb5336ce463ab7b7c56"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/LoadedAssembly.cs"},"region":{"startLine":811}}}],"partialFingerprints":{"codehealthFindingId/v1":"f844d713dbbba801dbffc36dab0aca34ec7d26fb17abb5c559065f972fa8fa1e"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/LoadedAssembly.cs"},"region":{"startLine":812}}}],"partialFingerprints":{"codehealthFindingId/v1":"244dc200ceb96ea0e6446b4dba000ed46237779af47d1a87483a4ba929f0de1c"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy.ReadyToRun/ReadyToRunLanguage.cs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c4cf8dff9498e6c21c47b2bf7c0a97a57c1ff5b2788276dcc30d77dff3435ce"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/AssemblyTree/TreeNodeLocator.cs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"00890bd673584b612621dbfaf7d900b0403d4a48c00565802a1ff1832f6724fb"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Commands/ExtractPackageEntryContextMenuEntry.cs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"e039807602aa16c519e0651f0186fbefd55abef4fc52ed7aa4ef4177ec4fbd9c"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/TreeNodes/AssemblyTreeNode.cs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"de35d3ec35325748303d156413643f64cbc219406023685c3f5e0e7522a3a525"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/TreeNodes/AssemblyTreeNode.cs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f881c62d59bd9f81057335efc677a68cbfee247e6e27610ed3bd2367df3cbd6"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/TreeNodes/AssemblyTreeNode.cs"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"939871a1af93f1701b173a7898ccaaba6e873d5576b095bbc7254210360a5bf7"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/TreeNodes/AssemblyTreeNode.cs"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"340bb78ae6228eeeabd9d7a958b595093b151184444e86a632c52a63b867218b"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/TreeNodes/AssemblyTreeNode.cs"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"093a91e4bf805416fbe525d67666c1f2de08acceb168c9da7a739f1f49d9679e"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/TreeNodes/ReferenceFolderTreeNode.cs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2547251fb4cceef878a8c764c43c6dff06dd30e83f9ba1a1c9017c24e6caf15"}},{"ruleId":"S1","level":"warning","message":{"text":"Third-party script without Subresource Integrity: \u0060https://cdn.jsdelivr.net/npm/mermaid@11.4.0/dist/mermaid.min.js\u0060 is executed by this page with no Subresource Integrity. Whoever can answer that request \u2014 the CDN, anyone who compromises it, anyone on the network path \u2014 runs arbitrary script in this page\u0027s origin, with its session."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/MermaidDiagrammer/html/template.html"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"609d8250ca6089b8ad875cdd58f293efb71f55c4c16963da84f297a4a1e24369"}},{"ruleId":"SC1","level":"warning","message":{"text":"JavaScript dependencies are not locked: ICSharpCode.ILSpyX/MermaidDiagrammer/html/package.json declares dependencies that no committed lockfile resolves \u2014 there is no package-lock.json / yarn.lock / pnpm-lock.yaml / bun.lock beside it, and no locked workspace above it names it \u2014 so its installs aren\u0027t reproducible (SSDF PW.4.4). Commit its package manager\u0027s lockfile (or add it to the locked workspace) and install from it (\u0060npm ci\u0060, \u0060yarn --immutable\u0060, \u0060pnpm i --frozen-lockfile\u0060 or \u0060bun i --frozen-lockfile\u0060). Advisory \u2014 never scored."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/MermaidDiagrammer/html/package.json"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"96a6232f1c05fea6670cc81d45d40142be55192fe080862c8c44373abb7be030"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler.PowerShell/GetDecompiledProjectCmdlet.cs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"64aa5dfe23bc2cfb0e48f2e84f1ff77eb4018992f0ef2ca203151ade78fbf95e"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/TypeSystem/DecompilerTypeSystem.cs"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"099fd847121f80f7b0ec46e0991d71a2459f6406d012e33aef28146f36f4dc4c"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyCmd/InputFileLoader.cs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"a241a52510af33ebe9b9a85e41201f8ecca6edf2d20f3ba25e821cf84e16d6f6"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/Analyzers/AnalyzerScope.cs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"54e1dd1d66c703209f51fce9080c6dd982424673b4e9d078e734da34d6c34ec9"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/Analyzers/AnalyzerScope.cs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ea8b648c50501e24d1c181fc5a88da48c1bb5fb207f3406471fb179c146fce1"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/Analyzers/AnalyzerScope.cs"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"8edd9c7bfeb4bf47dc5f024d51f36f01a578f9f7d2c09a1dc3b7d55be7d92816"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/LoadedAssembly.cs"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9d081b881660bcc0db24bf284f167a204f0452ce25a65514f32b271694a5e20"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/LoadedAssembly.cs"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"764a841579e37b98e508906b84b210f9129808032837f0d2a0d3d7cf3fc9f6da"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/LoadedAssembly.cs"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"55cb479696f19b298762fd32cf74e5dd81908b9531ad2e7c8682aa2d2b0a26d6"}},{"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":"ICSharpCode.ILSpyX/LoadedAssembly.cs"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2ba1fa5038cc6be893eb7944cbe7459f64b5903477d22812df93be956e4a575"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/LoadedAssembly.cs"},"region":{"startLine":650}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c6e68717710ae70058158671dc42666738449e7603e6df2dd17cf681008da8f"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/LoadedAssembly.cs"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f49e6b8a994a33b5ef86d644c87e3e37189e90badc309a73343c91bd936c207"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/LoadedAssembly.cs"},"region":{"startLine":811}}}],"partialFingerprints":{"codehealthFindingId/v1":"7814de04b82635d295c78471776a5e524ad6fb52342eea2419531d5badc2fb7c"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/LoadedAssembly.cs"},"region":{"startLine":812}}}],"partialFingerprints":{"codehealthFindingId/v1":"683b582e1c1a5a4231fde59db52d953b65167105a1a56aaac66a6cb2f114da4a"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy.ReadyToRun/ReadyToRunLanguage.cs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"240ac2d7954050f909415a0225ca458c93f533c8d63004fd8ade321dcce36a20"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/AssemblyTree/TreeNodeLocator.cs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"464f935b063a88d5bddccb47758fec966fb5ba76d02063476e5790bda503eb91"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Commands/ExtractPackageEntryContextMenuEntry.cs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"bafc2b6a2530fd1fd3f2069e12724fda75686ea802403136d5749fdde981c212"}},{"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":"ILSpy/Commands/FileCommands.cs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"415ee3f0b4e2409452e157d0d133e90ccf57805919f1f3f006b97696e931d0b3"}},{"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":"ILSpy/Commands/FileCommands.cs"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bd25832e644958ebf5a4d60304da0fbbe80076a38d31acea6260837f5217f37"}},{"ruleId":"X1","level":"warning","message":{"text":"async void method: OnDragPointerMoved: \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":"ILSpy/Controls/TreeView/SharpTreeView.cs"},"region":{"startLine":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"721bc6e3b889a5f0edefc432d14592418822b057f51cafd727a5420d5b3fe60b"}},{"ruleId":"X1","level":"warning","message":{"text":"async void method: HandleExceptions: \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":"ILSpy/FireAndForgetExtensions.cs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6f1f56210472915ebbc4b420a65ffa16a6f62a6f084f5f1b431480b16fbfc88"}},{"ruleId":"X1","level":"warning","message":{"text":"async void method: OnHyperlinkOpenUri: \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":"ILSpy/TextView/DecompilerTextView.axaml.cs"},"region":{"startLine":1391}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbd2739dd586425be2b82a1d2119e3d383224e54743a333ecdb1adf05f252b45"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/TreeNodes/AssemblyTreeNode.cs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7bb26199680ca89e463ab881ac7e6c92438435cae2015561f69ff9db4b3346c"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/TreeNodes/AssemblyTreeNode.cs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"32ca2ee2a13a9d37a85b5f444b5148ee0f76fbe767e4b6b62ddcc5a391797b41"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/TreeNodes/AssemblyTreeNode.cs"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f46a0567127075367fe52b29e3e8578b9953a9efa63bda0746ff27e05c0124c"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/TreeNodes/AssemblyTreeNode.cs"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cc6798a1425715fcb8970d33d8156178aae8fd0c524d0f8413057bf079ebc5e"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/TreeNodes/AssemblyTreeNode.cs"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"1499bf995a9588c72ddfd5ff3f8116ab9a2966c2e124dda41352151cdaaf7aac"}},{"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":"ILSpy/TreeNodes/AssemblyTreeNode.cs"},"region":{"startLine":735}}}],"partialFingerprints":{"codehealthFindingId/v1":"9407f0447acf5af1b01d5f3f6a650f21bc0092792ccc9aee61f9ce422e1f07ab"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/TreeNodes/ReferenceFolderTreeNode.cs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"d918f2de6f06ce7e0d01f3e92e2605d597c1aa0f49c923fc4ec23dce965a5390"}},{"ruleId":"X1","level":"warning","message":{"text":"async void method: OnExecute: \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":"ILSpy.AddIn.VS2022/Commands/OpenCodeItemCommand.cs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b78187d866909beee7c2cf8430cd9815136da00eae1a158f97c46a2e9833151"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!CheckVisibility(@event) || !IsInNamespaceOrAssembly(@event)\u0060 appears character-identically in 2 files \u2014 ICSharpCode.ILSpyX/Search/MemberSearchStrategy.cs, ICSharpCode.ILSpyX/Search/MetadataTokenSearchStrategy.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":"ICSharpCode.ILSpyX/Search/MemberSearchStrategy.cs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"16642781f02520a20051b1dfa7093054309821d3431994e79b25b51b44049cc1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!CheckVisibility(field) || !IsInNamespaceOrAssembly(field)\u0060 appears character-identically in 3 files \u2014 ICSharpCode.ILSpyX/Search/LiteralSearchStrategy.cs, ICSharpCode.ILSpyX/Search/MemberSearchStrategy.cs, ICSharpCode.ILSpyX/Search/MetadataTokenSearchStrategy.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":"ICSharpCode.ILSpyX/Search/LiteralSearchStrategy.cs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed981958fac3de09240a36d632efaab8832c7e12ee1ffa74659296eddaa0b1f0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!CheckVisibility(method) || !IsInNamespaceOrAssembly(method)\u0060 appears character-identically in 2 files \u2014 ICSharpCode.ILSpyX/Search/MemberSearchStrategy.cs, ICSharpCode.ILSpyX/Search/MetadataTokenSearchStrategy.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":"ICSharpCode.ILSpyX/Search/MemberSearchStrategy.cs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d152abeb1eb5bbf956214339f51fff74bef328f6c160990e26e92d54c369f43"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!CheckVisibility(property) || !IsInNamespaceOrAssembly(property)\u0060 appears character-identically in 2 files \u2014 ICSharpCode.ILSpyX/Search/MemberSearchStrategy.cs, ICSharpCode.ILSpyX/Search/MetadataTokenSearchStrategy.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":"ICSharpCode.ILSpyX/Search/MemberSearchStrategy.cs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb98b39faede85cf7c98eb55c79de06dd6fe154a8e7fbb944ad215d4c6419d64"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!CheckVisibility(type) || !IsInNamespaceOrAssembly(type)\u0060 appears character-identically in 2 files \u2014 ICSharpCode.ILSpyX/Search/MemberSearchStrategy.cs, ICSharpCode.ILSpyX/Search/MetadataTokenSearchStrategy.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":"ICSharpCode.ILSpyX/Search/MemberSearchStrategy.cs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"feded39e0cfff1fafd00cc5a0a87ecb04f5f5e7d2cf6c877c5d281f16b37fdb1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!state.MutexSelections.TryGetValue(group.Name, out var sel) || sel is null\u0060 appears character-identically in 2 files \u2014 ILSpy/Controls/MutexChipGroup.cs, ILSpy/Metadata/FilterStatePresenter.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":"ILSpy/Controls/MutexChipGroup.cs"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"24e9885c5dffbd317cb37bcd09ef6adb69e90eefb29f16d69b4009cf5561ff21"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(corflags \u0026 CorFlags.ILOnly) == 0 \u0026\u0026 (characteristics \u0026 Characteristics.Bit32Machine) != 0\u0060 appears character-identically in 2 files \u2014 ICSharpCode.Decompiler/CSharp/ProjectDecompiler/TargetServices.cs, ILSpy/Languages/Language.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":"ICSharpCode.Decompiler/CSharp/ProjectDecompiler/TargetServices.cs"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"711a30048dbb5d807d51b8ec99bc1de2dff302741811574f5d351f5954061b46"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060IsSupersetOf(other) \u0026\u0026 !SetEquals(other)\u0060 appears character-identically in 2 files \u2014 ICSharpCode.Decompiler/Util/BitSet.cs, ICSharpCode.Decompiler/Util/LongSet.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":"ICSharpCode.Decompiler/Util/BitSet.cs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"97e8e17690da020abe90aae5384d61822b7a9b245e6072b8c01c8f83c3afc86c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060a != null \u0026\u0026 elementType.Equals(a.elementType)\u0060 appears character-identically in 2 files \u2014 ICSharpCode.Decompiler/TypeSystem/ByReferenceType.cs, ICSharpCode.Decompiler/TypeSystem/PointerType.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":"ICSharpCode.Decompiler/TypeSystem/ByReferenceType.cs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfa7edfa822e2ace6d1ed069862dadc3ae8be4566a35586c09c2f41d8e83252f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060body == null || body.Instructions.Count != 1\u0060 appears character-identically in 2 files \u2014 ICSharpCode.Decompiler/CSharp/RecordDecompiler.cs, ICSharpCode.Decompiler/IL/Transforms/NullPropagationTransform.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":"ICSharpCode.Decompiler/CSharp/RecordDecompiler.cs"},"region":{"startLine":827}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a3d299a1cd3ffa316c7717f3d85d50d58a407396bceeed45d1ddc81e7ab6359"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060body == null || body.Instructions.Count == 0\u0060 appears character-identically in 2 files \u2014 ICSharpCode.Decompiler/CSharp/RecordDecompiler.cs, ICSharpCode.Decompiler/IL/ControlFlow/YieldReturnDecompiler.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":"ICSharpCode.Decompiler/CSharp/RecordDecompiler.cs"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"688ed9aecdd117007ec72b739f2d8f29e636eb557866a8e380f7fe2475968938"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060c.Method.FullNameIs(\u0022System.Activator\u0022, \u0022CreateInstance\u0022) \u0026\u0026 c.Method.TypeArguments.Count == 1\u0060 appears character-identically in 2 files \u2014 ICSharpCode.Decompiler/CSharp/ExpressionBuilder.cs, ICSharpCode.Decompiler/IL/Transforms/TransformCollectionAndObjectInitializers.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":"ICSharpCode.Decompiler/CSharp/ExpressionBuilder.cs"},"region":{"startLine":3719}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d0bba729eac03b6e946d78aa87a1819d32419cef574cfb2fd6d0501f09523c1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060char.IsWhiteSpace(ch) || char.IsControl(ch) || char.IsSurrogate(ch)\u0060 appears character-identically in 2 files \u2014 ICSharpCode.BamlDecompiler/Xaml/XamlUtils.cs, ICSharpCode.Decompiler/IL/ILAmbience.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":"ICSharpCode.BamlDecompiler/Xaml/XamlUtils.cs"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bddc82811b55470354ab97656a40254dc5c6fc52a1aa22f751bf2af5b73f945"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060context.SelectedTreeNodes?.Length == 1 \u0026\u0026 context.SelectedTreeNodes[0] is AssemblyTreeNode asm \u0026\u0026 asm.LoadedAssembly.IsLoadedAsValidAssembly\u0060 appears character-identically in 2 files \u2014 ILSpy/Commands/SelectPdbContextMenuEntry.cs, ILSpy/Commands/SetTargetFrameworkContextMenuEntry.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":"ILSpy/Commands/SelectPdbContextMenuEntry.cs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"d42936bb9bfc80a11a697cfe0a0cca5b1c26dc09714dd2512dd9a4bfc5527d64"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060declaringType != null \u0026\u0026 declaringType.Kind == TypeKind.Delegate\u0060 appears character-identically in 2 files \u2014 ICSharpCode.Decompiler/Output/TextTokenWriter.cs, ILSpy/Languages/CSharpHighlightingTokenWriter.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":"ICSharpCode.Decompiler/Output/TextTokenWriter.cs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"386cf0859d08234284cf0ce7255e8ec56de639f58256339f7c296979067f12e1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060declaringType.IsNil \u0026\u0026 member.Kind == HandleKind.TypeDefinition\u0060 appears character-identically in 2 files \u2014 ICSharpCode.Decompiler/CSharp/CSharpDecompiler.cs, ILSpy/Languages/Language.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":"ICSharpCode.Decompiler/CSharp/CSharpDecompiler.cs"},"region":{"startLine":1091}}}],"partialFingerprints":{"codehealthFindingId/v1":"fab547a314e21c8d322b5c5af040aaf3a8764621439d2a252a6a2f84eb067ecd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060doFinallyBodies.StoreInstructions.Count != 0 || doFinallyBodies.AddressCount != 0\u0060 appears character-identically in 2 files \u2014 ICSharpCode.Decompiler/IL/ControlFlow/AsyncAwaitDecompiler.cs, ICSharpCode.Decompiler/IL/ControlFlow/YieldReturnDecompiler.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":"ICSharpCode.Decompiler/IL/ControlFlow/AsyncAwaitDecompiler.cs"},"region":{"startLine":2259}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a2d822ccc12040f5a79274513959f9eb9932f3010211cd52b2c77c9dee5ff0c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060f.GetConstantValue() is { } val \u0026\u0026 (ulong)CSharpPrimitiveCast.Cast(TypeCode.UInt64, val, false) == 0L\u0060 appears character-identically in 2 files \u2014 ICSharpCode.Decompiler/CSharp/ExpressionBuilder.cs, ICSharpCode.Decompiler/CSharp/TranslatedExpression.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":"ICSharpCode.Decompiler/CSharp/ExpressionBuilder.cs"},"region":{"startLine":1147}}}],"partialFingerprints":{"codehealthFindingId/v1":"85162ef2be59019aaf5395094dc0166c646d719fc32e3fefe01e1ba3d8b78e1b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060idString.Length \u003C 2 || idString[1] != \u0027:\u0027\u0060 appears character-identically in 2 files \u2014 ICSharpCode.Decompiler/Documentation/DocumentationIdSearch.cs, ICSharpCode.Decompiler/Documentation/IdStringProvider.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":"ICSharpCode.Decompiler/Documentation/DocumentationIdSearch.cs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f0c309bc5b5731a924950eba2b6321bd572f08bfa088f09bbf231c82d5c1017"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060identifier.IsVerbatim || CSharpOutputVisitor.IsKeyword(identifier.Name, identifier)\u0060 appears character-identically in 3 files \u2014 ICSharpCode.Decompiler/CSharp/OutputVisitor/InsertRequiredSpacesDecorator.cs, ICSharpCode.Decompiler/CSharp/OutputVisitor/TextWriterTokenWriter.cs, ICSharpCode.Decompiler/Output/TextTokenWriter.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":"ICSharpCode.Decompiler/CSharp/OutputVisitor/InsertRequiredSpacesDecorator.cs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"368b5be2ffb460edd2a2dff34c6cdcef036a2a9c3590082d6733d5a6f4c825de"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060inst != null \u0026\u0026 PointerArithmeticOffset.IsFixedVariable(inst)\u0060 appears character-identically in 2 files \u2014 ICSharpCode.Decompiler/CSharp/StatementBuilder.cs, ICSharpCode.Decompiler/CSharp/TranslatedExpression.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":"ICSharpCode.Decompiler/CSharp/StatementBuilder.cs"},"region":{"startLine":1303}}}],"partialFingerprints":{"codehealthFindingId/v1":"853fa17c9d2d2f06d3d5130f8fd91db1a64ec3c102364ddfd07419e085cace20"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060inst.MatchStFld(out var target, out var field, out var value) \u0026\u0026 target.MatchLdThis() \u0026\u0026 value.MatchLdLoc(out var arg) \u0026\u0026 arg.Kind == Variab\u2026\u0060 appears character-identically in 2 files \u2014 ICSharpCode.Decompiler/IL/ControlFlow/AsyncAwaitDecompiler.cs, ICSharpCode.Decompiler/IL/ControlFlow/YieldReturnDecompiler.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":"ICSharpCode.Decompiler/IL/ControlFlow/AsyncAwaitDecompiler.cs"},"region":{"startLine":763}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a9baaeef8eacf8fe00f02f21dfc53a8f87d35f28ab0be90c5739519b77bb60d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060key != null \u0026\u0026 record.StaticResourceId \u003E= key.StaticResources.Count\u0060 appears character-identically in 2 files \u2014 ICSharpCode.BamlDecompiler/Handlers/Records/PropertyWithStaticResourceIdHandler.cs, ICSharpCode.BamlDecompiler/Handlers/Records/StaticResourceIdHandler.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":"ICSharpCode.BamlDecompiler/Handlers/Records/PropertyWithStaticResourceIdHandler.cs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"44ff3d4e4fe2937539fd764abbdab9517732f77b5369023b40b89db6c362e552"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060lightColor.Foreground is null \u0026\u0026 lightColor.Background is null\u0060 appears character-identically in 2 files \u2014 ILSpy/TextView/ThemeAwareHighlightingColorizer.cs, ILSpy/Themes/ThemeManager.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":"ILSpy/TextView/ThemeAwareHighlightingColorizer.cs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed82dafcf656509025257c4d5973b1c031130bc7858c3739d943b35043571f13"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060module == null || entity.MetadataToken.IsNil\u0060 appears character-identically in 2 files \u2014 ICSharpCode.Decompiler/Documentation/IdStringProvider.cs, ICSharpCode.Decompiler/Documentation/XmlDocumentationProvider.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":"ICSharpCode.Decompiler/Documentation/IdStringProvider.cs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bd4876cc1b016c7fb07cec9d082e323e58fe2a404cc1b4b1202e3e9a59c238a"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060Run\u0060 is public, takes a document from its caller (line 35) and hands it to \u0060ProcessElement\u0060, which calls itself at line 56 with a child of the node it was given \u2014 and nowhere in \u0060ProcessElement\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the tree it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. A document nested past the stack that remains raises \u0060StackOverflowException\u0060, which .NET neither lets you catch nor unwinds: the process is torn down where it stands, taking every other request in flight with it, and no \u0060try\u0060/\u0060catch\u0060 around \u0060Run\u0060 can intervene. Thread a depth argument through \u0060ProcessElement\u0060 and reject the document past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.BamlDecompiler/Rewrite/AttributeRewritePass.cs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"517f81e095cb25ae088e0fec43e81647ce5860cbb1674b9f543af38c9a5351af"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060Run\u0060 is public, takes a document from its caller (line 42) and hands it to \u0060ProcessConnectionIds\u0060, which calls itself at line 53 with a child of the node it was given \u2014 and nowhere in \u0060ProcessConnectionIds\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the tree it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. A document nested past the stack that remains raises \u0060StackOverflowException\u0060, which .NET neither lets you catch nor unwinds: the process is torn down where it stands, taking every other request in flight with it, and no \u0060try\u0060/\u0060catch\u0060 around \u0060Run\u0060 can intervene. Thread a depth argument through \u0060ProcessConnectionIds\u0060 and reject the document past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.BamlDecompiler/Rewrite/ConnectionIdRewritePass.cs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fbfb85b52fe2180e683a4ce3c57dcc32a822793e94dbe8f5e2fe024ce7cb3ac"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060Run\u0060 is public, takes a document from its caller (line 38) and hands it to \u0060ProcessElement\u0060, which calls itself at line 60 with a child of the node it was given \u2014 and nowhere in \u0060ProcessElement\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the tree it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. A document nested past the stack that remains raises \u0060StackOverflowException\u0060, which .NET neither lets you catch nor unwinds: the process is torn down where it stands, taking every other request in flight with it, and no \u0060try\u0060/\u0060catch\u0060 around \u0060Run\u0060 can intervene. Thread a depth argument through \u0060ProcessElement\u0060 and reject the document past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.BamlDecompiler/Rewrite/MarkupExtensionRewritePass.cs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"a35cf4fbbdcaeaad96b2d385cc8070c638b5c2800642523477e5c0fce3c9e746"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the method that made it: \u0060rdr\u0060 is a \u0060BinaryReader\u0060, which implements \u0060IDisposable\u0060, and it is created here (line 50). Every use of it in \u0060IsBamlHeader\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 rdr = \u2026;\u0060), which releases it at the end of the scope on every path including a throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.BamlDecompiler/Baml/BamlReader.cs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"24fe199cb73388a1da6c95e9a126d879918d502e5791976d6d3e17f2922a6b2d"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the method that made it: \u0060rdr\u0060 is a \u0060BinaryReader\u0060, which implements \u0060IDisposable\u0060, and it is created here (line 65). Every use of it in \u0060ReadSignature\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 rdr = \u2026;\u0060), which releases it at the end of the scope on every path including a throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.BamlDecompiler/Baml/BamlReader.cs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"448f4846e23bba2b44661c9a332c2b98799f1231e9343d2a5a349df15d021472"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the method that made it: \u0060wtr\u0060 is a \u0060BinaryWriter\u0060, which implements \u0060IDisposable\u0060, and it is created here (line 45). Every use of it in \u0060WriteDocument\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 wtr = \u2026;\u0060), which releases it at the end of the scope on every path including a throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.BamlDecompiler/Baml/BamlWriter.cs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"f132b2da3dfbb01008ef6f0b578f2a1eac632865f406520f66679dcf01a3968e"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the method that made it: \u0060deflate\u0060 is a \u0060DeflateStream\u0060, which implements \u0060IDisposable\u0060, and it is created here (line 353). Every use of it in \u0060WriteSourceToBlob\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 deflate = \u2026;\u0060), which releases it at the end of the scope on every path including a throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/DebugInfo/PortablePdbWriter.cs"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0d557d48e88cd284ea0b703474f4d2892eaed6c139d4a5c462c3506a4f01792"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposes a dependency it does not own: \u0060view\u0060 is a \u0060MemoryMappedViewAccessor\u0060 that \u0060WebCilFile\u0060 never creates \u2014 every assignment to it takes a constructor parameter \u2014 and this type disposes it here (line 297). The caller that hands it over at \u0060new WebCilFile(fileName, webcilOffset, metadataOffset, view, ImmutableArray.C...\u0060 (WebCilFile.cs line 127) releases the same value itself, so it kept ownership: this release is a second one, on a value that is still the caller\u0027s, and it ends the caller\u0027s instance while the caller may still be using it. Drop the call and leave the release to the caller that created the value \u2014 or, if this type is meant to own it, stop releasing it at the construction site so ownership is stated once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/Metadata/WebCilFile.cs"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb698340f76f17aae70cf8a9d5fa0ea2902b1bc75894d0a926ec40abf885f950"}},{"ruleId":"X18","level":"warning","message":{"text":"Finalizer on a type that owns no unmanaged resource: \u0060ResXResourceWriter\u0060 declares a finalizer (line 96), 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":"ICSharpCode.Decompiler/Util/ResXResourceWriter.cs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"825fbcb7b652ec9cabdf95d553fb62cc737272456469d18880065da40aac0939"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the method that made it: \u0060stdout\u0060 is a \u0060Stream\u0060, which implements \u0060IDisposable\u0060, and it is created here (line 712). Every use of it in \u0060ExtractResource\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 stdout = \u2026;\u0060), which releases it at the end of the scope on every path including a throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyCmd/IlspyCmdProgram.cs"},"region":{"startLine":712}}}],"partialFingerprints":{"codehealthFindingId/v1":"393b79c1cb8a11ff58811baac63e521c4013bf02bab7eb703a39d61246a0b15a"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the method that made it: \u0060loaded\u0060 is a \u0060LoadedAssembly\u0060, which implements \u0060IDisposable\u0060, and it is created here (line 98). Every use of it in \u0060AssemblyList\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 loaded = \u2026;\u0060), which releases it at the end of the scope on every path including a throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/AssemblyList.cs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"02ed0b1eac338f46801431779b8cdaac765a5ada00f3dd973137fc8d18937cfe"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the method that made it: \u0060lexer\u0060 is a \u0060Lexer\u0060, which implements \u0060IDisposable\u0060, and it is created here (line 47). Every use of it in \u0060LiteralSearchStrategy\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 lexer = \u2026;\u0060), which releases it at the end of the scope on every path including a throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/Search/LiteralSearchStrategy.cs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"191734df630d8d800d04b3153d03a82370d8311f14037d5072c49ca0df7b67e0"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the method that made it: \u0060xmlReader\u0060 is a \u0060XmlTextReader\u0060, which implements \u0060IDisposable\u0060, and it is created here (line 76). Every use of it in \u0060DetectFileType\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 xmlReader = \u2026;\u0060), which releases it at the end of the scope on every path including a throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/Util/GuessFileType.cs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae07614fdfa7ae0a0e93cb6a74c4f757aa0b54ba930ae9736539d058c5180aa8"}},{"ruleId":"X18","level":"warning","message":{"text":"Owned disposable field overwritten without releasing the previous instance: \u0060activeCts\u0060 is a \u0060CancellationTokenSource\u0060 this type creates itself, and here (line 558) a new instance is written over it \u2014 but \u0060DecompileAsync\u0060 itself reads through \u0060activeCts\u0060 before replacing it, so it expects an instance to be there, and nothing earlier in \u0060DecompileAsync\u0060 disposes, closes, saves or hands on the instance being replaced. The assignment makes it unreachable while it still holds what it holds (a timer that keeps firing, a callback registered on a longer-lived token, a socket, a handle), and no later \u0060Dispose\u0060 can reach it: the type\u0027s own disposal releases only the CURRENT instance. The cost accumulates once per overwrite. Release the previous instance first (\u0060activeCts?.Dispose();\u0060 before the assignment), or swap it out with \u0060Interlocked.Exchange\u0060 and dispose what comes back."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/TextView/DecompilerTabPageModel.cs"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"86e11f4eb52270808ca4e47562cb5f143ac1c559acdc8290a3a663f3c6f4341d"}},{"ruleId":"X18","level":"warning","message":{"text":"Owned disposable field overwritten without releasing the previous instance: \u0060activeCts\u0060 is a \u0060CancellationTokenSource\u0060 this type creates itself, and here (line 760) a new instance is written over it \u2014 but \u0060RunWithCancellation\u0060 itself reads through \u0060activeCts\u0060 before replacing it, so it expects an instance to be there, and nothing earlier in \u0060RunWithCancellation\u0060 disposes, closes, saves or hands on the instance being replaced. The assignment makes it unreachable while it still holds what it holds (a timer that keeps firing, a callback registered on a longer-lived token, a socket, a handle), and no later \u0060Dispose\u0060 can reach it: the type\u0027s own disposal releases only the CURRENT instance. The cost accumulates once per overwrite. Release the previous instance first (\u0060activeCts?.Dispose();\u0060 before the assignment), or swap it out with \u0060Interlocked.Exchange\u0060 and dispose what comes back."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/TextView/DecompilerTabPageModel.cs"},"region":{"startLine":760}}}],"partialFingerprints":{"codehealthFindingId/v1":"eda005ed9306ee1a44eab57b916543d3e908272b99e2ca848a891073bbd7e641"}},{"ruleId":"X18","level":"warning","message":{"text":"Owned disposable field overwritten without releasing the previous instance: \u0060downloadCts\u0060 is a \u0060CancellationTokenSource\u0060 this type creates itself, and here (line 167) a new instance is written over it \u2014 but \u0060OpenPackage\u0060 itself reads through \u0060downloadCts\u0060 before replacing it, so it expects an instance to be there, and nothing earlier in \u0060OpenPackage\u0060 disposes, closes, saves or hands on the instance being replaced. The assignment makes it unreachable while it still holds what it holds (a timer that keeps firing, a callback registered on a longer-lived token, a socket, a handle), and no later \u0060Dispose\u0060 can reach it: the type\u0027s own disposal releases only the CURRENT instance. The cost accumulates once per overwrite. Release the previous instance first (\u0060downloadCts?.Dispose();\u0060 before the assignment), or swap it out with \u0060Interlocked.Exchange\u0060 and dispose what comes back."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/ViewModels/OpenFromNuGetFeedDialogViewModel.cs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"5630f27ef84a1f817d361f10aa50cb7d7c47586ee6f412912771c6d240534709"}},{"ruleId":"X18","level":"warning","message":{"text":"Owned disposable field overwritten without releasing the previous instance: \u0060versionsCts\u0060 is a \u0060CancellationTokenSource\u0060 this type creates itself, and here (line 206) a new instance is written over it \u2014 but \u0060LoadVersionsAsync\u0060 itself reads through \u0060versionsCts\u0060 before replacing it, so it expects an instance to be there, and nothing earlier in \u0060LoadVersionsAsync\u0060 disposes, closes, saves or hands on the instance being replaced. The assignment makes it unreachable while it still holds what it holds (a timer that keeps firing, a callback registered on a longer-lived token, a socket, a handle), and no later \u0060Dispose\u0060 can reach it: the type\u0027s own disposal releases only the CURRENT instance. The cost accumulates once per overwrite. Release the previous instance first (\u0060versionsCts?.Dispose();\u0060 before the assignment), or swap it out with \u0060Interlocked.Exchange\u0060 and dispose what comes back."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/ViewModels/OpenFromNuGetFeedDialogViewModel.cs"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"acb9ebdbf044c711e53ff6f7ae52fa3803871f859c2125c31557bfca6a39c695"}},{"ruleId":"X18","level":"warning","message":{"text":"Owned disposable field overwritten without releasing the previous instance: \u0060searchCts\u0060 is a \u0060CancellationTokenSource\u0060 this type creates itself, and here (line 240) a new instance is written over it \u2014 but \u0060RunSearchAsync\u0060 itself reads through \u0060searchCts\u0060 before replacing it, so it expects an instance to be there, and nothing earlier in \u0060RunSearchAsync\u0060 disposes, closes, saves or hands on the instance being replaced. The assignment makes it unreachable while it still holds what it holds (a timer that keeps firing, a callback registered on a longer-lived token, a socket, a handle), and no later \u0060Dispose\u0060 can reach it: the type\u0027s own disposal releases only the CURRENT instance. The cost accumulates once per overwrite. Release the previous instance first (\u0060searchCts?.Dispose();\u0060 before the assignment), or swap it out with \u0060Interlocked.Exchange\u0060 and dispose what comes back."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/ViewModels/OpenFromNuGetFeedDialogViewModel.cs"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"82b27e21d2a7146c11da46ba130212a81017cf29ed0089fbc1ecf2125c3203d4"}},{"ruleId":"X18","level":"warning","message":{"text":"Owned disposable field overwritten without releasing the previous instance: \u0060iconLoadCts\u0060 is a \u0060CancellationTokenSource\u0060 this type creates itself, and here (line 261) a new instance is written over it \u2014 but \u0060RunSearchAsync\u0060 itself reads through \u0060iconLoadCts\u0060 before replacing it, so it expects an instance to be there, and nothing earlier in \u0060RunSearchAsync\u0060 disposes, closes, saves or hands on the instance being replaced. The assignment makes it unreachable while it still holds what it holds (a timer that keeps firing, a callback registered on a longer-lived token, a socket, a handle), and no later \u0060Dispose\u0060 can reach it: the type\u0027s own disposal releases only the CURRENT instance. The cost accumulates once per overwrite. Release the previous instance first (\u0060iconLoadCts?.Dispose();\u0060 before the assignment), or swap it out with \u0060Interlocked.Exchange\u0060 and dispose what comes back."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/ViewModels/OpenFromNuGetFeedDialogViewModel.cs"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"641082e92bc990d92411510c7537c4366e7c245b57d6859884c6173125e851da"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created into a field and never released: \u0060fetchCts\u0060 (line 52) holds a \u0060CancellationTokenSource\u0060 that \u0060OpenFromGacDialog\u0060 creates itself with \u0060new\u0060, and nothing in \u0060OpenFromGacDialog\u0060 ever releases it: the type is not \u0060IDisposable\u0060, declares no \u0060Dispose\u0060, and every other mention of \u0060fetchCts\u0060 only reads through it. And \u0060OpenFromGacDialog\u0060 is not a process-lifetime owner: \u0060new Views.OpenFromGacDialog()\u0060 (FileCommands.cs line 118) creates one per call and drops it when the call returns, so each call strands one unreleased \u0060CancellationTokenSource\u0060 (a timer that keeps firing, a handle, a socket) until finalization. Implement \u0060IDisposable\u0060, release \u0060fetchCts\u0060 there and dispose the owner at that call site \u2014 or keep one owner for the process instead of one per call."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Views/OpenFromGacDialog.axaml.cs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"3604f4a54eb1f3e3adbff9105049330169b9882f9998a417dc5697a53669fd5a"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the method that made it: \u0060process\u0060 is a \u0060Process\u0060, which implements \u0060IDisposable\u0060, and it is created here (line 88). Every use of it in \u0060Start\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 process = \u2026;\u0060), which releases it at the end of the scope on every path including a throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy.AddIn.VS2022/ILSpyInstance.cs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"60178a3558d162015254d4c2aae9dff0fa34844bc43446d4d180a63ee15bbebd"}},{"ruleId":"X2","level":"note","message":{"text":"Not all async methods take a CancellationToken: Only 24/79 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: ResolveAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/Metadata/UniversalAssemblyResolver.cs"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b2f2c0cffc598e7e6e04083b317d8d834a5094ed1c16c3def5c7b8fefb1eea2"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: ResolveModuleAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/Metadata/UniversalAssemblyResolver.cs"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"f99dbcd70e82d62c8febc42234d32699a7092ae382d2715b923f45b94e88c2f4"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: CreateAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/TypeSystem/DecompilerTypeSystem.cs"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5b3440edd52364135ff4cc18e9b7eacf90110534708b54fc8e8db8c8e7a84a1"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: InitializeAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/TypeSystem/DecompilerTypeSystem.cs"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"04a68df753cba3d4c1d8decdd05043b6b692c050e85751185685fb4e1842c069"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: RepairCyclicTypeForwardersAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/TypeSystem/DecompilerTypeSystem.cs"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"89b820f2a54defe8c3b92ecca17a304af4e1ce3240e69dc53f81b98adfcb5ff3"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: FollowChainNextToForwardersAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/TypeSystem/DecompilerTypeSystem.cs"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"96ed4e36d334c44cb36a2a183672737b15d327750d220a9d20c70d85d6cd38ff"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: InitializeCoreAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/TypeSystem/DecompilerTypeSystem.cs"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fe518e203a9a6750462b1dbdab747b3cd2352ff49f88f524db180d4cf29310c"}},{"ruleId":"X2","level":"warning","message":{"text":"Async local function without CancellationToken: CollectReferenceClosure: Neither takes a CancellationToken nor reads the one of the function it sits in, while it calls something that takes one \u2014 this work can\u0027t be stopped early once started. Take the token, or pass on the enclosing one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/TypeSystem/DecompilerTypeSystem.cs"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"d059150fbffa206d508072e114ed46df9bf9da0c93e9789b0229da9a86f65f0b"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: CheckForPackageUpdateAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyCmd/DotNetToolUpdateChecker.cs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e49a2c1f5d56c57bf424673dfeda45002ef4ec5f859586e2bf58584128bcbdf"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: OnExecuteAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyCmd/IlspyCmdProgram.cs"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dfa1c07e0728629d065b79d5694eb0329eb12d779940993f591c575cafd9626"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: GetAllAssembliesAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/AssemblyListSnapshot.cs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b1944ffc276d7cbd6d49d357c8698b5b06e615f5cadc175c5e1cb2ad213134a"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Load: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/FileLoaders/XamarinCompressedFileLoader.cs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"f369c397e2d076dcf907bf46dec656d2acec87c346595e9b208f0e48cf343102"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: LoadDebugInfo: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/LoadedAssembly.cs"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"f88beb928376515dfef00233ee69f32f484e86a9167693318257757077ff95ad"}},{"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":"ICSharpCode.ILSpyX/LoadedAssembly.cs"},"region":{"startLine":653}}}],"partialFingerprints":{"codehealthFindingId/v1":"a30eb84e05598924f65ada44343f33fd98df301de1be6496c3e1015d85f156b3"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: ResolveCoreAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/LoadedAssembly.cs"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f682c7a65d54cfd8b9dd585f6495ffa063f320cf913cd8f53bdd5e962c1033c"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: ResolveModuleAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/LoadedAssembly.cs"},"region":{"startLine":746}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2c2f74b5062ab565348357d67178eaf59a1d7d389efbce5f3872ac0af5b5dee"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: HandleForwardedArgumentsAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/App.axaml.cs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"b09f0936dd85d332a1c9a53b4a00137bbebe16e884e56fc621e418fe9c45281c"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: RestoreSelectedPathAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/AssemblyTree/AssemblyTreeModel.cs"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"75813a752b16d7abb44ced90ba4ae7ff3b7d3e48a73110a3bd5920a58c01e5cd"}},{"ruleId":"X2","level":"warning","message":{"text":"Async delegate without CancellationToken: ScheduleBackgroundLoadSweep: Queues or hands on an async lambda whose work calls something that takes a CancellationToken, while neither this method nor the delegate supplies one \u2014 that work can\u0027t be stopped early once started. Take a CancellationToken here and let the lambda capture it, or use a delegate that is handed one (\u0060Func\u003CCancellationToken, Task\u003E\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/AssemblyTree/AssemblyTreeModel.cs"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"96c5e4d36747dbb9c1e85fdf8971f8e7acadec2257aafc79b60aa2f097e2e78a"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: HandleCommandLineArgumentsAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/AssemblyTree/AssemblyTreeModel.cs"},"region":{"startLine":767}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f1d4447a759ad0b1a3a5751e55c12fcdc26648aa368ea73ef99dc00096fba52"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: NavigateOnLaunchAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/AssemblyTree/AssemblyTreeModel.cs"},"region":{"startLine":826}}}],"partialFingerprints":{"codehealthFindingId/v1":"baa73f73a67a80e018285120fe688240d28a96f283278344268c354e8122d5eb"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: LoadDependenciesAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/AssemblyTree/AssemblyTreeModel.cs"},"region":{"startLine":1157}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c1d773d0ae6b70a0f76cfdf6f5cb49451b63e1ce5043d9b0ac8c0946ae4137f"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Execute: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Commands/FileCommands.cs"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"46e60517ae450936988598e5976e8ba05fc47caed5276f165803185b4c3b956b"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: WriteNodeToFileAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Commands/SaveCodeHelper.cs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"94a7b2405aaaceccd870fee504b88fb2fcb8e7bb10bb754a4d70d71bfbc869e1"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: ExecuteAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Commands/SelectPdbContextMenuEntry.cs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"0efe56ac85885037be75a2d385b27ea7221ccb4a458fb0c9ef14621027cbfe00"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: DownloadAndDecodeAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/NuGetFeeds/NuGetIconLoader.cs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"859668c34bc3f631beb27785dc305e2717466e9db9230371cc940c9f29225e95"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: StartDecompile: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/TextView/DecompilerTabPageModel.cs"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a5793c57c64ca8eafb026f95420562af846554c271efcc98102e91587e23010"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: ResolveForIconAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/TreeNodes/AssemblyReferenceTreeNode.cs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a9590a553b551e5f49baed89d61a75982be49aef1801b53ca8ca35d81108100"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: SaveAsProjectOrSingleFileAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/TreeNodes/AssemblyTreeNode.cs"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec7596dd00a409e729078267f8285cdeb4d3753d0ea95412401cd0ff2bf5da2d"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Execute: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/TreeNodes/AssemblyTreeNode.cs"},"region":{"startLine":735}}}],"partialFingerprints":{"codehealthFindingId/v1":"99a74d4fe0a21399a285d0afadc20f5870759548bb34d4eb93ca041356d88bb1"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: SaveSnapshotAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/TreeNodes/CursorResourceEntryNode.cs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbbe0c077708b26f0b020e2b45f4f565222e9a4bbbaa66cbda7a76786db82788"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: SaveSnapshotAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/TreeNodes/IconResourceEntryNode.cs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a2e5b7b7c79e55aa43574354d643126ccaee8bf4d3908460e87c55432cb3cf5"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: SaveSnapshotAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/TreeNodes/ImageResourceEntryNode.cs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"da830f83e4c9378fe74aabee498dfd99c3de50f56edc3dddf9114f02aa82a72e"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: GetLatestVersionAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Updates/UpdateService.cs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"4874b4e286968567aa78c2fb96a88e797266489f6e94cd895645404871fc6ee9"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: GetLatestVersionAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Updates/UpdateService.cs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5c93dda61b4007540ddd3c5b832840a0c144f47ba9717c7de380928f27033bf"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: CheckForUpdatesIfEnabledAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Updates/UpdateService.cs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd60730029e47191c8c9d244a6ad222eeecbed620a6d6218ab3d4cca8de6a061"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: CheckForUpdateInternal: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Updates/UpdateService.cs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"32e000bfe9b131c9ddbc52b30bd1bb6d7687d632335720584c929e8e6d085b6f"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: DownloadOrCheckUpdateAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/ViewModels/UpdatePanelViewModel.cs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7b73756bd3f3cb960bf77c6ad73c33ba9a8198cd1bdc7bff147a50d67beb2cc"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: CheckIfUpdatesAvailableAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/ViewModels/UpdatePanelViewModel.cs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb50defb1af3a8b8de94a6e5d9d5f2946c34908a6ac56573aad97e19c148d11a"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: OnExecute: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy.AddIn.VS2022/Commands/OpenCodeItemCommand.cs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d432e3e5bc4c9d5442f4951ea88203a537a1a35d2d24d5866f22783a72ffd57"}},{"ruleId":"X20","level":"warning","message":{"text":"Argument guard throws the exception its own condition disproves: The guard on line 1540 rejects \u0060handle\u0060 and line 1541 reports that rejection as \u0060ArgumentNullException\u0060 \u2014 but the condition\u0027s own test \u0060handle.IsNil\u0060 is true of a value that is NOT null: it reads a member of \u0060handle\u0060, so it can only be evaluated on a non-null \u0060handle\u0060 (a null one would throw \u0060NullReferenceException\u0060 before the guard decided anything). So a caller whose \u0060handle\u0060 is present but fails that test is told it 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":"ICSharpCode.Decompiler/CSharp/CSharpDecompiler.cs"},"region":{"startLine":1541}}}],"partialFingerprints":{"codehealthFindingId/v1":"21fe04ce3d6310d8a0398654026a2bcf3f4b891e598cc40305789399d1bc78e5"}},{"ruleId":"X20","level":"warning","message":{"text":"Argument guard throws the exception its own condition disproves: The guard on line 355 rejects \u0060handle\u0060 and line 356 reports that rejection as \u0060ArgumentNullException\u0060 \u2014 but the condition\u0027s own test \u0060handle.IsNil\u0060 is true of a value that is NOT null: it reads a member of \u0060handle\u0060, so it can only be evaluated on a non-null \u0060handle\u0060 (a null one would throw \u0060NullReferenceException\u0060 before the guard decided anything). So a caller whose \u0060handle\u0060 is present but fails that test is told it 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":"ICSharpCode.Decompiler/Metadata/AssemblyReferences.cs"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"d151e73cbee2b49d6b6a06b18c43e33d6329ba5d7fa523f09c2520e353fb573d"}},{"ruleId":"X20","level":"warning","message":{"text":"Argument guard throws the exception its own condition disproves: The guard on line 94 rejects \u0060handle\u0060 and line 95 reports that rejection as \u0060ArgumentNullException\u0060 \u2014 but the condition\u0027s own test \u0060handle.IsNil\u0060 is true of a value that is NOT null: it reads a member of \u0060handle\u0060, so it can only be evaluated on a non-null \u0060handle\u0060 (a null one would throw \u0060NullReferenceException\u0060 before the guard decided anything). So a caller whose \u0060handle\u0060 is present but fails that test is told it 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":"ICSharpCode.Decompiler/Metadata/ExportedTypeMetadata.cs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"72151d4029afbcef03c0dcec335fced685437a54a18860d29a6f9d64c983051e"}},{"ruleId":"X20","level":"warning","message":{"text":"Argument guard throws the exception its own condition disproves: The guard on line 59 rejects \u0060handle\u0060 and line 60 reports that rejection as \u0060ArgumentNullException\u0060 \u2014 but the condition\u0027s own test \u0060handle.IsNil\u0060 is true of a value that is NOT null: it reads a member of \u0060handle\u0060, so it can only be evaluated on a non-null \u0060handle\u0060 (a null one would throw \u0060NullReferenceException\u0060 before the guard decided anything). So a caller whose \u0060handle\u0060 is present but fails that test is told it 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":"ICSharpCode.Decompiler/Metadata/MemberReferenceMetadata.cs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"111e72843f394bf5aaeb57f1cc388885354ad07dac2beea373927d6ed6e8efda"}},{"ruleId":"X20","level":"warning","message":{"text":"Argument guard throws the exception its own condition disproves: The guard on line 108 rejects \u0060handle\u0060 and line 109 reports that rejection as \u0060ArgumentNullException\u0060 \u2014 but the condition\u0027s own test \u0060handle.IsNil\u0060 is true of a value that is NOT null: it reads a member of \u0060handle\u0060, so it can only be evaluated on a non-null \u0060handle\u0060 (a null one would throw \u0060NullReferenceException\u0060 before the guard decided anything). So a caller whose \u0060handle\u0060 is present but fails that test is told it 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":"ICSharpCode.Decompiler/Metadata/ModuleReferenceMetadata.cs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"733fcc0d39a28ccefb48965123ccb0bff34c69647bf5be1048c5eec34418ec1c"}},{"ruleId":"X20","level":"warning","message":{"text":"Argument guard throws the exception its own condition disproves: The guard on line 119 rejects \u0060handle\u0060 and line 120 reports that rejection as \u0060ArgumentNullException\u0060 \u2014 but the condition\u0027s own test \u0060handle.IsNil\u0060 is true of a value that is NOT null: it reads a member of \u0060handle\u0060, so it can only be evaluated on a non-null \u0060handle\u0060 (a null one would throw \u0060NullReferenceException\u0060 before the guard decided anything). So a caller whose \u0060handle\u0060 is present but fails that test is told it 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":"ICSharpCode.Decompiler/Metadata/ModuleReferenceMetadata.cs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea6295fc4d2cd6deae11b37c6fdc4cca9820dccf76abe5083f6c2a35666f86d5"}},{"ruleId":"X20","level":"warning","message":{"text":"Argument guard throws the exception its own condition disproves: The guard on line 103 rejects \u0060handle\u0060 and line 104 reports that rejection as \u0060ArgumentNullException\u0060 \u2014 but the condition\u0027s own test \u0060handle.IsNil\u0060 is true of a value that is NOT null: it reads a member of \u0060handle\u0060, so it can only be evaluated on a non-null \u0060handle\u0060 (a null one would throw \u0060NullReferenceException\u0060 before the guard decided anything). So a caller whose \u0060handle\u0060 is present but fails that test is told it 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":"ICSharpCode.Decompiler/Metadata/TypeReferenceMetadata.cs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"d11b30405f3d02d0253d557789a79c4960750c18c979246a7baae93297791652"}},{"ruleId":"X20","level":"warning","message":{"text":"Argument guard throws the exception its own condition disproves: The guard on line 295 rejects \u0060handle\u0060 and line 296 reports that rejection as \u0060ArgumentNullException\u0060 \u2014 but the condition\u0027s own test \u0060handle.IsNil\u0060 is true of a value that is NOT null: it reads a member of \u0060handle\u0060, so it can only be evaluated on a non-null \u0060handle\u0060 (a null one would throw \u0060NullReferenceException\u0060 before the guard decided anything). So a caller whose \u0060handle\u0060 is present but fails that test is told it 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":"ICSharpCode.Decompiler/SRMExtensions.cs"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd896128fcc3543981c0de61caf84ca0562e75aa35a2432a078403b8a58a0c4a"}},{"ruleId":"X20","level":"warning","message":{"text":"Argument guard throws the exception its own condition disproves: The guard on line 459 rejects \u0060handle\u0060 and line 460 reports that rejection as \u0060ArgumentNullException\u0060 \u2014 but the condition\u0027s own test \u0060handle.IsNil\u0060 is true of a value that is NOT null: it reads a member of \u0060handle\u0060, so it can only be evaluated on a non-null \u0060handle\u0060 (a null one would throw \u0060NullReferenceException\u0060 before the guard decided anything). So a caller whose \u0060handle\u0060 is present but fails that test is told it 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":"ICSharpCode.Decompiler/SRMExtensions.cs"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fcb068d340b00aa883b145bd70f3a436354104ea6c224be4ae37c88ea9a4189"}},{"ruleId":"X20","level":"warning","message":{"text":"Argument guard throws the exception its own condition disproves: The guard on line 472 rejects \u0060handle\u0060 and line 473 reports that rejection as \u0060ArgumentNullException\u0060 \u2014 but the condition\u0027s own test \u0060handle.IsNil\u0060 is true of a value that is NOT null: it reads a member of \u0060handle\u0060, so it can only be evaluated on a non-null \u0060handle\u0060 (a null one would throw \u0060NullReferenceException\u0060 before the guard decided anything). So a caller whose \u0060handle\u0060 is present but fails that test is told it 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":"ICSharpCode.Decompiler/SRMExtensions.cs"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"b05103e8945df7dc545b7b1e83d1ef5b7c01566e8af34f587ca6e2be1ceff8e7"}},{"ruleId":"X20","level":"warning","message":{"text":"Argument guard throws the exception its own condition disproves: The guard on line 523 rejects \u0060handle\u0060 and line 524 reports that rejection as \u0060ArgumentNullException\u0060 \u2014 but the condition\u0027s own test \u0060handle.IsNil\u0060 is true of a value that is NOT null: it reads a member of \u0060handle\u0060, so it can only be evaluated on a non-null \u0060handle\u0060 (a null one would throw \u0060NullReferenceException\u0060 before the guard decided anything). So a caller whose \u0060handle\u0060 is present but fails that test is told it 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":"ICSharpCode.Decompiler/SRMExtensions.cs"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"08a569a5f37afd73740042c818333ba33d666830ad8cd7cf6559037ea4c627df"}},{"ruleId":"X20","level":"warning","message":{"text":"Argument guard throws the exception its own condition disproves: The guard on line 470 rejects \u0060methodReference\u0060 and line 471 reports that rejection as \u0060ArgumentNullException\u0060 \u2014 but the condition\u0027s own test \u0060methodReference.IsNil\u0060 is true of a value that is NOT null: it reads a member of \u0060methodReference\u0060, so it can only be evaluated on a non-null \u0060methodReference\u0060 (a null one would throw \u0060NullReferenceException\u0060 before the guard decided anything). So a caller whose \u0060methodReference\u0060 is present but fails that test is told it 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":"ICSharpCode.Decompiler/TypeSystem/MetadataModule.cs"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"1957fc33ab8558733c1cb86b8a87f18b40313c513d8f43563a5e426d2c930d65"}},{"ruleId":"X20","level":"warning","message":{"text":"Argument guard throws the exception its own condition disproves: The guard on line 52 rejects \u0060r\u0060 and line 53 reports that rejection as \u0060ArgumentNullException\u0060 \u2014 but the condition\u0027s own test \u0060r.IsNil\u0060 is true of a value that is NOT null: it reads a member of \u0060r\u0060, so it can only be evaluated on a non-null \u0060r\u0060 (a null one would throw \u0060NullReferenceException\u0060 before the guard decided anything). So a caller whose \u0060r\u0060 is present but fails that test is told it 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":"ILSpy/TreeNodes/ModuleReferenceTreeNode.cs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"00ea2b934545a56486803bffab3b654741a89485718f274e66dbafe11a7a4e1a"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060svg\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/MermaidDiagrammer/html/script.js"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"055e2e63028bcef17bf21a090d39866ad06a58015fd8a7d7b9616c5d880129ea"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060replace(text)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/MermaidDiagrammer/html/script.js"},"region":{"startLine":1129}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1842c3221fb9d8e1f28c20f621c956486687af70bf0a81839d1a655d627f9c1"}},{"ruleId":"X27","level":"warning","message":{"text":"Collection is structurally changed while it is being enumerated: \u0060info.declaredMembers\u0060 is enumerated directly, and line 79 calls \u0060info.declaredMembers.Add(\u2026)\u0060 inside the loop body \u2014 a structural change to a \u0060HashSet\u0060. The next \u0060MoveNext\u0060 throws \u0060InvalidOperationException: Collection was modified; enumeration operation may not execute\u0060, so every pass that reaches this call ends the loop by exception instead of by running out of items, and the remaining items are never seen."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/PartialTypeInfo.cs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"2370243c5d27b54d87cd331b8ad1e209d9ca6fb2d0bbde1584ce1dc5aeeca831"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/CSharpDecompiler.cs"},"region":{"startLine":943}}}],"partialFingerprints":{"codehealthFindingId/v1":"164bb069d3f6d6428984cc12e29eb0b7ce5a3888ba46c8a6fd190040e49de9f1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (ResolutionException)\u0060 does nothing with the exception it caught \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch. Log it through whatever this codebase already uses to report problems, or let it propagate; if one specific failure genuinely cannot matter, catch exactly that exception type and say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/ProjectDecompiler/TargetServices.cs"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"d03c683d6406ae6ea438642da7d3f537b2ee8495055c9268b44f34c869771e91"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/ProjectDecompiler/WholeProjectDecompiler.cs"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f74f6d24ef61eb7fc5e7c5cb534086b2496980d65137787f3274ce890697e78"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (BadImageFormatException)\u0060 does nothing with the exception it caught \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch. Log it through whatever this codebase already uses to report problems, or let it propagate; if one specific failure genuinely cannot matter, catch exactly that exception type and say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/ProjectDecompiler/WholeProjectDecompiler.cs"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d2512c57f26765e5a575e60e0545ad3318a230b3e1784e3ed078b4dd9fbb5e2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (EndOfStreamException)\u0060 does nothing with the exception it caught \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch. Log it through whatever this codebase already uses to report problems, or let it propagate; if one specific failure genuinely cannot matter, catch exactly that exception type and say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/ProjectDecompiler/WholeProjectDecompiler.cs"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e1ea2bf610bdc41903a800ddda68dae4cd35b0d3e79e895a58f31db031cb25b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (BadImageFormatException)\u0060 does nothing with the exception it caught \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch. Log it through whatever this codebase already uses to report problems, or let it propagate; if one specific failure genuinely cannot matter, catch exactly that exception type and say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/RequiredNamespaceCollector.cs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"9302eae2683b862b65355eda044da02e0cec942051f7ddcb755f0205bde6f76e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (BadImageFormatException)\u0060 does nothing with the exception it caught \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch. Log it through whatever this codebase already uses to report problems, or let it propagate; if one specific failure genuinely cannot matter, catch exactly that exception type and say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/RequiredNamespaceCollector.cs"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"c165e6d3861bea912f3c0c2ac0d4362148f55549dea9a2154e40c3c3fab5f22e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (BadImageFormatException)\u0060 does nothing with the exception it caught \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch. Log it through whatever this codebase already uses to report problems, or let it propagate; if one specific failure genuinely cannot matter, catch exactly that exception type and say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/RequiredNamespaceCollector.cs"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d6ee384dee19cb787314d2807909b7febe9ec8496bc957390605726ca078168"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (BadImageFormatException)\u0060 does nothing with the exception it caught \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch. Log it through whatever this codebase already uses to report problems, or let it propagate; if one specific failure genuinely cannot matter, catch exactly that exception type and say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/RequiredNamespaceCollector.cs"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ccccb89990bd932d066d4a5a24df0678ab3f24b2df6a5d72a47dfb649d6b860"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (BadImageFormatException)\u0060 does nothing with the exception it caught \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch. Log it through whatever this codebase already uses to report problems, or let it propagate; if one specific failure genuinely cannot matter, catch exactly that exception type and say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/RequiredNamespaceCollector.cs"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"affe3590b468c7cb2806d95ae3c5b64d49261e2e84c8ceeb138764ced180d62f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (BadImageFormatException)\u0060 does nothing with the exception it caught \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch. Log it through whatever this codebase already uses to report problems, or let it propagate; if one specific failure genuinely cannot matter, catch exactly that exception type and say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/RequiredNamespaceCollector.cs"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"0176158779aa68753ae256c1e39d73f75b4a19be0c3812136993d0d708671751"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (BadImageFormatException)\u0060 does nothing with the exception it caught \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch. Log it through whatever this codebase already uses to report problems, or let it propagate; if one specific failure genuinely cannot matter, catch exactly that exception type and say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/RequiredNamespaceCollector.cs"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"d83321c8ec63a54874910c9eb112cd6521192b0ff774c56c7193a9ca771ef07f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (BadImageFormatException)\u0060 does nothing with the exception it caught \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch. Log it through whatever this codebase already uses to report problems, or let it propagate; if one specific failure genuinely cannot matter, catch exactly that exception type and say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/RequiredNamespaceCollector.cs"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"17611ef52d467a6ce572d7bdabdf89d982cca8984ca85b41d42b6b0d70a1f971"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (BadImageFormatException)\u0060 does nothing with the exception it caught \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch. Log it through whatever this codebase already uses to report problems, or let it propagate; if one specific failure genuinely cannot matter, catch exactly that exception type and say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/RequiredNamespaceCollector.cs"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c2f0f57b3f8b5c12e5628856020533887c05b7ea821ab5bf045ac225826e2ac"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (BadImageFormatException)\u0060 does nothing with the exception it caught \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch. Log it through whatever this codebase already uses to report problems, or let it propagate; if one specific failure genuinely cannot matter, catch exactly that exception type and say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/Disassembler/MethodBodyDisassembler.cs"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"c19254a298bc030e2932fe5b30793a52a1827b5bf62070e38d05c146cbd6fd4c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (BadImageFormatException)\u0060 does nothing with the exception it caught \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch. Log it through whatever this codebase already uses to report problems, or let it propagate; if one specific failure genuinely cannot matter, catch exactly that exception type and say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/Disassembler/MethodBodyDisassembler.cs"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e8e174910fb2a4e73b5ea297dcd1d5536a8182214846155b8aa29ce8a2529f8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (BadImageFormatException)\u0060 does nothing with the exception it caught \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch. Log it through whatever this codebase already uses to report problems, or let it propagate; if one specific failure genuinely cannot matter, catch exactly that exception type and say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/Disassembler/MethodBodyDisassembler.cs"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"67dd5585edfaf44bfff3b6554c68b7111f0ccd7fe43008f45704a1d626b4093e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (BadImageFormatException)\u0060 does nothing with the exception it caught \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch. Log it through whatever this codebase already uses to report problems, or let it propagate; if one specific failure genuinely cannot matter, catch exactly that exception type and say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/Disassembler/ReflectionDisassembler.cs"},"region":{"startLine":761}}}],"partialFingerprints":{"codehealthFindingId/v1":"b010fb89bc6b8c2ce9976fa05c3c49ec3bc3300d117c1df7c877fc4a3f047a5c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/Documentation/IdStringProvider.cs"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"7659e6c122d99ccddcca661f594b03021bdda14be4e52367cb98729b6cca25c8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/Documentation/IdStringProvider.cs"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"59d0e24870facfec7f7fe4ba490a8ac98440bbf9f0b6e07436d0155dd2488093"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 does nothing with the exception it caught \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch. Log it through whatever this codebase already uses to report problems, or let it propagate; if one specific failure genuinely cannot matter, catch exactly that exception type and say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/Documentation/XmlDocLoader.cs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"822de94ff87d72cbc1760f114b2bbc3280d74146d2b9da74f65e79c2a9752853"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 does nothing with the exception it caught \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch. Log it through whatever this codebase already uses to report problems, or let it propagate; if one specific failure genuinely cannot matter, catch exactly that exception type and say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/Documentation/XmlDocumentationElement.cs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d4ff3af8280b8ad470df7c71f3309bee6cf7c1d0fbef0a0f36b0fe36116b202"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (SymbolicAnalysisFailedException)\u0060 does nothing with the exception it caught \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch. Log it through whatever this codebase already uses to report problems, or let it propagate; if one specific failure genuinely cannot matter, catch exactly that exception type and say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/ControlFlow/AsyncAwaitDecompiler.cs"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9799c954b3bc91cb98f441e89d996ac13633aa9c150f6454bc22944c904d7ea"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (BadImageFormatException)\u0060 does nothing with the exception it caught \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch. Log it through whatever this codebase already uses to report problems, or let it propagate; if one specific failure genuinely cannot matter, catch exactly that exception type and say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/InstructionOutputExtensions.cs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fd82a5f09f490021ab4a1bb42c5bb02d2901adf8f526eb8f57a48026e0078cb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (BadImageFormatException)\u0060 does nothing with the exception it caught \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch. Log it through whatever this codebase already uses to report problems, or let it propagate; if one specific failure genuinely cannot matter, catch exactly that exception type and say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/Metadata/AssemblyReferences.cs"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"55e5e7c8825214d4da31ee992df35cd6843552f4d9883b883c78f0cb14f6f9cb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (BadImageFormatException)\u0060 does nothing with the exception it caught \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch. Log it through whatever this codebase already uses to report problems, or let it propagate; if one specific failure genuinely cannot matter, catch exactly that exception type and say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/Metadata/AssemblyReferences.cs"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"425b3b093c4199a21ae1e8af1d04233a05b0215635162f3049079f2e93ab1bee"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/Metadata/DotNetCorePathFinder.cs"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"73cbad817c07d626b72cdbdc2dc23b221a072cc6c1ad0624620b5285e51958d4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/Metadata/DotNetCorePathFinder.cs"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed558aac4b93e5cfce5ff0d55c69be5874ed028d1693294a07951743c15e17d8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/Metadata/DotNetCorePathFinder.cs"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae0847aa9503b0e085d64e449acfa7b5278570ffbc78fe12c208bcdc13059421"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/Metadata/MetadataFile.cs"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"5547304452e71a5451c1f2c6ca6d2afae4bebccdab2da364dc14b999db5c05cd"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception) when (\u2026)\u0060 does nothing with the exception it caught \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch. Log it through whatever this codebase already uses to report problems, or let it propagate; if one specific failure genuinely cannot matter, catch exactly that exception type and say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/Metadata/MetadataFile.cs"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"ded91d80c8e918eedaa9d14c340b93e30330f9e7ca89051175fa2034a76fae6a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (BadImageFormatException)\u0060 does nothing with the exception it caught \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch. Log it through whatever this codebase already uses to report problems, or let it propagate; if one specific failure genuinely cannot matter, catch exactly that exception type and say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/Metadata/ModuleReferenceMetadata.cs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"e883c639503c716dc20d3bd1e0b229bc956ba0cd22b4b121682aa59ff98cb627"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/Metadata/UniversalAssemblyResolver.cs"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"773a465323dda1335c6081e6f8ea28aa5e1ec3265df5b116f94fe5c6e4d27736"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (BadImageFormatException)\u0060 does nothing with the exception it caught \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch. Log it through whatever this codebase already uses to report problems, or let it propagate; if one specific failure genuinely cannot matter, catch exactly that exception type and say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/Metadata/UniversalAssemblyResolver.cs"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"15a4581dc53424f67aea377531ede22d233b5f656219d848ab42e9cdd821eff1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception) when (\u2026)\u0060 does nothing with the exception it caught \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch. Log it through whatever this codebase already uses to report problems, or let it propagate; if one specific failure genuinely cannot matter, catch exactly that exception type and say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/SRMExtensions.cs"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"f22ce045841c3787cb9ff9e2d83eaecaa63ec90ab4eb599553e17c29aad5f4ba"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (BadImageFormatException)\u0060 does nothing with the exception it caught \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch. Log it through whatever this codebase already uses to report problems, or let it propagate; if one specific failure genuinely cannot matter, catch exactly that exception type and say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/SRMExtensions.cs"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"373aabe324301e4db3d3addc30fc3e8f654076fd17e4d0a2d5b08701e05599c7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception) when (\u2026)\u0060 does nothing with the exception it caught \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch. Log it through whatever this codebase already uses to report problems, or let it propagate; if one specific failure genuinely cannot matter, catch exactly that exception type and say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/SRMExtensions.cs"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecd892c645c0222b746750aec7dd1373f317879462ca621eee19acbcd5f91d97"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception) when (\u2026)\u0060 does nothing with the exception it caught \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch. Log it through whatever this codebase already uses to report problems, or let it propagate; if one specific failure genuinely cannot matter, catch exactly that exception type and say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/SRMExtensions.cs"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5c789d9c5fb1e7d03217bccb085b45b0045d9679787865b827c1919cca7c57e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (BadImageFormatException)\u0060 does nothing with the exception it caught \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch. Log it through whatever this codebase already uses to report problems, or let it propagate; if one specific failure genuinely cannot matter, catch exactly that exception type and say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/SRMExtensions.cs"},"region":{"startLine":816}}}],"partialFingerprints":{"codehealthFindingId/v1":"17497cb0d52bac0a8566fa8a2bb5b46da1193e5b0087606a1736286b71b6af16"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Metadata.EnumUnderlyingTypeResolveException)\u0060 does nothing with the exception it caught \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch. Log it through whatever this codebase already uses to report problems, or let it propagate; if one specific failure genuinely cannot matter, catch exactly that exception type and say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/SRMExtensions.cs"},"region":{"startLine":820}}}],"partialFingerprints":{"codehealthFindingId/v1":"5145319f9dc978ff925ba1b5cf7a1bd791d94deb83464b3172b717ce26ea7165"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/TypeSystem/DecompilerTypeSystem.cs"},"region":{"startLine":638}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3fc0277353e5e68d669ecbb51fe5c72c0d0050a18b9397cd14bbf690f76d798"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (ResolutionException)\u0060 does nothing with the exception it caught \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch. Log it through whatever this codebase already uses to report problems, or let it propagate; if one specific failure genuinely cannot matter, catch exactly that exception type and say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/TypeSystem/DecompilerTypeSystem.cs"},"region":{"startLine":662}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ae535c5d1ae96923bd2cdfa2d185c97cf2dcb73ef32d1bd0b066d63407d37b5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/TypeSystem/DecompilerTypeSystem.cs"},"region":{"startLine":688}}}],"partialFingerprints":{"codehealthFindingId/v1":"7968a8556e672876f49a96a333d42f54a2c2471f4c6f434f6dd3c7cfd83e358a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (BadImageFormatException)\u0060 does nothing with the exception it caught \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch. Log it through whatever this codebase already uses to report problems, or let it propagate; if one specific failure genuinely cannot matter, catch exactly that exception type and say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/TypeSystem/Implementation/MetadataField.cs"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"b97d96abf2a44d696fc1796ce5327e7c3bc6f225916be7be30210f165ab59b2a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (BadImageFormatException)\u0060 does nothing with the exception it caught \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch. Log it through whatever this codebase already uses to report problems, or let it propagate; if one specific failure genuinely cannot matter, catch exactly that exception type and say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/TypeSystem/Implementation/MetadataMethod.cs"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"83ad6c36308886478f65de779d1b700706c626045a6195b2c7acc13fe9d37a8e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception) when (\u2026)\u0060 does nothing with the exception it caught \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch. Log it through whatever this codebase already uses to report problems, or let it propagate; if one specific failure genuinely cannot matter, catch exactly that exception type and say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/TypeSystem/Implementation/MetadataNamespace.cs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e15e714b08da8807a1952b6ba8817206d95e84259db794bbcb3fa8e0711d4dc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (BadImageFormatException)\u0060 does nothing with the exception it caught \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch. Log it through whatever this codebase already uses to report problems, or let it propagate; if one specific failure genuinely cannot matter, catch exactly that exception type and say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/TypeSystem/Implementation/MetadataProperty.cs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc72d68a6a801ee7dcd8a7207988e84b7b5bb9c3d71d72d89bdbc6aa4547fe20"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (BadImageFormatException)\u0060 does nothing with the exception it caught \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch. Log it through whatever this codebase already uses to report problems, or let it propagate; if one specific failure genuinely cannot matter, catch exactly that exception type and say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/TypeSystem/Implementation/MetadataTypeDefinition.cs"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f1eeab6e108ae5de7550d2d1307257a81a2a3045a390e5605aa141cd655a9b1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (BadImageFormatException)\u0060 does nothing with the exception it caught \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch. Log it through whatever this codebase already uses to report problems, or let it propagate; if one specific failure genuinely cannot matter, catch exactly that exception type and say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/TypeSystem/MetadataModule.cs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"11a61ec901a92bac9a118feccc9626898fcc07f1cf6e17126e99d18b2d5dc42c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (BadImageFormatException)\u0060 does nothing with the exception it caught \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch. Log it through whatever this codebase already uses to report problems, or let it propagate; if one specific failure genuinely cannot matter, catch exactly that exception type and say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/TypeSystem/MetadataModule.cs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"05e26751ee15457244a98617c8096e6a7df2ff00b19f7881f62999ade687fb9d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception) when (\u2026)\u0060 does nothing with the exception it caught \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch. Log it through whatever this codebase already uses to report problems, or let it propagate; if one specific failure genuinely cannot matter, catch exactly that exception type and say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/TypeSystem/MetadataModule.cs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"94b70f531db67758bc2e17d696795162d0a8afc6e6ec8f5cfad57bc20001d85d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (BadImageFormatException)\u0060 does nothing with the exception it caught \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch. Log it through whatever this codebase already uses to report problems, or let it propagate; if one specific failure genuinely cannot matter, catch exactly that exception type and say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/TypeSystem/MetadataModule.cs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"77dfeeac9c80f3965f8cc2cd74442410fec7de3039fc9b715bd534c7f0502aaa"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Metadata.EnumUnderlyingTypeResolveException)\u0060 does nothing with the exception it caught \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch. Log it through whatever this codebase already uses to report problems, or let it propagate; if one specific failure genuinely cannot matter, catch exactly that exception type and say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/TypeSystem/MetadataModule.cs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"95b5e277d5ecd81e4f6904630a9fb515feb1d2b1739380fd8e7e83a8dbc401f4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (BadImageFormatException)\u0060 does nothing with the exception it caught \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch. Log it through whatever this codebase already uses to report problems, or let it propagate; if one specific failure genuinely cannot matter, catch exactly that exception type and say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/TypeSystem/MetadataModule.cs"},"region":{"startLine":1100}}}],"partialFingerprints":{"codehealthFindingId/v1":"f86889c696d1ec3e441ec72b6c93efa43b047fa090f87cae41bf2c5846a80870"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (EnumUnderlyingTypeResolveException)\u0060 does nothing with the exception it caught \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch. Log it through whatever this codebase already uses to report problems, or let it propagate; if one specific failure genuinely cannot matter, catch exactly that exception type and say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/TypeSystem/MetadataModule.cs"},"region":{"startLine":1104}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b6edc3d0be9b732e49d4cf3f05f9e8698ba89cecbcb8c99ddfc2e3f3b72a29f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyCmd/DotNetToolUpdateChecker.cs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bda7760d7f748fbee1d05c233811843a851cb5e5e88eba3cc0c349efe6e9a06"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyCmd/IlspyCmdProgram.cs"},"region":{"startLine":1127}}}],"partialFingerprints":{"codehealthFindingId/v1":"97120f7533faeb91c49f7c14ac1eaff620f86cb5040d61e0eadd03a8ace37a92"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\u0060 does nothing with the exception it caught \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch. Log it through whatever this codebase already uses to report problems, or let it propagate; if one specific failure genuinely cannot matter, catch exactly that exception type and say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyCmd/InputFileLoader.cs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cdece8a364b5372bba9ca8b8bf0b45c33987fa5d700d36ee1edad5a8384f6d3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (BadImageFormatException)\u0060 does nothing with the exception it caught \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch. Log it through whatever this codebase already uses to report problems, or let it propagate; if one specific failure genuinely cannot matter, catch exactly that exception type and say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/Analyzers/Builtin/FieldAccessAnalyzer.cs"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eefd26c0b5a505ec45df8d764ba1c55cbdd516a6382f53e1a2d78c43a303c5a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (BadImageFormatException)\u0060 does nothing with the exception it caught \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch. Log it through whatever this codebase already uses to report problems, or let it propagate; if one specific failure genuinely cannot matter, catch exactly that exception type and say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/Analyzers/Builtin/MethodUsedByAnalyzer.cs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"b964ef597bb4ffe413aade0deb0d02047dd2b4c3da915675b64d28e34afb24d6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (BadImageFormatException)\u0060 does nothing with the exception it caught \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch. Log it through whatever this codebase already uses to report problems, or let it propagate; if one specific failure genuinely cannot matter, catch exactly that exception type and say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/Analyzers/Builtin/MethodUsesAnalyzer.cs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"0471772109ff94da315f6e046fedcdff1cc476d54c3b8b2a8c86c824954d8958"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (BadImageFormatException)\u0060 does nothing with the exception it caught \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch. Log it through whatever this codebase already uses to report problems, or let it propagate; if one specific failure genuinely cannot matter, catch exactly that exception type and say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/Analyzers/Builtin/MethodUsesAnalyzer.cs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"d26204b32cb3e8c51235aa9144f3892d6d6a2ba4aba3410bf74629fba56b7571"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (BadImageFormatException)\u0060 does nothing with the exception it caught \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch. Log it through whatever this codebase already uses to report problems, or let it propagate; if one specific failure genuinely cannot matter, catch exactly that exception type and say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/Analyzers/Builtin/MethodUsesAnalyzer.cs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b1d165fca6a0e1c29b508578ea91f8160019108ab4f77848d6bea48b1cd569d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (BadImageFormatException)\u0060 does nothing with the exception it caught \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch. Log it through whatever this codebase already uses to report problems, or let it propagate; if one specific failure genuinely cannot matter, catch exactly that exception type and say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/Analyzers/Builtin/MethodUsesAnalyzer.cs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"176e1391a0dfd3a12260db6e491e64564bfaf4c9cc0d53739f9cdf95c9c48ab7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (BadImageFormatException)\u0060 does nothing with the exception it caught \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch. Log it through whatever this codebase already uses to report problems, or let it propagate; if one specific failure genuinely cannot matter, catch exactly that exception type and say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/Analyzers/Builtin/MethodUsesAnalyzer.cs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b52a234a2971773c8d3d37712442f8e1deae795e28ceffce842ff2a59de8776"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (BadImageFormatException)\u0060 does nothing with the exception it caught \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch. Log it through whatever this codebase already uses to report problems, or let it propagate; if one specific failure genuinely cannot matter, catch exactly that exception type and say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/Analyzers/Builtin/TypeInstantiatedByAnalyzer.cs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"595b70d4429043a4213499f9e744d6bed46a7ed0a1bd182f935330ac810e8f9a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (BadImageFormatException)\u0060 does nothing with the exception it caught \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch. Log it through whatever this codebase already uses to report problems, or let it propagate; if one specific failure genuinely cannot matter, catch exactly that exception type and say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/Analyzers/Builtin/TypeInstantiatedByAnalyzer.cs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bc9481e282ae7a532d3c43ae3bed0f924bb649a5c0f831dcd4ef94e9aa708df"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (EnumUnderlyingTypeResolveException)\u0060 does nothing with the exception it caught \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch. Log it through whatever this codebase already uses to report problems, or let it propagate; if one specific failure genuinely cannot matter, catch exactly that exception type and say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/Analyzers/Builtin/TypeUsedByAnalyzer.cs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"92b819bfaa27373846d3ed892c3da650b790eae40b143f8f040ea2fe3d928271"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (BadImageFormatException)\u0060 does nothing with the exception it caught \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch. Log it through whatever this codebase already uses to report problems, or let it propagate; if one specific failure genuinely cannot matter, catch exactly that exception type and say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/AssemblyListSnapshot.cs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"7452d022d2c6a2c299a61504c509fb64e863c0dd64d62428375543eb1eff2ca7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (BadImageFormatException)\u0060 does nothing with the exception it caught \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch. Log it through whatever this codebase already uses to report problems, or let it propagate; if one specific failure genuinely cannot matter, catch exactly that exception type and say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/AssemblyListSnapshot.cs"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3b535ffb5c6f25be3874b724bdd82a74ff6b436c90c80f91224b0f17fda0e43"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/AssemblyListSnapshot.cs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"095676f7003f52775ab8a759d5f3a96309b2008d2b20aa6702e4608bad6f8475"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 does nothing with the exception it caught \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch. Log it through whatever this codebase already uses to report problems, or let it propagate; if one specific failure genuinely cannot matter, catch exactly that exception type and say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/AssemblyListSnapshot.cs"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"27f91b3984eeb85f2c165f0742c6d96eb9769e65ec006dd7750be67109a2fdc5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/LoadedAssembly.cs"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"614a978b30433ac4ce8acfeb3c99a02e95f96603ddbad589f9f9f27e024d7792"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/LoadedAssembly.cs"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6c4fbb29db7b7dcf26b8864c1905bacac190ea8948cfe15bbc6ee07930f2196"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/LoadedAssemblyExtensions.cs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"85657f6d1ec6cecf7bbe709a72c281c8ae7be15040aec93d9939ab2cff592f73"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/Settings/ILSpySettings.cs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9043b0842f6fd6da8f0049293e926c761f801dcb30cd23e85897e019bac4d0f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/Settings/MutexProtector.cs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"c56c9a187b00763cbf4744f276b55363fe313eced60d76fe8dd3535d0a6cb2ef"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Analyzers/AnalyzedModuleTreeNode.cs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"04e1c91997f4f427c5939e6d1457a8e34d9c40b78ae52905dd4711b0d99a078f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/App.axaml.cs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"004acc50d31c0781f7ea7e6b326c6ddf05c1b1f0223d2a9647bdfbfbb7b26244"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/App.axaml.cs"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"c20b84d9c4bf3cea3758a422bdbd3e7fb529fdd238fb416580983d5d76a61b48"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/AppEnv/AppLog.cs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5d3c86cafe08207559f3ce5314cea2ab6044653d107a465749b8c2314216603"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/AppEnv/CommandLineArguments.cs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba601cdc761b27080604f29bc56fe1cfda2f7825f6e154605405beac605da6bd"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/AppEnv/GlobalExceptionHandler.cs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a3fa8fefea074b5ac10b47ac0ecc1e26af2b7e54582c1283b0ba5273a931f3b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/AppEnv/SingleInstance.cs"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"475a235b85314717be3c72d712988aece014027e8785205825c4c40c51906044"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (AbandonedMutexException)\u0060 does nothing with the exception it caught \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch. Log it through whatever this codebase already uses to report problems, or let it propagate; if one specific failure genuinely cannot matter, catch exactly that exception type and say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/AppEnv/SingleInstance.cs"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"05a16eded3eeac01ce3822727122d8cb691d5ba0503c1b95c1400f38af6a6a54"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/AssemblyTree/AssemblyTreeModel.cs"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"f275315fd697c4606e48f5ab932fa267ac2b727c67c5801fafb911c9fb9ea5e4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/AssemblyTree/AssemblyTreeModel.cs"},"region":{"startLine":1198}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f542226f6be24d0ed673c51df63c64564b0e68b049dc9c323759acf07ce70e6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Commands/OpenCommandLineHereContextMenuEntry.cs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c42154473895a9bd3d243501226f2a08a6191e8a2f080768d74696f6d5da17b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Commands/OpenCommandLineHereContextMenuEntry.cs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"adf1be1c753089f94313ca22f8d302e8f990bf53e217982be8564187bb5eb328"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Commands/SearchMsdnContextMenuEntry.cs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"e059359906cfaab5a68ea8e8a110692ad9af166606e01a04b13bf74331cc083c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Commands/SelectPdbContextMenuEntry.cs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"08f38434cf3d9bf97575be79d5adb4ab7872cbd6b715ee13d68a237a3c00577f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Docking/ILSpyDockJson.cs"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d1a4ac786d14f34a6fc60c0b0a335db39388761bd3b38db68678fc838bc3a77"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 does nothing with the exception it caught \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch. Log it through whatever this codebase already uses to report problems, or let it propagate; if one specific failure genuinely cannot matter, catch exactly that exception type and say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Metadata/MetadataColumnBuilder.cs"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"224fc71d873fac1ba74ad5c0d3f543732813fcee13cdea84086a10336da92f1b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Processes/DiagnosticsIpcClient.cs"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"086d5e8694e7fe6fe20e861c8d1509a392920f0b36b9868ec95d0520a05e1da9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 does nothing with the exception it caught \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch. Log it through whatever this codebase already uses to report problems, or let it propagate; if one specific failure genuinely cannot matter, catch exactly that exception type and say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Search/RunningSearch.cs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"f06e21862260cac1c2da1349c548308449319f488fe206f183ef11841f09231a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Search/RunningSearch.cs"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfa0e9f7aae77369648fa4ee9458ac165f525880ec1b026a83421ef6166f517f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Search/RunningSearch.cs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"b21dcf5d5796e36b66423a8d698623da3bceffe352a87ca4c69c617711e4bb49"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/TaskbarProgressService.cs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"82f745fed56b47f3f6ecf528093f75758c48d4715aee8b386f9ebb9790d6b9bc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/TreeNodes/AssemblyReferenceTreeNode.cs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"7562ac3a2baad9b9d8bd83a66be577bbddc61472c8c99678c943ebef61b993ba"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 does nothing with the exception it caught \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch. Log it through whatever this codebase already uses to report problems, or let it propagate; if one specific failure genuinely cannot matter, catch exactly that exception type and say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/TreeNodes/AssemblyTreeNode.cs"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1741c707753c96266b67834496b7a503436e858e595fff147c44b0c6d16a634"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/TreeNodes/TextResourceDetector.cs"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7c584452ef5086cc4cf5c8d690d102bdae402a6dce4648a68eec93a6656a52e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Util/ShellHelper.cs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae1171fb23ec5293d40d97136ad9259d196513d31ee9796408e4da3a1f5db736"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Util/ShellHelper.cs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fae35730fe79aebd4ffa5e5d6f2556dba4d5328af1d2372875183072e286256"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Util/ShellHelper.cs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bfcf42bcea9c789c99b194600d73d9f51b3a589e044820285de149848cf12b4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Util/ShellHelper.Windows.cs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e8d4f0b206360f69f71762dad499cb42003784445918b6a2c31e1f8c469c398"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/ViewModels/NuGetPackageViewModel.cs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c346aa61771ca7e924c4a68a7e408add6559dad241a4b3e0b8beb89bab10862"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/ViewModels/UpdatePanelViewModel.cs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc7972fc12b076a35a40c8f0dc01dcb0be02b6a72f68ea9d545b43b34301fd6e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 does nothing with the exception it caught \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch. Log it through whatever this codebase already uses to report problems, or let it propagate; if one specific failure genuinely cannot matter, catch exactly that exception type and say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Views/ExportProjectDialog.axaml.cs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd3fcaf41d2e5e24e2578310d875a7f8fa64e02b152187cc88763df47bf27f37"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Views/MainToolBar.axaml.cs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3637c79fee27d7c599d5510b287d80799057c197a557f0c9533cd664922c25f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy.AddIn.VS2022/ILSpyAddInPackage.cs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cd653c9001d45c0bf27b085ab434c66885b3f312c1918af79588a1bd5bbd174"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 does nothing with the exception it caught \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch. Log it through whatever this codebase already uses to report problems, or let it propagate; if one specific failure genuinely cannot matter, catch exactly that exception type and say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy.AddIn.VS2022/Utils.cs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"53067f92d2af19b469486ec2895fea2d08d094382e397cfcb660322ab21ded05"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 does nothing with the exception it caught \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch. Log it through whatever this codebase already uses to report problems, or let it propagate; if one specific failure genuinely cannot matter, catch exactly that exception type and say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy.AddIn.VS2022/Utils.cs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb79d2b5de8cf316324bbdadf663750ea66b8932b3a8cfcf5056ab2adbe6bced"}},{"ruleId":"X30","level":"warning","message":{"text":"Support guard that admits what it rejects: \u0060!(adjustedRR.IsError || NullableType.GetUnderlyingType(adjustedRR.Type).GetSt...\u0060 does not say what its shape suggests. By De Morgan a negated \u0060||\u0060 distributes as \u0060!adjustedRR.IsError \u0026\u0026 NullableType.GetUnderlyingType(adjustedRR.Type).GetStackType() == inst.UnderlyingResultType\u0060, so this guard fires only where \u0060adjustedRR.IsError\u0060 is ABSENT \u2014 and where \u0060NullableType.GetUnderlyingType(adjustedRR.Type).GetStackType()\u0060 is EXACTLY \u0060inst.UnderlyingResultType\u0060, which is the one value the term \u0060NullableType.GetUnderlyingType(adjustedRR.Type).GetStackType() != inst.Underl...\u0060 was written to refuse. The two halves disagree about what they are for: \u0060adjustedRR.IsError\u0060 names something the code needs, and \u0060NullableType.GetUnderlyingType(adjustedRR.Type).GetStackType() != inst.Underl...\u0060 names a value it cannot handle, and one \u0060!(\u2026)\u0060 cannot mean both. Everything with a \u0060NullableType.GetUnderlyingType(adjustedRR.Type).GetStackType()\u0060 other than \u0060inst.UnderlyingResultType\u0060 now passes this guard untested, including the values \u0060adjustedRR.IsError\u0060 was there to admit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/ExpressionBuilder.cs"},"region":{"startLine":1734}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b32a391b88bd7af78110ae2e8b5b2d36765916bea7e7df6519933199d827c2f"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060call\u0060: line 158 assigns it with \u0060as Call\u0060, which hands back null rather than throwing when the value is not a \u0060Call\u0060, but line 162 then dereferences it directly as \u0060call.Method\u0060 with no null test between them and no guard around it. If the \u0060as\u0060 is right, that dereference throws NullReferenceException on the input it was written for \u2014 and the NullReferenceException names neither the cast nor the type that failed. Settle it one way \u2014 test \u0060call\u0060 once before the first use and handle the null case, or cast with \u0060(Call)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/IL/Transforms/UserDefinedLogicTransform.cs"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"f26f2c5679fc3bc1ca0c25bc070c275b3ac3786ab7838461fdbd401d11adfa48"}},{"ruleId":"X5","level":"warning","message":{"text":"Null guard scopes only part of the work it protects: This method contradicts itself about \u0060asm\u0060: line 494 tests it for null before doing anything with it \u2014 the author\u0027s own statement that null is an input this code expects \u2014 but that \u0060if\u0060 scopes only the block beneath it, and line 524 then dereferences \u0060asm\u0060 as \u0060asm.Name\u0060 AFTER the block has closed, where the guard no longer applies. A null \u0060asm\u0060 skips the guarded body and reaches that line anyway, throwing NullReferenceException on exactly the input the guard was written for. If the dereference belongs to the guarded work, move it inside the block; if \u0060asm\u0060 truly cannot be null by then, the guard above is misleading and should go."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/TypeSystem/DecompilerTypeSystem.cs"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"05c371883a6b6990d346115cc2e950eea9401f0d7de00018a6d19c6d04e5587e"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060module\u0060: line 156 assigns it with \u0060as PEFile\u0060, which hands back null rather than throwing when the value is not a \u0060PEFile\u0060, but line 157 then dereferences it directly as \u0060module.GetLoadedAssembly\u0060 with no null test between them and no guard around it. If the \u0060as\u0060 is right, that dereference throws NullReferenceException on the input it was written for \u2014 and the NullReferenceException names neither the cast nor the type that failed. Settle it one way \u2014 test \u0060module\u0060 once before the first use and handle the null case, or cast with \u0060(PEFile)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy.ReadyToRun/ReadyToRunLanguage.cs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c7c192a36c46a58ecaaffeb29f39de5084e2d8faf3c5eb01dbe990255524264"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060reference\u0060: line 77 assigns it with \u0060as Reference\u0060, which hands back null rather than throwing when the value is not a \u0060Reference\u0060, but line 78 then dereferences it directly as \u0060reference.ContainingProject\u0060 with no null test between them and no guard around it. If the \u0060as\u0060 is right, that dereference throws NullReferenceException on the input it was written for \u2014 and the NullReferenceException names neither the cast nor the type that failed. Settle it one way \u2014 test \u0060reference\u0060 once before the first use and handle the null case, or cast with \u0060(Reference)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy.AddIn.VS2022/Commands/OpenReferenceCommand.cs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f575639f029d6554b6c660073b7b094144c7783446eba2ff46c77b0812bcccc"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060projectItem\u0060: line 93 assigns it with \u0060as ProjectItem\u0060, which hands back null rather than throwing when the value is not a \u0060ProjectItem\u0060, but line 94 then dereferences it directly as \u0060projectItem.ContainingProject\u0060 with no null test between them and no guard around it. If the \u0060as\u0060 is right, that dereference throws NullReferenceException on the input it was written for \u2014 and the NullReferenceException names neither the cast nor the type that failed. Settle it one way \u2014 test \u0060projectItem\u0060 once before the first use and handle the null case, or cast with \u0060(ProjectItem)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy.AddIn.VS2022/Commands/OpenReferenceCommand.cs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ba12a2d7e10a5b93c1004da424f2df525e3e71576d921fb4e8c06ed826ff503"}},{"ruleId":"X5","level":"note","message":{"text":"Nullable reference types not enabled everywhere: 7/10 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":"X5","level":"note","message":{"text":"Null-forgiving operator (\u0060!\u0060) suppressions override nullable warnings: ~1.1 \u0060!\u0060 suppressions per 1k syntax nodes \u2014 701 suppression(s) across the 646556 syntax node(s) in code where nullable warnings are ENABLED, which is the only code a \u0060!\u0060 can suppress anything in (a \u0060!\u0060 under \u0060#nullable disable\u0060 is inert and is not counted, and its file\u0027s nodes are not in the denominator). Each one tells the compiler to trust you about null, suppressing the very safety NRTs provide. Many are correct: each is a claim the checker could not verify, and it is wrong only where the value can in fact be missing, so review the densest places first."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"4ae9a4afaefbfeb512a0b9a87d1bd44cd285ab1e804e4b89c8cf80f255687dfd"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060GetSequencePoints\u0060 swallows \u0060BadImageFormatException\u0060 into \u0060return EmptyList\u003CDecompiler.DebugInfo.SequencePoint\u003E.Instance;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/PdbProvider/PortableDebugInfoProvider.cs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac19171a0ce04f0b65946ca69d663374cbbd27679228b67a66283a0fca243808"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060WriteResourceFileInProject\u0060 swallows \u0060BadImageFormatException\u0060 and sets \u0060decodedIntoIndividualFiles = 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":"ICSharpCode.Decompiler/CSharp/ProjectDecompiler/WholeProjectDecompiler.cs"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"09ea75424a94800082c894ae84e1a186da092ecc0551aa52e9e5ec16f27224cb"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060CollectNamespacesFromMethodBody\u0060 swallows \u0060BadImageFormatException\u0060 and sets \u0060localSignature = ImmutableArray\u003CIType\u003E.Empty;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/CSharp/RequiredNamespaceCollector.cs"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0621cc2a3bfadc0f984bd3ff7c73d6939072ce6e2eec19cf5f0c74a963e8b1b"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060TryRemoveTransparentIdentifier\u0060 returns \u0060false\u0060 when \u0060match.Success\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":"ICSharpCode.Decompiler/CSharp/Transforms/CombineQueryExpressions.cs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"298531b5b5cfbc45c02190aa8d6527c1a59271320c89b85d9d978e51d33a2bec"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060IsMatch\u0060 returns \u0060false\u0060 when \u0060m.Success\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":"ICSharpCode.Decompiler/CSharp/Transforms/TransformFieldAndConstructorInitializers.cs"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"669c57440f4ce9576753a45da7840b631dd140c09c4e36e50d8e9588d15dc292"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060TryDecodeSecurityDeclaration\u0060 swallows \u0060BadImageFormatException\u0060 and sets \u0060currentAssemblyName = \u0022\u003CERR: invalid assembly name\u003E\u0022;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/Disassembler/ReflectionDisassembler.cs"},"region":{"startLine":761}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb91add5d7effaafe6b29addd93a2accea47682ee0d96c3055fda4a331d7e3af"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060ParseVersionPrefix\u0060 falls back to \u00600\u0060 when \u0060i \u003C parts.Length \u0026\u0026 int.TryParse(parts[i], out int n)\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":"ICSharpCode.Decompiler/Documentation/XmlDocLoader.cs"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"f76595c80b4f5f979e3c2a3aa5fdacc8a7c6fadfa90ac4ddaa74256106683020"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060SafeGetXmlFiles\u0060 swallows every exception into \u0060return Array.Empty\u003Cstring\u003E();\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/Documentation/XmlDocLoader.cs"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5e66c405bcc3132f3053ee1ea77d5fefd8e4b365a097d7a260e71692727bfa9"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060ReferencedEntity\u0060 swallows every exception and sets \u0060referencedEntity = null;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/Documentation/XmlDocumentationElement.cs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4e0336fe6d76e76d705dc46c156e7e4d0d76f29068484e6cf5dad865a2f81b3"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060MatchAsyncEnumeratorCreationPattern\u0060 swallows \u0060SymbolicAnalysisFailedException\u0060 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":"ICSharpCode.Decompiler/IL/ControlFlow/AsyncAwaitDecompiler.cs"},"region":{"startLine":646}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc6d369d379fc504e229f72057d32ca576ea4dca7306797a12dee449f2f2cc9e"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060CachedDelegateInitializationVB\u0060 returns \u0060false\u0060 when \u0060ldobj.Match(left).Success\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":"ICSharpCode.Decompiler/IL/Transforms/CachedDelegateInitialization.cs"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f8969877baea8342c3ab498bd593f6e7e2b6264c55d16dbce645fdce765df62"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060CachedDelegateInitializationVBWithClosure\u0060 returns \u0060false\u0060 when \u0060ldobj.Match(left).Success\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":"ICSharpCode.Decompiler/IL/Transforms/CachedDelegateInitialization.cs"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"9af2f0dbadf3467991fce380e9af38c1bb9a41182f95b5bd81a3d025adf24e44"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060TransformDynamicAddAssignOrRemoveAssign\u0060 returns \u0060false\u0060 when \u0060isEvent.Argument.Match(getMember.Target).Success\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":"ICSharpCode.Decompiler/IL/Transforms/ExpressionTransforms.cs"},"region":{"startLine":769}}}],"partialFingerprints":{"codehealthFindingId/v1":"154df27f1a2addf27ff0eab288ec9f580a327bffdaa5064db7dce153c74ca83c"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060ValidateConstructor\u0060 swallows \u0060BadImageFormatException\u0060 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":"ICSharpCode.Decompiler/IL/Transforms/TransformDisplayClassUsage.cs"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2e1648536f6e0a7f22cba1bd4dd4f2bfa09dc196301d5efb9bec67b1126c335"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060GetTypeDefinition\u0060 swallows \u0060Exception\u0060 and sets \u0060ns = string.Empty;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/Metadata/MetadataFile.cs"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4e19a4f27afa5a3f2eeb85c45e7e9b8ebf2652e4f155dbe7254a4a49e17fe2f"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060IsValueType\u0060 swallows \u0060Exception\u0060 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":"ICSharpCode.Decompiler/SRMExtensions.cs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"f05e4b1ca3b6c544a13927752b5ae1d9707ef1f26b1080ab603f75d56c61094c"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060IsEnum\u0060 swallows \u0060Exception\u0060 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":"ICSharpCode.Decompiler/SRMExtensions.cs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c9834d4f270cd7e24b6ed1d4519fca7ad530a96a6994bf54d38946195b7a070"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060IsDelegate\u0060 swallows \u0060Exception\u0060 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":"ICSharpCode.Decompiler/SRMExtensions.cs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7390608636c463cc8121598cf9a8883f60ac8411075f7f9745ee7ae2ef985ca"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060GetGenericType\u0060 swallows \u0060Exception\u0060 into \u0060return default;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/SRMExtensions.cs"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab47dbc56364736637725f0992c27277348bbf54dd263402e384967af25cb91a"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060IsKnownType\u0060 swallows \u0060BadImageFormatException\u0060 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":"ICSharpCode.Decompiler/SRMExtensions.cs"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e3577cae1e780f1f35f2d1e7431a06d278712500bc0d8577f6a432a4b44d74d"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060HasGeneratedName\u0060 swallows \u0060Exception\u0060 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":"ICSharpCode.Decompiler/SRMExtensions.cs"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"70fa5b7c1b7d72fbaef8030066fe8177935417a754c491f362495810a770a009"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060HasGeneratedName\u0060 swallows \u0060Exception\u0060 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":"ICSharpCode.Decompiler/SRMExtensions.cs"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4efbc7b485dceff2778a8d5eee6aee3ef9a8b5db5e99e6a3c6b075283321d76"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060HasGeneratedName\u0060 swallows \u0060Exception\u0060 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":"ICSharpCode.Decompiler/SRMExtensions.cs"},"region":{"startLine":664}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a70848d7820551e826425908d70ce9a1498c1930652a4f58eb7334b2724386a"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060HasGeneratedName\u0060 swallows \u0060Exception\u0060 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":"ICSharpCode.Decompiler/SRMExtensions.cs"},"region":{"startLine":676}}}],"partialFingerprints":{"codehealthFindingId/v1":"7be923c91537fac64c7ec3822c285d812fff2b4de321e119c0186567ea7065e9"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060IsCompilerGenerated\u0060 swallows \u0060Exception\u0060 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":"ICSharpCode.Decompiler/SRMExtensions.cs"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5a10298bfd6f7c28b9d28642aaebbd55cae52b489d0ada9155c0f085e64d86b"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060IsCompilerGenerated\u0060 swallows \u0060Exception\u0060 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":"ICSharpCode.Decompiler/SRMExtensions.cs"},"region":{"startLine":733}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a42dca0bf32f496ba2023b96a188ddb113951c6f7bf408113e14c021b1feba6"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060IsCompilerGenerated\u0060 swallows \u0060Exception\u0060 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":"ICSharpCode.Decompiler/SRMExtensions.cs"},"region":{"startLine":750}}}],"partialFingerprints":{"codehealthFindingId/v1":"d858642c901d092b56ac9850cd9248c9cc682ea80e52c38a3eed274e3d8bc22a"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060GetBaseTypeOrNil\u0060 swallows \u0060Exception\u0060 into \u0060return default;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/SRMExtensions.cs"},"region":{"startLine":938}}}],"partialFingerprints":{"codehealthFindingId/v1":"667d57f85c892aa31698dab7c0b72340a6f9a630dcfcae327bdddb976d5e6013"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060EffectiveBaseClass\u0060 returns \u0060SpecialType.UnknownType\u0060 when \u0060busyLock.Success\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":"ICSharpCode.Decompiler/TypeSystem/Implementation/AbstractTypeParameter.cs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"fffcf88ccee70f1ccd7d8ade055d3acb72db6da1e1771aa248849edcf841cfef"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060EffectiveInterfaceSet\u0060 returns \u0060EmptyList\u003CIType\u003E.Instance\u0060 when \u0060busyLock.Success\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":"ICSharpCode.Decompiler/TypeSystem/Implementation/AbstractTypeParameter.cs"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cf44ea34cd8790e09d089c633cedc561e17b3da84479977eb26eca9e81f1501"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060DecodeTypeAndVolatileFlag\u0060 swallows \u0060BadImageFormatException\u0060 and sets \u0060ty = SpecialType.UnknownType;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/TypeSystem/Implementation/MetadataField.cs"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"420beb72d85a107a0d34d2137a66953555b4c6e45b614ecda07703a52bf85534"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060DirectBaseTypes\u0060 swallows \u0060BadImageFormatException\u0060 and sets \u0060baseType = SpecialType.UnknownType;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/TypeSystem/Implementation/MetadataTypeDefinition.cs"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"e63e8f9b95d25691cb86075f027ebcb64de23ab24d82990da18258ef7d8f25ee"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on lookup miss: \u0060WithNestedNamespace\u0060 answers a miss of \u0060Namespace.GetChildNamespace(simpleName)\u0060 with \u0060new DummyNamespace(Namespace, simpleName)\u0060 \u2014 an entity fabricated around \u0060simpleName\u0060, which the caller cannot tell from a stored one. Return null or a not-found result, or throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.Decompiler/TypeSystem/UsingScope.cs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"1db80813c39032d360c197c08754780e81c1366a9edccdd26502b8d0e2aa7a80"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060OnExecuteAsync\u0060 returns \u0060ProgramExitCodes.EX_USAGE\u0060 when \u0060MetadataTableDumper.TryParseTableName(DumpTableName, out var table)\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":"ICSharpCode.ILSpyCmd/IlspyCmdProgram.cs"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"8acfb09f1b6c3822a93377ff287048ceb950ef88f6c01d3c4cf49235f953e046"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060IsUsedInMethod\u0060 swallows \u0060BadImageFormatException\u0060 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":"ICSharpCode.ILSpyX/Analyzers/Builtin/FieldAccessAnalyzer.cs"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"fba5beda47e6f77bc8f806f85402a57ed7eb44a9781400d36cd1be7c5d9440c7"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060ScanMethodBody\u0060 swallows \u0060BadImageFormatException\u0060 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":"ICSharpCode.ILSpyX/Analyzers/Builtin/FieldAccessAnalyzer.cs"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"a168f67d48aa6558b6689ea91a689f0a76807a91ddfcb7936de3f20fd503c7f0"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060GetTypeFromSerializedName\u0060 swallows \u0060ReflectionNameParseException\u0060 into \u0060return TokenSearchResult.NoResult;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/Analyzers/Builtin/FindTypeInAttributeDecoder.cs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6db22d568ceee744f9a2ba4cbfc885f0e299b2a3c66872e27a7e8e042970aaf"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060ScanMethodBody\u0060 swallows \u0060BadImageFormatException\u0060 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":"ICSharpCode.ILSpyX/Analyzers/Builtin/MethodUsedByAnalyzer.cs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dc147adb1c039cf27482acfa3709057639d0d2e9a084b7180e153c7daaef44a"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on lookup miss: \u0060this[]\u0060 answers a miss of \u0060root.Element(section)\u0060 with \u0060new XElement(section)\u0060 \u2014 an entity fabricated around \u0060section\u0060, which the caller cannot tell from a stored one. Return null or a not-found result, or throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/Settings/ILSpySettings.cs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"9151064db8153d0dad5f6a5800f919d6c1e6430da16a51d5d94aaaa3c8637db3"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060Load\u0060 swallows \u0060IOException\u0060 into \u0060return new ILSpySettings();\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/Settings/ILSpySettings.cs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"779edbe5431b7b86e3a5244a5aef61b7d0569583a7d2a945410488c9dca7426e"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060DetectFileType\u0060 swallows \u0060XmlException\u0060 into \u0060return FileType.Text;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ICSharpCode.ILSpyX/Util/GuessFileType.cs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ce6dffce7fb657e6c825c52943651c887304c0de4e146da6980522e792c59ce"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060TryGetAssemblyTreeModel\u0060 swallows every exception into \u0060return null;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Analyzers/AnalyzerRootNode.cs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"e118f06eb4bdff17c3a086c3efc0c5c5558e64794147195227f8a0eccaf750ba"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060ReadAllowMultipleInstances\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":"ILSpy/AppEnv/SingleInstance.cs"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"00757d122f07dda355c7ffd6603fb13d87d6f3ec77c1d24282e6eab95e67c15d"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060TryParseGesture\u0060 swallows every exception into \u0060return null;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/ContextMenuProvider.cs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"14ac9d8c6fc9be2bab59d1bea49ed436426dc273ab26e29496326f72deb7a476"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060LoadLayout\u0060 swallows every exception into \u0060return null;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Docking/ILSpyDockFactory.cs"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"d470f1c3f2bb5c003326ca0e4805ebe4c04d3cf36640514d5f9b3530b3f3d7f2"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060WarmUp\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":"ILSpy/Docking/ILSpyDockJson.cs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff8596c0ba89ef9edff03e7a809c1725a82b809a910a86829419d9b30e6cdfe9"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060Resolve\u0060 swallows every exception into \u0060return null;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Metadata/MetadataCellTooltip.cs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"1da294369638fad34d6466fb8c5bb66898826f44680166d3479d7b56163b55d0"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060ResolveRowToTreeNode\u0060 swallows every exception into \u0060return null;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Metadata/MetadataNavigator.cs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ac8fa5727eedaecf687567116a33fc7fce79b2a20ac403daf91a14848c52b84"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060TryGetHideEmptyMetadataTables\u0060 swallows every exception into \u0060return true;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Metadata/MetadataTablesTreeNode.cs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb1b5501dd0d39ae491d67f6d07289008716301cce0c0c474bcdbf6b3eafb6bf"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060LoadFromXml\u0060 swallows \u0060FormatException\u0060 and sets \u0060prerelease = 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":"ILSpy/NuGetFeeds/NuGetFeedSettings.cs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"02697e7b4fb461fc6e518c556e132f34aede163e0c1b224f27cd61bf10519090"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060DownloadAndDecodeAsync\u0060 swallows every exception into \u0060return null;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/NuGetFeeds/NuGetIconLoader.cs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"01704e02cea85c1f2590839e3fc9e769d5282f9cbf4618c4495cee53f9a14ff8"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060IsProcessAlive\u0060 swallows \u0060Exception\u0060 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":"ILSpy/Processes/DiagnosticsPortScanner.Unix.cs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"1831cb4f80604b5f0016d9612c60626ddc8fcdca8549132e72c8ef4fd0cd7081"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060GetModules\u0060 swallows \u0060Exception\u0060 into \u0060return Array.Empty\u003CProcessModuleInfo\u003E();\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Processes/NetFrameworkProcesses.Windows.cs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b14d5dd540f49b1f2a75323e99bc8683f07e2c9578a3a5162b4bb40672e8b23"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060IsManagedAssembly\u0060 swallows \u0060Exception\u0060 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":"ILSpy/Processes/ProcessExplorer.cs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f9c6928b169a4197ec8fcb2733eb154e571ceeec222f694c37ab5d8db689564"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060ShouldStartNewInstance\u0060 swallows every exception into \u0060return true;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Program.cs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"7536f26a2e8d507a1ad802aa6925dc624878c0cf6a1cba78dfe2f052b2707949"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060TryGetDisplaySettings\u0060 swallows every exception into \u0060return null;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/TextView/DecompilerTextEditor.cs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"be186d8f1eef051abf3bdef9fee283acffe4aa3819cee82eaeac0422b22f1890"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060TryGetDisplaySettings\u0060 swallows every exception into \u0060return null;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/TextView/DecompilerTextView.axaml.cs"},"region":{"startLine":763}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fc98e9974c9732d579dfcae6a80aab471e8fea1c522edabc823684489421c62"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060TryGetContextMenuEntries\u0060 swallows every exception into \u0060return Array.Empty\u003CIContextMenuEntryExport\u003E();\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/TextView/DecompilerTextView.axaml.cs"},"region":{"startLine":822}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6d6c716c2b77837404bddf080ae25b59618f51326a377ce3125ea089f3bbc19"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060GetDistanceToPopup\u0060 swallows \u0060ArgumentException\u0060 into \u0060return double.PositiveInfinity;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/TextView/DecompilerTextView.axaml.cs"},"region":{"startLine":1899}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a08ae2b4efa132bca151a8599fbc01e24dafa410ee80562090a7a3902f5b327"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060TryGetLanguageService\u0060 swallows every exception into \u0060return null;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/TreeNodes/AssemblyTreeNode.cs"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"88c227c99bcbd8ffd0dad84c16dcc8b470d6d51baee6cf8580a07b6817207ab8"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060TryGetUseNestedNamespaceNodes\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":"ILSpy/TreeNodes/AssemblyTreeNode.cs"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"4384f7147de4460f4b38b79d81272236f942677b41b99b23037165bfa0ef525d"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060TryGetDecompilerSettings\u0060 swallows every exception into \u0060return null;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/TreeNodes/ExtensionTreeNode.cs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8a15e1e4e9e18711c84f7b1cea0e3885ecf74b01c3c6dc663538d1ec8cc778e"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060GetSuffixString\u0060 swallows every exception into \u0060return string.Empty;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/TreeNodes/ILSpyTreeNode.cs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"59469f77e4f82c75908f10561a1b1995ee995b59c9008dc94c58d815f654c84b"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060TryGetDecompilerSettings\u0060 swallows every exception into \u0060return null;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/TreeNodes/MethodTreeNode.cs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7d5c56ea85f9333dacf3e3a8c51b61c108afa83e7d26b48d6e65d39175ac017"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on lookup miss: \u0060Create\u0060 answers a miss of \u0060ResourceNodeFactories .Select(f =\u003E f.CreateNode(resource)) .OfType\u003CILSpyTreeNode\u2026\u0060 with \u0060new ResourceEntryNode(name, () =\u003E new MemoryStream(data))\u0060 \u2014 an entity fabricated around \u0060name\u0060, which the caller cannot tell from a stored one. Return null or a not-found result, or throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/TreeNodes/ResourceEntryNode.cs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"39916254d52d0f442a62cf1ad51b33e2c365da1ddc1c02792da7f6cff075aa47"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on lookup miss: \u0060Create\u0060 answers a miss of \u0060ResourceNodeFactories .Select(f =\u003E f.CreateNode(resource)) .OfType\u003CILSpyTreeNode\u2026\u0060 with \u0060new ResourceTreeNode(resource)\u0060 \u2014 an entity fabricated around \u0060resource\u0060, which the caller cannot tell from a stored one. Return null or a not-found result, or throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/TreeNodes/ResourceEntryNode.cs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"202fd598c8edadd38f9326149e6054f2ff2335f6aae7600a461d54eaa0321b34"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060CheckForUpdateInternal\u0060 swallows every exception into \u0060return null;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Updates/UpdateService.cs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"24296a4530d132f612625b2472f3c758513c651b1179a1756f9957d4a3e26a94"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060MatchesOne\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":"ILSpy/ViewModels/MetadataTablePageModel.cs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"20b49b38c23cc8cbbbf542e3d84e97b54e06e3515853b9bc6d8857af06a88275"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060TryGetRegex\u0060 swallows every exception into \u0060return null;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/ViewModels/MetadataTablePageModel.cs"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"40baf0348cbbffd372006b6ad6f1ad91186802a50e95250f5e48ae298f3bb6d1"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060BuildPreviewRows\u0060 swallows every exception and sets \u0060pdbEligible = 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":"ILSpy/Views/ExportProjectDialog.axaml.cs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"34fec696a870e8ab62d8d50d67a8f7379f01cd0fa8e0f2701caf5e4920c8e99e"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060TryResolveSettings\u0060 swallows every exception into \u0060return null;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Views/ExportProjectDialog.axaml.cs"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5cced86a5051bdd2700347e0fa1f7db7d2bc7735c2fa93f26011cbd68096c22"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060TryGetContextMenuEntries\u0060 swallows every exception into \u0060return Array.Empty\u003CIContextMenuEntryExport\u003E();\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Views/MetadataTablePage.axaml.cs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"136ac231516ed2af750e6201a054cd0366d290ec1d0bc3b83b72db5e4ab26a05"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060ReadColumnValue\u0060 swallows every exception into \u0060return string.Empty;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ILSpy/Views/MetadataTablePage.axaml.cs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc76417e929cfa2e42dadaf1abb500223f60d65768d6b468e7c8b5791c5ff9d5"}}],"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-1032","guid":"5f21e517-68aa-a650-9a25-5771ef024637","name":"OWASP Top Ten \u2014 Security Misconfiguration category","shortDescription":{"text":"OWASP Top Ten \u2014 Security Misconfiguration category"},"helpUri":"https://cwe.mitre.org/data/definitions/1032.html"},{"id":"CWE-1059","guid":"a2381a08-60f6-9554-a8b8-f3018cfaaca5","name":"Insufficient Technical Documentation","shortDescription":{"text":"Insufficient Technical Documentation"},"helpUri":"https://cwe.mitre.org/data/definitions/1059.html"},{"id":"CWE-1333","guid":"11a336ce-63de-c45c-845e-29ca1e8df13d","name":"CWE-1333","shortDescription":{"text":"CWE-1333"},"helpUri":"https://cwe.mitre.org/data/definitions/1333.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-16","guid":"659db3ea-affc-8453-8add-c1218fbfcb92","name":"Configuration","shortDescription":{"text":"Configuration"},"helpUri":"https://cwe.mitre.org/data/definitions/16.html"},{"id":"CWE-214","guid":"b10ad120-fb22-1351-9348-aa23b453e815","name":"CWE-214","shortDescription":{"text":"CWE-214"},"helpUri":"https://cwe.mitre.org/data/definitions/214.html"},{"id":"CWE-252","guid":"78915dc5-e486-f858-bc3c-aa570ad9010d","name":"Unchecked Return Value","shortDescription":{"text":"Unchecked Return Value"},"helpUri":"https://cwe.mitre.org/data/definitions/252.html"},{"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-321","guid":"0ce564a5-a44c-3358-b3db-317712e6e019","name":"Use of Hard-coded Cryptographic Key","shortDescription":{"text":"Use of Hard-coded Cryptographic Key"},"helpUri":"https://cwe.mitre.org/data/definitions/321.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-390","guid":"7484c168-de95-2c52-afd2-197fb3efb184","name":"Detection of Error Condition Without Action","shortDescription":{"text":"Detection of Error Condition Without Action"},"helpUri":"https://cwe.mitre.org/data/definitions/390.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.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-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"Insufficiently Protected Credentials","shortDescription":{"text":"Insufficiently Protected Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/522.html"},{"id":"CWE-532","guid":"1cd8877a-76e8-ce54-b40b-779af23364a0","name":"Insertion of Sensitive Information into Log File","shortDescription":{"text":"Insertion of Sensitive Information into Log File"},"helpUri":"https://cwe.mitre.org/data/definitions/532.html"},{"id":"CWE-732","guid":"1da27e8f-b330-7650-ab63-bd61953eae5d","name":"Incorrect Permission Assignment for Critical Resource","shortDescription":{"text":"Incorrect Permission Assignment for Critical Resource"},"helpUri":"https://cwe.mitre.org/data/definitions/732.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-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-88","guid":"32dec161-013d-ac58-8599-1309e12e67f5","name":"Improper Neutralization of Argument Delimiters in a Command (\u0027Argument Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Argument Delimiters in a Command (\u0027Argument Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/88.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-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.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":"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":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"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/"},{"id":"A09:2025","guid":"78892bc9-3c98-495d-881c-8af1390d643c","name":"Security Logging \u0026 Alerting Failures","shortDescription":{"text":"Security Logging \u0026 Alerting Failures"},"helpUri":"https://top10.owasp.org/2025/A09_2025-Security_Logging_and_Alerting_Failures/"},{"id":"A10:2025","guid":"9ca3ab55-ca61-fd5e-b9ab-3dad2efa59d0","name":"Mishandling of Exceptional Conditions","shortDescription":{"text":"Mishandling of Exceptional Conditions"},"helpUri":"https://top10.owasp.org/2025/A10_2025-Mishandling_of_Exceptional_Conditions/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"},{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"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":79,"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."]}]}