{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"id":"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":"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":"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":"C1","name":"Data Protection","shortDescription":{"text":"Data Protection"},"helpUri":"https://codehealth.canine.dev/dimensions/C1"},{"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":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"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":"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":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"AbbreviatedGeometryParser.Parse (cyclomatic 41): AbbreviatedGeometryParser.Parse 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":"src/WPFDevelopers.Shared/Microsoft.Expression.Drawing/Core/PathGeometryHelper.cs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a58e21d8b76a0c73ee21ddf8bf526bfcec945937c419f09cab10f3e13368adf"}},{"ruleId":"D1","level":"warning","message":{"text":"FocusCarousel.FocusCarousel_MouseLeftButtonDown (cyclomatic 32): FocusCarousel.FocusCarousel_MouseLeftButtonDown 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":"src/WPFDevelopers.Shared/Controls/Carousel/FocusCarousel.cs"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ced9337cc1a93e0b288aad1c6d8c2a080a90d6effb3d91ce85c4c50805d9c6a"}},{"ruleId":"D1","level":"warning","message":{"text":"SvgViewer.ParseSvgPaths (cyclomatic 30): SvgViewer.ParseSvgPaths 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":"src/WPFDevelopers.Shared/Controls/SvgViewer/SvgViewer.cs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fb487ba33c29c032b97b63d159565f25ccabce43e18c4835776ab974ce9b624"}},{"ruleId":"D1","level":"warning","message":{"text":"MarkdownViewer.ParseMarkdown (cyclomatic 30): MarkdownViewer.ParseMarkdown has cyclomatic complexity 30 (threshold 15). Of this number, 26 points are the body\u0027s own statements and 4 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":"src/WPFDevelopers.Shared/Controls/Markdown/MarkdownViewer.cs"},"region":{"startLine":1154}}}],"partialFingerprints":{"codehealthFindingId/v1":"361ce0b63008186541fd12a2c79fec522253864aea97ed9cfadee936e17769b1"}},{"ruleId":"D1","level":"warning","message":{"text":"MapView.UpdateMapShapesLayer (cyclomatic 28): MapView.UpdateMapShapesLayer 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":"src/WPFDevelopers.Shared/Controls/MapView/MapView.cs"},"region":{"startLine":2688}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b8e39268d3a1d026950bbbb00fa109dc54d672f3ccde6c3b1283bbe7f24d4b3"}},{"ruleId":"D1","level":"warning","message":{"text":"MultiSelectComboBox.OnSelectionChanged (cyclomatic 27): MultiSelectComboBox.OnSelectionChanged 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":"src/WPFDevelopers.Shared/Controls/MultiSelectComboBox/MultiSelectComboBox.cs"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"0477b69d13081bbf354753382ee4bca83fce88cae6aaa68b26e93649993f228e"}},{"ruleId":"D1","level":"warning","message":{"text":"BackToTopState.UpdateButton (cyclomatic 26): BackToTopState.UpdateButton has cyclomatic complexity 26 (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":"src/WPFDevelopers.Shared/Controls/ScrollViewer/ScrollViewerBehavior.cs"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c237ac53e1699cdf447598d0bbd91ec20d63417dced8c47d626c8f2baf35849"}},{"ruleId":"D1","level":"warning","message":{"text":"TimelinePanel.MeasureOverride (cyclomatic 26): TimelinePanel.MeasureOverride 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":"src/WPFDevelopers.Shared/Controls/Timeline/TimelinePanel.cs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"23a6cc951368fc0ebfd4b5c8e41fec6babb80bcbcf1692be4a76d9949f501433"}},{"ruleId":"D1","level":"warning","message":{"text":"MapView.UpdateMapItemsLayer (cyclomatic 26): MapView.UpdateMapItemsLayer has cyclomatic complexity 26 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 4 belong to 4 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":"src/WPFDevelopers.Shared/Controls/MapView/MapView.cs"},"region":{"startLine":3573}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a508c2b71a07cd3baf2bc672aae26f68aa7cab8d4c4b72e8d94abc506bbde1f"}},{"ruleId":"D1","level":"warning","message":{"text":"MarkdownViewer.ClassifyCodeToken (cyclomatic 26): MarkdownViewer.ClassifyCodeToken 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":"src/WPFDevelopers.Shared/Controls/Markdown/MarkdownViewer.cs"},"region":{"startLine":901}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f4cc893fc8993fa82f24688941186a9a7d75904229ced63c5e31e31c8b471fc"}},{"ruleId":"D1","level":"warning","message":{"text":"ScreenCutAdorner.GetResizeThumb (cyclomatic 26): ScreenCutAdorner.GetResizeThumb has cyclomatic complexity 26 (threshold 15). Most of this is not in the body itself: 12 of the 26 points are its own statements and the rest belongs to one function literal inside it that branches (line 143). 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":"src/WPFDevelopers.Shared/Controls/ScreenCut/ScreenCutAdorner.cs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"a22ee59134910cb2dd64e03a77c536be0bd42816dae38a37582d38e081a65de0"}},{"ruleId":"D1","level":"warning","message":{"text":"IPEditBox.TextBox_PreviewKeyDown (cyclomatic 25): IPEditBox.TextBox_PreviewKeyDown 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":"src/WPFDevelopers.Shared/Controls/IPEditBox/IPEditBox.cs"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"b460b9105451142c6620c34a083bd17f8a6b7e34fe657dcb64dd7b6a093a7b6d"}},{"ruleId":"D1","level":"warning","message":{"text":"Loading.WrapElement (cyclomatic 25): Loading.WrapElement has cyclomatic complexity 25 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 4 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":"src/WPFDevelopers.Shared/Controls/Loading/Loading.cs"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"af2c8b42246c2ea70d0b3585034a0e85c527ab88cbde56e118fe5bee86a0e694"}},{"ruleId":"D1","level":"warning","message":{"text":"SampleLanguageManager.LocalizeTree (cyclomatic 23): SampleLanguageManager.LocalizeTree 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":"src/WPFDevelopers.Samples.Shared/SampleLanguageManager.cs"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddc11fa2627498a15eb4a689d285597a679db94b099051d83df5dcb643b577ee"}},{"ruleId":"D1","level":"warning","message":{"text":"Window.WindowProc (cyclomatic 22): Window.WindowProc 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":"src/WPFDevelopers.Net40/Window.cs"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce3a6d45b558c65454a5c73a7b50f1292b8b8106c7c8db89f7157288948802f5"}},{"ruleId":"D1","level":"warning","message":{"text":"MapItemsLayer.UpdateDefaultItems (cyclomatic 22): MapItemsLayer.UpdateDefaultItems 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":"src/WPFDevelopers.Shared/Controls/MapView/MapItemsLayer.cs"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fadb1c50cf34ac92ff539053d1e0b3ba3d49aec244b8bf56ce2e9ddbe1ab789"}},{"ruleId":"D1","level":"warning","message":{"text":"ScreenCut.DrawArrowControl (cyclomatic 22): ScreenCut.DrawArrowControl 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":"src/WPFDevelopers.Shared/Controls/ScreenCut/ScreenCut.cs"},"region":{"startLine":1199}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4eff7b2501d2985697b29d7eac6d739e3c3565788b205b496af8775e811ab85"}},{"ruleId":"D1","level":"warning","message":{"text":"MarkdownViewer.ClassifyMarkupToken (cyclomatic 21): MarkdownViewer.ClassifyMarkupToken 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":"src/WPFDevelopers.Shared/Controls/Markdown/MarkdownViewer.cs"},"region":{"startLine":952}}}],"partialFingerprints":{"codehealthFindingId/v1":"058382838646f8b8e081e825c187a554dfbfa342237ae2a61f23e7d2c449ee57"}},{"ruleId":"D1","level":"warning","message":{"text":"GeometryHelper.PathSegmentEquals (cyclomatic 21): GeometryHelper.PathSegmentEquals 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":"src/WPFDevelopers.Shared/Microsoft.Expression.Drawing/Core/GeometryHelper.cs"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc834170270103aea131c86782b031c8070d36fcd406d317f8e822ca148ef31b"}},{"ruleId":"D1","level":"warning","message":{"text":"Vector2D.IsPointPolygonalArea (cyclomatic 20): Vector2D.IsPointPolygonalArea 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":"src/WPFDevelopers.Samples.Shared/ExampleViews/CanvasHandWriting/Vector2D.cs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7494cd72a98be4da8429afd1b5c56476a2c6c970ec6d6b6c825973abe8b70aa"}},{"ruleId":"D1","level":"warning","message":{"text":"ThumbAdorner.GetResizeThumb (cyclomatic 20): ThumbAdorner.GetResizeThumb has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 3 of the 20 points are its own statements and the rest belongs to one function literal inside it that branches (line 332). 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":"src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ThumbAdorner.cs"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"56238f5107dab08610ac9965cc58c60ffda2360e539872edec42e82e3e83dcbb"}},{"ruleId":"D1","level":"warning","message":{"text":"ThumbAdorner2.GetResizeThumb (cyclomatic 20): ThumbAdorner2.GetResizeThumb has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 3 of the 20 points are its own statements and the rest belongs to one function literal inside it that branches (line 324). 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":"src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ThumbAdorner2.cs"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cd0ca338dc9f664e97715c86dc039b3f9abcfd376177cc60444e82b11f16ae2"}},{"ruleId":"D1","level":"warning","message":{"text":"MapViewFeaturesWindow.BringCircleToFrontButton_Click (cyclomatic 20): MapViewFeaturesWindow.BringCircleToFrontButton_Click 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":"src/WPFDevelopers.Samples.Shared/ExampleViews/Map/MapViewFeaturesWindow.xaml.cs"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"41da14af377855ca0f3cb2ee90436f143ec09e26062683a6aaa857ee91de7228"}},{"ruleId":"D1","level":"warning","message":{"text":"CardCarousel.PlayCarouselWithIndexOutRange (cyclomatic 20): CardCarousel.PlayCarouselWithIndexOutRange 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":"src/WPFDevelopers.Shared/Controls/Carousel/CardCarousel.cs"},"region":{"startLine":1025}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ac54e11757e8c9ee7c3faa92e4021bbd122b3fb9e19b6d5608a1949bf14470e"}},{"ruleId":"D1","level":"warning","message":{"text":"ScreenCut.DrawMultipleControl (cyclomatic 20): ScreenCut.DrawMultipleControl 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":"src/WPFDevelopers.Shared/Controls/ScreenCut/ScreenCut.cs"},"region":{"startLine":1325}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed8518cde96f40b749aa062050326b30936d0ee26522fd13e74f6d138e08ac26"}},{"ruleId":"D1","level":"warning","message":{"text":"AbbreviatedGeometryParser.ReadDouble (cyclomatic 20): AbbreviatedGeometryParser.ReadDouble 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":"src/WPFDevelopers.Shared/Microsoft.Expression.Drawing/Core/PathGeometryHelper.cs"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bf7ea4bc87ed0b9a5ddde8f81840a425fe5379aa2e48718e166db50bf524d6a"}},{"ruleId":"D1","level":"warning","message":{"text":"Window.WindowProc (cyclomatic 20): Window.WindowProc 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":"src/WPFDevelopers.Net45x/Window.cs"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ea7eaf6208a7405cd73ac95ac45004b42ce2da01345c4eb794ac4661a4340bf"}},{"ruleId":"D1","level":"warning","message":{"text":"OtpBox.TextBox_PreviewKeyDown (cyclomatic 19): OtpBox.TextBox_PreviewKeyDown has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/OtpBox/OtpBox.cs"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"635642411bb98163decd8acfcb56445d99b6794be6b13fe1d6b971bca4029dec"}},{"ruleId":"D1","level":"warning","message":{"text":"Loading.CreateLoading (cyclomatic 19): Loading.CreateLoading has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/Loading/Loading.cs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dced973cd4f7e164b5aafc184ed3cce4fab55eb2210d02f1d154299874ad077"}},{"ruleId":"D1","level":"warning","message":{"text":"Loading.UnwrapElement (cyclomatic 19): Loading.UnwrapElement has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/Loading/Loading.cs"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"a70970a6397b9b32478f06ea7cf536a36618a4f7367afce8c6788d8bcb646cc2"}},{"ruleId":"D1","level":"warning","message":{"text":"ScreenCut.Dispose (cyclomatic 19): ScreenCut.Dispose 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":"src/WPFDevelopers.Shared/Controls/ScreenCut/ScreenCut.cs"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea27dc41ef35ab7c2a66f2893b5ac6a80d444f21726a104aa422882ee18c93a1"}},{"ruleId":"D1","level":"warning","message":{"text":"ElementAdorner.CreateThumb (cyclomatic 18): ElementAdorner.CreateThumb has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 1 of the 18 points is its own statement and the rest belongs to one function literal inside it that branches (line 168). 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":"src/WPFDevelopers.Samples.Shared/Controls/TransformLayout/ElementAdorner.cs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"959763582724f9ee3d2c0e782b3df3ad1c08e90a17b8af1997b6ea28d78f3365"}},{"ruleId":"D1","level":"warning","message":{"text":"WaterfallPanel.MeasureVirtualized (cyclomatic 18): WaterfallPanel.MeasureVirtualized 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":"src/WPFDevelopers.Shared/Controls/WaterfallPanel/WaterfallPanel.Virtualization.cs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba7fec4704db37b8cebca196f23307cf652366b084f4ec580bd9046b6e545d75"}},{"ruleId":"D1","level":"warning","message":{"text":"TimePicker.GetDisplayTimeFormat (cyclomatic 18): TimePicker.GetDisplayTimeFormat 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":"src/WPFDevelopers.Shared/Controls/TimePicker/TimePicker.cs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bd86ff800ed1156e1b3178e16888fcd577b1291b3be04601d7c820d979722ea"}},{"ruleId":"D1","level":"warning","message":{"text":"SpacingState.Update (cyclomatic 18): SpacingState.Update 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":"src/WPFDevelopers.Shared/Core/Helpers/PanelHelper.cs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bcfc7fabdbbd6f7bb68d0c38ed2e3a26de2891d3e6dfdd9c111a3c0587c78ce"}},{"ruleId":"D1","level":"warning","message":{"text":"MapView.CreateFeatureClickEventArgs (cyclomatic 18): MapView.CreateFeatureClickEventArgs 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":"src/WPFDevelopers.Shared/Controls/MapView/MapView.cs"},"region":{"startLine":3053}}}],"partialFingerprints":{"codehealthFindingId/v1":"28e7c3b6b347defaf37caddd2e4fb187c30200e56d24492a03b90e36c5c67074"}},{"ruleId":"D1","level":"warning","message":{"text":"GeometryHelper.GeometryEquals (cyclomatic 18): GeometryHelper.GeometryEquals 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":"src/WPFDevelopers.Shared/Microsoft.Expression.Drawing/Core/GeometryHelper.cs"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"85b6f603afd219a690252808ec43db6822536324be3839590c3fdf6cb402e534"}},{"ruleId":"D1","level":"warning","message":{"text":"PolylineHelper.PathMarch (cyclomatic 18): PolylineHelper.PathMarch 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":"src/WPFDevelopers.Shared/Microsoft.Expression.Drawing/Core/PolylineHelper.cs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef9a0dcd6da70aeb29cf687d5afee8a1adf775d92140738ec6a5d6e13c3ccb21"}},{"ruleId":"D1","level":"warning","message":{"text":"TransformExtensions.TransformEquals (cyclomatic 18): TransformExtensions.TransformEquals 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":"src/WPFDevelopers.Shared/Microsoft.Expression.Drawing/Core/TransformExtensions.cs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"05371027467413872162436a348bd16381ea7f2056bc4c996545eaa2017fd4db"}},{"ruleId":"D1","level":"warning","message":{"text":"DateRangePicker.SetIsHighlight (cyclomatic 17): DateRangePicker.SetIsHighlight has cyclomatic 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/DateRangePicker/DateRangePicker.cs"},"region":{"startLine":922}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2b740d6696890b982af0ae8b57f279f3ab4a5d42ea067d346ff58c3d7a73253"}},{"ruleId":"D1","level":"warning","message":{"text":"Dialog.ShowAsync (cyclomatic 17): Dialog.ShowAsync 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":"src/WPFDevelopers.Shared/Controls/Dialog/Dialog.cs"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"2509b010bb745fb2be1822502fd19d4fef6d269e3aa4927ab713d5b67d49bbd5"}},{"ruleId":"D1","level":"warning","message":{"text":"BallLoading.BallMoveColor (cyclomatic 17): BallLoading.BallMoveColor 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":"src/WPFDevelopers.Shared/Controls/Loadings/BallLoading.cs"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c34dcf271ef6f78453a46897c848a812c5e506490ed7d45c6447dc346c6d89e"}},{"ruleId":"D1","level":"warning","message":{"text":"MapView.TryGetPolylineHit (cyclomatic 17): MapView.TryGetPolylineHit 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":"src/WPFDevelopers.Shared/Controls/MapView/MapView.cs"},"region":{"startLine":3150}}}],"partialFingerprints":{"codehealthFindingId/v1":"09708e3c54f210e3e344c85c13a2ce1ce9be9e65560bca93202abbdd1aa53242"}},{"ruleId":"D1","level":"warning","message":{"text":"MarkdownViewer.ParseInlines (cyclomatic 17): MarkdownViewer.ParseInlines 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":"src/WPFDevelopers.Shared/Controls/Markdown/MarkdownViewer.cs"},"region":{"startLine":1422}}}],"partialFingerprints":{"codehealthFindingId/v1":"86c1ef2139dc2ae5168aa7eea9640399f0ded6d7938d68f2168fa704e661c394"}},{"ruleId":"D1","level":"warning","message":{"text":"MultiSelectComboBox.SearchText (cyclomatic 17): MultiSelectComboBox.SearchText 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":"src/WPFDevelopers.Shared/Controls/MultiSelectComboBox/MultiSelectComboBox.cs"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"f65947d3a34e950cde0b833ae8e0b3deced8bf850b56bfd97938884c15620954"}},{"ruleId":"D1","level":"warning","message":{"text":"DistributionStrategy.DistributeInternal (cyclomatic 17): DistributionStrategy.DistributeInternal has cyclomatic complexity 17 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 6 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":"src/WPFDevelopers.Shared/Microsoft.Expression.Controls/DistributionStrategy.cs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ba86ba8540c31878af99abed368438caeb6075ee77396a6986bfdc6be51d608"}},{"ruleId":"D1","level":"warning","message":{"text":"PathPanel.ArrangeOverride (cyclomatic 17): PathPanel.ArrangeOverride 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":"src/WPFDevelopers.Shared/Microsoft.Expression.Controls/PathPanel.cs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"41d7c06095f47df6110d22c35ad5f5b07ce2b788766a8f544a6da09c95f7156b"}},{"ruleId":"D1","level":"warning","message":{"text":"PolylineData.SmoothNormal (cyclomatic 17): PolylineData.SmoothNormal 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":"src/WPFDevelopers.Shared/Microsoft.Expression.Drawing/Core/PolylineData.cs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"90462197658ed81ac39951b7c4adba71989a6bdd4724122d39a9ab03fc6e3fac"}},{"ruleId":"D1","level":"warning","message":{"text":"JumpList._BuildShellLists (cyclomatic 17): JumpList._BuildShellLists 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":"src/Microsoft.Windows.Shell/JumpList.cs"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f7a5048479fd9bfd9edc250f561dd831c91fca6f8d12a0950748eea0bf2e110"}},{"ruleId":"D1","level":"warning","message":{"text":"IPEditBox.PasteTextIPTextBox (cyclomatic 16): IPEditBox.PasteTextIPTextBox 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":"src/WPFDevelopers.Shared/Controls/IPEditBox/IPEditBox.cs"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab9f78854b8008dfb3cdff52af8480ee334606d8d6ac26070e5e86ecd0e5f45f"}},{"ruleId":"D1","level":"warning","message":{"text":"SvgViewer.LoadAndRenderSvg (cyclomatic 16): SvgViewer.LoadAndRenderSvg 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":"src/WPFDevelopers.Shared/Controls/SvgViewer/SvgViewer.cs"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"337613b2e2e964201bd8e3ccc4004ea9fd9e2b70309bf3ea63cdddfa4cac0573"}},{"ruleId":"D1","level":"warning","message":{"text":"TimelinePanel.OnRender (cyclomatic 16): TimelinePanel.OnRender 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":"src/WPFDevelopers.Shared/Controls/Timeline/TimelinePanel.cs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"b606a19ca4f310b1d2b3d2cd8e962c58947e38f965224a56dc6d478242012337"}},{"ruleId":"D1","level":"warning","message":{"text":"NumericBox.ContinueChangeValue (cyclomatic 16): NumericBox.ContinueChangeValue 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":"src/WPFDevelopers.Shared/Controls/NumericBox/NumericBox.cs"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"49af9344ab1187b79f6b0c83b6a3cf798e4916b330b70a1f96e3bc2bb95e6422"}},{"ruleId":"D1","level":"warning","message":{"text":"CircleMenu.GetVisibleBoundsInSelf (cyclomatic 16): CircleMenu.GetVisibleBoundsInSelf 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":"src/WPFDevelopers.Shared/Controls/CircleMenu/CircleMenu.cs"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8510c8d3b7a39047f2fb8dfc0bbdc6d1b35ba7fe1e53b069eb683680a3e3c01"}},{"ruleId":"D1","level":"warning","message":{"text":"MapView.TryGetPolygonHit (cyclomatic 16): MapView.TryGetPolygonHit 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":"src/WPFDevelopers.Shared/Controls/MapView/MapView.cs"},"region":{"startLine":3236}}}],"partialFingerprints":{"codehealthFindingId/v1":"733013ee686ebc5249a6c6a4df227bd6aa21d50fd3b9fd0e1d86b3926de95614"}},{"ruleId":"D1","level":"warning","message":{"text":"TaskbarItemInfo._UpdateThumbButtons (cyclomatic 16): TaskbarItemInfo._UpdateThumbButtons 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":"src/Microsoft.Windows.Shell/TaskbarItemInfo.cs"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0bb342df39efe2b739cfa5442bf46343a89b055e741d2b69af42f183817a87e"}},{"ruleId":"D2","level":"warning","message":{"text":"AbbreviatedGeometryParser.Parse (cognitive 90): AbbreviatedGeometryParser.Parse 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":"src/WPFDevelopers.Shared/Microsoft.Expression.Drawing/Core/PathGeometryHelper.cs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b1d0d4b6150c71f55c049e90e61610a710472bfa387d832952cc7d81e3c83a9"}},{"ruleId":"D2","level":"warning","message":{"text":"MultiSelectComboBox.OnSelectionChanged (cognitive 77): MultiSelectComboBox.OnSelectionChanged 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":"src/WPFDevelopers.Shared/Controls/MultiSelectComboBox/MultiSelectComboBox.cs"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8c45a99415fb6aa117f09e47982f1674217a81c85cd66a3fa5c12e6794167ee"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkdownViewer.ParseMarkdown (cognitive 59): MarkdownViewer.ParseMarkdown has cognitive complexity 59 (threshold 15). Of this number, 55 points are the body\u0027s own statements and 4 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":"src/WPFDevelopers.Shared/Controls/Markdown/MarkdownViewer.cs"},"region":{"startLine":1154}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fd8612e6407b975346443df6908d205b122fcfab95c8628be868ab45b232c3f"}},{"ruleId":"D2","level":"warning","message":{"text":"FocusCarousel.FocusCarousel_MouseLeftButtonDown (cognitive 58): FocusCarousel.FocusCarousel_MouseLeftButtonDown has cognitive complexity 58 (threshold 15). Of this number, 57 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":"src/WPFDevelopers.Shared/Controls/Carousel/FocusCarousel.cs"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd2f4ca946e6b87435b153f7a9622c2f03d8f74ad150f2d6d4a4f4d3b6a45f5d"}},{"ruleId":"D2","level":"warning","message":{"text":"SvgViewer.ParseSvgPaths (cognitive 56): SvgViewer.ParseSvgPaths 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":"src/WPFDevelopers.Shared/Controls/SvgViewer/SvgViewer.cs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6874286e7fe92dddf9f9b3060f8e5741bfc8b546bfd90c19511bc17a96de68a"}},{"ruleId":"D2","level":"warning","message":{"text":"Vector2D.IsPointPolygonalArea (cognitive 52): Vector2D.IsPointPolygonalArea 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":"src/WPFDevelopers.Samples.Shared/ExampleViews/CanvasHandWriting/Vector2D.cs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8752e790b5e9a30b8c33ea3e077a825b71bf80883fe3dd25db6fc15c5dd1594"}},{"ruleId":"D2","level":"warning","message":{"text":"MultiSelectComboBox.SearchText (cognitive 48): MultiSelectComboBox.SearchText 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":"src/WPFDevelopers.Shared/Controls/MultiSelectComboBox/MultiSelectComboBox.cs"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"8563893fb9516bbec21f46fcc7de756d2c6636fe659366408a8ea0d8a6dfcdf4"}},{"ruleId":"D2","level":"warning","message":{"text":"SampleLanguageManager.LocalizeTree (cognitive 43): SampleLanguageManager.LocalizeTree 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":"src/WPFDevelopers.Samples.Shared/SampleLanguageManager.cs"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d49fe3a469c71fe7fb56f2f3fcad170de0e7974eee64cae6c2d042d54939d15"}},{"ruleId":"D2","level":"warning","message":{"text":"Loading.WrapElement (cognitive 42): Loading.WrapElement has cognitive complexity 42 (threshold 15). Of this number, 35 points are the body\u0027s own statements and 7 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":"src/WPFDevelopers.Shared/Controls/Loading/Loading.cs"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"53e36a723d9c2d2440fa63739414f82bed793a8f6cd65aa017138d5cbb006391"}},{"ruleId":"D2","level":"warning","message":{"text":"MapView.UpdateMapShapesLayer (cognitive 42): MapView.UpdateMapShapesLayer 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":"src/WPFDevelopers.Shared/Controls/MapView/MapView.cs"},"region":{"startLine":2688}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf507d0bb6bdb39e808d601fe71d2663e8aa1611da57d4c0bb0ae2e48d362b4b"}},{"ruleId":"D2","level":"warning","message":{"text":"MapView.UpdateMapItemsLayer (cognitive 41): MapView.UpdateMapItemsLayer has cognitive complexity 41 (threshold 15). Of this number, 37 points are the body\u0027s own statements and 4 belong to 4 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":"src/WPFDevelopers.Shared/Controls/MapView/MapView.cs"},"region":{"startLine":3573}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d3d8566530a9eb8fec8e9bc01d84ffc3753487aa8845453b61e132c5f8e3c80"}},{"ruleId":"D2","level":"warning","message":{"text":"SixGirdView.MeasureOverride (cognitive 41): SixGirdView.MeasureOverride 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":"src/WPFDevelopers.Shared/Controls/Panel/SixGirdView.cs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"dda950211ab8a5e07268dc389cfcf27df6dbf2b4efcca0e44a99b219bf648011"}},{"ruleId":"D2","level":"warning","message":{"text":"JumpList._BuildShellLists (cognitive 40): JumpList._BuildShellLists has cognitive complexity 40 (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":"src/Microsoft.Windows.Shell/JumpList.cs"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"039046d1a21e0c5edd4ef7e7b22ef7fbd7ef5e2a3b98a4e299d6ca87906ab9cf"}},{"ruleId":"D2","level":"warning","message":{"text":"Window.WindowProc (cognitive 39): Window.WindowProc 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":"src/WPFDevelopers.Net40/Window.cs"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"332254538a08fcb5e676f7cc275a7fa4268964aa014d57820cae3306ce51c858"}},{"ruleId":"D2","level":"warning","message":{"text":"PolylineData.SmoothNormal (cognitive 38): PolylineData.SmoothNormal has cognitive complexity 38 (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":"src/WPFDevelopers.Shared/Microsoft.Expression.Drawing/Core/PolylineData.cs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2e507cc1190e358403665a8cd1e105883ee957d38a705ff3b48ea5c10ce4b8a"}},{"ruleId":"D2","level":"warning","message":{"text":"Window.WindowProc (cognitive 37): Window.WindowProc 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":"src/WPFDevelopers.Net45x/Window.cs"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"51f13aaea24eb4eda7425022b79ab93529f1a6454b29daafc2fd8a636fe91ba2"}},{"ruleId":"D2","level":"warning","message":{"text":"MultiSelectionSearchComboBox.SearchText (cognitive 36): MultiSelectionSearchComboBox.SearchText 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":"src/WPFDevelopers.Samples.Shared/Controls/MultiSelectionSearchComboBox/MultiSelectSearchComboBox.cs"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a200b5612ddfc70e2fdec42e36dc57a1203192d6b7c5fe573fb6e561f565015"}},{"ruleId":"D2","level":"warning","message":{"text":"CardCarousel.PlayCarouselWithIndexOutRange (cognitive 36): CardCarousel.PlayCarouselWithIndexOutRange 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":"src/WPFDevelopers.Shared/Controls/Carousel/CardCarousel.cs"},"region":{"startLine":1025}}}],"partialFingerprints":{"codehealthFindingId/v1":"56e469deecf521b6feddec8ecb6a7e2655557f7aafb39db5220391a89abd734c"}},{"ruleId":"D2","level":"warning","message":{"text":"BallLoading.BallMoveColor (cognitive 35): BallLoading.BallMoveColor 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":"src/WPFDevelopers.Shared/Controls/Loadings/BallLoading.cs"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"52222fc7656dff6b31ef75336689767c6a13ff074bb20dd6e8666c5b9ff4a1f4"}},{"ruleId":"D2","level":"warning","message":{"text":"IPEditBox.TextBox_PreviewKeyDown (cognitive 34): IPEditBox.TextBox_PreviewKeyDown 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":"src/WPFDevelopers.Shared/Controls/IPEditBox/IPEditBox.cs"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"0962cb4d4bfaa344ffb976defabfeacd20341eb0a14013d7173981b39fe7f84e"}},{"ruleId":"D2","level":"warning","message":{"text":"ScreenCut.DrawMultipleControl (cognitive 34): ScreenCut.DrawMultipleControl 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":"src/WPFDevelopers.Shared/Controls/ScreenCut/ScreenCut.cs"},"region":{"startLine":1325}}}],"partialFingerprints":{"codehealthFindingId/v1":"63b685c0f2f4be192db4c5576971da2cd5a20fbfcc8e86500df2493e52c92605"}},{"ruleId":"D2","level":"warning","message":{"text":"MapItemsLayer.UpdateDefaultItems (cognitive 33): MapItemsLayer.UpdateDefaultItems 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":"src/WPFDevelopers.Shared/Controls/MapView/MapItemsLayer.cs"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"0244f2601a79fc82b3033908836d79bef2eabb7039fa788c7e7f8d5a3ef80a8c"}},{"ruleId":"D2","level":"warning","message":{"text":"SpacingState.Update (cognitive 33): SpacingState.Update 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":"src/WPFDevelopers.Shared/Core/Helpers/PanelHelper.cs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bdfe0199f173b7c3a5054e13a1c9ee0b76980263aa27e9144b333cb6125ccca"}},{"ruleId":"D2","level":"warning","message":{"text":"MultiSelectComboBox.CreateTag (cognitive 33): MultiSelectComboBox.CreateTag 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":"src/WPFDevelopers.Shared/Controls/MultiSelectComboBox/MultiSelectComboBox.cs"},"region":{"startLine":844}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e067bf66996201b5419f95fbb7bacedbc13fb5184950ec72deb090f0c67f361"}},{"ruleId":"D2","level":"warning","message":{"text":"ScreenCut.DrawArrowControl (cognitive 33): ScreenCut.DrawArrowControl 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":"src/WPFDevelopers.Shared/Controls/ScreenCut/ScreenCut.cs"},"region":{"startLine":1199}}}],"partialFingerprints":{"codehealthFindingId/v1":"de5f38925b97dbe4c88dab39a34786146da955ee5603341ef821270bc9516cc4"}},{"ruleId":"D2","level":"warning","message":{"text":"SketchGeometryEffect.UpdateSketchGeometry (cognitive 32): SketchGeometryEffect.UpdateSketchGeometry has cognitive complexity 32 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 15 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":"src/WPFDevelopers.Shared/Microsoft.Expression.Drawing/Media/SketchGeometryEffect.cs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"76c03b8a1d7ec7dcd03943fdda4a6dc3829ff8aa61ec78c0dea7327adb54e12c"}},{"ruleId":"D2","level":"warning","message":{"text":"MapViewFeaturesWindow.BringCircleToFrontButton_Click (cognitive 31): MapViewFeaturesWindow.BringCircleToFrontButton_Click has cognitive complexity 31 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/ExampleViews/Map/MapViewFeaturesWindow.xaml.cs"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"eba79a11343c113b92a5c3e1ad3c3c8b838bc6de9b10d1e42aa34e969823a52e"}},{"ruleId":"D2","level":"warning","message":{"text":"DistributionStrategy.DistributeInternal (cognitive 31): DistributionStrategy.DistributeInternal has cognitive complexity 31 (threshold 15). Most of this is not in the body itself: 14 of the 31 points are its own statements and the rest belongs to one function literal inside it that branches (line 129). 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":"src/WPFDevelopers.Shared/Microsoft.Expression.Controls/DistributionStrategy.cs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a58589060d08f48f8d9360d3595e0bb4d5fbf38726a6f761a3907429eb7a4ad"}},{"ruleId":"D2","level":"warning","message":{"text":"Utility.UrlDecode (cognitive 31): Utility.UrlDecode has cognitive complexity 31 (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":"src/Microsoft.Windows.Shell/Standard/Utility.cs"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bdb7cf0a116742da0f0ee9f00193ae1464a7b29e23a6b901bc002c1bf46169f"}},{"ruleId":"D2","level":"warning","message":{"text":"DateRangePicker.SetIsHighlight (cognitive 30): DateRangePicker.SetIsHighlight has cognitive 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, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/DateRangePicker/DateRangePicker.cs"},"region":{"startLine":922}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c95555746f26c56228a28611ea8edcc66388837778fd62ac2d19a5a9aa16351"}},{"ruleId":"D2","level":"warning","message":{"text":"IPEditBox.PasteTextIPTextBox (cognitive 30): IPEditBox.PasteTextIPTextBox 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":"src/WPFDevelopers.Shared/Controls/IPEditBox/IPEditBox.cs"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"670decfdb4cb8ba34fbe2e010952fc59e6a463a66dee268433d61e0bc0e0de43"}},{"ruleId":"D2","level":"warning","message":{"text":"WaterfallPanel.ReconcileRealizedChildren (cognitive 30): WaterfallPanel.ReconcileRealizedChildren 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":"src/WPFDevelopers.Shared/Controls/WaterfallPanel/WaterfallPanel.Virtualization.cs"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"c36e120481c27c7499160d657fb9e90de81aa39f6784d1d8e287df9b40e140a7"}},{"ruleId":"D2","level":"warning","message":{"text":"TimePicker.GetDisplayTimeFormat (cognitive 30): TimePicker.GetDisplayTimeFormat 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":"src/WPFDevelopers.Shared/Controls/TimePicker/TimePicker.cs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d617e79cfbfaeb8f8c7ffb0abe83e571e9e3dff5fb7b864dfd055ff368d82d3"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkdownViewer.AddInlineTokens (cognitive 30): MarkdownViewer.AddInlineTokens 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":"src/WPFDevelopers.Shared/Controls/Markdown/MarkdownViewer.cs"},"region":{"startLine":662}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e01345754a8c9e5a6e1900e6dafeba1283be84bdafe351ddd59de35c06ad864"}},{"ruleId":"D2","level":"warning","message":{"text":"ThumbAdorner.GetResizeThumb (cognitive 29): ThumbAdorner.GetResizeThumb has cognitive complexity 29 (threshold 15). Most of this is not in the body itself: 2 of the 29 points are its own statements and the rest belongs to one function literal inside it that branches (line 332). 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":"src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ThumbAdorner.cs"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb15efe9e2844c5e6359d6e3612d5beea9d83c5f4d7c108335254e0511a25899"}},{"ruleId":"D2","level":"warning","message":{"text":"ThumbAdorner2.GetResizeThumb (cognitive 29): ThumbAdorner2.GetResizeThumb has cognitive complexity 29 (threshold 15). Most of this is not in the body itself: 2 of the 29 points are its own statements and the rest belongs to one function literal inside it that branches (line 324). 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":"src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ThumbAdorner2.cs"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"bef86327ab00f457b0f6f8a2b956d11185de82fb199084fceae79aac7be746da"}},{"ruleId":"D2","level":"warning","message":{"text":"TimelinePanel.MeasureOverride (cognitive 29): TimelinePanel.MeasureOverride 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":"src/WPFDevelopers.Shared/Controls/Timeline/TimelinePanel.cs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"694cad5cac544fa764a345bbeac31b8728dd3c718389745a77b2f7eab82abbca"}},{"ruleId":"D2","level":"warning","message":{"text":"CircleMenu.UpdateAllAnglesCore (cognitive 29): CircleMenu.UpdateAllAnglesCore 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":"src/WPFDevelopers.Shared/Controls/CircleMenu/CircleMenu.cs"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3f11e80e8d4af381c78809dc0c6a418fa44969bef4badf68ffc550d7db60281"}},{"ruleId":"D2","level":"warning","message":{"text":"CropAvatar.OnImage_MouseMove (cognitive 29): CropAvatar.OnImage_MouseMove has cognitive complexity 29 (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":"src/WPFDevelopers.Shared/Controls/CropAvatar/CropAvatar.cs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9709c17484195308bb087dc2ecd7c8c726fa5e258892699ce0125093cfea004"}},{"ruleId":"D2","level":"warning","message":{"text":"Loading.UnwrapElement (cognitive 29): Loading.UnwrapElement 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":"src/WPFDevelopers.Shared/Controls/Loading/Loading.cs"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc3341de3e0557893c614680172c6c2c50180cef27dec1581798d66779804064"}},{"ruleId":"D2","level":"warning","message":{"text":"PolylineHelper.PathMarch (cognitive 29): PolylineHelper.PathMarch 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":"src/WPFDevelopers.Shared/Microsoft.Expression.Drawing/Core/PolylineHelper.cs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"752d5ecdf812c7545c4ee4d5f56f7ce4713e5cf3bbaf8084d2ac9154c3c7391b"}},{"ruleId":"D2","level":"warning","message":{"text":"WindowChromeWorker._UpdateSystemMenu (cognitive 29): WindowChromeWorker._UpdateSystemMenu 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":"src/Microsoft.Windows.Shell/WindowChromeWorker.cs"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"df3c60ac403f83a0fb1d33f4a19243593afad9bdf73db868fb73db5242cdd2bd"}},{"ruleId":"D2","level":"warning","message":{"text":"MultiSelectComboBox.ApplySelectedItemsExt (cognitive 28): MultiSelectComboBox.ApplySelectedItemsExt 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":"src/WPFDevelopers.Shared/Controls/MultiSelectComboBox/MultiSelectComboBox.cs"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"36c5b1c4ee98046b2c1b7a89fb7abaa73043818866e96074e0a177447d86828a"}},{"ruleId":"D2","level":"warning","message":{"text":"ScreenCutAdorner.GetResizeThumb (cognitive 28): ScreenCutAdorner.GetResizeThumb has cognitive complexity 28 (threshold 15). Most of this is not in the body itself: 12 of the 28 points are its own statements and the rest belongs to one function literal inside it that branches (line 143). 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":"src/WPFDevelopers.Shared/Controls/ScreenCut/ScreenCutAdorner.cs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c9739c42522406a92e7a5bf9b466072657448fd4b551e00010b2dfc1d00c6cd"}},{"ruleId":"D2","level":"warning","message":{"text":"DrawingPanel.OnRenderBackground (cognitive 27): DrawingPanel.OnRenderBackground 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":"src/WPFDevelopers.Samples.Shared/Controls/Drawing/DrawingPanel.cs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc80d47da4d7ea7cce77c6677f1f1362cfd4f5fe6f2dee0f0a5fd85101ee9918"}},{"ruleId":"D2","level":"warning","message":{"text":"ElementAdorner.CreateThumb (cognitive 27): ElementAdorner.CreateThumb has cognitive complexity 27 (threshold 15). None of this is in the body itself: all 27 points belong to one function literal inside it that branches (line 168). 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":"src/WPFDevelopers.Samples.Shared/Controls/TransformLayout/ElementAdorner.cs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad34f2b92e63d0d9dd54734f367e83b74070de631a02720138be05674eed0cc4"}},{"ruleId":"D2","level":"warning","message":{"text":"CardCarousel.HandleSlideClick (cognitive 27): CardCarousel.HandleSlideClick 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":"src/WPFDevelopers.Shared/Controls/Carousel/CardCarousel.cs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8a9914aa68b59075b3591a29d721ad54aa7cd75b6656cdc914e753c0e6d06f4"}},{"ruleId":"D2","level":"warning","message":{"text":"MapTileLayer.UpdateViewport (cognitive 26): MapTileLayer.UpdateViewport 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":"src/WPFDevelopers.Shared/Controls/MapView/MapItemsLayer.cs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1ee225f35b8c93d4469a8b393555a874895d0549a752e3782154cf1d47910c5"}},{"ruleId":"D2","level":"warning","message":{"text":"Loading.CreateLoading (cognitive 26): Loading.CreateLoading 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":"src/WPFDevelopers.Shared/Controls/Loading/Loading.cs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"586c57d64ebf0bc16bcfec3691832a1b20b26059e7a30aedb8393fbbf925f9fc"}},{"ruleId":"D2","level":"warning","message":{"text":"MapView.GetActivePushpinEntriesSnapshot (cognitive 26): MapView.GetActivePushpinEntriesSnapshot 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":"src/WPFDevelopers.Shared/Controls/MapView/MapView.cs"},"region":{"startLine":2834}}}],"partialFingerprints":{"codehealthFindingId/v1":"017aee7f807c4dc66ad7d1fb576136e18f4e260a8589355794f6351a5dd27529"}},{"ruleId":"D2","level":"warning","message":{"text":"MultiSelectionSearchComboBox.OnListBox_SelectionChanged (cognitive 25): MultiSelectionSearchComboBox.OnListBox_SelectionChanged 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":"src/WPFDevelopers.Samples.Shared/Controls/MultiSelectionSearchComboBox/MultiSelectSearchComboBox.cs"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"99a3c2c796639a2902e56129685826af91c05961b93250b7985a56e4e22bc041"}},{"ruleId":"D2","level":"warning","message":{"text":"FilterEngine.UpdateObjectView (cognitive 24): FilterEngine.UpdateObjectView 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":"src/WPFDevelopers.Shared/Controls/Filter/FilterEngine.cs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"4365d779b14f580612b49f7bb6cab7ae342c250a31a0e02b88282f688c0fdce5"}},{"ruleId":"D2","level":"warning","message":{"text":"NumericBox.ContinueChangeValue (cognitive 24): NumericBox.ContinueChangeValue 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":"src/WPFDevelopers.Shared/Controls/NumericBox/NumericBox.cs"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ae1820364a72e5db8f36e61ec990eadfcf6f9752d3653fcf6ce055903369d73"}},{"ruleId":"D2","level":"warning","message":{"text":"ScreenCut.MoveRect (cognitive 24): ScreenCut.MoveRect 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":"src/WPFDevelopers.Shared/Controls/ScreenCut/ScreenCut.cs"},"region":{"startLine":1440}}}],"partialFingerprints":{"codehealthFindingId/v1":"56d7b44a4e3fa5b442754dc397232830991e5866af01600addb61e10f19283a7"}},{"ruleId":"D2","level":"warning","message":{"text":"AbbreviatedGeometryParser.ReadDouble (cognitive 24): AbbreviatedGeometryParser.ReadDouble 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":"src/WPFDevelopers.Shared/Microsoft.Expression.Drawing/Core/PathGeometryHelper.cs"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"99345c54c863cb12477b6132947ed04a76c89e8c3ff68f27b19a90fc96c0988c"}},{"ruleId":"D2","level":"warning","message":{"text":"EmojiHelper.ProcessInlines (cognitive 23): EmojiHelper.ProcessInlines 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":"src/WPFDevelopers.Samples.Shared/Controls/ChatEmoji/EmojiHelper.cs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ea9f9b774037cb605d994558b5452aa9f26adf0e37957acc74f6633fa584b13"}},{"ruleId":"D2","level":"warning","message":{"text":"MultiSelectionSearchComboBox.OnListBoxSearch_SelectionChanged (cognitive 23): MultiSelectionSearchComboBox.OnListBoxSearch_SelectionChanged 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":"src/WPFDevelopers.Samples.Shared/Controls/MultiSelectionSearchComboBox/MultiSelectSearchComboBox.cs"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b7ab22e8e41430d32931830f89ff7f0584db15f40130091e1d8b0cf0cdacc7d"}},{"ruleId":"D2","level":"warning","message":{"text":"DateRangePicker.UpdateEndDateFromTextBox (cognitive 23): DateRangePicker.UpdateEndDateFromTextBox 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. This shape REPEATS in the file: one other method here (DateRangePicker.UpdateStartDateFromTextBox) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/DateRangePicker/DateRangePicker.cs"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a9df31c74b133907a654e3ecbbdbc16b48b5f02f5e143a159cef58c75508f88"}},{"ruleId":"D2","level":"warning","message":{"text":"DateRangePicker.UpdateStartDateFromTextBox (cognitive 23): DateRangePicker.UpdateStartDateFromTextBox 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. This shape REPEATS in the file: one other method here (DateRangePicker.UpdateEndDateFromTextBox) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/DateRangePicker/DateRangePicker.cs"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"33ca10a075cf409c933237ec29be060a99a33625bb5d2904bfa42d90332337fb"}},{"ruleId":"D2","level":"warning","message":{"text":"MapView.TryGetPolylineHit (cognitive 23): MapView.TryGetPolylineHit 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":"src/WPFDevelopers.Shared/Controls/MapView/MapView.cs"},"region":{"startLine":3150}}}],"partialFingerprints":{"codehealthFindingId/v1":"b81d7c44048ad44bf10dffa319c83bb20168a886f0f1695aed54fd1821271877"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkdownViewer.ClassifyCodeToken (cognitive 23): MarkdownViewer.ClassifyCodeToken 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":"src/WPFDevelopers.Shared/Controls/Markdown/MarkdownViewer.cs"},"region":{"startLine":901}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a7d18c7339c1e423c20bfc6c967d92345ae458b56df1d0521adf96e3e583db2"}},{"ruleId":"D2","level":"warning","message":{"text":"MultiSelectComboBox.OnDataGridSearch_SelectionChanged (cognitive 23): MultiSelectComboBox.OnDataGridSearch_SelectionChanged 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":"src/WPFDevelopers.Shared/Controls/MultiSelectComboBox/MultiSelectComboBox.cs"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"dec3022d68bc6a65426a47cc75926cc77d2a941cd8aea57de6bb4fd280d32fee"}},{"ruleId":"D2","level":"warning","message":{"text":"VirtualizingWrapPanel.MeasureOverride (cognitive 23): VirtualizingWrapPanel.MeasureOverride 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":"src/WPFDevelopers.Shared/Controls/VirtualizingWrapPanel/VirtualizingWrapPanel.cs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"fafc1e59592f21b625c0a7d354bfa7861d8be6d84d4f0f0806c87a1c0aa24596"}},{"ruleId":"D2","level":"warning","message":{"text":"Resources.UpdateResourceDictionaryColor (cognitive 23): Resources.UpdateResourceDictionaryColor 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":"src/WPFDevelopers.Shared/Resources.cs"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"be95c45012f4e2e708f1b4e308c1d82df933da815271266a7c21e16ef1b7be99"}},{"ruleId":"D2","level":"warning","message":{"text":"BubbleCanvas.ArrangeOverride (cognitive 22): BubbleCanvas.ArrangeOverride 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":"src/WPFDevelopers.Samples.Shared/Controls/BubbleSelection/BubbleCanvas.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae073226b0d3d92198f4cf623d163b05738190bb63dbbf4f1dde04f083197bd7"}},{"ruleId":"D2","level":"warning","message":{"text":"OtpBox.TextBox_PreviewKeyDown (cognitive 22): OtpBox.TextBox_PreviewKeyDown 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":"src/WPFDevelopers.Shared/Controls/OtpBox/OtpBox.cs"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"b930ca92b77f2c2f5fb1f534ffcc66c5d68c4d303c7b5850c03c288c3d1aea5c"}},{"ruleId":"D2","level":"warning","message":{"text":"SplitButton.BuildContextMenu (cognitive 22): SplitButton.BuildContextMenu 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":"src/WPFDevelopers.Shared/Controls/SplitButton/SplitButton.cs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"16bbd179ae04f2d79f44f391e14c07f61d5d4f68ff1e30f1c1063de6b5689917"}},{"ruleId":"D2","level":"warning","message":{"text":"FocusCarousel.OnItems_CollectionChanged (cognitive 22): FocusCarousel.OnItems_CollectionChanged 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":"src/WPFDevelopers.Shared/Controls/Carousel/FocusCarousel.cs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"71cab73567309c5a085a8c67513db94d53c5d860b3176fe3032b7bab29018502"}},{"ruleId":"D2","level":"warning","message":{"text":"MapView.TryStartTileDownloads (cognitive 22): MapView.TryStartTileDownloads has cognitive complexity 22 (threshold 15). Most of this is not in the body itself: 6 of the 22 points are its own statements and the rest belongs to one function literal inside it that branches (line 3965). 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":"src/WPFDevelopers.Shared/Controls/MapView/MapView.cs"},"region":{"startLine":3945}}}],"partialFingerprints":{"codehealthFindingId/v1":"73ed65cbcaa16684c347bbc06000f9926dc56dbc817e6745e563ca2f1d81b26e"}},{"ruleId":"D2","level":"warning","message":{"text":"PathPanel.ArrangeOverride (cognitive 22): PathPanel.ArrangeOverride 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":"src/WPFDevelopers.Shared/Microsoft.Expression.Controls/PathPanel.cs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef934a7ac6636714fa6b653c66a95d33171d9170c2bcd7fc20d2c8ed5d29b792"}},{"ruleId":"D2","level":"warning","message":{"text":"MapTileLayer.TryGetBestAvailableTile (cognitive 21): MapTileLayer.TryGetBestAvailableTile has cognitive complexity 21 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/MapView/MapItemsLayer.cs"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"5505e9b36215f1c2a4ab302f7a8f81c39d063d106af709af37767ee13f8a7208"}},{"ruleId":"D2","level":"warning","message":{"text":"ToastExt.GetTargetArea (cognitive 21): ToastExt.GetTargetArea has cognitive complexity 21 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/Toast/ToastExt.cs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcd761b513268ea13f7396b4421cf653592973bb4aab985da5a09c449d55aca2"}},{"ruleId":"D2","level":"warning","message":{"text":"MapView.TryGetPolygonHit (cognitive 21): MapView.TryGetPolygonHit has cognitive complexity 21 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/MapView/MapView.cs"},"region":{"startLine":3236}}}],"partialFingerprints":{"codehealthFindingId/v1":"858076932eb9a3f7ab60d6087d8a89fb76087ed1b7868b30f600568afe45036a"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkdownViewer.ClassifyMarkupToken (cognitive 21): MarkdownViewer.ClassifyMarkupToken has cognitive complexity 21 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/Markdown/MarkdownViewer.cs"},"region":{"startLine":952}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cc4ad935b266ef2287cfaf06707172918a9e505ab6d10307447a03852579847"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkdownViewer.ParseInlines (cognitive 21): MarkdownViewer.ParseInlines has cognitive complexity 21 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/Markdown/MarkdownViewer.cs"},"region":{"startLine":1422}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff2d40c03f518c622437019bb2efd25380f6cf3f7e0fafdaab5a706eb29571dd"}},{"ruleId":"D2","level":"warning","message":{"text":"ScreenCut.DrawText (cognitive 21): ScreenCut.DrawText 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 2 function literals inside it that branch (lines 828, 841). 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":"src/WPFDevelopers.Shared/Controls/ScreenCut/ScreenCut.cs"},"region":{"startLine":793}}}],"partialFingerprints":{"codehealthFindingId/v1":"b95a7940819a3629dfae91c3da011f47e5b95cea327737df1b851b7aba8ade74"}},{"ruleId":"D2","level":"warning","message":{"text":"WindowAcrylicBlur.OnWindowAcryBlurPropertyChangedCallBack (cognitive 21): WindowAcrylicBlur.OnWindowAcryBlurPropertyChangedCallBack 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":"src/WPFDevelopers.Shared/Controls/Windows/WindowAcrylicBlur.cs"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e15705cf988023d33e5d66dbb56dc32f2bc02206f5992faa6ac86929df68c6b"}},{"ruleId":"D2","level":"warning","message":{"text":"CountdownTimer.OnApplyTemplate (cognitive 20): CountdownTimer.OnApplyTemplate has cognitive complexity 20 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/Controls/CountdownTimer/CountdownTimer.cs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f9e804aaecdcca500998b91f4f2bd3bb732e992117ed7f9c16d1f011b49e345"}},{"ruleId":"D2","level":"warning","message":{"text":"WaterfallPanel.BuildItemLayouts (cognitive 20): WaterfallPanel.BuildItemLayouts has cognitive complexity 20 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/WaterfallPanel/WaterfallPanel.Virtualization.cs"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"920a625acafe2e5db7c1d90f0ce5e0369e69e6cfcf1feae894b22e622efdf25d"}},{"ruleId":"D2","level":"warning","message":{"text":"FocusCarousel.OnSizeChangedCallback (cognitive 20): FocusCarousel.OnSizeChangedCallback has cognitive complexity 20 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/Carousel/FocusCarousel.cs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"c99927bbb28dbadef2f3c68ffee72c9da8542c3c11ed8ab6388f46afc6da98cb"}},{"ruleId":"D2","level":"warning","message":{"text":"MapView.OnMouseUp (cognitive 20): MapView.OnMouseUp has cognitive complexity 20 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/MapView/MapView.cs"},"region":{"startLine":1219}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0cd5e67b98b94fe5458cd864c0b786d6e322d4bb7a0dd3ef5540ed716edc17a"}},{"ruleId":"D2","level":"warning","message":{"text":"MapView.PushpinLayers_CollectionChanged (cognitive 20): MapView.PushpinLayers_CollectionChanged has cognitive complexity 20 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/MapView/MapView.cs"},"region":{"startLine":1800}}}],"partialFingerprints":{"codehealthFindingId/v1":"35d37d47ea302d96cd26bb59d4bac004e5116c794d112e2723df796bb20911be"}},{"ruleId":"D2","level":"warning","message":{"text":"NotifyIcon.OpenMenu (cognitive 20): NotifyIcon.OpenMenu has cognitive complexity 20 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/NotifyIcon/NotifyIcon.cs"},"region":{"startLine":800}}}],"partialFingerprints":{"codehealthFindingId/v1":"2240402e09d5caeefe0012621a993c64ac5cd29f3db7a5566a3df4583b0e3bfd"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskbarItemInfo._UpdateThumbButtons (cognitive 20): TaskbarItemInfo._UpdateThumbButtons has cognitive complexity 20 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Microsoft.Windows.Shell/TaskbarItemInfo.cs"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"82f0902a688aa332646bcefe4d489d2078ca1da3345ec8a64afbfa0a147297ae"}},{"ruleId":"D2","level":"warning","message":{"text":"DateRangePicker.HandleDateSelection (cognitive 19): DateRangePicker.HandleDateSelection 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":"src/WPFDevelopers.Shared/Controls/DateRangePicker/DateRangePicker.cs"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"74b59a42e7af4bdace868cc86e4b84f915b13e3eefd77a0ba1db7d91667b841e"}},{"ruleId":"D2","level":"warning","message":{"text":"MapShapeLayer.UpdateShapes (cognitive 19): MapShapeLayer.UpdateShapes 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":"src/WPFDevelopers.Shared/Controls/MapView/MapItemsLayer.cs"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"42effb4fa3e557d085b638690729c8c56676d8f7da0cb16625e57abfbc0fc673"}},{"ruleId":"D2","level":"warning","message":{"text":"BackToTopState.UpdateButton (cognitive 19): BackToTopState.UpdateButton 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/ScrollViewer/ScrollViewerBehavior.cs"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2ac797e35a5bfb46a7a9db7aee5d23c019dc3a84f9876f539c703dd11b7488e"}},{"ruleId":"D2","level":"warning","message":{"text":"CircleMenu.GetVisibleBoundsInSelf (cognitive 19): CircleMenu.GetVisibleBoundsInSelf has cognitive complexity 19 (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":"src/WPFDevelopers.Shared/Controls/CircleMenu/CircleMenu.cs"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"f382b70c025c6fbc42f65e6716a68fd7219bfd861021ab8333cc907fe686faf0"}},{"ruleId":"D2","level":"warning","message":{"text":"ScreenCut.Dispose (cognitive 19): ScreenCut.Dispose 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":"src/WPFDevelopers.Shared/Controls/ScreenCut/ScreenCut.cs"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3bd3009d4bd291270fa45973ef62d2e279731d357d5035a518ed837a4fd81ab"}},{"ruleId":"D2","level":"warning","message":{"text":"BezierCurveFlattener.FlattenCubic (cognitive 19): BezierCurveFlattener.FlattenCubic 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":"src/WPFDevelopers.Shared/Microsoft.Expression.Drawing/Core/BezierCurveFlattener.cs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dd91a8e1073f1d42669d8471fcf221a9e53713d5871cc2e01248b26bf886471"}},{"ruleId":"D2","level":"warning","message":{"text":"GeometryHelper.PathSegmentEquals (cognitive 19): GeometryHelper.PathSegmentEquals 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":"src/WPFDevelopers.Shared/Microsoft.Expression.Drawing/Core/GeometryHelper.cs"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f012f45ca0593a83663eedd82057f6ec462e76ed2c5b9fc1a2dc0fa4f9c717c"}},{"ruleId":"D2","level":"warning","message":{"text":"AbbreviatedGeometryParser.SkipWhitespace (cognitive 19): AbbreviatedGeometryParser.SkipWhitespace 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":"src/WPFDevelopers.Shared/Microsoft.Expression.Drawing/Core/PathGeometryHelper.cs"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"f94529195cb5c1e296d1981e225bbc632143529322c204330f60da74ebe2a527"}},{"ruleId":"D2","level":"warning","message":{"text":"JumpList.AddCategory (cognitive 19): JumpList.AddCategory 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":"src/Microsoft.Windows.Shell/JumpList.cs"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"bed0985a075bc505947f03e7718ec041c2218ebd976f2104840f4f1657c4ae9d"}},{"ruleId":"D2","level":"warning","message":{"text":"ChartPie.OnRender (cognitive 18): ChartPie.OnRender 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":"src/WPFDevelopers.Shared/Controls/Charts/ChartPie.cs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"db96a847a5c48f5b4047e1682b66e21f7f66c75753df1c20d1d7159f26867e78"}},{"ruleId":"D2","level":"warning","message":{"text":"TimelinePanel.OnRender (cognitive 18): TimelinePanel.OnRender 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":"src/WPFDevelopers.Shared/Controls/Timeline/TimelinePanel.cs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc6013d9a81633d33d69201b92997278ec0c3e6b0f5d0d4375ac81151dfbe24c"}},{"ruleId":"D2","level":"warning","message":{"text":"CropImage.DrawImage (cognitive 18): CropImage.DrawImage 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":"src/WPFDevelopers.Shared/Controls/CropImage/CropImage.cs"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"33815f99367a9ebf3aedcd8ab5e263608adee57a1e5d14b070df86c5477d5c40"}},{"ruleId":"D2","level":"warning","message":{"text":"CropAvatar.Dispose (cognitive 18): CropAvatar.Dispose 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":"src/WPFDevelopers.Shared/Controls/CropAvatar/CropAvatar.cs"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"97b11d05218b20f7015079e812dcac5c245e245a712fd7df24397391e279a4ae"}},{"ruleId":"D2","level":"warning","message":{"text":"MapView.Polylines_CollectionChanged (cognitive 18): MapView.Polylines_CollectionChanged 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. This shape REPEATS in the file: one other method here (MapView.Polygons_CollectionChanged) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/MapView/MapView.cs"},"region":{"startLine":1877}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fefeb2eb0db53c319ec4e5b952dc5e80adb4f817eb44ad34e2b1301c1ed0a07"}},{"ruleId":"D2","level":"warning","message":{"text":"MapView.Polygons_CollectionChanged (cognitive 18): MapView.Polygons_CollectionChanged 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. This shape REPEATS in the file: one other method here (MapView.Polylines_CollectionChanged) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/MapView/MapView.cs"},"region":{"startLine":1922}}}],"partialFingerprints":{"codehealthFindingId/v1":"7363b71c2a0d3ee363c9ec2f0ad1a5246ab991e0a88623024929707b0db97301"}},{"ruleId":"D2","level":"warning","message":{"text":"ScreenCut.OnPreviewMouseLeftButtonDown (cognitive 18): ScreenCut.OnPreviewMouseLeftButtonDown 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":"src/WPFDevelopers.Shared/Controls/ScreenCut/ScreenCut.cs"},"region":{"startLine":740}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbc028a7445a643875d4b29a2ce41eb390ac57222f637f64b3d34e433c892900"}},{"ruleId":"D2","level":"warning","message":{"text":"JumpList.ListContainsShellObject (cognitive 18): JumpList.ListContainsShellObject 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":"src/Microsoft.Windows.Shell/JumpList.cs"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6c777e051632a7d22503f022277c468ffb56c7a9a49ee53cf7b527ff7ac4e33"}},{"ruleId":"D2","level":"warning","message":{"text":"WaterfallPanel.MeasureVirtualized (cognitive 17): WaterfallPanel.MeasureVirtualized 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":"src/WPFDevelopers.Shared/Controls/WaterfallPanel/WaterfallPanel.Virtualization.cs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"69e4018f2d41ce718d4a501cea23e792607b48c140219b237ee5555c104cd69d"}},{"ruleId":"D2","level":"warning","message":{"text":"TimePicker.OnSelectedTimeChanged (cognitive 17): TimePicker.OnSelectedTimeChanged 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":"src/WPFDevelopers.Shared/Controls/TimePicker/TimePicker.cs"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"97cba9067f24cbd8ff70d67108d3af536183c6b46028f8afb69da5d1d083fcd9"}},{"ruleId":"D2","level":"warning","message":{"text":"TimeSelector.OnApplyTemplate (cognitive 17): TimeSelector.OnApplyTemplate 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":"src/WPFDevelopers.Shared/Controls/TimePicker/TimeSelector.cs"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"6607f6b0e2effbb8adcc7dde02cd827d2e1f9dfe5fded6365807b93b88631703"}},{"ruleId":"D2","level":"warning","message":{"text":"MapView.GetPushpinAt (cognitive 17): MapView.GetPushpinAt 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":"src/WPFDevelopers.Shared/Controls/MapView/MapView.cs"},"region":{"startLine":2978}}}],"partialFingerprints":{"codehealthFindingId/v1":"15fef23a8b71f172e233d9d2cd78c77ca36d91e32397a700a179678b68348128"}},{"ruleId":"D2","level":"warning","message":{"text":"MapView.CreateFeatureClickEventArgs (cognitive 17): MapView.CreateFeatureClickEventArgs 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":"src/WPFDevelopers.Shared/Controls/MapView/MapView.cs"},"region":{"startLine":3053}}}],"partialFingerprints":{"codehealthFindingId/v1":"efbf16ca32bcd3aa4e4b3ab049e54a906b9fc3123883d8cb20b12421ca65979d"}},{"ruleId":"D2","level":"warning","message":{"text":"MapView.DrawScaleBar (cognitive 17): MapView.DrawScaleBar 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":"src/WPFDevelopers.Shared/Controls/MapView/MapView.cs"},"region":{"startLine":4071}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1d991ead3dd335c89c4c87436752187e63974ed024ad26f91aebe3675f2490b"}},{"ruleId":"D2","level":"warning","message":{"text":"StarrySky.AddOrRemoveStarLine (cognitive 17): StarrySky.AddOrRemoveStarLine 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":"src/WPFDevelopers.Shared/Controls/StarrySky/StarrySky.cs"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f199e17257216b39ec8eef642debf0763626d75393288745cb3b04480af3d00"}},{"ruleId":"D2","level":"warning","message":{"text":"TransformExtensions.TransformEquals (cognitive 17): TransformExtensions.TransformEquals 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":"src/WPFDevelopers.Shared/Microsoft.Expression.Drawing/Core/TransformExtensions.cs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ca5e738770f60e0d9f27eb57ae1fb2e366d4e46c473e9e28bfeecb5dc013889"}},{"ruleId":"D2","level":"warning","message":{"text":"ArcGeometrySource.ComputeAngleRanges (cognitive 17): ArcGeometrySource.ComputeAngleRanges 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":"src/WPFDevelopers.Shared/Microsoft.Expression.Drawing/Media/ArcGeometrySource.cs"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a04527c70724a112b1cffc8d72b63d3edf3cfad6da4e25edc2a09e93ae02fdc"}},{"ruleId":"D2","level":"warning","message":{"text":"Carousel.BuildSlides (cognitive 16): Carousel.BuildSlides 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":"src/WPFDevelopers.Shared/Controls/Carousel/Carousel.cs"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"531a90083d4119cf42bd5818ddffa3ca1c379ff0fa0e5900982d5ab849dac09e"}},{"ruleId":"D2","level":"warning","message":{"text":"Carousel.CreateSlideElement (cognitive 16): Carousel.CreateSlideElement 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":"src/WPFDevelopers.Shared/Controls/Carousel/Carousel.cs"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3b8b5d06da4573755f00b8302bc77c66ebfc5907a2f30522a14af7b36b61ff5"}},{"ruleId":"D2","level":"warning","message":{"text":"DateRangePicker.ResetDate (cognitive 16): DateRangePicker.ResetDate 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":"src/WPFDevelopers.Shared/Controls/DateRangePicker/DateRangePicker.cs"},"region":{"startLine":850}}}],"partialFingerprints":{"codehealthFindingId/v1":"071c395af027ef6be4f957e61a84e9b0830768ce0c89f959d5eb0ad19b46c522"}},{"ruleId":"D2","level":"warning","message":{"text":"GestureUnlock.TryAddPoint (cognitive 16): GestureUnlock.TryAddPoint 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":"src/WPFDevelopers.Shared/Controls/GestureUnlock/GestureUnlock.cs"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2e6cb2c88a41cc6f9020063774d4250214ef0e5c7eda7ce20a682e2ca76e0f1"}},{"ruleId":"D2","level":"warning","message":{"text":"SvgViewer.LoadAndRenderSvg (cognitive 16): SvgViewer.LoadAndRenderSvg 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":"src/WPFDevelopers.Shared/Controls/SvgViewer/SvgViewer.cs"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e25ac7e3dfc9742c4bfcbb4f50914a17f4e7e480ad89181dab83b678933ab35"}},{"ruleId":"D2","level":"warning","message":{"text":"TimePicker.ContainsFormatSpecifier (cognitive 16): TimePicker.ContainsFormatSpecifier 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":"src/WPFDevelopers.Shared/Controls/TimePicker/TimePicker.cs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"f861e5065630ecc01987a316e191cbb5a3aaeaa08a821620c59ee73f3fe8a24d"}},{"ruleId":"D2","level":"warning","message":{"text":"NumericBox.DealInputText (cognitive 16): NumericBox.DealInputText 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":"src/WPFDevelopers.Shared/Controls/NumericBox/NumericBox.cs"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8bfef6eb71c0a7d2b098a2bd91b3c4a329ddcdd14c91f6c921d041c2c1f588d"}},{"ruleId":"D2","level":"warning","message":{"text":"CardCarousel.PlayCarouselLeftToRight (cognitive 16): CardCarousel.PlayCarouselLeftToRight 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":"src/WPFDevelopers.Shared/Controls/Carousel/CardCarousel.cs"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9f3bad6227e532dc8ab930667b88bf92fcf227f04a7f66aaf20200dd106ef3b"}},{"ruleId":"D2","level":"warning","message":{"text":"CropAvatar.InitialImage (cognitive 16): CropAvatar.InitialImage 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":"src/WPFDevelopers.Shared/Controls/CropAvatar/CropAvatar.cs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"6251513e109d444fbd4ba1c94e90e97f3a0155fed26d3a51512b4e0675d2e3ad"}},{"ruleId":"D2","level":"warning","message":{"text":"MapView.QueueViewportTiles (cognitive 16): MapView.QueueViewportTiles 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":"src/WPFDevelopers.Shared/Controls/MapView/MapView.cs"},"region":{"startLine":3491}}}],"partialFingerprints":{"codehealthFindingId/v1":"c713f3d3f406c609267b089b7cb622ab7fb488d25c9d14ee6dd30f0764c7a1eb"}},{"ruleId":"D2","level":"warning","message":{"text":"StarrySky.StarRoamAnimation (cognitive 16): StarrySky.StarRoamAnimation 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":"src/WPFDevelopers.Shared/Controls/StarrySky/StarrySky.cs"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"be3c15632ea438d29fa54e400c92811aa0ebc7116d4ff5066d2d309257a2b8c3"}},{"ruleId":"D2","level":"warning","message":{"text":"WindowAcrylicBlur.EnableAcrylicBlur (cognitive 16): WindowAcrylicBlur.EnableAcrylicBlur 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":"src/WPFDevelopers.Shared/Controls/Windows/WindowAcrylicBlur.cs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"89044544e2e2a76985159519b8ea6b0b0e4a4355557ff341e171fe239e19ee51"}},{"ruleId":"D2","level":"warning","message":{"text":"PathPanel.LayoutPropertyChanged (cognitive 16): PathPanel.LayoutPropertyChanged 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":"src/WPFDevelopers.Shared/Microsoft.Expression.Controls/PathPanel.cs"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca5516fdd97eb0ac7a536ce73f11980e8d612c0872bf96641772e8fff55a4012"}},{"ruleId":"D2","level":"warning","message":{"text":"GeometryHelper.GeometryEquals (cognitive 16): GeometryHelper.GeometryEquals 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":"src/WPFDevelopers.Shared/Microsoft.Expression.Drawing/Core/GeometryHelper.cs"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc1ff91d33b33cf45adcdd665cfd74498d6d655be0f6e7095af287941f988fc6"}},{"ruleId":"D2","level":"warning","message":{"text":"JumpList.CreateLinkFromJumpTask (cognitive 16): JumpList.CreateLinkFromJumpTask 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":"src/Microsoft.Windows.Shell/JumpList.cs"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"72d42d7ec7cd602bd99eefac698c5dbd296b377e902f8d18597e332247ecac34"}},{"ruleId":"D2","level":"warning","message":{"text":"HRESULT.ToString (cognitive 16): HRESULT.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":"src/Microsoft.Windows.Shell/Standard/HRESULT.cs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f0f861209cfdf05b1dd3d47e5ec2afbdb276594a20d6366611116ae38903e64"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: MapView/MapView.cs: FileTooLong \u2014 2462 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1962 over it, 4.92\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/MapView/MapView.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddce58a0a46f694391db11d3c07397c8d16c5062e7b7914d501eaba25a929c38"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MapView: TooManyMethods \u2014 2437 significant lines (blank, comment-only and punctuation-only lines excluded), 146 methods. The bar is 30 methods; this is 116 over it, 4.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":"src/WPFDevelopers.Shared/Controls/MapView/MapView.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbd24ce5474c725dd6359e128785c15ad47a36d7efaaea10dee02076235b750a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: NativeMethods: TooManyMethods \u2014 562 significant lines (blank, comment-only and punctuation-only lines excluded), 136 methods. The bar is 30 methods; this is 106 over it, 4.53\u00D7 the bar. The type holds no instance state, so there is no shared data to group its members by. To reduce it, split it by area instead: give each cohesive family of members its own smaller type, so no one type has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Microsoft.Windows.Shell/Standard/NativeMethods.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"66fccbe0c88dc5a3be16cc7356efc736e17d17e29a8e6113a5de496b721f5cda"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MainVM.MenuItemSelection: MethodTooLong \u2014 MenuItemSelection runs 396 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 296 over it, 3.96\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":"src/WPFDevelopers.Samples.Shared/ViewModels/MainVM.cs"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"151978dff5b7a87aa83405adcef882e49d6b2f82172ef4b5335a53bb22ab617a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MainVM.GetMenuIconSource: MethodTooLong \u2014 GetMenuIconSource runs 262 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 162 over it, 2.62\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":"src/WPFDevelopers.Samples.Shared/ViewModels/MainVM.cs"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"308d678f3765febdfe058a12d7facc29d6394681463473d5bb351ab14655765d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MainVM: ClassTooLong \u2014 868 significant lines (blank, comment-only and punctuation-only lines excluded), 8 methods. The bar is 400 significant lines; this is 468 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":"src/WPFDevelopers.Samples.Shared/ViewModels/MainVM.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0e57de5c50cb9c47507be896ebdf41c95991889d2c36a602b60b112fe56c148"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ScreenCut/ScreenCut.cs: FileTooLong \u2014 1078 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 578 over it, 2.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":"src/WPFDevelopers.Shared/Controls/ScreenCut/ScreenCut.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae9b968c77f739b509ebb34e05a05e42556b91a2efd464be504e2d57ace86b43"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: GeometryHelper: TooManyMethods \u2014 264 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. The type holds no instance state, so there is no shared data to group its members by. To reduce it, split it by area instead: give each cohesive family of members its own smaller type, so no one type has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Microsoft.Expression.Drawing/Core/GeometryHelper.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c768bcc713ce9550d116dc705d27f6a44b205db3d9a6d4c6114c581bf25896a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Markdown/MarkdownViewer.cs: FileTooLong \u2014 1001 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 501 over it, 2.00\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/Markdown/MarkdownViewer.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5da83a464052abb0bf48f3bba17eef2a8352709352fe9ac5f7fb3c3c2fc7d17f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MarkdownViewer: TooManyMethods \u2014 953 significant lines (blank, comment-only and punctuation-only lines excluded), 60 methods. The bar is 30 methods; this is 30 over it, 2.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":"src/WPFDevelopers.Shared/Controls/Markdown/MarkdownViewer.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8145ed091490c831e69c279edfb053d0269de72e39fbf4a90748964a7f2e3d97"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FocusCarousel.FocusCarousel_MouseLeftButtonDown: MethodTooLong \u2014 FocusCarousel_MouseLeftButtonDown runs 193 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 93 over it, 1.93\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":"src/WPFDevelopers.Shared/Controls/Carousel/FocusCarousel.cs"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ed99529c1a7550e967e6e1ec5d121db777688711d38e848ac8bacf40444e949"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CardCarousel: ClassTooLong \u2014 765 significant lines (blank, comment-only and punctuation-only lines excluded), 27 methods. The bar is 400 significant lines; this is 365 over it, 1.91\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/Carousel/CardCarousel.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"76e674402c14e210f7f521bde79a6cf45dde0f08b4c330d40c755b466a3a19a8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CardCarousel.PlayCarouselWithIndexOutRange: MethodTooLong \u2014 PlayCarouselWithIndexOutRange runs 191 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 91 over it, 1.91\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":"src/WPFDevelopers.Shared/Controls/Carousel/CardCarousel.cs"},"region":{"startLine":1025}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba323c2376aa1f124f2086ef04f2e6e3b474c28bf26e54492a0e619768bc8fc9"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ScreenCut: TooManyMethods \u2014 1006 significant lines (blank, comment-only and punctuation-only lines excluded), 57 methods. The bar is 30 methods; this is 27 over it, 1.90\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/ScreenCut/ScreenCut.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcf8ab8cd67e202f30412c42f0df5ae24d4a9577535880e26a07ab14455a6a91"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DateRangePicker: TooManyMethods \u2014 622 significant lines (blank, comment-only and punctuation-only lines excluded), 54 methods. The bar is 30 methods; this is 24 over it, 1.80\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/DateRangePicker/DateRangePicker.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee3d79e1c06d1c1d3e6a0ec8ab84937216d53544a2064e897ec3083dc7702ce9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ViewModels/MainVM.cs: FileTooLong \u2014 891 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 391 over it, 1.78\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/ViewModels/MainVM.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"41a9ee2e9045af8c7afafa4e301f6b1299e6bbd01d26c3d52338ba688e3326fc"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CardCarousel.PlayCarouselLeftToRight: MethodTooLong \u2014 PlayCarouselLeftToRight runs 158 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 58 over it, 1.58\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":"src/WPFDevelopers.Shared/Controls/Carousel/CardCarousel.cs"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"f61705c1d2d77ceaffb1db734807fc5f8dc4a746f963b4ca89a9ae1c2eb46e63"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Carousel/CardCarousel.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":"src/WPFDevelopers.Shared/Controls/Carousel/CardCarousel.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2035f69666df920a7c7187dfcfe1dcd3cef8a3dc6b0fa4f3f2c1aea0d33aac8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: WaterfallPanel: TooManyMethods \u2014 572 significant lines (blank, comment-only and punctuation-only lines excluded), 47 methods, declared across 2 files: WaterfallPanel/WaterfallPanel.Virtualization.cs (39), WaterfallPanel/WaterfallPanel.cs (8). 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":"src/WPFDevelopers.Shared/Controls/WaterfallPanel/WaterfallPanel.Virtualization.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c695215c1793ae224578d932850e51375aea1aa56ed38130a157eb73a96030d8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CardCarousel.PlayCarouselRightToLeft: MethodTooLong \u2014 PlayCarouselRightToLeft runs 156 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 56 over it, 1.56\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":"src/WPFDevelopers.Shared/Controls/Carousel/CardCarousel.cs"},"region":{"startLine":735}}}],"partialFingerprints":{"codehealthFindingId/v1":"3faccf5e60226a0860516b2f2178a8106f131c1a347bfb19f83e303280cd175a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AbbreviatedGeometryParser.Parse: MethodTooLong \u2014 Parse 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":"src/WPFDevelopers.Shared/Microsoft.Expression.Drawing/Core/PathGeometryHelper.cs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"07919dedf6caeff7270e5cb83b17c31840eca3952b277c190a442552d60c2c40"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: WindowChromeWorker: TooManyMethods \u2014 468 significant lines (blank, comment-only and punctuation-only lines excluded), 45 methods. The bar is 30 methods; this is 15 over it, 1.50\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Microsoft.Windows.Shell/WindowChromeWorker.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bc23f479cc572260ebcad2db7b5cb2af585e7e1f63cb6ce73ee9f66b9a2d455"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Utility: TooManyMethods \u2014 421 significant lines (blank, comment-only and punctuation-only lines excluded), 45 methods. The bar is 30 methods; this is 15 over it, 1.50\u00D7 the bar. The type holds no instance state, so there is no shared data to group its members by. To reduce it, split it by area instead: give each cohesive family of members its own smaller type, so no one type has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Microsoft.Windows.Shell/Standard/Utility.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5f065810045ae5d04a4be6695f1a8503a85eceb9393aa352b3e56cc50dcf60d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MultiSelectComboBox: TooManyMethods \u2014 599 significant lines (blank, comment-only and punctuation-only lines excluded), 42 methods. The bar is 30 methods; this is 12 over it, 1.40\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/MultiSelectComboBox/MultiSelectComboBox.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fef8cd903872925a1030315df148a7b5088ba67023879fc708348b67d2cfd951"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: NumericBox: TooManyMethods \u2014 418 significant lines (blank, comment-only and punctuation-only lines excluded), 42 methods. The bar is 30 methods; this is 12 over it, 1.40\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/NumericBox/NumericBox.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e779f29e09e229ab9934cf273cff49d17a0b10853b26b33389484e29b00ae37"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: NotifyIcon: TooManyMethods \u2014 481 significant lines (blank, comment-only and punctuation-only lines excluded), 41 methods. The bar is 30 methods; this is 11 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":"src/WPFDevelopers.Shared/Controls/NotifyIcon/NotifyIcon.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"77ec3a61dee7c34723ad24c65920806cfbb1ce3eaecdafa16e87527a742640f0"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: BallLoading: ClassTooLong \u2014 537 significant lines (blank, comment-only and punctuation-only lines excluded), 22 methods. The bar is 400 significant lines; this is 137 over it, 1.34\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/Loadings/BallLoading.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2370e2c5d8562a84efb3c90a24d8c46875bfd298a58e69196b18aed71fe34b07"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BackToTopState: TooManyMethods \u2014 304 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":"src/WPFDevelopers.Shared/Controls/ScrollViewer/ScrollViewerBehavior.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0b98bb1b929740689241c912cd654099360c3186b2f65cd993d5ed617f35b8f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DatePickerHelper: TooManyMethods \u2014 256 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. The type holds no instance state, so there is no shared data to group its members by. To reduce it, split it by area instead: give each cohesive family of members its own smaller type, so no one type has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Core/Helpers/DatePickerHelper.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5de4b9dcb626f553e2446e259cad77403115e71aedf33ae0e5a2250e7b374792"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LineChartExample.UserControl_Loaded: MethodTooLong \u2014 UserControl_Loaded 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":"src/WPFDevelopers.Samples.Shared/ExampleViews/LineChartExample.xaml.cs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"e71cdf9876de6c0c85af1e87294efe3b8d8daabfd7ded75adafb79d6e2696aa1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BallLoading.LoadAnimationBall1Rotate: MethodTooLong \u2014 LoadAnimationBall1Rotate 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":"src/WPFDevelopers.Shared/Controls/Loadings/BallLoading.cs"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"760cfd299f8ae001e99ec47bb6d2de907587dbb868954edf433a186ec647292b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: DateRangePicker/DateRangePicker.cs: FileTooLong \u2014 632 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 132 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":"src/WPFDevelopers.Shared/Controls/DateRangePicker/DateRangePicker.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"45b9e7ae14075ddfb30949d1bc0326befd8a872bab9f0394ce72f5ed44f946d0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BallLoading.LoadAnimationBall1RotateBack: MethodTooLong \u2014 LoadAnimationBall1RotateBack runs 126 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 26 over it, 1.26\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":"src/WPFDevelopers.Shared/Controls/Loadings/BallLoading.cs"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"e82b7cbdd75f7999ab09b49a5c128e4878cfc8e268871cdf2fb197dd0f5fdec8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MarkdownViewer.ParseMarkdown: MethodTooLong \u2014 ParseMarkdown runs 126 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 26 over it, 1.26\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":"src/WPFDevelopers.Shared/Controls/Markdown/MarkdownViewer.cs"},"region":{"startLine":1154}}}],"partialFingerprints":{"codehealthFindingId/v1":"a22f1fc49dd82bcf73df1eb274cd25e3b51a87e90520685c3df2d4d2b859ed31"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: MultiSelectComboBox/MultiSelectComboBox.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":"src/WPFDevelopers.Shared/Controls/MultiSelectComboBox/MultiSelectComboBox.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"af94922977cfc4240833641481523650174fcffcaa0814ea2b39eaee62852f2c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FocusCarousel.OnSizeChangedCallback: MethodTooLong \u2014 OnSizeChangedCallback 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":"src/WPFDevelopers.Shared/Controls/Carousel/FocusCarousel.cs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2ba23b161cf128df7b7e80b55e409a90fbeb929ed229e8a8b889f2009bd6535"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Standard/NativeMethods.cs: FileTooLong \u2014 570 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 70 over it, 1.14\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Microsoft.Windows.Shell/Standard/NativeMethods.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fa1637eacdaf019b7a4b162234140c81b8f4f1335dadd3b886f8506f969de60"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CountdownTimer.OnApplyTemplate: MethodTooLong \u2014 OnApplyTemplate 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":"src/WPFDevelopers.Samples.Shared/Controls/CountdownTimer/CountdownTimer.cs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"024f1b92adf999c98bda74eeb35f131e5a95f725809b4cc4d18783a097497cc7"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Window: TooManyMethods \u2014 295 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":"src/WPFDevelopers.Net45x/Window.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"713f25d2c07249221383102993caecad8a0fdd53b0f55a3a467c111cee1f219a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: VirtualizingWrapPanel: TooManyMethods \u2014 224 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":"src/WPFDevelopers.Shared/Controls/VirtualizingWrapPanel/VirtualizingWrapPanel.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"281edc71a17a19cc2c36a0f448f56c1c987acc3a2ce26387801fa945e3c97c35"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DrawingPanel: ClassTooLong \u2014 439 significant lines (blank, comment-only and punctuation-only lines excluded), 17 methods. The bar is 400 significant lines; this is 39 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":"src/WPFDevelopers.Samples.Shared/Controls/Drawing/DrawingPanel.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c1a4e50e7fbec3d3b47f02df58296c69ae30ba4f8e190a3a5f03b7af92a1abb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Loadings/BallLoading.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":"src/WPFDevelopers.Shared/Controls/Loadings/BallLoading.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"781f9b28e93b40ffa1ff0036f81146f2be0a02c6ce741702cf3c2816b224f843"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: FocusCarousel: ClassTooLong \u2014 435 significant lines (blank, comment-only and punctuation-only lines excluded), 19 methods. The bar is 400 significant lines; this is 35 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":"src/WPFDevelopers.Shared/Controls/Carousel/FocusCarousel.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1736a7ce0cf1506fcbcb26cd963ad183b3605893c319cd4eb3823d7b03e56333"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Window: TooManyMethods \u2014 286 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":"src/WPFDevelopers.Net40/Window.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d41ac136b92fcf8800d17d8932bb42fe8fac7392d8ce184511b9c2144d59db2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Loading.WrapElement: MethodTooLong \u2014 WrapElement 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":"src/WPFDevelopers.Shared/Controls/Loading/Loading.cs"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9634c71eb149c571d3cb20efa875fbdbcecd44d8cec18e5953a74f5882c5136"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: NotifyIcon/NotifyIcon.cs: FileTooLong \u2014 509 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 9 over it, 1.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":"src/WPFDevelopers.Shared/Controls/NotifyIcon/NotifyIcon.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3ccfa87ed74181d893fe0255c843968e99693c6b1bce50a2f950e30e345f428"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (3 members, 7 shared lines): src/WPFDevelopers.Samples.Shared/ExampleViews/UsageColor.xaml.cs:140-153 | src/WPFDevelopers.Samples.Shared/ExampleViews/UsageColor.xaml.cs:156-169 | src/WPFDevelopers.Samples.Shared/ExampleViews/UsageColor.xaml.cs:172-185 \u2014 These 3 members are variants of one another: a block of 7 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 3 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 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/ExampleViews/UsageColor.xaml.cs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"107f3e96e7e658d1ed0036d144458a515b9d68f4b75b695cb3bea34759f0a00a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): src/WPFDevelopers.Shared/Controls/MapView/MapCoordinateHelper.cs:151-157 | src/WPFDevelopers.Shared/Controls/MapView/MapCoordinateHelper.cs:160-166 \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":"src/WPFDevelopers.Shared/Controls/MapView/MapCoordinateHelper.cs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6530ed8dd83a48d3c13f75e73817533b6f2ed0930fdd28258b575f0ef57f844"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): src/WPFDevelopers.Shared/Controls/MapView/MapCoordinateHelper.cs:113-129 | src/WPFDevelopers.Shared/Controls/MapView/MapCoordinateHelper.cs:132-148 \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":"src/WPFDevelopers.Shared/Controls/MapView/MapCoordinateHelper.cs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2950c95855b85b65e1e355a9a60fd4e7ed4e5618cadf55a1703bbf1fd176818"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): src/WPFDevelopers.Samples.Shared/Controls/TransformLayout/ElementAdorner.cs:75-95 | src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ElementAdorner.cs:51-71 | src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ThumbAdorner.cs:63-90 | src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ThumbAdorner.cs:277-294 | src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ThumbAdorner2.cs:219-249 | src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ThumbAdorner2.cs:279-296 \u2014 These 6 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 6 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 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/Controls/TransformLayout/ElementAdorner.cs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"48f4e7ebe71f3dd83e7127ee872c6a4ec16fc86397c1df5130fae863aaa61c1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): src/WPFDevelopers.Samples.Shared/Controls/TransformLayout/ElementAdorner.cs:328-351 | src/WPFDevelopers.Samples.Shared/Controls/TransformLayout/ThumbAngle.cs:72-97 | src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ElementAdorner.cs:275-300 | src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ThumbAdorner.cs:221-246 | src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ThumbAdorner2.cs:97-122 | src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ThumbAngle.cs:72-97 \u2014 These 6 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 6 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 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/Controls/TransformLayout/ElementAdorner.cs"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb15fa3aa62f1ca8bec5a0694a02096367024f8dc3856971a9c7aad516d9f514"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): src/WPFDevelopers.Samples.Shared/Controls/TransformLayout/ThumbAngle.cs:57-69 | src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ElementAdorner.cs:260-272 | src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ThumbAdorner.cs:206-218 | src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ThumbAdorner2.cs:82-94 | src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ThumbAngle.cs:57-69 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/Controls/TransformLayout/ThumbAngle.cs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"94cfea3df9ecf6d960c8adbd2043e1fcf766aea75ba82e5662dad6bee2c36ebd"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): src/WPFDevelopers.Shared/Controls/MapView/MapView.cs:2938-2976 | src/WPFDevelopers.Shared/Controls/MapView/MapView.cs:3151-3234 | src/WPFDevelopers.Shared/Controls/MapView/MapView.cs:3237-3306 | src/WPFDevelopers.Shared/Controls/MapView/MapView.cs:3309-3357 | src/WPFDevelopers.Shared/Controls/MapView/MapView.cs:3360-3420 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/MapView/MapView.cs"},"region":{"startLine":2938}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3420cb5b165b9e8c7197064529a4eea0d4432564ca3938e8a9d0f574a6485da"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/WPFDevelopers.Samples.Shared/Controls/Drawing/DrawingPanel.cs:331-371 | src/WPFDevelopers.Samples.Shared/Controls/Drawing/DrawingPanel.cs:374-415 | src/WPFDevelopers.Samples.Shared/Controls/Drawing/DrawingPanel.cs:418-458 | src/WPFDevelopers.Samples.Shared/Controls/Drawing/DrawingPanel.cs:461-502 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/Controls/Drawing/DrawingPanel.cs"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b8319852f3be516e14b5fa099a93b7d5f270021f59be54d56a3bbe7f926b65e"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/WPFDevelopers.Samples.Shared/Controls/Drawing/DrawingPanel.cs:596-627 | src/WPFDevelopers.Samples.Shared/Controls/Drawing/DrawingPanel.cs:631-663 | src/WPFDevelopers.Samples.Shared/Controls/Drawing/DrawingPanel.cs:667-698 | src/WPFDevelopers.Samples.Shared/Controls/Drawing/DrawingPanel.cs:702-733 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/Controls/Drawing/DrawingPanel.cs"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"9801079cb8bdc2cf95643cded5d520d444b0c2b85303f728ef7879cc307c18b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/WPFDevelopers.Samples.Shared/Controls/MultiSelectionSearchComboBox/MultiSelectSearchComboBox.cs:320-336 | src/WPFDevelopers.Samples.Shared/Controls/MultiSelectionSearchComboBox/MultiSelectSearchComboBox.cs:467-496 | src/WPFDevelopers.Shared/Controls/MultiSelectComboBox/MultiSelectComboBox.cs:643-659 | src/WPFDevelopers.Shared/Controls/MultiSelectComboBox/MultiSelectComboBox.cs:753-782 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/Controls/MultiSelectionSearchComboBox/MultiSelectSearchComboBox.cs"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae8bfa260e19e0d8f35396e17362d0bd35d86d7b1526d04d9e2010183b68ec88"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/WPFDevelopers.Samples.Shared/Controls/TransformLayout/ElementAdorner.cs:98-132 | src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ElementAdorner.cs:74-108 | src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ThumbAdorner.cs:94-129 | src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ThumbAdorner2.cs:149-184 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/Controls/TransformLayout/ElementAdorner.cs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"7891f61758b711c08bb9d60f4802f99f57d094b7c953c92386b2c22caddb0418"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/WPFDevelopers.Samples.Shared/Controls/TransformLayout/ElementAdorner.cs:252-276 | src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ElementAdorner.cs:199-223 | src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ThumbAdorner.cs:132-156 | src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ThumbAdorner2.cs:187-211 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/Controls/TransformLayout/ElementAdorner.cs"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b67c0c6ade78b7c3f93c9f73093b5b33d8ccfb152a9ae779a99ecfae622f915"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): src/WPFDevelopers.Shared/Controls/MultiSelectComboBox/MultiSelectComboBox.cs:695-750 | src/WPFDevelopers.Samples.Shared/Controls/MultiSelectionSearchComboBox/MultiSelectSearchComboBox.cs:511-550 \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":"src/WPFDevelopers.Shared/Controls/MultiSelectComboBox/MultiSelectComboBox.cs"},"region":{"startLine":695}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8814b9d3df61f7e197f59586e76ef62d2c0d11573d728fa8f4cc6ca5bb4decb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): src/WPFDevelopers.Shared/Controls/Markdown/MarkdownViewer.cs:241-253 | src/WPFDevelopers.Shared/Controls/Markdown/MarkdownViewer.cs:256-268 \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":"src/WPFDevelopers.Shared/Controls/Markdown/MarkdownViewer.cs"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d350e512b0770df8f3ab93d819d9c77c7307a9c5ec1e7fa4b45d2c522003bb6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): src/Microsoft.Windows.Shell/SystemParameters2.cs:27-36 | src/Microsoft.Windows.Shell/SystemParameters2.cs:39-47 \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":"src/Microsoft.Windows.Shell/SystemParameters2.cs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a250613fedacefc6e9dfd5de25852d8c65d24ce8c3999534d425419727ec459"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): src/Microsoft.Windows.Shell/Standard/HRESULT.cs:83-94 | src/Microsoft.Windows.Shell/Standard/Win32Error.cs:36-47 \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":"src/Microsoft.Windows.Shell/Standard/HRESULT.cs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"69116d9a7903dc51f119a49c3f1c772859e2c6f95e59a4ea7c8724e0bf8d1875"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (133 lines \u00D7 2): src/Microsoft.Windows.Shell/Standard/WM.cs:3-135 | src/WPFDevelopers.Shared/Controls/NotifyIcon/Runtimes/User32/WM.cs:3-135 \u2014 before extracting anything, compare \u0060src/Microsoft.Windows.Shell/Standard/WM.cs\u0060 and \u0060src/WPFDevelopers.Shared/Controls/NotifyIcon/Runtimes/User32/WM.cs\u0060 as WHOLE FILES: 99% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Microsoft.Windows.Shell/Standard/WM.cs:3\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Microsoft.Windows.Shell/Standard/WM.cs"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"524a233e30459010c2b12461d0dc226049382baf4bee50ccd857cbf3abd5ed9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (65\u201368 lines \u00D7 2): src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ThumbAdorner.cs:330-397 | src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ThumbAdorner2.cs:323-387 \u2014 before extracting anything, compare \u0060src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ThumbAdorner.cs\u0060 and \u0060src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ThumbAdorner2.cs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 269 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ThumbAdorner.cs:330\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ThumbAdorner.cs"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6b972bf5f0eb6b9beaefdb6e412d184eeb53e60ef25cdd15d87fa2801bda9d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (48 lines \u00D7 2): src/WPFDevelopers.Net40/Window.cs:418-465 | src/WPFDevelopers.Net45x/Window.cs:415-462 \u2014 \u0060src/WPFDevelopers.Net40/Window.cs\u0060 and \u0060src/WPFDevelopers.Net45x/Window.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 13 separate duplicated blocks between them, totalling at least 226 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/WPFDevelopers.Net40/Window.cs:418\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Net40/Window.cs"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"05f9b47624d0e7ecfe17808f289f443d5970dfac9a6e8c663dea6a83f759f1fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): src/WPFDevelopers.Shared/Microsoft.Expression.Drawing/Core/PathGeometryHelper.cs:123-144 | src/WPFDevelopers.Shared/Microsoft.Expression.Drawing/Core/PathGeometryHelper.cs:172-193 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/WPFDevelopers.Shared/Microsoft.Expression.Drawing/Core/PathGeometryHelper.cs:123\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Microsoft.Expression.Drawing/Core/PathGeometryHelper.cs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"04bf5b25838f0a89cddbe56cf476e53060c050bfbca46c83fdeed613254e6d9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 2): src/WPFDevelopers.Net40/Window.cs:117-157 | src/WPFDevelopers.Net45x/Window.cs:121-161 \u2014 \u0060src/WPFDevelopers.Net40/Window.cs\u0060 and \u0060src/WPFDevelopers.Net45x/Window.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 13 separate duplicated blocks between them, totalling at least 226 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":"src/WPFDevelopers.Net40/Window.cs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"0909db2bd726c0682beadf7e509d605cf3b6b21b71349f05d722883dd1f0dca7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35\u201336 lines \u00D7 4): src/WPFDevelopers.Samples.Shared/Controls/TransformLayout/ElementAdorner.cs:98-132 | src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ElementAdorner.cs:74-108 | src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ThumbAdorner.cs:94-129 | src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ThumbAdorner2.cs:149-184 \u2014 before extracting anything, compare \u0060src/WPFDevelopers.Samples.Shared/Controls/TransformLayout/ElementAdorner.cs\u0060 and \u0060src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ElementAdorner.cs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 153 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/Controls/TransformLayout/ElementAdorner.cs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b07bd045599bb89a8fa56653b729b121e5c5cbd6d891d844e0a06aa9c4fcfec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): src/WPFDevelopers.Net40/Window.cs:161-192 | src/WPFDevelopers.Net45x/Window.cs:165-196 \u2014 \u0060src/WPFDevelopers.Net40/Window.cs\u0060 and \u0060src/WPFDevelopers.Net45x/Window.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 13 separate duplicated blocks between them, totalling at least 226 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":"src/WPFDevelopers.Net40/Window.cs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b3c56e006402e22c1482b4b9800ad97455251a0358ef99e8392815f2993c407"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): src/WPFDevelopers.Shared/Controls/MapView/MapView.cs:1732-1763 | src/WPFDevelopers.Shared/Controls/MapView/MapView.cs:1767-1798 \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":"src/WPFDevelopers.Shared/Controls/MapView/MapView.cs"},"region":{"startLine":1732}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aa3564bf447a1c66303bb0cbf6828fe9253c59fcbcbbffe2bf3d822c66fd2f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): src/WPFDevelopers.Shared/Controls/MapView/MapView.cs:3610-3639 | src/WPFDevelopers.Shared/Controls/MapView/MapView.cs:3642-3671 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/WPFDevelopers.Shared/Controls/MapView/MapView.cs:3610\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/MapView/MapView.cs"},"region":{"startLine":3610}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5a8d53deb0e42ea7568a13ca0d4b1a6bc42fe9aeaeffe1fcb5d87b7f54b68f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): src/Microsoft.Windows.Shell/Standard/WS.cs:5-34 | src/WPFDevelopers.Shared/Controls/NotifyIcon/Runtimes/User32/WS.cs:5-34 \u2014 before extracting anything, compare \u0060src/Microsoft.Windows.Shell/Standard/WS.cs\u0060 and \u0060src/WPFDevelopers.Shared/Controls/NotifyIcon/Runtimes/User32/WS.cs\u0060 as WHOLE FILES: 93% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Microsoft.Windows.Shell/Standard/WS.cs:5\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Microsoft.Windows.Shell/Standard/WS.cs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"74706eebaa91ed394573343273ee9dc6fbdbd1e3369cc7a36df9bf75a4cdb6cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): src/Microsoft.Windows.Shell/Standard/WS_EX.cs:5-34 | src/WPFDevelopers.Shared/Controls/NotifyIcon/Runtimes/User32/WS_EX.cs:5-34 \u2014 before extracting anything, compare \u0060src/Microsoft.Windows.Shell/Standard/WS_EX.cs\u0060 and \u0060src/WPFDevelopers.Shared/Controls/NotifyIcon/Runtimes/User32/WS_EX.cs\u0060 as WHOLE FILES: 93% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Microsoft.Windows.Shell/Standard/WS_EX.cs:5\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Microsoft.Windows.Shell/Standard/WS_EX.cs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fb6080554f6facc9f371a68c0562eeb37dc02982b5a8555f0850622f2a47efa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201330 lines \u00D7 2): src/WPFDevelopers.Shared/Microsoft.Expression.Drawing/Media/CalloutGeometrySource.cs:136-161 | src/WPFDevelopers.Shared/Microsoft.Expression.Drawing/Media/CalloutGeometrySource.cs:209-238 \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, \u0060src/WPFDevelopers.Shared/Microsoft.Expression.Drawing/Media/CalloutGeometrySource.cs:208\u0060 calls \u0060Min\u0060, \u0060ComputeCorners\u0060 and \u0060src/WPFDevelopers.Shared/Microsoft.Expression.Drawing/Media/CalloutGeometrySource.cs:136\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Microsoft.Expression.Drawing/Media/CalloutGeometrySource.cs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce1e4bfe79199f76a2a032c957e862330f94f47d25ea7a18104d0ca22cb89274"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28\u201329 lines \u00D7 2): src/WPFDevelopers.Samples.Shared/Controls/MultiSelectionSearchComboBox/MultiSelectSearchComboBox.cs:468-496 | src/WPFDevelopers.Shared/Controls/MultiSelectComboBox/MultiSelectComboBox.cs:755-782 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/WPFDevelopers.Shared/Controls/MultiSelectComboBox/MultiSelectComboBox.cs:755\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/Controls/MultiSelectionSearchComboBox/MultiSelectSearchComboBox.cs"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ab3acec11d67974806c915c122ee79e804a6c71c5b0fbe35448c1ab37fbf356"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): src/WPFDevelopers.Samples.Shared/ExampleViews/LineChartExample.xaml.cs:149-176 | src/WPFDevelopers.Samples.Shared/ExampleViews/LineChartExample.xaml.cs:179-206 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/ExampleViews/LineChartExample.xaml.cs"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cc2c2423a81ba2e5a1e0e7dcea426f2b7bc80eb868f8b8a7a63f73a26696ad5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): src/Microsoft.Windows.Shell/Standard/WNDCLASSEX.cs:6-33 | src/WPFDevelopers.Shared/Controls/NotifyIcon/Runtimes/User32/WNDCLASSEX.cs:6-33 \u2014 before extracting anything, compare \u0060src/Microsoft.Windows.Shell/Standard/WNDCLASSEX.cs\u0060 and \u0060src/WPFDevelopers.Shared/Controls/NotifyIcon/Runtimes/User32/WNDCLASSEX.cs\u0060 as WHOLE FILES: 84% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Microsoft.Windows.Shell/Standard/WNDCLASSEX.cs:6\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Microsoft.Windows.Shell/Standard/WNDCLASSEX.cs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"094715739a1f1a7c68c8f5185e209f4544f4a6bbc0972d610c7b43f03210b975"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201326 lines \u00D7 2): src/WPFDevelopers.Samples.Shared/Controls/Drawing/DrawingPanel.cs:597-621 | src/WPFDevelopers.Samples.Shared/Controls/Drawing/DrawingPanel.cs:632-657 \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":"src/WPFDevelopers.Samples.Shared/Controls/Drawing/DrawingPanel.cs"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1572c8d8d882e2e70154887f2722aaf86ef663d2fa584466d38529300cf3ff6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ThumbAdorner.cs:64-88 | src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ThumbAdorner2.cs:220-244 \u2014 before extracting anything, compare \u0060src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ThumbAdorner.cs\u0060 and \u0060src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ThumbAdorner2.cs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 269 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ThumbAdorner.cs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"1632fb512266411746639ed70100481ab77fdd538091e5117844099c1b5609c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 4): src/WPFDevelopers.Samples.Shared/Controls/TransformLayout/ElementAdorner.cs:253-276 | src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ElementAdorner.cs:200-223 | src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ThumbAdorner.cs:133-156 | src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ThumbAdorner2.cs:188-211 \u2014 before extracting anything, compare \u0060src/WPFDevelopers.Samples.Shared/Controls/TransformLayout/ElementAdorner.cs\u0060 and \u0060src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ElementAdorner.cs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 153 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/Controls/TransformLayout/ElementAdorner.cs"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6a20590734802dcad3a0fd3a6eab272095cc064b61341627b132554bf560ffa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): src/WPFDevelopers.Samples.Shared/Controls/TransformLayout/ElementAdorner.cs:155-175 | src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ElementAdorner.cs:124-144 \u2014 before extracting anything, compare \u0060src/WPFDevelopers.Samples.Shared/Controls/TransformLayout/ElementAdorner.cs\u0060 and \u0060src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ElementAdorner.cs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 153 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/WPFDevelopers.Samples.Shared/Controls/TransformLayout/ElementAdorner.cs:155\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/Controls/TransformLayout/ElementAdorner.cs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"63278a1f147fc7a11f7b25aef8a318b765b45f5320dcc509c448761d542b74f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201323 lines \u00D7 2): src/WPFDevelopers.Net40/Window.cs:387-408 | src/WPFDevelopers.Net45x/Window.cs:395-417 \u2014 \u0060src/WPFDevelopers.Net40/Window.cs\u0060 and \u0060src/WPFDevelopers.Net45x/Window.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 13 separate duplicated blocks between them, totalling at least 226 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/WPFDevelopers.Net40/Window.cs:387\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":"src/WPFDevelopers.Net40/Window.cs"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"80acb515aab2ef2bf722f05ae7464aef9c69b167772485b81b306d112a6a9e03"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 4): src/WPFDevelopers.Samples.Shared/Controls/Drawing/DrawingPanel.cs:332-349 | src/WPFDevelopers.Samples.Shared/Controls/Drawing/DrawingPanel.cs:375-392 | src/WPFDevelopers.Samples.Shared/Controls/Drawing/DrawingPanel.cs:419-436 | src/WPFDevelopers.Samples.Shared/Controls/Drawing/DrawingPanel.cs:462-479 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/WPFDevelopers.Samples.Shared/Controls/Drawing/DrawingPanel.cs:332\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":"src/WPFDevelopers.Samples.Shared/Controls/Drawing/DrawingPanel.cs"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"95a9a6f52eb0f6d067cef3e74761c993cb19dc5f7bd3c740b6ba89d94a1e85ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): src/WPFDevelopers.Net40/Window.cs:19-38 | src/WPFDevelopers.Net45x/Window.cs:18-37 \u2014 \u0060src/WPFDevelopers.Net40/Window.cs\u0060 and \u0060src/WPFDevelopers.Net45x/Window.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 13 separate duplicated blocks between them, totalling at least 226 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/WPFDevelopers.Net40/Window.cs:19\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Net40/Window.cs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"f90e1fe9926bc84637e1fc633f84b1954f738c23a638080a4d6ded3c9fedc4ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): src/WPFDevelopers.Shared/Core/Helpers/ScrollIntoView.cs:55-73 | src/WPFDevelopers.Shared/Core/Helpers/ScrollIntoView.cs:77-95 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Core/Helpers/ScrollIntoView.cs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"935be5d668cacf78da57703f4b8eebabc78f27338855677fa2a12eb6e7e6eab0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201320 lines \u00D7 2): src/WPFDevelopers.Shared/Controls/Loadings/BallLoading.cs:214-231 | src/WPFDevelopers.Shared/Controls/Loadings/BallLoading.cs:248-267 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/WPFDevelopers.Shared/Controls/Loadings/BallLoading.cs:214\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/Loadings/BallLoading.cs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f923474c2462ab6627080749f5dc409a4823623da0416b06e268ad19d548c7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): src/WPFDevelopers.Shared/Microsoft.Expression.Drawing/Controls/PanningItems.cs:205-224 | src/WPFDevelopers.Shared/Microsoft.Expression.Drawing/Controls/PanningItems.cs:394-413 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/WPFDevelopers.Shared/Microsoft.Expression.Drawing/Controls/PanningItems.cs:205\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/WPFDevelopers.Shared/Microsoft.Expression.Drawing/Controls/PanningItems.cs:202\u0060 calls \u0060Point\u0060 and \u0060src/WPFDevelopers.Shared/Microsoft.Expression.Drawing/Controls/PanningItems.cs:393\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Microsoft.Expression.Drawing/Controls/PanningItems.cs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc8be31471fb73b91d4cb51a367877f161ed0a15eaf9a17a76a72607bdb57098"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 6): src/WPFDevelopers.Samples.Shared/Controls/TransformLayout/ElementAdorner.cs:331-348 | src/WPFDevelopers.Samples.Shared/Controls/TransformLayout/ThumbAngle.cs:75-92 | src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ElementAdorner.cs:278-295 | src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ThumbAdorner.cs:224-241 | src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ThumbAdorner2.cs:100-117 | src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ThumbAngle.cs:75-92 \u2014 before extracting anything, compare \u0060src/WPFDevelopers.Samples.Shared/Controls/TransformLayout/ElementAdorner.cs\u0060 and \u0060src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ElementAdorner.cs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 153 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/WPFDevelopers.Samples.Shared/Controls/TransformLayout/ElementAdorner.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":"src/WPFDevelopers.Samples.Shared/Controls/TransformLayout/ElementAdorner.cs"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"30bf870e2a1aba12a8d785e0f298715ca39005b77f15ec02047796574c051001"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/WPFDevelopers.Shared/Controls/MapView/MapView.cs:2765-2782 | src/WPFDevelopers.Shared/Controls/MapView/MapView.cs:2788-2805 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/WPFDevelopers.Shared/Controls/MapView/MapView.cs:2765\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/MapView/MapView.cs"},"region":{"startLine":2765}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b668b519dcab9c3adc386e078dc1abe94f63e505b9217916e59111b06341ee3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): src/WPFDevelopers.Shared/Controls/Charts/ChartBase.cs:60-77 | src/WPFDevelopers.Shared/Controls/Charts/ChartPie.cs:63-79 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/WPFDevelopers.Shared/Controls/Charts/ChartBase.cs:60\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/Charts/ChartBase.cs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce89aa4d928990bc30e744d713d88029746b0c5acaa7e835bc5bc3ad642f01b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201317 lines \u00D7 2): src/WPFDevelopers.Samples.Shared/Controls/MultiSelectionSearchComboBox/MultiSelectSearchComboBox.cs:322-336 | src/WPFDevelopers.Samples.Shared/Controls/MultiSelectionSearchComboBox/MultiSelectSearchComboBox.cs:479-495 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/WPFDevelopers.Samples.Shared/Controls/MultiSelectionSearchComboBox/MultiSelectSearchComboBox.cs:322\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/Controls/MultiSelectionSearchComboBox/MultiSelectSearchComboBox.cs"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"a13a64721370dc46af599509faf5fd9a6d51e375c12e25db01e3169a36d6359c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201317 lines \u00D7 2): src/WPFDevelopers.Samples.Shared/ExampleViews/BasicControlsExample.xaml.cs:134-150 | src/WPFDevelopers.Samples.Shared/ExampleViews/Basics/LoadingBasicExample.xaml.cs:31-44 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/WPFDevelopers.Samples.Shared/ExampleViews/BasicControlsExample.xaml.cs:134\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/ExampleViews/BasicControlsExample.xaml.cs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6688214bacfc8773fb8b7813722f1bd53b77d438861232b27365b9c961055f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/WPFDevelopers.Net40/Window.cs:61-77 | src/WPFDevelopers.Net45x/Window.cs:45-61 \u2014 \u0060src/WPFDevelopers.Net40/Window.cs\u0060 and \u0060src/WPFDevelopers.Net45x/Window.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 13 separate duplicated blocks between them, totalling at least 226 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Net40/Window.cs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"c882fad21b8a5e5b29acaa471ee3076c3ea543e0f1b33dc0b5127b3364362526"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): src/WPFDevelopers.Shared/Controls/WaterfallPanel/WaterfallPanel.Virtualization.cs:112-128 | src/WPFDevelopers.Shared/Controls/WaterfallPanel/WaterfallPanel.Virtualization.cs:386-401 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/WPFDevelopers.Shared/Controls/WaterfallPanel/WaterfallPanel.Virtualization.cs:112\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/WaterfallPanel/WaterfallPanel.Virtualization.cs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea9e421c414d6579e482d86f2a50d576b7b252d69e0d3171e5f4bc86b906c343"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/WPFDevelopers.Shared/Controls/MapView/MapView.cs:3704-3719 | src/WPFDevelopers.Shared/Controls/MapView/MapView.cs:3723-3738 \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":"src/WPFDevelopers.Shared/Controls/MapView/MapView.cs"},"region":{"startLine":3704}}}],"partialFingerprints":{"codehealthFindingId/v1":"e522a1190fa202c17c5fa921c46a789bc850d7dc0a15e99e1726e56682586424"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 4): src/WPFDevelopers.Samples.Shared/Controls/MultiSelectionSearchComboBox/MultiSelectSearchComboBox.cs:322-336 | src/WPFDevelopers.Samples.Shared/Controls/MultiSelectionSearchComboBox/MultiSelectSearchComboBox.cs:480-495 | src/WPFDevelopers.Shared/Controls/MultiSelectComboBox/MultiSelectComboBox.cs:645-659 | src/WPFDevelopers.Shared/Controls/MultiSelectComboBox/MultiSelectComboBox.cs:767-781 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/WPFDevelopers.Samples.Shared/Controls/MultiSelectionSearchComboBox/MultiSelectSearchComboBox.cs:322\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/Controls/MultiSelectionSearchComboBox/MultiSelectSearchComboBox.cs"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"37131c2be0b5bd80f3f3c716c2d3826ad9da4dad536dccb739e82aeb2f140a04"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/WPFDevelopers.Samples.Shared/Controls/TransformLayout/ElementAdorner.cs:40-55 | src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ElementAdorner.cs:17-32 \u2014 before extracting anything, compare \u0060src/WPFDevelopers.Samples.Shared/Controls/TransformLayout/ElementAdorner.cs\u0060 and \u0060src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ElementAdorner.cs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 153 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/WPFDevelopers.Samples.Shared/Controls/TransformLayout/ElementAdorner.cs:58\u0060 calls \u0060FindParent\u0060 and \u0060src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ElementAdorner.cs:35\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/Controls/TransformLayout/ElementAdorner.cs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"77d39512485a0d14e07ed9540a20b6d5ab52d883c1de348a7b7b7d2971d3ad00"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/WPFDevelopers.Shared/Controls/MapView/MapView.cs:3280-3295 | src/WPFDevelopers.Shared/Controls/MapView/MapView.cs:3394-3409 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/WPFDevelopers.Shared/Controls/MapView/MapView.cs:3280\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":"src/WPFDevelopers.Shared/Controls/MapView/MapView.cs"},"region":{"startLine":3280}}}],"partialFingerprints":{"codehealthFindingId/v1":"18c9607bb85962c5b5618d29a41229b0867609ec441adb1a7346f38324f77053"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/Microsoft.Windows.Shell/Standard/CS.cs:5-20 | src/WPFDevelopers.Shared/Controls/NotifyIcon/Runtimes/User32/CS.cs:5-20 \u2014 before extracting anything, compare \u0060src/Microsoft.Windows.Shell/Standard/CS.cs\u0060 and \u0060src/WPFDevelopers.Shared/Controls/NotifyIcon/Runtimes/User32/CS.cs\u0060 as WHOLE FILES: 88% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Microsoft.Windows.Shell/Standard/CS.cs:5\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Microsoft.Windows.Shell/Standard/CS.cs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9f8ca4476873acc7efc5e8d60aa3f17a2c78a2d6b0a8702174b2f94d1f6ed70"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/WPFDevelopers.Shared/Controls/Carousel/Carousel.cs:310-324 | src/WPFDevelopers.Shared/Controls/Carousel/Carousel.cs:329-343 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/WPFDevelopers.Shared/Controls/Carousel/Carousel.cs:329\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/Carousel/Carousel.cs"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2aa3e100a579806798555b41e0f0c75a5cd2eb590635b5e63bd102c07503740"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/WPFDevelopers.Samples.Shared/Controls/ImageCrop/ImageCrop.cs:80-90 | src/WPFDevelopers.Samples.Shared/Controls/RoundPicker/RoundPicker.cs:120-130 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/WPFDevelopers.Samples.Shared/Controls/ImageCrop/ImageCrop.cs:80\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/WPFDevelopers.Samples.Shared/Controls/ImageCrop/ImageCrop.cs:92\u0060 calls \u0060SetZIndex\u0060 and \u0060src/WPFDevelopers.Samples.Shared/Controls/RoundPicker/RoundPicker.cs:132\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/Controls/ImageCrop/ImageCrop.cs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"12272afa2ff5421bb22a44a0db11a5b29b70767d4de39a5b5147a4f8ebcd58a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/WPFDevelopers.Samples.Shared/Controls/TransformLayout/ThumbAngle.cs:23-35 | src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ThumbAngle.cs:23-35 \u2014 before extracting anything, compare \u0060src/WPFDevelopers.Samples.Shared/Controls/TransformLayout/ThumbAngle.cs\u0060 and \u0060src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ThumbAngle.cs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 52 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/Controls/TransformLayout/ThumbAngle.cs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"b88661df1a11348e9eb1dd944e6341d3343d4d965d832399d6f563972da9bfe9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ThumbAdorner.cs:19-28 | src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ThumbAdorner2.cs:18-27 \u2014 before extracting anything, compare \u0060src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ThumbAdorner.cs\u0060 and \u0060src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ThumbAdorner2.cs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 269 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ThumbAdorner.cs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbe810f29be5cbd446bdf000cb4534c4583eb9c40c777506cd40c2712d5b6919"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/WPFDevelopers.Samples.Shared/ExampleViews/UsageColor.xaml.cs:157-169 | src/WPFDevelopers.Samples.Shared/ExampleViews/UsageColor.xaml.cs:173-185 \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":"src/WPFDevelopers.Samples.Shared/ExampleViews/UsageColor.xaml.cs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e449ab5dd8f0127339d98fbeb75c9558eb772eafc8895f010945e7e8cf8b63b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 5): src/WPFDevelopers.Samples.Shared/Controls/TransformLayout/ThumbAngle.cs:58-69 | src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ElementAdorner.cs:261-272 | src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ThumbAdorner.cs:207-218 | src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ThumbAdorner2.cs:83-94 | src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ThumbAngle.cs:58-69 \u2014 before extracting anything, compare \u0060src/WPFDevelopers.Samples.Shared/Controls/TransformLayout/ThumbAngle.cs\u0060 and \u0060src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ThumbAngle.cs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 52 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/Controls/TransformLayout/ThumbAngle.cs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ce64dffb2e61353e4a0f8eebb3c72d627ef20586c6aacfe444d9e93db5e7e2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ThumbAdorner.cs:277-294 | src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ThumbAdorner2.cs:279-296 \u2014 before extracting anything, compare \u0060src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ThumbAdorner.cs\u0060 and \u0060src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ThumbAdorner2.cs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 269 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ThumbAdorner.cs"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7bf0055fc5183de0750c9a1c379e0568cd26343d94479a5c1bd851fff8ba585"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/WPFDevelopers.Shared/Microsoft.Expression.Drawing/Core/PathSegmentHelper.cs:616-629 | src/WPFDevelopers.Shared/Microsoft.Expression.Drawing/Core/PathSegmentHelper.cs:681-693 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/WPFDevelopers.Shared/Microsoft.Expression.Drawing/Core/PathSegmentHelper.cs:616\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Microsoft.Expression.Drawing/Core/PathSegmentHelper.cs"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ff1f7c9955ced8b71e3841698a04aa6a4cb2b155f5c6a863e4377efc45ba2e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): src/WPFDevelopers.Samples.Shared/Controls/Drawing/DrawingPanel.cs:597-605 | src/WPFDevelopers.Samples.Shared/Controls/Drawing/DrawingPanel.cs:632-640 | src/WPFDevelopers.Samples.Shared/Controls/Drawing/DrawingPanel.cs:668-676 | src/WPFDevelopers.Samples.Shared/Controls/Drawing/DrawingPanel.cs:703-711 \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":"src/WPFDevelopers.Samples.Shared/Controls/Drawing/DrawingPanel.cs"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"2beabb5f38cf998dae9c53a2aea5387945e3fd83242a1b2101569a37244d2f98"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): src/WPFDevelopers.Shared/Controls/MapView/MapView.cs:3251-3256 | src/WPFDevelopers.Shared/Controls/MapView/MapView.cs:3323-3328 | src/WPFDevelopers.Shared/Controls/MapView/MapView.cs:3374-3379 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/WPFDevelopers.Shared/Controls/MapView/MapView.cs:3251\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/MapView/MapView.cs"},"region":{"startLine":3251}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9287d37d3631779495b13114b46701df2e50370ae2894faf1475b20ab5b7d49"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/WPFDevelopers.Samples.Shared/Controls/TransformLayout/ElementAdorner.cs:59-70 | src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ElementAdorner.cs:35-46 \u2014 before extracting anything, compare \u0060src/WPFDevelopers.Samples.Shared/Controls/TransformLayout/ElementAdorner.cs\u0060 and \u0060src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ElementAdorner.cs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 153 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/WPFDevelopers.Samples.Shared/Controls/TransformLayout/ElementAdorner.cs:59\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/WPFDevelopers.Samples.Shared/Controls/TransformLayout/ElementAdorner.cs:58\u0060 calls \u0060FindParent\u0060 and \u0060src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ElementAdorner.cs:34\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":"src/WPFDevelopers.Samples.Shared/Controls/TransformLayout/ElementAdorner.cs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"7706df2a48c08fd99dff42294d1f115441d3450ea6c04d1fe62801e631959342"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/WPFDevelopers.Shared/Controls/Loadings/BallLoading.cs:234-244 | src/WPFDevelopers.Shared/Controls/Loadings/BallLoading.cs:270-280 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/WPFDevelopers.Shared/Controls/Loadings/BallLoading.cs:234\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/Loadings/BallLoading.cs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"03838dc2bf4211307a1c19f9ccf9108bf7af16d3098679e7684581122fb06154"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ThumbAdorner.cs:74-86 | src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ThumbAdorner.cs:280-292 | src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ThumbAdorner2.cs:230-242 | src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ThumbAdorner2.cs:282-294 \u2014 before extracting anything, compare \u0060src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ThumbAdorner.cs\u0060 and \u0060src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ThumbAdorner2.cs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 269 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ThumbAdorner.cs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a3509ad2daa90bf37ca06b228ec139a1082886eec70e729d758ea134069dd6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/WPFDevelopers.Samples.Shared/Controls/MultiSelectionSearchComboBox/MultiSelectSearchComboBox.cs:530-539 | src/WPFDevelopers.Shared/Controls/MultiSelectComboBox/MultiSelectComboBox.cs:717-726 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/WPFDevelopers.Samples.Shared/Controls/MultiSelectionSearchComboBox/MultiSelectSearchComboBox.cs:530\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":"src/WPFDevelopers.Samples.Shared/Controls/MultiSelectionSearchComboBox/MultiSelectSearchComboBox.cs"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"c59906f832619d852f85709529415c996ecee3a3b73c0b9b78595725d1b7a55d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/WPFDevelopers.Shared/Controls/MapView/MapCoordinateHelper.cs:114-123 | src/WPFDevelopers.Shared/Controls/MapView/MapCoordinateHelper.cs:133-142 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/MapView/MapCoordinateHelper.cs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb5f627ae970f734a08702efd0c3575ab1552010bbe77c0e52fcb51dcc3d2bb5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/WPFDevelopers.Shared/Controls/Markdown/MarkdownViewer.cs:244-253 | src/WPFDevelopers.Shared/Controls/Markdown/MarkdownViewer.cs:259-268 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/WPFDevelopers.Shared/Controls/Markdown/MarkdownViewer.cs:244\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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060block\u0060 to \u0060UnorderedListBlock\u0060 in one and \u0060OrderedListBlock\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/Markdown/MarkdownViewer.cs"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"84a29a85c214a82d4be2a59e14f3251fe1a8517323b6added5b7d6556bcd0779"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/WPFDevelopers.Shared/Controls/MultiSelectComboBox/MultiSelectComboBox.cs:231-241 | src/WPFDevelopers.Shared/Controls/MultiSelectComboBox/MultiSelectComboBox.cs:285-297 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/WPFDevelopers.Shared/Controls/MultiSelectComboBox/MultiSelectComboBox.cs:231\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/MultiSelectComboBox/MultiSelectComboBox.cs"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4c3c744a2b1ee59a1263a84d08fef56ef887291e09a316213d9bcc203800765"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/WPFDevelopers.Shared/Microsoft.Expression.Drawing/Core/PathSegmentHelper.cs:171-180 | src/WPFDevelopers.Shared/Microsoft.Expression.Drawing/Core/PathSegmentHelper.cs:217-226 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/WPFDevelopers.Shared/Microsoft.Expression.Drawing/Core/PathSegmentHelper.cs:171\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Microsoft.Expression.Drawing/Core/PathSegmentHelper.cs"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1b6fcd51373cdc3f0e8a9e271e8eb3788c46532ca463fa9bd09b857d3633e3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): src/WPFDevelopers.Samples.Shared/Controls/TransformLayout/ElementAdorner.cs:176-185 | src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ThumbAdorner.cs:344-354 | src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ThumbAdorner2.cs:334-344 \u2014 before extracting anything, compare \u0060src/WPFDevelopers.Samples.Shared/Controls/TransformLayout/ElementAdorner.cs\u0060 and \u0060src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ThumbAdorner.cs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 95 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/Controls/TransformLayout/ElementAdorner.cs"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ebd8d7667e07d1e74e2040e56a58f39194bdbdbe13e7a7d28fb6ddad803c32d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ElementAdorner.cs:250-258 | src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ThumbAdorner.cs:195-203 | src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ThumbAdorner2.cs:139-147 \u2014 before extracting anything, compare \u0060src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ElementAdorner.cs\u0060 and \u0060src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ThumbAdorner.cs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 105 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ElementAdorner.cs"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"17a07ee9f2b47bd2c00334a516134f11f92a571d8c3da14285905e297ec2b33d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/WPFDevelopers.Samples.Shared/Controls/TransformLayout/ThumbAngle.cs:39-47 | src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ThumbAngle.cs:39-47 \u2014 before extracting anything, compare \u0060src/WPFDevelopers.Samples.Shared/Controls/TransformLayout/ThumbAngle.cs\u0060 and \u0060src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ThumbAngle.cs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 52 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/Controls/TransformLayout/ThumbAngle.cs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"109a12787d496ba15df4ae70ae45c4218a3864a2e02ff419cf00d46d6c19e267"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/WPFDevelopers.Net40/Window.cs:86-93 | src/WPFDevelopers.Net45x/Window.cs:71-78 \u2014 \u0060src/WPFDevelopers.Net40/Window.cs\u0060 and \u0060src/WPFDevelopers.Net45x/Window.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 13 separate duplicated blocks between them, totalling at least 226 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Net40/Window.cs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dfdfb616eddccefe3999630d64941ffda94a69a04abc930ac4da1d6e90c6a8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/WPFDevelopers.Shared/Controls/Loadings/BallLoading.cs:733-739 | src/WPFDevelopers.Shared/Controls/Loadings/BallLoading.cs:748-754 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/Loadings/BallLoading.cs"},"region":{"startLine":733}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2a21285dfff4c81fa845d73304d81d6225c5181ebe594a029adc63cbf11264b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/WPFDevelopers.Shared/Controls/MultiSelectComboBox/MultiSelectComboBox.cs:360-368 | src/WPFDevelopers.Shared/Controls/MultiSelectComboBox/MultiSelectComboBox.cs:379-387 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/WPFDevelopers.Shared/Controls/MultiSelectComboBox/MultiSelectComboBox.cs:360\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/MultiSelectComboBox/MultiSelectComboBox.cs"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab4b66d0f74c884c60b01ab5651c87617940f961d96b40cd1ae7c2f3fc39bccb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5): src/WPFDevelopers.Shared/Controls/MapView/MapView.cs:2944-2952 | src/WPFDevelopers.Shared/Controls/MapView/MapView.cs:3159-3167 | src/WPFDevelopers.Shared/Controls/MapView/MapView.cs:3245-3253 | src/WPFDevelopers.Shared/Controls/MapView/MapView.cs:3317-3325 | src/WPFDevelopers.Shared/Controls/MapView/MapView.cs:3368-3376 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/MapView/MapView.cs"},"region":{"startLine":2944}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b01f3d615900ff0da4486edcaa3df1664a14fb6405e4e351d9441ea09637cb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/WPFDevelopers.Net40/Window.cs:331-338 | src/WPFDevelopers.Net45x/Window.cs:339-346 \u2014 \u0060src/WPFDevelopers.Net40/Window.cs\u0060 and \u0060src/WPFDevelopers.Net45x/Window.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 13 separate duplicated blocks between them, totalling at least 226 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":"src/WPFDevelopers.Net40/Window.cs"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"896e39187af3488f46488e862d5473f1313e21c50d667090b434792aea9e0d20"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/WPFDevelopers.Shared/Controls/SvgViewer/SvgViewer.cs:124-130 | src/WPFDevelopers.Shared/Controls/SvgViewer/SvgViewer.cs:333-339 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/SvgViewer/SvgViewer.cs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"0355abcb50d0c7cc7ff0400a361541797223513c3d00991c5634b210cd360f6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/WPFDevelopers.Shared/Controls/Loading/Loading.cs:269-275 | src/WPFDevelopers.Shared/Controls/Loading/Loading.cs:387-393 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/Loading/Loading.cs"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4b4086ecfece5bb3fc9c7a0a9c9bd1c1b978c3bc756c23d47242f4b8c71b97c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/WPFDevelopers.Shared/Controls/Markdown/MarkdownViewer.cs:927-933 | src/WPFDevelopers.Shared/Controls/Markdown/MarkdownViewer.cs:957-963 \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":"src/WPFDevelopers.Shared/Controls/Markdown/MarkdownViewer.cs"},"region":{"startLine":927}}}],"partialFingerprints":{"codehealthFindingId/v1":"58729a20f1de65cff747e95a95ed51bb7832a801555a516db299a63c26db8cef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 3): src/WPFDevelopers.Samples.Shared/Controls/TransformLayout/ElementAdorner.cs:89-95 | src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ElementAdorner.cs:65-71 | src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ThumbAdorner2.cs:242-249 \u2014 before extracting anything, compare \u0060src/WPFDevelopers.Samples.Shared/Controls/TransformLayout/ElementAdorner.cs\u0060 and \u0060src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ElementAdorner.cs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 153 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/WPFDevelopers.Samples.Shared/Controls/TransformLayout/ElementAdorner.cs:89\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/Controls/TransformLayout/ElementAdorner.cs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"d973fc4963a905969636f1ba34d29fae664f163c17a38d07bb6b97c433fcd7db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): src/WPFDevelopers.Shared/Controls/MapView/MapView.cs:3705-3711 | src/WPFDevelopers.Shared/Controls/MapView/MapView.cs:3724-3730 | src/WPFDevelopers.Shared/Controls/MapView/MapView.cs:3743-3749 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/WPFDevelopers.Shared/Controls/MapView/MapView.cs:3705\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/MapView/MapView.cs"},"region":{"startLine":3705}}}],"partialFingerprints":{"codehealthFindingId/v1":"54279978b4c618572fce383182efa81f5057181fe667d5a7a8ee201916cb1089"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ThumbAdorner.cs:298-304 | src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ThumbAdorner2.cs:300-306 \u2014 before extracting anything, compare \u0060src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ThumbAdorner.cs\u0060 and \u0060src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ThumbAdorner2.cs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 269 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ThumbAdorner.cs"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce294a96f243c151088318f342e64c0f055c57e88923431dfaa1e6a7ef463f7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/WPFDevelopers.Shared/Controls/Charts/ChartBar.cs:27-33 | src/WPFDevelopers.Shared/Controls/Charts/ChartLine.cs:49-55 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/WPFDevelopers.Shared/Controls/Charts/ChartBar.cs:27\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":"src/WPFDevelopers.Shared/Controls/Charts/ChartBar.cs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1d3ba35f3c6a10efd517b81744ddd2578d021b3f7914b94cf77578fa6bcf175"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/WPFDevelopers.Shared/Controls/SvgViewer/SvgViewer.cs:51-58 | src/WPFDevelopers.Shared/Controls/SvgViewer/SvgViewer.cs:59-66 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/WPFDevelopers.Shared/Controls/SvgViewer/SvgViewer.cs:51\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":"src/WPFDevelopers.Shared/Controls/SvgViewer/SvgViewer.cs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c3ad08145bf7183ade0ad77da4676b34449b9ca0106820554437b785a3d3c86"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/WPFDevelopers.Shared/Microsoft.Expression.Drawing/Core/PathSegmentHelper.cs:651-655 | src/WPFDevelopers.Shared/Microsoft.Expression.Drawing/Core/PathSegmentHelper.cs:715-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 \u0060src/WPFDevelopers.Shared/Microsoft.Expression.Drawing/Core/PathSegmentHelper.cs:651\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Microsoft.Expression.Drawing/Core/PathSegmentHelper.cs"},"region":{"startLine":651}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb8476981c54122adef49b0bee7664d3ff7c11bf968251006b95f8ed2dae8412"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): src/WPFDevelopers.Samples.Shared/Controls/TransformLayout/ElementAdorner.cs:79-84 | src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ElementAdorner.cs:55-60 | src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ThumbAdorner.cs:67-72 | src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ThumbAdorner2.cs:223-228 \u2014 before extracting anything, compare \u0060src/WPFDevelopers.Samples.Shared/Controls/TransformLayout/ElementAdorner.cs\u0060 and \u0060src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ElementAdorner.cs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 153 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/Controls/TransformLayout/ElementAdorner.cs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"36446b80d3ab6ff200a46d2a65287ddac50d3c8c4abb99fc90c8a24ca05305a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): src/WPFDevelopers.Samples.Shared/ExampleViews/UsageColor.xaml.cs:143-149 | src/WPFDevelopers.Samples.Shared/ExampleViews/UsageColor.xaml.cs:159-165 | src/WPFDevelopers.Samples.Shared/ExampleViews/UsageColor.xaml.cs:175-181 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/WPFDevelopers.Samples.Shared/ExampleViews/UsageColor.xaml.cs:143\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":"src/WPFDevelopers.Samples.Shared/ExampleViews/UsageColor.xaml.cs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"33a7bac8add6f64d8d84a4d3677cc35173c63731c14dc4e6cb9b1bb3de928e30"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5\u20137 lines \u00D7 4): src/WPFDevelopers.Shared/Core/Helpers/GeometryHelper.cs:56-62 | src/WPFDevelopers.Shared/Core/Helpers/GeometryHelper.cs:63-69 | src/WPFDevelopers.Shared/Core/Helpers/GeometryHelper.cs:70-76 | src/WPFDevelopers.Shared/Core/Helpers/GeometryHelper.cs:77-81 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Core/Helpers/GeometryHelper.cs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb7e12569d92363d9566a3ed0490b4a318da22dce84d96b68bca07f423944f45"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20137 lines \u00D7 3): src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ThumbAdorner.cs:45-51 | src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ThumbAdorner2.cs:44-50 | src/WPFDevelopers.Shared/Controls/ScreenCut/ScreenCutAdorner.cs:35-38 \u2014 before extracting anything, compare \u0060src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ThumbAdorner.cs\u0060 and \u0060src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ThumbAdorner2.cs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 269 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ThumbAdorner.cs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"754b45896fa3bd8d50bbdcecce0deed21a43a49f14b4eb4caef1fdf04e51ba9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/WPFDevelopers.Samples.Shared/ExampleViews/LineChartExample.xaml.cs:44-50 | src/WPFDevelopers.Samples.Shared/ExampleViews/LineChartExample.xaml.cs:59-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":"src/WPFDevelopers.Samples.Shared/ExampleViews/LineChartExample.xaml.cs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd704c88f053d6f1949026f7a623cd5ea768db28fba4ab9e9160d4cee311b924"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/WPFDevelopers.Net40/Window.cs:469-474 | src/WPFDevelopers.Net45x/Window.cs:468-473 \u2014 \u0060src/WPFDevelopers.Net40/Window.cs\u0060 and \u0060src/WPFDevelopers.Net45x/Window.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 13 separate duplicated blocks between them, totalling at least 226 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":"src/WPFDevelopers.Net40/Window.cs"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f15387ee68bdeecec2d67f03ed1ea8245f458895d934abb972065645a8980a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/WPFDevelopers.Shared/Controls/ScreenCut/ScreenCut.cs:1245-1250 | src/WPFDevelopers.Shared/Controls/ScreenCut/ScreenCut.cs:1281-1286 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/WPFDevelopers.Shared/Controls/ScreenCut/ScreenCut.cs:1245\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/ScreenCut/ScreenCut.cs"},"region":{"startLine":1245}}}],"partialFingerprints":{"codehealthFindingId/v1":"d37867968936fec9f2c1b57dcda130b5ae59c046ed465a127a5097e2995ca958"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/WPFDevelopers.Shared/Controls/ScreenCut/ScreenCut.cs:1263-1268 | src/WPFDevelopers.Shared/Controls/ScreenCut/ScreenCut.cs:1298-1303 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/WPFDevelopers.Shared/Controls/ScreenCut/ScreenCut.cs:1263\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/ScreenCut/ScreenCut.cs"},"region":{"startLine":1263}}}],"partialFingerprints":{"codehealthFindingId/v1":"201f61ef7a8583b4d3132ac8f39e38ded205e520d2f15c471358040f4addd664"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20135 lines \u00D7 3): src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ThumbAdorner.cs:54-58 | src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ThumbAdorner2.cs:53-57 | src/WPFDevelopers.Shared/Controls/ScreenCut/ScreenCutAdorner.cs:39-42 \u2014 before extracting anything, compare \u0060src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ThumbAdorner.cs\u0060 and \u0060src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ThumbAdorner2.cs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 269 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ThumbAdorner.cs:54\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ThumbAdorner.cs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"a90909929e3567effb070195f9896506b0d9f1f7e1735363180bca6cc046acbb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/WPFDevelopers.Shared/Microsoft.Expression.Drawing/Core/PathFigureHelper.cs:106-110 | src/WPFDevelopers.Shared/Microsoft.Expression.Drawing/Media/ArcGeometrySource.cs:329-333 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Microsoft.Expression.Drawing/Core/PathFigureHelper.cs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ddaf8771862ce24d427ccbc6bf08c1967b435a60b36b83d7c38394b1f133e40"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/WPFDevelopers.Shared/Microsoft.Expression.Drawing/Core/PathFigureHelper.cs:108-112 | src/WPFDevelopers.Shared/Microsoft.Expression.Drawing/Core/PathFigureHelper.cs:113-117 \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, \u0060src/WPFDevelopers.Shared/Microsoft.Expression.Drawing/Core/PathFigureHelper.cs:106\u0060 calls \u0060SetIfDifferent\u0060, \u0060EnsureListCount\u0060, \u0060ArcSegment\u0060 and \u0060src/WPFDevelopers.Shared/Microsoft.Expression.Drawing/Core/PathFigureHelper.cs:113\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Microsoft.Expression.Drawing/Core/PathFigureHelper.cs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ff8c82b7597ea998032ffced73c551f4b96be34509b98d63e6abc9fd60aecfe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/Microsoft.Windows.Shell/WindowChromeWorker.cs:469-473 | src/Microsoft.Windows.Shell/WindowChromeWorker.cs:476-480 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Microsoft.Windows.Shell/WindowChromeWorker.cs:469\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":"src/Microsoft.Windows.Shell/WindowChromeWorker.cs"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"80983b992c27d98dc3318290a0501ad921b6252fded9c71cdc083450c51f0a77"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): src/WPFDevelopers.Samples.Shared/ExampleViews/Basics/ComboBoxExample.xaml.cs:11-23 | src/WPFDevelopers.Samples.Shared/ExampleViews/Basics/ListBoxExample.xaml.cs:11-23 | src/WPFDevelopers.Samples.Shared/ExampleViews/Basics/ListViewExample.xaml.cs:11-23 | src/WPFDevelopers.Samples.Shared/ExampleViews/Basics/TreeViewExample.xaml.cs:11-23 \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 4 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/WPFDevelopers.Samples.Shared/ExampleViews/Basics/ComboBoxExample.xaml.cs:11\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":"src/WPFDevelopers.Samples.Shared/ExampleViews/Basics/ComboBoxExample.xaml.cs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"2255d4eaabb962a7a9bbf4e1e5986e4f4fd10330306cd33ba6c57e25bedbb18a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/WPFDevelopers.Samples.Shared/ExampleViews/CardCarouselExample.xaml.cs:18-22 | src/WPFDevelopers.Samples.Shared/ExampleViews/CarouselExample.xaml.cs:18-22 \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":"src/WPFDevelopers.Samples.Shared/ExampleViews/CardCarouselExample.xaml.cs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"1db989105ce84a80194df20212cd57012a004574c7da8c3ea4dcf10b2c85eea1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (46 lines \u00D7 2): src/WPFDevelopers.Samples.Shared/ExampleViews/ChartLineExample.xaml.cs:15-60 | src/WPFDevelopers.Samples.Shared/ExampleViews/ChartPieExample.xaml.cs:15-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/WPFDevelopers.Samples.Shared/ExampleViews/ChartLineExample.xaml.cs:15\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":"src/WPFDevelopers.Samples.Shared/ExampleViews/ChartLineExample.xaml.cs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eeca004343c933fbf9fc7d176cb54a00300e94390a2f5c5d6de9798935ac09b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/WPFDevelopers.Samples.Shared/Controls/MultiSelectionSearchComboBox/MultiSelectSearchComboBox.cs:340-346 | src/WPFDevelopers.Shared/Controls/MultiSelectComboBox/MultiSelectComboBox.cs:686-692 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/Controls/MultiSelectionSearchComboBox/MultiSelectSearchComboBox.cs"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fa34119ec7936055aaac6b71d8fa026b25e1ba0ca44da4c171096b23542e5d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): src/WPFDevelopers.Samples.Shared/Controls/TransformLayout/ElementAdorner.cs:231-236 | src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ElementAdorner.cs:178-183 | src/WPFDevelopers.Shared/Controls/ScreenCut/ScreenCutAdorner.cs:96-101 \u2014 before extracting anything, compare \u0060src/WPFDevelopers.Samples.Shared/Controls/TransformLayout/ElementAdorner.cs\u0060 and \u0060src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ElementAdorner.cs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 153 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/Controls/TransformLayout/ElementAdorner.cs"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab29c75eff4efb4f29e0307f983ad62f8316e68b3fe3c134c6294ddb83643287"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ThumbAdorner2.cs:393-398 | src/WPFDevelopers.Shared/Controls/ScreenCut/ScreenCutAdorner.cs:301-306 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ThumbAdorner2.cs"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"07bf273fa17269c5305936619ffe9ac521fac9316b8d392d778644de3b2c477a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/WPFDevelopers.Net40/Window.cs:103-107 | src/WPFDevelopers.Net45x/Window.cs:107-111 \u2014 \u0060src/WPFDevelopers.Net40/Window.cs\u0060 and \u0060src/WPFDevelopers.Net45x/Window.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 13 separate duplicated blocks between them, totalling at least 226 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Net40/Window.cs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcf4e4145179587bcfb035a7268a217f0418885a42f5743beef3c6a4672c6b65"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/WPFDevelopers.Net40/Window.cs:225-229 | src/WPFDevelopers.Net45x/Window.cs:229-233 \u2014 \u0060src/WPFDevelopers.Net40/Window.cs\u0060 and \u0060src/WPFDevelopers.Net45x/Window.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 13 separate duplicated blocks between them, totalling at least 226 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":"src/WPFDevelopers.Net40/Window.cs"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"982848b4dd1acd57874568e420d79b5ae68840ce0b6a570fe7c039828d810136"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/WPFDevelopers.Net40/Window.cs:240-247 | src/WPFDevelopers.Net45x/Window.cs:244-251 \u2014 \u0060src/WPFDevelopers.Net40/Window.cs\u0060 and \u0060src/WPFDevelopers.Net45x/Window.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 13 separate duplicated blocks between them, totalling at least 226 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":"src/WPFDevelopers.Net40/Window.cs"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b03fd046c7ba344ec3a18465d936398ed4c9daeb1f986af9facf69532344d98"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/WPFDevelopers.Net40/Window.cs:250-254 | src/WPFDevelopers.Net45x/Window.cs:254-258 \u2014 \u0060src/WPFDevelopers.Net40/Window.cs\u0060 and \u0060src/WPFDevelopers.Net45x/Window.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 13 separate duplicated blocks between them, totalling at least 226 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Net40/Window.cs"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf28070a6568307a8ddfdacf406f50c53b1b659279c3f697d87437b8317fb65b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/WPFDevelopers.Shared/Controls/BaseControls/ItemsControlBase.cs:66-70 | src/WPFDevelopers.Shared/Controls/CircleMenu/CircleMenu.cs:411-415 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/BaseControls/ItemsControlBase.cs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e630b4a3580c0a8495457af8c04733bd080d68394b1859b9dc5d9b3c065d15f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/WPFDevelopers.Shared/Controls/MultiSelectComboBox/MultiSelectComboBox.cs:215-221 | src/WPFDevelopers.Shared/Controls/MultiSelectComboBox/MultiSelector.cs:21-27 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/MultiSelectComboBox/MultiSelectComboBox.cs"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"214b5bec16e5ab14dbcf234af6ab6a22c8e20073329ace3c40e67d113aa74098"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/WPFDevelopers.Shared/Controls/AnimationAudio/AudioWindow.cs:15-19 | src/WPFDevelopers.Shared/Controls/ScreenCut/ScreenCaptureExt.cs:56-60 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/AnimationAudio/AudioWindow.cs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"48441c5bedeaf0755904ac2d1c753604ea8a0425ca6844fb838f21c8fcf8a1c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/WPFDevelopers.Shared/Controls/Toast/ToastAdorner.cs:37-45 | src/WPFDevelopers.Shared/Core/Utilities/AdornerContainer.cs:18-26 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/Toast/ToastAdorner.cs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"0abcb5e31680d3677688ca9e65b80eb5134346b4e2c9602dce7314278a77a8e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 6): src/WPFDevelopers.Shared/Controls/Markdown/MarkdownViewer.cs:805-809 | src/WPFDevelopers.Shared/Controls/Markdown/MarkdownViewer.cs:812-816 | src/WPFDevelopers.Shared/Controls/Markdown/MarkdownViewer.cs:819-823 | src/WPFDevelopers.Shared/Controls/Markdown/MarkdownViewer.cs:826-830 | src/WPFDevelopers.Shared/Controls/Markdown/MarkdownViewer.cs:833-837 | src/WPFDevelopers.Shared/Controls/Markdown/MarkdownViewer.cs:840-844 \u2014 all 6 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":"src/WPFDevelopers.Shared/Controls/Markdown/MarkdownViewer.cs"},"region":{"startLine":805}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6c5a22eefced5ddc64ee96ee53cfc0aea6762a0f612f0c81e405474bb0adb1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/WPFDevelopers.Shared/Microsoft.Expression.Drawing/Controls/CompositeContentShape.cs:17-21 | src/WPFDevelopers.Shared/Microsoft.Expression.Drawing/Controls/CompositeShape.cs:143-147 \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":"src/WPFDevelopers.Shared/Microsoft.Expression.Drawing/Controls/CompositeContentShape.cs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e2671b25a900db39c1bc65bdb7c5ce5f785a660673adb798917f4ad0c9583cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/WPFDevelopers.Shared/Controls/MultiSelectComboBox/MultiSelectComboBox.cs:215-221 | src/WPFDevelopers.Shared/Controls/MultiSelectComboBox/MultiSelector.cs:21-27 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/MultiSelectComboBox/MultiSelectComboBox.cs"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7e70620dd4b101e9df73122712915efac0a172b051e097354d8e7cff31698f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/WPFDevelopers.Shared/Controls/AnimationAudio/AudioWindow.cs:15-19 | src/WPFDevelopers.Shared/Controls/ScreenCut/ScreenCaptureExt.cs:56-60 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/AnimationAudio/AudioWindow.cs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ef14b65c88f431d5ce19cf8a5b85c38ab130c936397cfc0ebefca70b238f08e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/WPFDevelopers.Shared/Controls/Toast/ToastAdorner.cs:37-45 | src/WPFDevelopers.Shared/Core/Utilities/AdornerContainer.cs:18-26 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/Toast/ToastAdorner.cs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f384451c5addffb3e48b5c7f0bea9d1f1b29d734cdbd4977ca02a64a5dada9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 6): src/WPFDevelopers.Shared/Controls/Markdown/MarkdownViewer.cs:805-809 | src/WPFDevelopers.Shared/Controls/Markdown/MarkdownViewer.cs:812-816 | src/WPFDevelopers.Shared/Controls/Markdown/MarkdownViewer.cs:819-823 | src/WPFDevelopers.Shared/Controls/Markdown/MarkdownViewer.cs:826-830 | src/WPFDevelopers.Shared/Controls/Markdown/MarkdownViewer.cs:833-837 | src/WPFDevelopers.Shared/Controls/Markdown/MarkdownViewer.cs:840-844 \u2014 all 6 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":"src/WPFDevelopers.Shared/Controls/Markdown/MarkdownViewer.cs"},"region":{"startLine":805}}}],"partialFingerprints":{"codehealthFindingId/v1":"eda978d438d91ba5b64d690e8130c1f6a3ea6339233c7c3f3ea83c723b6dd607"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/WPFDevelopers.Samples.Shared/Controls/MultiSelectionSearchComboBox/MultiSelectSearchComboBox.cs:340-346 | src/WPFDevelopers.Shared/Controls/MultiSelectComboBox/MultiSelectComboBox.cs:686-692 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/Controls/MultiSelectionSearchComboBox/MultiSelectSearchComboBox.cs"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ae8c2942f5f9050a5d5afabf25eb6029cdf78be5c4d2ae46387548f48a20ae9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): src/WPFDevelopers.Samples.Shared/Controls/TransformLayout/ElementAdorner.cs:231-236 | src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ElementAdorner.cs:178-183 | src/WPFDevelopers.Shared/Controls/ScreenCut/ScreenCutAdorner.cs:96-101 \u2014 before extracting anything, compare \u0060src/WPFDevelopers.Samples.Shared/Controls/TransformLayout/ElementAdorner.cs\u0060 and \u0060src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ElementAdorner.cs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 153 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/Controls/TransformLayout/ElementAdorner.cs"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6b7e6ec383ce846da0d9eda0c439cf62ff102f50b8fadb4f05ba7354fe9d689"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ThumbAdorner2.cs:393-398 | src/WPFDevelopers.Shared/Controls/ScreenCut/ScreenCutAdorner.cs:301-306 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ThumbAdorner2.cs"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"a52eea1865d2ed862c49b1edeb56b2c7277ef275b5e273a2f2988f77a0175181"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/WPFDevelopers.Shared/Controls/AnimationAudio/AudioWindow.cs:15-19 | src/WPFDevelopers.Shared/Controls/ScreenCut/ScreenCaptureExt.cs:56-60 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/AnimationAudio/AudioWindow.cs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"a01eb4e551a92012d7d3870572ac8da615ceecd5a60834a25469c7278728fe70"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/WPFDevelopers.Shared/Controls/MapView/MapCoordinateHelper.cs:153-157 | src/WPFDevelopers.Shared/Controls/MapView/MapCoordinateHelper.cs:162-166 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/WPFDevelopers.Shared/Controls/MapView/MapCoordinateHelper.cs:153\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/MapView/MapCoordinateHelper.cs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e026e3a17c6fd9795098724aaa890a0af75640eee56b7b11b09cbeae5e8844c"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: MapViewFeaturesWindow (LCOM4 18): MapViewFeaturesWindow\u0027s methods fall into 18 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 18 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":"src/WPFDevelopers.Samples.Shared/ExampleViews/Map/MapViewFeaturesWindow.xaml.cs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"aba9d5bb99ea355c1722e42be5ae8bd87bc95d318d3675d85fa3fa5e2e6112cd"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: NotifyIconExample (LCOM4 5): NotifyIconExample\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":"src/WPFDevelopers.Samples.Shared/ExampleViews/NotifyIconExample.xaml.cs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"39ecbb1c0bf2f2cf9e1fea05480696b091c94dbd727ac4759566316913562ab2"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: CarouselBase (LCOM4 4): CarouselBase\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":"src/WPFDevelopers.Shared/Controls/Carousel/CarouselBase.cs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a9143eda195ff3846a1efec2c99a63368cda573741b773a9120d457530c4504"}},{"ruleId":"D8","level":"error","message":{"text":"No automated tests: No automated tests \u2014 no test code was found in this repository. Untested code is the largest single risk to changing it safely. Start with the code you change most often: add a suite in a framework a runner can collect (xUnit, NUnit or MSTest), and run it in CI so the gap cannot reopen."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3132564c6310e5d01a231f252a02d5d2f5a542c0a8fa29a14c89693f1e3df871"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/WPFDevelopers.Shared/Controls/ScrollViewer/ScrollViewerBehavior.cs: src/WPFDevelopers.Shared/Controls/ScrollViewer/ScrollViewerBehavior.cs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in BackToTopState.UpdateButton at line 435. 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:53:33 \u002B08:00\u0027 --until=\u00272026-11-14 00:53:33 \u002B08:00\u0027 --full-history --no-merges -- src/WPFDevelopers.Shared/Controls/ScrollViewer/ScrollViewerBehavior.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":"src/WPFDevelopers.Shared/Controls/ScrollViewer/ScrollViewerBehavior.cs"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"37a8abe3931cbf57e186c371bc819174c31fa16d83601b5d63bb6e4dd668517b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/WPFDevelopers.Net40/Window.cs: src/WPFDevelopers.Net40/Window.cs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in Window.WindowProc at line 386. 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:53:33 \u002B08:00\u0027 --until=\u00272026-11-14 00:53:33 \u002B08:00\u0027 --full-history --no-merges -- src/WPFDevelopers.Net40/Window.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":"src/WPFDevelopers.Net40/Window.cs"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"968e847578848871044061a1ed76021cd22f42a8bb076fa9dfb491c70e2a915e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/WPFDevelopers.Net45x/Window.cs: src/WPFDevelopers.Net45x/Window.cs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in Window.WindowProc at line 394. 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:53:33 \u002B08:00\u0027 --until=\u00272026-11-14 00:53:33 \u002B08:00\u0027 --full-history --no-merges -- src/WPFDevelopers.Net45x/Window.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":"src/WPFDevelopers.Net45x/Window.cs"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"3435c04c660bfa4fc147502bc061e40ea742bdd008600d6bf5be586191d24392"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/WPFDevelopers.Shared/Controls/MapView/MapView.cs: src/WPFDevelopers.Shared/Controls/MapView/MapView.cs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in MapView.UpdateMapShapesLayer at line 2688. 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:53:33 \u002B08:00\u0027 --until=\u00272026-11-14 00:53:33 \u002B08:00\u0027 --full-history --no-merges -- src/WPFDevelopers.Shared/Controls/MapView/MapView.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":"src/WPFDevelopers.Shared/Controls/MapView/MapView.cs"},"region":{"startLine":2688}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca29468b7efae819f6f67e105850bb9b9517cb4fa0031903c1f7dee01aa000c9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/WPFDevelopers.Shared/Core/Helpers/PanelHelper.cs: src/WPFDevelopers.Shared/Core/Helpers/PanelHelper.cs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in SpacingState.Update at line 103. 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:53:33 \u002B08:00\u0027 --until=\u00272026-11-14 00:53:33 \u002B08:00\u0027 --full-history --no-merges -- src/WPFDevelopers.Shared/Core/Helpers/PanelHelper.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":"src/WPFDevelopers.Shared/Core/Helpers/PanelHelper.cs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b409d5bd71501cff0e1411e35a5b0f57314487d0f909cc3324cdc89df546061"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 2 significant file(s) lose their only recent owner: src/WPFDevelopers.Net45x/Window.cs, src/WPFDevelopers.Net40/Window.cs. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0948ae5f6e0f7136ed5e37a4720111f98a0d1bcba37edb9fa1d711e37ae56733"}},{"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":"src/Microsoft.Windows.Shell/JumpList.cs"},"region":{"startLine":618}}}],"partialFingerprints":{"codehealthFindingId/v1":"99a49ba24b4d807afada742f0f12065a10df8fe7d416561b2b1d735fd8d8f4f8"}},{"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":"src/Microsoft.Windows.Shell/Standard/Utility.cs"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"504104d4394871a9d5877d6fa03cf4eaa61a8c4d7f943148d637b495c73a1ab8"}},{"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":"src/Microsoft.Windows.Shell/Standard/Utility.cs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"072e5e052742bfc4a9852bb49b4186576a0b23b3069e08defa7decffbe6f5cee"}},{"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":"src/Microsoft.Windows.Shell/WindowChromeWorker.cs"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"439a64927a22a624d96a5d07478717a32d0435d0c20e05567d7cd534e0239394"}},{"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":"src/WPFDevelopers.Samples.Shared/Helpers/BrowserHelper.cs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a2ff1d45cd8463acb8ec718be7e17673d585c6a888938daf8e5c60af2c7e8d3"}},{"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":"src/WPFDevelopers.Shared/Controls/MapView/MapView.cs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"01b2285660e790a57b56173de5e1748914bfb1b7c1b44fcd12f2655771cd7541"}},{"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":"src/WPFDevelopers.Shared/Controls/Markdown/MarkdownViewer.cs"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"af6fb078a4158cf8ac980060dcbfe82fa7514a22bba621c81107a7d5ff8b2234"}},{"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":"src/WPFDevelopers.Shared/Controls/Markdown/MarkdownViewer.cs"},"region":{"startLine":747}}}],"partialFingerprints":{"codehealthFindingId/v1":"2060ca6340cb62fb657539b2fc4aa64dd50ec7871871b6f0418026645882a91a"}},{"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":"src/WPFDevelopers.Shared/Controls/Markdown/MarkdownViewer.cs"},"region":{"startLine":774}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed6dc61ebb26496e12c71d7f71e350bca91d2732f51e3940db8648358fb2f900"}},{"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":"src/WPFDevelopers.Shared/Controls/SvgViewer/SvgViewer.cs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b01b10fdb100f7dbc7c601d5cd6ff7b708b8c7106f2c78dafed2e0f7d5f9bff"}},{"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":"src/WPFDevelopers.Shared/Core/Helpers/Helper.cs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"96cacf7f0451d72647b70596a82471e7b2110d4bbe6c9e4656ccc2777de9934d"}},{"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":"src/WPFDevelopers.Shared/Core/Helpers/OSVersionHelper.cs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"c17f9383747e35f6b4b54e00a9cbfb3b709a9b9f0135f2cdaf268e6086b3de8c"}},{"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":"src/WPFDevelopers.Shared/Resources.cs"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"263a6e46eef912754f9e42ff4e43c0ae306ccd5a74a13f78f0b5ec3ca69fbd17"}},{"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":"src/WPFDevelopers.Shared/Resources.cs"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"666997a473f2be87726e4844f17bc28b1b61d5e981e1087b8f63bcd6b12ccb47"}},{"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":"src/WPFDevelopers.Shared/Resources.cs"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"426984076f855682aa6827cc2d78bb8bdbb3dc6ad9f0bfa8ce9e66ecdf00be3c"}},{"ruleId":"D17","level":"warning","message":{"text":"BareSuppressMessage repeated across 27 files: The identical BareSuppressMessage (\u0060SuppressMessage\u0060) appears in 27 files (344 occurrences) \u2014 a single repo-wide policy (e.g. a Directory.Build.props decision or an idiomatic suppression), not 344 independent debts. Decide it once centrally rather than file-by-file. (Every occurrence still counts toward the score and metrics.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Microsoft.Windows.Shell/JumpList.cs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec12ea562f79400fff0eb0855e7a149fd767d8a736feb17485c9ef521a0cb1f9"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] Equals"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Microsoft.Windows.Shell/Standard/Assert.cs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd4cf1191f53aab527dacaa2d62f2a4846766ebc0066c7d4312a82e8526873bf"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 8 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Microsoft.Windows.Shell/Standard/MINMAXINFO.cs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eb4f2128aa3eb0d74259f62b6014e8276b990032f916c1a59046c3e941cbc52"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 8 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/BaseControls/ScaleBase.cs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1f7c746be6ba6b2f25b69a4f28bcfdf505c42eaee678bfd3a83a67e24893c35"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 8 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/BaseControls/ScaleBase.cs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d936a39a4d02a0df2f02ba68abdf41f7c55ccf4e9fbd0f67669bf80e602244e"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 8 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/BaseControls/ScaleBase.cs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5df4212549ad74ce817a339f16e1a4357d4e8514e8d17248fd9398ca227abef"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable 0649 \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":"src/Microsoft.Windows.Shell/Standard/MOUSEINPUT.cs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"08ba076ba78c819f5205bd1ce7900d98526aa84c0f4ff8ca8a0ba01373cbef85"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private Guid _fmtid \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":"src/Microsoft.Windows.Shell/Standard/PKEY.cs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f00babc0a4c828b04a8b38627ac4aee841da5ad4f7cd6099f33e97ea8a293c5"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private uint _pid \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":"src/Microsoft.Windows.Shell/Standard/PKEY.cs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"61686ca5e7567dd8d0e68eb3dd128a4ca3260664e1110188fe84c10312828bd5"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] GenerateToString"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Microsoft.Windows.Shell/Standard/Utility.cs"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f30a0bf64bc463bce3a05c6977bf932b1ca7d1bfd3da2a64c8de41353caafd0"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/Controls/Drawing/DrawingPanel.cs"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"086ded677ba3cd6dce99b3031b4a1aa377f68ecb6f2a387107a5250dd395f500"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/Dial/Dial.cs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"22bc67cbae0ec55a68339eef555e13956dd4cdbe118ea9a49e81f69a291a1ebf"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private int zIndex \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":"src/WPFDevelopers.Samples.Shared/Controls/RoundPicker/RoundPicker.cs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1a7d83c226d3e0472abbc5be986cb7c0735a3d66c30eaf25d66ed83e66a42db"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 6 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/ExampleViews/Desktop/DesktopPlayVideo.xaml.cs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"8700fc9ead9d3a907dff38933f76990722e1d8b16c89feb617cead0398cb7707"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 6 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/ExampleViews/Map/MapViewExample.xaml.cs"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5dd3338f9cdff74b6945d7deacf4cd4dcaebe46db3cf4b14f803713c780e3f0"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 6 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/ExampleViews/Map/MapViewExample.xaml.cs"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3f1ef0e633d06d50ea7bda4ad2353bc04cf2fa760dd0d30c7f6d43b84b16674"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 6 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/ExampleViews/Map/MapViewExample.xaml.cs"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"e73032cefff189b9c9abf7436e0f849b9993f97f4569a820df6991c1338abc44"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private TransformThumb parentElemt \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":"src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ThumbAdorner.cs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e681477d78cb319616ffccaa5f086aada66001b4820db1824ece81f12d3c385"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/ExampleViews/Map/MapViewExample.xaml.cs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a0ec335a9e92b0840b45563767fd5949028032fa762af48e5b4bb76f35e0071"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/NotifyIcon/Runtimes/Interop/BITMAPINFO.cs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"10457da05d576ad3d70ad24723f75e1cffe338be76d052e40e3dc29b68c069d7"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 7 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/ExampleViews/Map/MapViewExample.xaml.cs"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7ff07dbc47030bd87521ebff4e02ffcd02c55768336d2d6eed6fedadbb00105"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 5 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/ExampleViews/MultiSelectSearchComboBoxExample.xaml.cs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c81f5ec190d9732c6a503b741043dec404644bc3953ea4864b05a40cb2c4acc"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 5 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/BaseControls/ScaleBase.cs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e9a88704b5e40de1ed6898f1840d307cca885daba5faa028f59354ec40b0d45"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 5 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/Loadings/RingLoading.cs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"677c35dbc725b149772ea1c1ee4999f879807e182c88748c8420c28a808bec0d"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 10 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/ExampleViews/SpeedRockets/SpeedRocketsExample.xaml.cs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"403425e5ac2bc73dbfc886170cc2215b1d8a71fb108ea32c9ad9911188b7071a"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 10 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/BaseControls/ScaleBase.cs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b67c5ef3aeb5c79db5db18ba743206371ed13e821f1efe22fcb3f7e0e17fc30"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private bool _isLoaded \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":"src/WPFDevelopers.Shared/Controls/Carousel/CardCarousel.cs"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"9751df68140a0f486b622c01caf2587d541eeb78834b2c4e7b93187d237a2114"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private TextBlock _textBlock \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":"src/WPFDevelopers.Shared/Controls/CircleProgressBar/CircleProgressBar.cs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d9bc81e938264a2edae15ba234de3e194749f679858eea04810ca08847bb1e9"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private PopupWindowHook _popupWindowHook \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":"src/WPFDevelopers.Shared/Controls/DateRangePicker/DateRangePicker.cs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b8c4d0a12b0e33850d9615e4a79fef03c1fec0ce63f464aa0dd20dfa2c03a91"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private PopupWindowHook _popupWindowHook \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":"src/WPFDevelopers.Shared/Controls/MultiSelectComboBox/MultiSelectComboBox.cs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"a18ab625fdf19d5fd889da822738eee8c61a725070155e4978829905e6619359"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private PopupWindowHook _popupWindowHook \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":"src/WPFDevelopers.Shared/Controls/TimePicker/TimePicker.cs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"09f8e2a8a508e17b882e0f81a25dea1c65c6339121bc6c577e91bce1e7102ca7"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private bool _isExpanded \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":"src/WPFDevelopers.Shared/Controls/DrawerMenu/DrawerMenuItem.cs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fedc2edae63cf3268aebef84581a8fc79c30275e50aca571f12dface2ff2cd0"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable 0618 \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":"src/WPFDevelopers.Shared/Controls/MapView/MapView.cs"},"region":{"startLine":4256}}}],"partialFingerprints":{"codehealthFindingId/v1":"d99f2d9bbecaa94315233de607242091a3b7da718b31eb8d10d4dce4d69ae8ba"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private Visual visual \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":"src/WPFDevelopers.Shared/Controls/Mask/MaskControl.cs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"f329920b6e36178980293febf1c62fc1ba62a73bbfa204e32e1611ad39e9e1f9"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private bool s_Loaded \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":"src/WPFDevelopers.Shared/Controls/NotifyIcon/NotifyIcon.cs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"43459787901d1179cd1e96cca6675ad427310a4fce2b1f87c8bf9fdac26baa79"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if DEBUG_HANDLECOLLECTOR \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":"src/WPFDevelopers.Shared/Controls/NotifyIcon/Runtimes/Interop/HandleCollector.cs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"82ce7614b3026ff446ea93e7c849856165ee60e54594a0720a8c495a8a569ef6"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if DEBUG_HANDLECOLLECTOR \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":"src/WPFDevelopers.Shared/Controls/NotifyIcon/Runtimes/Interop/HandleCollector.cs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"975c32a8a6e1ea08742a697ef6cc9de2e340dd9c1844643d517632dfd1995d69"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if DEBUG_HANDLECOLLECTOR \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":"src/WPFDevelopers.Shared/Controls/NotifyIcon/Runtimes/Interop/HandleCollector.cs"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f30159e0087a6a1b2541939019f28f20d018418698368b927cdc225d6b67021"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable CA1416 \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":"src/WPFDevelopers.Shared/LanguageManager.cs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"6856ae9417df145af289b68e85440ed07bbc6ac17f5bd0eccbc77781aeea7e6b"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private DrawingPropertyMetadataOptions options \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":"src/WPFDevelopers.Shared/Microsoft.Expression.Drawing/Media/DrawingPropertyMetadata.cs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc885cede2a0b4e8bfcc82487e7ea3512bbfbffb7b6d76e6b2873cccede9bea1"}},{"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":"src/WPFDevelopers.Samples40/WPFDevelopers.Samples40.csproj"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"10a734bfe721376b2239b572624a6134cce729bb1951d7185fab0770b8ee5720"}},{"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":"src/WPFDevelopers.Samples40/WPFDevelopers.Samples40.csproj"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"b443cf623cd8e028f3812928be03dbdfc1861e60f0042c32576087bb877d062f"}},{"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":"src/WPFDevelopers.Samples40/WPFDevelopers.Samples40.csproj"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"77076e23e1fb81ca07bb23d5038e6615d0984c3c6fd557703e5ab7fd2a35f34f"}},{"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":"src/WPFDevelopers.Samples40/WPFDevelopers.Samples40.csproj"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"82f9ad2ac5fc050d0fa5b3c8522fb7f99f1c4b694e13860a1fa99802c1a8c16f"}},{"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":"src/WPFDevelopers.Samples40/WPFDevelopers.Samples40.csproj"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"71220fe04acfdcbbdf765716a8db9e8f6bfdf493b0a8227656c2e8c9e72e0764"}},{"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":"src/WPFDevelopers.Samples40/WPFDevelopers.Samples40.csproj"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"217ad34676c48d55b4649afd53f153330360e34042b8f3925b369b421ce3ea72"}},{"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":"src/WPFDevelopers.Samples40/WPFDevelopers.Samples40.csproj"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aefe53c22b212dfa2beb7fb22289d0d09c042bfb4478962c4c88dde91b7565c"}},{"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":"src/WPFDevelopers.Samples40/WPFDevelopers.Samples40.csproj"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"2606842d723ca32acc79e55c70bdccaefd574165fa1ea7f120d99d7e05fb398c"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: CS0067 \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":"src/WPFDevelopers.Samples40/WPFDevelopers.Samples40.csproj"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"b692287c79382eeb12aebfac6c4cfa8b22669ab52ef8a530112056311f71ff0a"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: CS0067 \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":"src/WPFDevelopers.Samples40/WPFDevelopers.Samples40.csproj"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"5730fa300346b7bab46e22221d2294a5d51b174a2b9a775e54a7aa23019c46d2"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: CS0067 \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":"src/WPFDevelopers.Samples40/WPFDevelopers.Samples40.csproj"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7e35e345f9608489efc6e19e873ef95c244608e3e3c6110aed1046642a3f99c"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: CS0067 \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":"src/WPFDevelopers.Samples40/WPFDevelopers.Samples40.csproj"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"a39f7bbbe2bbd2880d194fff52744e6e25e5fc709f94ae46e0dc0c162666f1a0"}},{"ruleId":"D18","level":"note","message":{"text":"Shell project: WPFDevelopers.SamplesCode(\n\t\t\tnet40): \u0060WPFDevelopers.SamplesCode(\n\t\t\tnet40)\u0060 contributes only 0 significant line(s) \u2014 an empty/placeholder project is structural noise. Remove it or fold its contents into a real project."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.SamplesCode/WPFDevelopers.SamplesCode.csproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cc1296b876bc872f77f82db58b4a30867d3ab275e55fbe9de203ed2aa9372c7"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no map of the repository\u0027s parts: The repository has 5 units (\u0060WPFDevelopers.Net40\u0060, \u0060WPFDevelopers.Net45x\u0060, \u0060WPFDevelopers.Samples40\u0060, \u0060WPFDevelopers.Samples45x\u0060, \u0060WPFDevelopers.SamplesCode\u0060); \u0060README.md\u0060 and the documents it links name none of them. Add a short list of the parts and what each does."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f047b1120601c2537f0645d9b67f052758989ccf5801de4d919633bcff2a3cc2"}},{"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. ADRs are expected here because \u0060src/WPFDevelopers.Net45x/WPFDevelopers.Net45x.csproj\u0060 makes this repository a deployable product (line 5)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Net45x/WPFDevelopers.Net45x.csproj"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb20a082ce8e44ddcd7279e2b4c085e3900decb12ec41d5f5ba39416e1d862fa"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022where theme specific resource dictionaries are located\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":"src/WPFDevelopers.Net40/Properties/AssemblyInfo.cs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"60e736b21e4d6aebee29dc16791665e847946ee0b2d0e2be97ec89ccdb769c4d"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022(used if a resource is not found in the page, or application resource dictionaries)\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":"src/WPFDevelopers.Net40/Properties/AssemblyInfo.cs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"336318fb212a089b4fd545ad683b5feea4281e88ff88605461ea7d3350aa8059"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022where the generic resource dictionary is located\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":"src/WPFDevelopers.Net40/Properties/AssemblyInfo.cs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"02f494ce973de17546179744d45f534fba3efcf070622569b4426015c7b88c00"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022(used if a resource is not found in the page, app, or any theme specific resource dictionaries)\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":"src/WPFDevelopers.Net40/Properties/AssemblyInfo.cs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"c08811f66126b0fbe6e7d9711a42f9e98e03187fa87f4bc274cc87fb87326d8b"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060WPFDevelopers.Net40\u0060 overshoots its size bounds (55326 LoC, 521 public types across 21 namespaces). 4 of 5 project(s) overshoot their size bounds, lowering Project Cohesion to 0.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":"src/WPFDevelopers.Net40/WPFDevelopers.Net40.csproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"baa15c0d67e3b4892297e48777c2dab8d8b859503d604be29e3613d4c3f23858"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060WPFDevelopers.Net45x(net45)\u0060 overshoots its size bounds (46507 LoC, 521 public types across 21 namespaces). 4 of 5 project(s) overshoot their size bounds, lowering Project Cohesion to 0.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":"src/WPFDevelopers.Net45x/WPFDevelopers.Net45x.csproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ed7d47d3c59a30a643429a0e3d25755e04a124173cfc2994988e6e7f91afc6b"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060WPFDevelopers.Samples40\u0060 overshoots its size bounds (16543 LoC, 267 public types across 20 namespaces). 4 of 5 project(s) overshoot their size bounds, lowering Project Cohesion to 0.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":"src/WPFDevelopers.Samples40/WPFDevelopers.Samples40.csproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc145b5c9f7d9fe7a435d6efd73370bd09039e14512733cfa9108476f73141d2"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060WPFDevelopers.Samples45x(net45)\u0060 overshoots its size bounds (16543 LoC, 267 public types across 20 namespaces). 4 of 5 project(s) overshoot their size bounds, lowering Project Cohesion to 0.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":"src/WPFDevelopers.Samples45x/WPFDevelopers.Samples45x.csproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb2b8755ce0e86f0e03870925121af4e9807045495d361b418297c8827d1e046"}},{"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":"4a8f14b864734bb61f0587f92d08a808c5823a254c7d0296febfcba8777d41c9"},"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":"fa94605124489ec480b80bb165cf8a4c5d78008c03503095d5cc6f88bd3199f5"},"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":"0882b88fcd0bf997e758e6c28e658d72a1521c43c194f88ada17e58bebc3a210"},"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":"ff9d48f6dd78053439826c75cf1f063fbe729bd7a03668dfd356c6d1e589a4f4"},"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":"3bcbec594de22959c796a75e7314c5184d224060aa7a67a85e54598e0fcb774e"},"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":"a9de802497824fc56680d1131c4a29ca33123892b4a3b1108348872ba89e1bf0"},"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":"f422ccdd2412655ce45421c1ce5af1e44b16dea77e8f1b597789405fe9afaf42"},"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":"b30fb98e2f41517b6a8123d89d10262a8dd36f67e197d385bc21a8b11c56ad7c"},"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":"8aab31dc84f1a970fc5f5ca7b2a464a1697da8c2ab7c95ae10f6f5459df02c6d"},"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":"77d951290765c0c71757d02d9307232080bd9e7f46683f02ffac16f7f318543a"},"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":"b8df42c591b8515943daa0687479bd18d14501d433d8e89d95d3097d76eed28f"},"taxa":[{"id":"CWE-73","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06: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":"cb07ac156b6223187932207f8b9f30c5578249b8d0d47fb747d7905cfd61a0b3"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"c667d5a32e0e8e69711b6ced34ad81e315844858b086b03360a410bf7971d502"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"74c2ae5e68158e5c11962248b216399aa4e87b7b276a1b61b2660fa9dc4b7200"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"4afe7ab22875921956d6524fd34b681fe9d7c0d38202531098d92c50b284b4de"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"da0939af4c23896934b02458b42cf8b6a6e5e812bbe506e257a638378c1ee6ea"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"aba6ff7f2580073406da29ea03fd8e91306549727d61fd727a086ef21674e5d2"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"e2eea8f51b9f9fc9bdf9bd7eee8a8d163f78f464dddd4a73cc2fc210878fbc07"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"6721b02a6858787b9215962857eb02efa753c5b504776601315a642f290e450c"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"253ecd3304df6f358410f65ffbfceba37566bc67c6b538ca62fd45066bcc2efd"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"1ef8dbbb53ee05331c3a4129c107aabbe3791f6b54984262e045c0b45840ea6e"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"244ae2b07a6912642c49fe2d8b98ee18af15377b21080818834c1ffef9247e0d"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"b311d7232d988e9ce1509b92b8ebeb53c736b5d29383b74528b94e8e68b623da"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"756f55cec1b32263b9770f85a0296a1deeaddf0b15bdb8a8c2878af6a8319ad3"},"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":"16c52fe1c6062467b99af30d3e71a54834c97ad00161ea60252ed0d7ced61c58"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"2a94efb60677af3fe84903e42776419488b1c1f55230d71eaeb9b14fb2c17e5f"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: ScreenCutExample.xaml.cs \u2194 ScreenCut.cs: \u0060src/WPFDevelopers.Samples.Shared/ExampleViews/ScreenCutExample.xaml.cs\u0060 (context WPFDevelopers.Samples.Shared) and \u0060src/WPFDevelopers.Shared/Controls/ScreenCut/ScreenCut.cs\u0060 (context WPFDevelopers.Shared) sit in DIFFERENT parts of the tree yet change together 55% of the time (6 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u0060e3f5fa7a\u0060 Fix issue: First Screenshot is a black Screen \uFF08#208 \uFF09 \uD83D\uDC4D; \u0060f29d4a81\u0060 Fix issue #123; \u006095941666\u0060 #77 Fix issue \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/ExampleViews/ScreenCutExample.xaml.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9888c4fec5669bc5cf80e562acaf23736fbffcbda7492516fca146e6f385fc09"}},{"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":"081b3b6b6a0d086001c8f27704884864745432d508143bc1735206703d28563f"},"taxa":[{"id":"CICD-SEC-5","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":"1eb1746380a394780cffbc614017e5168d6329aa254342f5d2185e717e650fe1"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D44","level":"warning","message":{"text":"End-of-life runtime: .NET Framework net40: src/WPFDevelopers.Net40/WPFDevelopers.Net40.csproj declares .NET Framework net40 as this project\u0027s target framework, and .NET Framework 4.0, support ended 2016-01-12. An unsupported runtime receives no security patches, so every vulnerability disclosed in it since 2016-01-12 is present and unfixable without moving off it. This is a migration rather than an upgrade: there is no newer release of a runtime that has ended."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Net40/WPFDevelopers.Net40.csproj"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"af4c8ca65c8824f6eb3ea8d8edcacc6238fc1624ca84cc3628814676980e823d"}},{"ruleId":"D44","level":"warning","message":{"text":"End-of-life runtime: .NET Framework net40: src/WPFDevelopers.Samples40/WPFDevelopers.Samples40.csproj declares .NET Framework net40 as this project\u0027s target framework, and .NET Framework 4.0, support ended 2016-01-12. An unsupported runtime receives no security patches, so every vulnerability disclosed in it since 2016-01-12 is present and unfixable without moving off it. This is a migration rather than an upgrade: there is no newer release of a runtime that has ended."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples40/WPFDevelopers.Samples40.csproj"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"19f5db07d409f07d280ee3f47764da82b901df1ac83ff1539226c059e505df35"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful shared instance: SampleLanguageManager: \u0060SampleLanguageManager\u0060 keeps one instance of itself in the static \u0060LazyInstance\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 (_exampleViews, _initialized; e.g. \u0060_exampleViews\u0060 at line 89)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/SampleLanguageManager.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"e158c07eca9f1736e44bfa1a616f87a576dfe300dd0c2b1b818463c87a98d34c"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful shared instance: ThemeManager: \u0060ThemeManager\u0060 keeps one instance of itself in the static \u0060_instance\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 (_themeAnimating; e.g. \u0060_themeAnimating\u0060 at line 90)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/ThemeManager.cs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"d107b5eb98cea8c66fbcbb6ef4899f158e2e8748499d012a34fd7f8b86bce80e"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful shared instance: LanguageManager: \u0060LanguageManager\u0060 keeps one instance of itself in the static \u0060_lazy\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 (_currentCulture; e.g. \u0060_currentCulture\u0060 at line 22)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/LanguageManager.cs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f5b3aaf703ac027107cc3cc8e624f7900cfdcf4aebbc66ef70a16d0eb9b9014"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful shared instance: ToastExt: \u0060ToastExt\u0060 is not registered, but \u0060Toast\u0060 creates it and keeps it in the static \u0060_toastExt\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 (IsPosition; e.g. \u0060IsPosition\u0060 at line 48)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/Toast/ToastExt.cs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"2293ea4ff8d98030a4b058393a20c056c0359e6714819cb2504b7bb4635c7089"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful shared instance: DefaultLoading: \u0060DefaultLoading\u0060 keeps one instance of itself in the static \u0060Default\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 (_indicator; e.g. \u0060_indicator\u0060 at line 28)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/Loading/DefaultLoading.cs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"273ceefb0ae91f14dd9e627694113759f3e9a3d1fc111a0ed5a012378d6870b4"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful shared instance: Magnifier: \u0060Magnifier\u0060 keeps one instance of itself in the static \u0060Default\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 (_factor, _adornerContainer, _border, _visualBrush; e.g. \u0060_factor\u0060 at line 70)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/Magnifier/Magnifier.cs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c073a119a24447fecb4b15148d821d5bfe31a96124f2af2d4caca6f3af9e2b2"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful shared instance: HandleType: \u0060HandleType\u0060 is not registered, but \u0060HandleCollector\u0060 creates it and keeps it in the static \u0060handleTypes\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 (threshHold; e.g. \u0060threshHold\u0060 at line 165)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/NotifyIcon/Runtimes/Interop/HandleCollector.cs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c78db232fd5da3776744a5899146c2ec22217abb82b9ce1655fd2429b5754fb"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful shared instance: AdornerContainer: \u0060AdornerContainer\u0060 is not registered, but the singleton \u0060Magnifier\u0060 creates it and keeps it in \u0060_adornerContainer\u0060, so one instance outlives every request and is shared by every caller that reaches it \u2014 and it mutates instance state outside any lock (_child; e.g. \u0060_child\u0060 at line 21)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Core/Utilities/AdornerContainer.cs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"42ca38a40c7429a08d8d9a864f927f9b9a35653cee19dae32286ba04ec0ed08a"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: Dialog: \u0060Dialog\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 (OpenDialogs; e.g. \u0060OpenDialogs\u0060 at line 272). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/Dialog/Dialog.cs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"14a21ebc5f91096c655bcdc40be0e4226dd28f67627833fb9aec7def4ae7ab2c"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: PropertyAccessor: \u0060PropertyAccessor\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 (_cache; e.g. \u0060_cache\u0060 at line 27). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/Filter/PropertyAccessor.cs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eb3f30dcb305f26241b882ee381eb0f4968d6354cdc7d1277915f65bf4eab43"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: Toast: \u0060Toast\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 (_toastExt, _position; e.g. \u0060_toastExt\u0060 at line 117). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/Toast/Toast.cs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1ce011051cdf886d6fdf91c6921c3937efe812147d9eabf13e95c1bb5da860b"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: Loading: \u0060Loading\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 (_loadingMap, _adornerMap, _wrapperMap; e.g. \u0060_loadingMap\u0060 at line 131). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/Loading/Loading.cs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d175fdb4ae3bc331248f6dfbaad6f220016c03de80f35a643503626c6ece29f"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: NotifyIcon: \u0060NotifyIcon\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 (s_NotifyIcon; e.g. \u0060s_NotifyIcon\u0060 at line 290). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/NotifyIcon/NotifyIcon.cs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aff582379885af9851abe6b9e173772570191fcb9f013515f4c01faa5dd72d1"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: ScreenCut: \u0060ScreenCut\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 (CaptureScreenID; e.g. \u0060CaptureScreenID\u0060 at line 340). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/ScreenCut/ScreenCut.cs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a9935595f0e1ecf931f7d2f753216991985649e41890b87a5daa3b2523660a0"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: DatePickerHelper: \u0060DatePickerHelper\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 (_timeStorage, _textBoxStorage, _timePickerStorage; e.g. \u0060_timeStorage\u0060 at line 321). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Core/Helpers/DatePickerHelper.cs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"3be40b13d46096dd22a7e42eddb5774403c5aeac0f7d66c15b247b0196dddd28"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: DesignerHelper: \u0060DesignerHelper\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 (_isInDesignMode; e.g. \u0060_isInDesignMode\u0060 at line 240). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Core/Helpers/ControlsHelper.cs"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"60d24e2f7e1cdb3d47ab4e30c1201c692eb5bd5052f65dcb92259221a6b2bcad"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: ElementHelper: \u0060ElementHelper\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 (_isMetadataOverridden; e.g. \u0060_isMetadataOverridden\u0060 at line 19). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Core/Helpers/ElementHelper.cs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"942ab6a5eef5fd0f37905595a04dca6c9f42ce6cd407b712b15f258e83b1f3d1"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: OSVersionHelper: \u0060OSVersionHelper\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 (_isSnapLayoutSupported; e.g. \u0060_isSnapLayoutSupported\u0060 at line 60). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Core/Helpers/OSVersionHelper.cs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"37d9a1ef5f44c013a195e048ab905f10c1a58f27ec69fee0b55dfca4c46d1eee"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: GeometryEffect: \u0060GeometryEffect\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 (defaultGeometryEffect; e.g. \u0060defaultGeometryEffect\u0060 at line 53). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Microsoft.Expression.Drawing/Media/GeometryEffect.cs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c5b59135c90bc78c6ab2595576847c7bfa389c384d92a068487beb40b1402de"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: Global: \u0060Global\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 (assemblyShortName; e.g. \u0060assemblyShortName\u0060 at line 21). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Microsoft.Expression.Media.Effects/Global.cs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed6d1d9ff91a0d81f9073d179c896f09cf8fc1972dcd361074f4865670f91eb5"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: ThumbButtonInfoCollection: \u0060ThumbButtonInfoCollection\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 (s_empty; e.g. \u0060s_empty\u0060 at line 20). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Microsoft.Windows.Shell/ThumbButtonInfoCollection.cs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"7615e315b13adf15756d77b1cab836e1da7383b593a7e7116594f933178a3777"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: MessageWindow: \u0060MessageWindow\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 (s_windowLookup; e.g. \u0060s_windowLookup\u0060 at line 79). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Microsoft.Windows.Shell/Standard/MessageWindow.cs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbf4bef70ee004f03474d18312597a4eff04518089a8e50db8c07b508cf92e97"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: Utility: \u0060Utility\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 (s_bitDepth; e.g. \u0060s_bitDepth\u0060 at line 349). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Microsoft.Windows.Shell/Standard/Utility.cs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbce2929303874248ac51ca63cc5a4e3b8cad22a898c6a67567d8b00742592ca"}},{"ruleId":"AX3","level":"error","message":{"text":"Namespace dependency cycle: The namespaces WPFDevelopers \u2194 WPFDevelopers.Core depend on each other. The lightest dependency in the cycle is WPFDevelopers.Core \u2192 WPFDevelopers (WPFDevelopers.Core.ThemeChangedEvent \u2192 WPFDevelopers.ThemeType, 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":"src/WPFDevelopers.Shared/Core/ThemeChangedEvent.cs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9003e8ad78c402d590efc58ad7b2d2a7cd52348de12fd0027a0693103265614"}},{"ruleId":"AX3","level":"error","message":{"text":"Namespace dependency cycle: The namespaces WPFDevelopers.Controls \u2194 WPFDevelopers.Helpers \u2194 WPFDevelopers.Utilities depend on each other. The lightest dependency in the cycle is WPFDevelopers.Helpers \u2192 WPFDevelopers.Utilities (WPFDevelopers.Helpers.MaskAdorner \u2192 WPFDevelopers.Utilities.AdornerContainer, 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":"src/WPFDevelopers.Shared/Core/Helpers/WindowHelpers.cs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d14d36813596cb14fd4c3a8432f24c2e40be3e4c6cbaa8f38e5a5d541e13dd9"}},{"ruleId":"AX3","level":"error","message":{"text":"Namespace dependency cycle: The namespaces WPFDevelopers.Samples.ExampleViews \u2194 WPFDevelopers.Samples.ViewModels depend on each other. The lightest dependency in the cycle is WPFDevelopers.Samples.ExampleViews \u2192 WPFDevelopers.Samples.ViewModels (WPFDevelopers.Samples.ExampleViews.PaginationExample \u2192 WPFDevelopers.Samples.ViewModels.PaginationExampleVM, 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":"src/WPFDevelopers.Samples.Shared/ExampleViews/PaginationExample.xaml.cs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"f24faec0da91041cd0c1e982a998f9e3e3fc9fed560878c5afc5f0ee17dbd7e3"}},{"ruleId":"C1","level":"warning","message":{"text":"No data-protection/encryption: No data-protection or encryption usage (ASP.NET Data Protection, AES, column encryption, PBKDF2) was found \u2014 sensitive data at rest may be unprotected. If TDE/KMS/vault is delegated to infrastructure, ignore."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3674448ef29fbd006d82bb49ec9615cf1ee508105aa1d952555aabaf3e10a9f9"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/Converts/DrawPrizeIndexToColor.cs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe35d0327ecce44c04c2fc10f46d7e291ee28b0c68ca37e9cb45805b8e27c73f"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/Converts/StateConvert.cs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"960fe9e9417fd9a0a0eb281fd2d68ba7005a2af6d6e53a7869424b8c81242ac7"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Core/Converts/FirstLastMarginConverter.cs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ce42338ee97118fce17bae92b649edcff13b9781eec499c179449b6363b4776"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Core/Converts/FilterVisibilityMultiConverter.cs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"72b22919a554a286053fda3bea3b29fd99da7366b1f3fd5fdccf795c7594a49d"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Core/Converts/SelectedIndexToBoolConverter.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"df10acf49adda94918d69ba1338eac03f417110cbc35cf0428e8253ce656d981"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Core/Converts/BreadCrumbBarConverter.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"8803f7a4390bf36ca34f7d60d83d13b4faa31d2ff752fc19b1844e6a45c971c2"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Core/Converts/ButtonPositionToColumnConverter.cs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"24b954833ac1cae91f5a30ea1d2e1d6c5656012da999a23dc251c6e4664f6636"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Core/Converts/ButtonPositionToColumnConverter.cs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"246e29b359c69491be487dea9fd1542627f6fa41653d43b6ea5c3a7b624ee109"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Core/Converts/ColorConverter.cs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2af28b3056139a77c4cc73d8ba4439e1da086b78d6ea75118dd453f1227eba0"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Core/Converts/ColorTypeToVisibilityConverter.cs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"82705c680950d3366d79bca7730734e7bec8be5f9c235c979b37db05916c6430"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Core/Converts/CornerRadiusToSurroundConverter.cs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c0850bdae7ec962f3e689b5fb4dd1cb1464597a04af1e08c7e517235d2fc64a"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Core/Converts/GridLinesBorderBrushConverter.cs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e1eae472771a1a7971164a014123bf93ec33217a631b7c637e4578c98b9868e"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Core/Converts/LastColumnGridLineVisibilityConverter.cs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"952f46d1fbe3c7e0737c6aa0adb93c70e73f73ddb9091df15159a40265ecee76"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Core/Converts/MultiBoolToVisibilityConverter.cs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"46db8440de82614db89d63976921c67430bcce6c7c98ea1828a9dd37c2d86e69"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Core/Converts/NullToVisibilityConverter.cs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"c55b6c72e64eb6868170256dedf441cbc5bbb742c63b9a73420e2e96526d10cd"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Core/Converts/DirectionalThicknessConverter.cs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"5acab7ead0d2acca12d748effb68c58458814f88691ccef18755739b678d1253"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Core/Converts/DatePickerToCurrentConverter.cs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"733f9c4a592cf6b0b228a92fe581d194c6e7c4ef83e31959a8a18a7ed7a19b26"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Core/Converts/HalfValueConverter.cs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fa625fad31a28ef47bc8926041daaa71fc335ddc2da7eb81acb04b59d29e2c7"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Core/Converts/OrientationConverter.cs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b1a5d1d5e3d54eb3d4bd7ed45d9073492c227e08832c86cb56460a02b543cd5"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Core/Converts/WidthHeightEqualValueConverter.cs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"2321f58e745f0a9c0de073f201027369a5c648420f63b0dc28dabb80af7ed194"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Core/Converts/WidthHeightToRectConverter.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d1dec52f0ce83fad9ffda8f4543cb9f3f22ce24122863c8851654454e2aec8b"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/Carousel/CardCarousel.cs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf00820e88a5f9100c54b1b7257bbb1cdbddbc276cff26c3fc0ab4cd3bfc4b56"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/Carousel/CardCarousel.cs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dfb1f1b567e5c386ab9ec8f85bfc71eb8a4f2c6c151adfdc3d1f29da5eeb51c"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/Windows/WindowAcrylicBlur.cs"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"c637bf1c31aa594b04cfbe82670a6c0c2244e0d7a95bd3ee98243564e4269323"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Core/Converts/AngleToIsLargeConverter.cs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"ede56d2a7166b28c198ff4254d80df4a3bb8a66067721e7fa56cdb10ab7d5417"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Core/Converts/AngleToPointConverter.cs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"2231282446efd81819afcf251071695c43791468b8b11b67132448aaace48b28"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Core/Converts/ElementConvert.cs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1e789574652cb0c649b251d55c61b503e28295c3741baebf2759a0bf5bee21f"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Core/Converts/StepIndexConverter.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ab999642a00d7868c1d0fae6ee75d085f42704082b0a156cdeb12000da4991c"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Core/Converts/ObjectNullToVisibilityConverter.cs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cef0cbd6b912b4d0c0f5d71a55f50a90980c750ae9c620f9e28a03778e6ab39"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Microsoft.Expression.Controls/IsArrangedToScaleConverter.cs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"5379e864230b21386e2281d7b6c24ffefa47a7fbc5a477f19d376dac1cc5a695"}},{"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":"src/WPFDevelopers.Samples.Shared/ExampleViews/BasicControlsExample.xaml.cs"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d0961190998033ba379dc5faef32aa57c701e018b9972c997fb6139e41438e6"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060AddChild\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":"src/WPFDevelopers.Shared/Controls/Carousel/CardCarousel.cs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce5e96b0bea8b97ffaac62ca307488ad4ce1bc41d2c88336f85e2af51592eb7c"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060AddText\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":"src/WPFDevelopers.Shared/Controls/Carousel/CardCarousel.cs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfe37bcd7ed621e509e25d652a26c79113ac1af0a7605e5fb84f134ca477a16b"}},{"ruleId":"IC1","level":"warning","message":{"text":"Comparison is always false \u2014 nothing compares equal to NaN: \u0060vHeight == double.NaN\u0060 is false for every value, including NaN itself: IEEE 754 leaves NaN unordered with everything, so \u0060==\u0060 against \u0060double.NaN\u0060 never depends on the other operand. Use \u0060double.IsNaN(\u2026)\u0060 \u2014 the test that was intended, and the branch this guards is dead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/Carousel/FocusCarousel.cs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3e0e707c0b6b0a483a1cf5730724322fd83aae736cf0a5e338e23049ab9283c"}},{"ruleId":"IC1","level":"warning","message":{"text":"Comparison is always false \u2014 nothing compares equal to NaN: \u0060vWidth == double.NaN\u0060 is false for every value, including NaN itself: IEEE 754 leaves NaN unordered with everything, so \u0060==\u0060 against \u0060double.NaN\u0060 never depends on the other operand. Use \u0060double.IsNaN(\u2026)\u0060 \u2014 the test that was intended, and the branch this guards is dead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/Carousel/FocusCarousel.cs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebe0ecf124cf2a49de84e974b12776d70a733feb83c8d3dc1d75b3345d859729"}},{"ruleId":"IC1","level":"warning","message":{"text":"Comparison is always false \u2014 nothing compares equal to NaN: \u0060_displayWidth == double.NaN\u0060 is false for every value, including NaN itself: IEEE 754 leaves NaN unordered with everything, so \u0060==\u0060 against \u0060double.NaN\u0060 never depends on the other operand. Use \u0060double.IsNaN(\u2026)\u0060 \u2014 the test that was intended, and the branch this guards is dead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/Carousel/FocusCarousel.cs"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"87b2204655eb3b6619b62d063a7dbf1a4530c34a097bdb5e36c01ade491353b1"}},{"ruleId":"IC1","level":"warning","message":{"text":"Guard cannot change the result \u2014 returns what the code already falls through to: 1 guard above \u0060return _textBox4;\u0060 also returns \u0060_textBox4\u0060, so no input can make it matter. Implement the distinction that was intended, or delete the guard."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/IPEditBox/IPEditBox.cs"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"65e9b82a15c8bc35b8fead6bfd73048f3b10d2e3b19012ed24deca41c4d8b846"}},{"ruleId":"IC1","level":"warning","message":{"text":"Condition was already decided \u2014 an earlier guard makes this test constant: Control only reaches here when \u0060isLoading\u0060 is true, because the guard on line 129 exits otherwise. This test is therefore always true and its \u0060else\u0060, and any code it is meant to skip, is unreachable. Implement the distinction that was intended, or delete the test."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/Loading/Loading.cs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a58307b4ee3fc9da49209d078f1290a8c155c6749cb7b92db0c167613579954"}},{"ruleId":"IC1","level":"warning","message":{"text":"Condition was already decided \u2014 an earlier guard makes this test constant: Control only reaches here when \u0060isLoading\u0060 is true, because the guard on line 129 exits otherwise. This test is therefore always true and its \u0060else\u0060, and any code it is meant to skip, is unreachable. Implement the distinction that was intended, or delete the test."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/Loading/Loading.cs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"63c7dd6bef727ca0c963f668bc0737a3b62b4f37c9b751a0934e67e2506e2e27"}},{"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 2 statements, 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":"src/WPFDevelopers.Shared/Controls/SvgViewer/SvgViewer.cs"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"57808824d51aaabc588ff33b805795a91047ace9f3ccd8cdb49f1a15ef9f8cc7"}},{"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":"src/WPFDevelopers.Shared/Controls/SvgViewer/SvgViewer.cs"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0248dad8b09279bcae80b7a55d39ff730e10635de7cf2bbe6456cce717bfd8d"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060CreateInstanceCore\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":"src/WPFDevelopers.Shared/Controls/Windows/WindowAcrylicBlur.cs"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b728fb22498ee07aad8a1931e1f08dbdf5fa74d710c03db02bed4a3b0f8ac71"}},{"ruleId":"IC1","level":"warning","message":{"text":"Hollow method \u2014 returns a constant without doing the work: \u0060Convert\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":"src/WPFDevelopers.Shared/Core/Converts/ElementConvert.cs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fba1fba539ba4ea96ceb5c8fb25265b4944fde38e69150ed892622b844260f2"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished branch \u2014 throws NotImplementedException: The branch \u0060if ((result = BezierSegmentImplementation.Create(segment as BezierSegment)) == null \u0026\u0026 (result = LineSegmentImplementation.Create(segment as LineSegment)) == null \u0026\u0026 (result = ArcSegmentImplementation.Create(segment as ArcSegment)) == null \u0026\u0026 (result = PolyLineSegmentImplementation.Create(segment as PolyLineSegment)) == null \u0026\u0026 (result = PolyBezierSegmentImplementation.Create(segment as PolyBezierSegment)) == null \u0026\u0026 (result = QuadraticBezierSegmentImplementation.Create(segment as QuadraticBezierSegment)) == null \u0026\u0026 (result = PolyQuadraticBezierSegmentImplementation.Create(segment as PolyQuadraticBezierSegment)) == null)\u0060 throws \u0060NotImplementedException\u0060 while the member\u0027s other paths do the work \u2014 the branch was never written, so every input that reaches it fails at run time. Implement the branch, or reject the input where it enters with an exception that says it is not supported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Microsoft.Expression.Drawing/Core/PathSegmentHelper.cs"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"df1b7a8ffc3ae4d84f85296cfd73a9ab46bbe8fa8860ab1f5b1d6ec94375c26e"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Microsoft.Windows.Shell/Standard/IObjectCollection.cs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"837a927d0541451566b04325c43f2a5d55318f0884e2f35ca61b616e750d6f97"}},{"ruleId":"IC1","level":"note","message":{"text":"Empty method body: \u0060GetDC\u0060 has an empty body \u2014 confirm it\u0027s an intentional no-op and not an unfinished method."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Microsoft.Windows.Shell/Standard/NativeMethods.cs"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ada28f72f7f88fc60ca2bcf048bed2e4d95eac95b7a458ea6575df8988326aa"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/Controls/ChatEmoji/ChatEmoji.cs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f119bef75a139875858cf1f965a141552b92864109137191e4b6e6f880e30f6"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/Controls/CountdownTimer/CountdownTimer.cs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3b676de211b37a7e4f3007d6ad7380acdc6a54701ead2a5064f6393947feec8"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/Controls/CountdownTimer/CountdownTimer.cs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"d24799e5ee0eaea83c423f8bcdf29af5da0b10c17e8195ddc087eb8d9b896aea"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/Controls/Drawing/DrawingControl.cs"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd8b983a4cb4b0a7a87d835acd401b4aade16bf1afe100befd86a56a3c0e63c3"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/Controls/Drawing/DrawingControl.cs"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f4d4fb047e8c2337d41b5e92e29cac66bfe0ea11ea49ad0b9e81b30873e9f14"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/Controls/Drawing/DrawingControl.cs"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"eee5f98e13d3075455e8c0f4b1aaf08e9e10de1ce7623ff48131b2212b781346"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/Controls/Drawing/DrawingControl.cs"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"20e7fd46e376f562ffc3f7388c497ac265e028068e04dc54685de888c67d239c"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/Controls/Drawing/DrawingControl.cs"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"b817502b1fb669a45f66d183c30865a135fefd4256e4be4872b49b382f8d27c2"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/Controls/Drawing/DrawingPanel.cs"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e805d1e63a99b789139d51c233258f131b51d195a09753d56cb0a93ad0d9456"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/Controls/Drawing/DrawingPanel.cs"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"266a768668a6170d66580495ae1ba20e269836c35d2c0b1ff9f12236cdb5aad7"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/Controls/RoundPicker/RoundPicker.cs"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"a12cfdb8bbee6a11b2d02ec4766c8b622035a3c3b2377aa1fe374b4b70701238"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/Controls/RoundPicker/RoundPicker.cs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"771d1cb6c191e927230acac9e9f81ab08f5ff52be9154605d4846eee348eb93d"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/Controls/ScrollViewer/ScrollViewerAnimation.cs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"209b23e2c5946bafcfbc6f2b93168854cd2378418ecc84edf5ae380f68607a03"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/ExampleViews/CanvasHandWriting/ComputingHelper.cs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"55cb983c6e60d29bb2ec8cf32504d76237e127c7a16a42b319fbb34956a37add"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/ExampleViews/Desktop/DesktopPlayVideo.xaml.cs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"42729750fae2d058dc7861b072719217ebc2a3413fcad7ab64347e0c0a6aeed7"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/ExampleViews/Desktop/DesktopPlayVideo.xaml.cs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"f18b3452a02eb016a197d9cc261a782005a2795f7235bbe0400a2fe6ec42f96a"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/ExampleViews/Desktop/DesktopPlayVideo.xaml.cs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"65115278abb5fd3a9be373a31d9fb05ab7717fb7025447c8e825e0ca57a7ca5d"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/TransformThumb.cs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d1064c5571fd0fd4aa85c4c4ecb21f150622d61c1aaf0dedb354e95f236fa7c"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/ExampleViews/Map/MapViewExample.xaml.cs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f7ac306d736e66be597807d44224a0f83d2092726a6a018a9a7f2a99995df23"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/ExampleViews/Map/MapViewExample.xaml.cs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"1556ab86f985775c2ba272baa409579fad482b70b7ce5b996f0c4477279df7fa"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/ExampleViews/Map/MapViewExample.xaml.cs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1cc732480c9f1ef0bbedfc672c681f27d399a3e7864f2fe2c57ae8e8e948fa8"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/ExampleViews/Map/MapViewExample.xaml.cs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbceaa1b3d0ea410f949d5f9bc7b856e26080053d6ad9c74225125a1a0bef94a"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/ExampleViews/Map/MapViewExample.xaml.cs"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5af4e77b8d1d1218705519538fe0615054865f09ef4da8e0b62779eff25debd"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/ExampleViews/Map/MapViewExample.xaml.cs"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f21f7bacd608427f6cc3a0be2f0acb7a7b957321a011f6e40afe6a7987557ae"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/ExampleViews/Map/MapViewExample.xaml.cs"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"80dba5a08a07ed073e84eae5a8b53e6112ff562be4e3771277b4292b3b0e1a89"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/ExampleViews/Map/MapViewExample.xaml.cs"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"09676aea0ca5ef17bc58cff5bbcc237c6241084f698997cae4c1aa1e3b35bc4c"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/ExampleViews/Map/MapViewExample.xaml.cs"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b66487a7d0a08c9f2fb5d6e173379ed51cc2f13baae2c43b7eb46941cca3b29"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/ExampleViews/Map/MapViewExample.xaml.cs"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"b62624bb4beabf7311031f9949b073255a2482080ffc13c8283e96ce9de84a34"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/ExampleViews/Map/MapViewExample.xaml.cs"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9b1a00f6311b349bc9255fc441376fb759a90142b29838864015b3615c042e2"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/ExampleViews/Map/MapViewExample.xaml.cs"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc39ab24f8a0acc03f31589fc87c5f2b3740f61a6502b424535b7adfa5229390"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/ExampleViews/Map/MapViewExample.xaml.cs"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"24713ec26c0f3ef6935af207dd2ffbbcb1ac2a828abf4ebcf17f6973c1213c24"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/ExampleViews/Map/MapViewExample.xaml.cs"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"16b9b0edccd953546ad8e3ff5f6932a6dd06c4450a2662af766d1464a3f8cb37"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/ExampleViews/MultiSelectSearchComboBoxExample.xaml.cs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d3c0e8cdb62880eab9263145793c299fc5e737cee001435238ecf202181316d"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/ExampleViews/MultiSelectSearchComboBoxExample.xaml.cs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff84afa2cf8d12ba769f29a5d31c099006400c3ffa9c85a0548eb04cf3735888"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/ExampleViews/MultiSelectSearchComboBoxExample.xaml.cs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"440d46b31831bd922c50e6c2bbeb37c98453dbf94593962c0ebd0557859b9e52"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/ExampleViews/MultiSelectSearchComboBoxExample.xaml.cs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"82964e4cae6f77dc374dba2cd8945585d833f1410d7b70ffab9387e213341c51"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/ExampleViews/SpeedRockets/SpeedRocketsExample.xaml.cs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"8804f62c44817d123a9a43840b3042c5237080a5edc6ab39d03df3998b144249"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/ExampleViews/SpeedRockets/SpeedRocketsExample.xaml.cs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"336b0c04dbe460fc8928b8b908acfaa2aa7fbdde41962396c3a1b7235d61dff3"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/ViewModels/MainVM.cs"},"region":{"startLine":731}}}],"partialFingerprints":{"codehealthFindingId/v1":"74eb4498da79b9ebb3f449f88d397c65644d25a8435cd974610ee71441395264"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/ViewModels/MainVM.cs"},"region":{"startLine":732}}}],"partialFingerprints":{"codehealthFindingId/v1":"735db3eb809a8827469c1fdbd80ecd5ae78f82fb3af6a729b402155f1382bd3c"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/ViewModels/MainVM.cs"},"region":{"startLine":831}}}],"partialFingerprints":{"codehealthFindingId/v1":"53da09a0d871a34a26eb5ec97a0a0d38a84b67295b5f4121179d269e6cff1b82"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/ViewModels/MainVM.cs"},"region":{"startLine":832}}}],"partialFingerprints":{"codehealthFindingId/v1":"cacbd838d7fc06cea1a0a8b87a329ef5fc1b5128e9390afa2e1788c12af47f40"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/ViewModels/MainVM.cs"},"region":{"startLine":903}}}],"partialFingerprints":{"codehealthFindingId/v1":"61a071b17aeae10b8e74298174d4ab760bc406cca9148edda1921da6be2fbb9e"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/ViewModels/MainVM.cs"},"region":{"startLine":904}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9b643fd62e7186ad769a631d9bb387029adfc73fb13a7466ad197d41bf428d3"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/BaseControls/ScaleBase.cs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"af7e37adee1d9bce930750791c54b9077d800716467b664c4f5318e028684235"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/BaseControls/ScaleBase.cs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"644866ca5a9889f046df57703a91c3e5118b19bef2d7fda6e4be45ba506f3085"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/BaseControls/ScaleBase.cs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"6051772e29bf756f89f4806aac143a6e69d8e3a1fe3b235ca3c27d82907b83af"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/Carousel/FocusCarousel.cs"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"1912cb990e37ea5f77586de59e56c2ffee457a9e220a7c7af1587b79d98bfd28"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/Carousel/FocusCarousel.cs"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"09b0839cd5062817caf01a7a1a8e10378bc3a85382ffe774c480d76b217d2fef"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/Dial/Dial.cs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"6530d0dcebcee9442f2e18543ac86786e94a8734950fa07e4d08f8ec8ed37cdc"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/Dial/Dial.cs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"90bfb10fff49c45a30846f7449d38a6c79fc7f57ea798ed60fb9f70662afbf7c"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/Dial/Dial.cs"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"a87a4d1992015e725f7935f716e68cb56da9f0343d545f68586e9ded0ed73f02"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/Dial/Dial.cs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"624a93663cf36ff3ac31533046b2e4e3eb32bef01f0327e49dcfb11fc65d8e18"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/Dial/Dial.cs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecb1749088274947bfc66d961efe209aefa0493410670e23b36801f36e2b70dc"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/Dial/Dial.cs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a49eba778807a5ed4efd339d980ca4833fb21577a481a3ed5c7187d2e121b6a"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/Dial/Dial.cs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"62a338d3ba0d9aac006919af3e5eb93010607dd32b817becb0681fc7f84503d9"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/Dial/Dial.cs"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0aef011a3c2207f9797f4d01f260608ad32d5f8edb02709fd28917d472331cc"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/Dial/Dial.cs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"97047477f5f0ee4f1916294dd190aa595436c0d230d267c274f274e0a154b80a"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/Dial/Dial.cs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"8242752d855888dec89bf99692e33f53606a33e638dbcbe57195f307e21b914d"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/NotifyIcon/Runtimes/Gdi32Interop.cs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f4a7f8abaa1704e8bee0c5f9fcb1ba6d62264b03d14d04d1b9cb10218a1eb60"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/NotifyIcon/Runtimes/User32Interop.cs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"983cd880d00bd77e909595003352093109a5b8324e51e099b31d73e296f50f94"}},{"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":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add CodeQL\u0027s csharp pack, or a .NET security analyzer package (or \u0060semgrep --config=auto\u0060, which runs on any language) as a CI step. What was searched, so you can tell an absence from a miss: the 2 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/build-net40.yml"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P3","level":"note","message":{"text":"No dependency-update automation: \u0060src/TargetFrameworks.props\u0060 declares packages, and nothing in the repository keeps them current: no Dependabot or Renovate configuration that schedules updates, and no dependency-review gate on pull requests. A pinned dependency stays at the version it was added at until someone notices \u2014 including after an advisory is published against it. Add a \u0060.github/dependabot.yml\u0060 with one \u0060package-ecosystem\u0060 entry per ecosystem the tree uses (or an enabled \u0060renovate.json\u0060), and gate pull requests with \u0060actions/dependency-review-action\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/TargetFrameworks.props"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f172a9233cffbb61b775fc3ca9e2ed9fdf64b777812363cee831feb2a89bb6c"}},{"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":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is constructed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B for content integrity, or a KDF (PBKDF2/Argon2/BCrypt) for password storage. If it only derives a non-security identifier (a cache key, a file or mutex name), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as \u0060System.IO.Hashing.XxHash64\u0060/\u0060Crc32\u0060 says it in code \u2014 since the algorithm alone cannot distinguish the two uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Core/Helpers/Helper.cs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"035c6b0cd8b7330f0984d1b100a8ae8e5855dab48e69493757e2d362d9ad7d7f"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is constructed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B for content integrity, or a KDF (PBKDF2/Argon2/BCrypt) for password storage. If it only derives a non-security identifier (a cache key, a file or mutex name), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as \u0060System.IO.Hashing.XxHash64\u0060/\u0060Crc32\u0060 says it in code \u2014 since the algorithm alone cannot distinguish the two uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Microsoft.Windows.Shell/Standard/Utility.cs"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4623bb26b443d4b3c553f93e45cb723ebf8117b83f660d48bc21dd8b42ea678"}},{"ruleId":"SC1","level":"warning","message":{"text":"NuGet dependencies are not locked: src/WPFDevelopers.Net40/WPFDevelopers.Net40.csproj declares NuGet packages that no committed packages.lock.json resolves and no central package management pins \u2014 restores aren\u0027t reproducible or pinned (SSDF PW.4.4). Enable \u003CRestorePackagesWithLockFile\u003Etrue\u003C/RestorePackagesWithLockFile\u003E (commit the lockfile) or adopt Directory.Packages.props. Advisory \u2014 never scored."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Net40/WPFDevelopers.Net40.csproj"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"feb57ccf38e07c0525d5910b435ef4bdcd54f4f5ef28e3ba0feed32ebd735fb3"}},{"ruleId":"SC1","level":"warning","message":{"text":"NuGet dependencies are not locked: src/WPFDevelopers.Samples40/WPFDevelopers.Samples40.csproj declares NuGet packages that no committed packages.lock.json resolves and no central package management pins \u2014 restores aren\u0027t reproducible or pinned (SSDF PW.4.4). Enable \u003CRestorePackagesWithLockFile\u003Etrue\u003C/RestorePackagesWithLockFile\u003E (commit the lockfile) or adopt Directory.Packages.props. Advisory \u2014 never scored."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples40/WPFDevelopers.Samples40.csproj"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb6c060390d3eb1df976f4fcdd21bfa9c9deec0da2159d757aa8ed643a6516ba"}},{"ruleId":"SC1","level":"warning","message":{"text":"NuGet dependencies are not locked: src/WPFDevelopers.Samples45x/WPFDevelopers.Samples45x.csproj declares NuGet packages that no committed packages.lock.json resolves and no central package management pins \u2014 restores aren\u0027t reproducible or pinned (SSDF PW.4.4). Enable \u003CRestorePackagesWithLockFile\u003Etrue\u003C/RestorePackagesWithLockFile\u003E (commit the lockfile) or adopt Directory.Packages.props. Advisory \u2014 never scored."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples45x/WPFDevelopers.Samples45x.csproj"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e58cbbbffde00b0aebc60e09614c0b5b7819aa6effd16c15d8c48c93fdcba47"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!_titleBarThemeSwitchButton.IsVisible || !_titleBarThemeSwitchButton.IsEnabled\u0060 appears character-identically in 2 files \u2014 src/WPFDevelopers.Net40/Window.cs, src/WPFDevelopers.Net45x/Window.cs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Net40/Window.cs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"123db132807df3238dddbce10f9fdf488c2c1758b5988d4eb975f56ceeeffbcd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Datas == null || Datas.Count() == 0 || isPopupOpen\u0060 appears character-identically in 2 files \u2014 src/WPFDevelopers.Shared/Controls/Charts/ChartBase.cs, src/WPFDevelopers.Shared/Controls/Charts/ChartPie.cs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/Charts/ChartBase.cs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"f92722ea2f4b94b9a221afcc9c890e9b43d534f277a4e798f6243120b36ac82c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Helper.GetTempPathVersionExt != null \u0026\u0026 File.Exists(Helper.GetTempPathVersionExt)\u0060 appears character-identically in 2 files \u2014 src/WPFDevelopers.Shared/Controls/Loading/LoadingExt.cs, src/WPFDevelopers.Shared/Controls/ScreenCut/ScreenCaptureExt.cs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/Loading/LoadingExt.cs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f6555aa516565bd5926d1128cdc5ceb25f9ebaa39145de7cdb7f9ddea2a142a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ItemClickCommand is ICommand cmd \u0026\u0026 cmd.CanExecute(clickedItem)\u0060 appears character-identically in 2 files \u2014 src/WPFDevelopers.Shared/Controls/BaseControls/ItemsControlBase.cs, src/WPFDevelopers.Shared/Controls/CircleMenu/CircleMenu.cs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/BaseControls/ItemsControlBase.cs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"2388be3c638fff32dd81340dff712049df27cb5f822bd93837d7d770387fa692"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060OSVersionHelper.IsSnapLayoutSupported() \u0026\u0026 (ResizeMode != ResizeMode.NoResize \u0026\u0026 ResizeMode != ResizeMode.CanMinimize)\u0060 appears character-identically in 2 files \u2014 src/WPFDevelopers.Net40/Window.cs, src/WPFDevelopers.Net45x/Window.cs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Net40/Window.cs"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"3673d4ed73c1aa6b5615e216fb68ecd29cf035136a49e309a17b463cb27081d1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060OSVersionHelper.IsSnapLayoutSupported() \u0026\u0026 ResizeMode != ResizeMode.NoResize \u0026\u0026 ResizeMode != ResizeMode.CanMinimize\u0060 appears character-identically in 2 files \u2014 src/WPFDevelopers.Net40/Window.cs, src/WPFDevelopers.Net45x/Window.cs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Net40/Window.cs"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"04fdaf4e28f823bdfd65a686d9cb1c9810f6cca9289910cafe835cc004ff745f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060PartPath == null || PartPath.Data == null\u0060 appears character-identically in 2 files \u2014 src/WPFDevelopers.Shared/Microsoft.Expression.Drawing/Controls/CompositeContentShape.cs, src/WPFDevelopers.Shared/Microsoft.Expression.Drawing/Controls/CompositeShape.cs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Microsoft.Expression.Drawing/Controls/CompositeContentShape.cs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f5b6620027a60d329830b33812f37e5471a1ec29d8f2b260be5b74276397f0f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ResizeMode == ResizeMode.CanResize || ResizeMode == ResizeMode.CanResizeWithGrip\u0060 appears character-identically in 2 files \u2014 src/WPFDevelopers.Net40/Window.cs, src/WPFDevelopers.Net45x/Window.cs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Net40/Window.cs"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e743fc55c2d90ca14822851ebed1cd73522177703a40fcdfab7dd6b86891f73"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060TitleBarMode == TitleBarMode.Normal \u0026\u0026 e.ChangedButton == MouseButton.Left\u0060 appears character-identically in 2 files \u2014 src/WPFDevelopers.Net40/Window.cs, src/WPFDevelopers.Net45x/Window.cs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Net40/Window.cs"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbbc0124d52e4c04024230cac149b31feb6fa85c3d865efc17112f3f802fc8fe"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060_themePopup == null || _themeItems == null\u0060 appears character-identically in 2 files \u2014 src/WPFDevelopers.Net40/Window.cs, src/WPFDevelopers.Net45x/Window.cs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Net40/Window.cs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"16f528c5d5cd7c745c4de703dcc53dcc2281ea869b4d9a3832e4b78c0f0c4b24"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060_titleBarThemeSwitchButton.IsMouseOver || (_themePopupChild != null \u0026\u0026 _themePopupChild.IsMouseOver)\u0060 appears character-identically in 2 files \u2014 src/WPFDevelopers.Net40/Window.cs, src/WPFDevelopers.Net45x/Window.cs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Net40/Window.cs"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc30b44d90dd17e19686a5e3b7fc1652cd9c457e17212db5c4815dc487252cbf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060actual != null \u0026\u0026 !actual.Equals(expected)\u0060 appears character-identically in 2 files \u2014 src/Microsoft.Windows.Shell/Standard/Assert.cs, src/Microsoft.Windows.Shell/Standard/Verify.cs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Microsoft.Windows.Shell/Standard/Assert.cs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"59fde5036ff957692efe1aa92bccbfb1f057cd4d61058bc497584f52b662b8b5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060actual == null || actual.Equals(notExpected)\u0060 appears character-identically in 2 files \u2014 src/Microsoft.Windows.Shell/Standard/Assert.cs, src/Microsoft.Windows.Shell/Standard/Verify.cs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Microsoft.Windows.Shell/Standard/Assert.cs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"42378cb6395a0eeb3d1573a5a6c3308d8ed0aea7213f4d09eceff3c5d1451e95"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060e.NewValue is bool isShow \u0026\u0026 d is FrameworkElement parent\u0060 appears character-identically in 3 files \u2014 src/WPFDevelopers.Shared/Controls/Badge/Badge.cs, src/WPFDevelopers.Shared/Controls/Loading/Loading.cs, src/WPFDevelopers.Shared/Controls/Mask/Mask.cs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/Badge/Badge.cs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fc0c80a1a3081989d0236044fd3b86cad4536b19f7e728bdc62d0b9884cc437"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060e.NewValue is bool isVisible \u0026\u0026 sender is FrameworkElement parent\u0060 appears character-identically in 3 files \u2014 src/WPFDevelopers.Shared/Controls/Badge/Badge.cs, src/WPFDevelopers.Shared/Controls/Loading/Loading.cs, src/WPFDevelopers.Shared/Controls/Mask/Mask.cs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/Badge/Badge.cs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9f008b0f40ec5c4dabc820d283beeb56b317cbcfc968e2cdc16633dd5882d2c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060e.Text.Length != 1 || !char.IsDigit(e.Text[0])\u0060 appears character-identically in 2 files \u2014 src/WPFDevelopers.Shared/Controls/IPEditBox/IPEditBox.cs, src/WPFDevelopers.Shared/Controls/OtpBox/OtpBox.cs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/IPEditBox/IPEditBox.cs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"16aabdc98531aceaf66774916a1e773ce004d20f2bc0ce0521b24d16487bd60e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060featureArgs.FeatureType == MapFeatureType.Circle \u0026\u0026 featureArgs.ClickedCircle != null\u0060 appears character-identically in 2 files \u2014 src/WPFDevelopers.Samples.Shared/ExampleViews/Map/MapViewExample.xaml.cs, src/WPFDevelopers.Samples.Shared/ExampleViews/Map/MapViewFeaturesWindow.xaml.cs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/ExampleViews/Map/MapViewFeaturesWindow.xaml.cs"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"149325bdfc81b77cad3323f4e93a1694d7a9cb358287df7fa2d7c00892a43b0c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060newHeight \u003E 0 \u0026\u0026 top \u002B e.VerticalChange \u003E= 0\u0060 appears character-identically in 2 files \u2014 src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ThumbAdorner.cs, src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ThumbAdorner2.cs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ThumbAdorner.cs"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f9585b1d3b0da47573e3f101841affa76cb2444b821eaa63354d31ba4b4dff2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060newHeight \u003E 0 \u0026\u0026 top \u003C= canvas.ActualHeight\u0060 appears character-identically in 4 files \u2014 src/WPFDevelopers.Samples.Shared/Controls/TransformLayout/ElementAdorner.cs, src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ThumbAdorner.cs, src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ThumbAdorner2.cs, src/WPFDevelopers.Shared/Controls/ScreenCut/ScreenCutAdorner.cs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/Controls/TransformLayout/ElementAdorner.cs"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bf397636e08701941668df06e3819bf94304393a8560800f9eefe7bda08456a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060newWidth \u003E 0 \u0026\u0026 left \u002B e.HorizontalChange \u003E= 0\u0060 appears character-identically in 2 files \u2014 src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ThumbAdorner.cs, src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ThumbAdorner2.cs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ThumbAdorner.cs"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"436e07b1742f5d615cb5e8677afe09ec55865bafc57b5b42deaa8c4790cbe458"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060newWidth \u003E 0 \u0026\u0026 left \u003C= canvas.ActualWidth\u0060 appears character-identically in 4 files \u2014 src/WPFDevelopers.Samples.Shared/Controls/TransformLayout/ElementAdorner.cs, src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ThumbAdorner.cs, src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ThumbAdorner2.cs, src/WPFDevelopers.Shared/Controls/ScreenCut/ScreenCutAdorner.cs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/Controls/TransformLayout/ElementAdorner.cs"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae784598f88251956ef198321d1b43e0b34d3e5b58617e114b1ebac2281104ec"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060sender == _titleBarThemeSwitchButton \u0026\u0026 _themePopup != null\u0060 appears character-identically in 2 files \u2014 src/WPFDevelopers.Net40/Window.cs, src/WPFDevelopers.Net45x/Window.cs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Net40/Window.cs"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa0e2a958310dbe82c2bf7d7d3115ef2fe6dc9032687ab4574eca1c15fbb437b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060storyboard != null \u0026\u0026 storyboard.Children.Count \u003E 0\u0060 appears character-identically in 2 files \u2014 src/WPFDevelopers.Samples.Shared/Controls/CountdownTimer/CountdownTimer.cs, src/WPFDevelopers.Samples.Shared/ExampleViews/NumberCard/NumberCardExample.xaml.cs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/Controls/CountdownTimer/CountdownTimer.cs"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"17ae855b8986884c706ae2d0ebb485747282d3e64321cb0166a88e5df47f9403"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value \u003C lowerBoundInclusive || value \u003E upperBoundInclusive\u0060 appears character-identically in 2 files \u2014 src/Microsoft.Windows.Shell/Standard/Assert.cs, src/Microsoft.Windows.Shell/Standard/Verify.cs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Microsoft.Windows.Shell/Standard/Assert.cs"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e81f71590ba90dcc42c9d54f543f9a959724a02e65b02bebf97d127da4e12c0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value \u003C lowerBoundInclusive || value \u003E= upperBoundExclusive\u0060 appears character-identically in 2 files \u2014 src/Microsoft.Windows.Shell/Standard/Assert.cs, src/Microsoft.Windows.Shell/Standard/Verify.cs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Microsoft.Windows.Shell/Standard/Assert.cs"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb6109a96837afd8a8a1dd732b2507f18c870468f7758d6dcce4e6511859123d"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the method that made it: \u0060streamReader\u0060 is a \u0060StreamReader\u0060, which implements \u0060IDisposable\u0060, and it is created here (line 195). Every use of it in \u0060GetCodeText\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 streamReader = \u2026;\u0060), which releases it at the end of the scope on every path including a throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/Controls/CodeViewer/CodeViewer.cs"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec00e4060464e1935b6284ac8dcb60edcaf1f6bc8631524a4b6de38fb6735011"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the method that made it: \u0060task\u0060 is a \u0060Task\u0060, which implements \u0060IDisposable\u0060, and it is created here (line 107). Every use of it in \u0060Loading_Click\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 task = \u2026;\u0060), which releases it at the end of the scope on every path including a throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/ExampleViews/BasicControlsExample.xaml.cs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"b83fb8028271670b0208be0c3b13526451dd4f9d98c78347ace61ecadb2d65de"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the method that made it: \u0060task\u0060 is a \u0060Task\u0060, which implements \u0060IDisposable\u0060, and it is created here (line 138). Every use of it in \u0060LoadingTask_Click\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 task = \u2026;\u0060), which releases it at the end of the scope on every path including a throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/ExampleViews/BasicControlsExample.xaml.cs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e24e915936d30f396cc57a469ee9a3cd433c59886e48d6da3cb681d1913d7fa"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the method that made it: \u0060task\u0060 is a \u0060Task\u0060, which implements \u0060IDisposable\u0060, and it is created here (line 159). Every use of it in \u0060BtnLoading_Click\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 task = \u2026;\u0060), which releases it at the end of the scope on every path including a throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/ExampleViews/BasicControlsExample.xaml.cs"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2040bb0383e75f2d3c69631da1c6b58c134f2b6cc8405614545adc5587d001b"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the method that made it: \u0060task\u0060 is a \u0060Task\u0060, which implements \u0060IDisposable\u0060, and it is created here (line 41). Every use of it in \u0060Btn_LoadingExtClick\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 task = \u2026;\u0060), which releases it at the end of the scope on every path including a throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/ExampleViews/LoadingExample.xaml.cs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"db5eb042a6a9f7b8fd3a04dca751675fe763da84404a94a007baa37ad54e5b74"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the method that made it: \u0060task\u0060 is a \u0060Task\u0060, which implements \u0060IDisposable\u0060, and it is created here (line 16). Every use of it in \u0060Loading_Click\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 task = \u2026;\u0060), which releases it at the end of the scope on every path including a throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/ExampleViews/Basics/LoadingBasicExample.xaml.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bb4ecab1875c07f39996491167295a58fa434307678bba630788f5688f44263"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the method that made it: \u0060task\u0060 is a \u0060Task\u0060, which implements \u0060IDisposable\u0060, and it is created here (line 34). Every use of it in \u0060LoadingTask_Click\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 task = \u2026;\u0060), which releases it at the end of the scope on every path including a throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/ExampleViews/Basics/LoadingBasicExample.xaml.cs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8081d553a14419f46041a716da40a1b36926bffa3999d8d0dc64048da4f768d"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the method that made it: \u0060task\u0060 is a \u0060Task\u0060, which implements \u0060IDisposable\u0060, and it is created here (line 53). Every use of it in \u0060BtnLoading_Click\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 task = \u2026;\u0060), which releases it at the end of the scope on every path including a throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/ExampleViews/Basics/LoadingBasicExample.xaml.cs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"84820753ba8322c835f85b89139d5c33dfb1de305c2d181191c0ba4a7d37c013"}},{"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 119). Every use of it in \u0060ShowScreenShot\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":"src/WPFDevelopers.Shared/Controls/ScreenCut/ScreenCaptureExt.cs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1ffd7b753072e3422c09a08c6bd860bd1eb584d6460d21f13f058ec39b29c2d"}},{"ruleId":"X18","level":"warning","message":{"text":"Finalizer on a type that owns no unmanaged resource: \u0060CropAvatar\u0060 declares a finalizer (line 352), but nothing in the type is unmanaged: no \u0060IntPtr\u0060/\u0060UIntPtr\u0060 or pointer field, no \u0060SafeHandle\u0060, no \u0060HandleRef\u0060, no \u0060extern\u0060/\u0060DllImport\u0060 member and no \u0060Marshal\u0060/\u0060GCHandle\u0060/\u0060NativeMemory\u0060 use. A finalizer can only release what the garbage collector cannot, so on a purely-managed type it releases nothing and costs something: every instance is put on the finalizer queue, survives at least one extra collection, and is then finalized on a thread that is NOT the disposing one \u2014 where the managed objects it touches may already have been finalized themselves. Delete the finalizer (and the \u0060GC.SuppressFinalize\u0060 that exists to defuse it); if a handle is added later, wrap it in a \u0060SafeHandle\u0060, which brings its own correct finalization."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/CropAvatar/CropAvatar.cs"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"80d7218257be74652b616ded7a0a6f70c78cc4b03ded935d2db3057a9d5e3f8b"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the method that made it: \u0060client\u0060 is a \u0060WebClient\u0060, which implements \u0060IDisposable\u0060, and it is created here (line 4308). Every use of it in \u0060DownloadTileImageAsync\u0060 reads a member through it \u2014 it is never returned, never stored, never handed to anything else, and never disposed \u2014 so this method both creates the value and is the last thing that can release it, and does not. Nothing announces the leak: the object holds its resource until finalization if its type has a finalizer, and until the process ends if it does not, so the cost accumulates once per CALL rather than showing up as a failure. Declare it with \u0060using\u0060 (\u0060using var client = \u2026;\u0060), which releases it at the end of the scope on every path including a throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/MapView/MapView.cs"},"region":{"startLine":4308}}}],"partialFingerprints":{"codehealthFindingId/v1":"233cc552e81b764c684ee7f916cdf447e2a7aaea9b73fd73d9808e489d5535ba"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the method that made it: \u0060regKey\u0060 is a \u0060RegistryKey\u0060, which implements \u0060IDisposable\u0060, and it is created here (line 65). Every use of it in \u0060GetWindowOSVersion\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 regKey = \u2026;\u0060), which releases it at the end of the scope on every path including a throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/Windows/WindowAcrylicBlur.cs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c43591e2992f54aa3e47a65b026a3a98981c81f18bc71d5898f0a19c95aa845"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the method that made it: \u0060player1\u0060 is a \u0060SoundPlayer\u0060, which implements \u0060IDisposable\u0060, and it is created here (line 48). Every use of it in \u0060WindowShake\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 player1 = \u2026;\u0060), which releases it at the end of the scope on every path including a throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Core/Helpers/ControlsHelper.cs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"47b64ee2a3606dfa74515d34cf38979ddf56f75d5c71674b6ada992d6b825646"}},{"ruleId":"X29","level":"warning","message":{"text":"Per-element action decided by a fixed element: This loop runs once per element of \u0060frames\u0060, and the statement it guards acts on the element it is on \u2014 \u0060frames[num3]\u0060. The test deciding whether that statement runs does not: \u0060flag\u0060 reads \u0060frames[0]\u0060, a subscript that does not move, so whatever it answers for that one element it answers for ALL of them. One \u0060if\u0060 names the same collection at two different subscripts \u2014 the fixed one at line 317, which is the contradiction: either the test was meant to be per-element, in which case every element that differs from the fixed one is handled wrongly and all in the same direction, or it really is one answer for the whole collection, in which case it is being re-asked on every pass and belongs above the loop. The \u0060if\u0060 is in the wrong place under both readings. Give the test the loop variable, or hoist it out."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Microsoft.Windows.Shell/Standard/Utility.cs"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"bce1c2edd08d71f86e77c74b46197abbed60adbe5944e986191759dc2cc1611e"}},{"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":"src/WPFDevelopers.Samples.Shared/Helpers/BrowserHelper.cs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"c02c35be7f6c65a390df08268f298a0151864e71fed3b6a1b86b6b284daad9f6"}},{"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":"src/WPFDevelopers.Shared/Controls/SvgViewer/SvgViewer.cs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"3843d75b9708d5ca8abd8a046cdf1a8e68d6d8b3be11829a19c31f1483830b2c"}},{"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":"src/WPFDevelopers.Shared/Controls/SvgViewer/SvgViewer.cs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6780d323af347224f71e77c0b197cbdb37bd362c57af0987efea845bc526b41"}},{"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":"src/WPFDevelopers.Shared/Core/Helpers/OSVersionHelper.cs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"af05545ddcb9da9f4e787c1c85c53d60798d7f417414ec0bc0039f2e4cb29843"}},{"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":"src/WPFDevelopers.Shared/Core/Helpers/Helper.cs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d72a9f37020e9bd6c51cc87720b4dd37db648d4b9673eac836fb173570a7e92"}},{"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":"src/WPFDevelopers.Shared/Controls/MapView/MapView.cs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccb22f3f83db305a4130c2a6ed2dde2dd200bd1717bdd39e8f8733df3618a26c"}},{"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":"src/WPFDevelopers.Shared/Controls/MapView/MapView.cs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"38d44e91862e264639c572cc5874ee307149746610b7a1a6a87ebe6eea12e5fc"}},{"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":"src/WPFDevelopers.Shared/Controls/Markdown/MarkdownViewer.cs"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"980c546b12176d568b27cc0d6f0ad9f076b6af3a06e7b9cdb341685ffd7f88be"}},{"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":"src/WPFDevelopers.Shared/Controls/Markdown/MarkdownViewer.cs"},"region":{"startLine":747}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ae683e7a0c2d1bea6a3a82754063cae882c648dcdf6afc108d3946bcbaf5046"}},{"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":"src/WPFDevelopers.Shared/Controls/Markdown/MarkdownViewer.cs"},"region":{"startLine":774}}}],"partialFingerprints":{"codehealthFindingId/v1":"95dbcff05397382fc4fcae6e20a54ea9cf92ca28e1cb564e93d9e210e6245f40"}},{"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":"src/WPFDevelopers.Shared/Resources.cs"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"2be4549641c5e525a3a18395724e4cf450879f5d08cbe4625ffb883352055768"}},{"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":"src/WPFDevelopers.Shared/Resources.cs"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f3fc842611e6d7d2fdd1753198667ef1368be4c8e4efd0a009bb460eac9fbaf"}},{"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":"src/WPFDevelopers.Shared/Resources.cs"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"72706f42cc620b6cd251c3ef66ad1f2018b251ae6dd2843943bced69482939d8"}},{"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":"src/Microsoft.Windows.Shell/JumpList.cs"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"cec8342575c4539e6d54908a53a62f5c4dd38ef01a784ead5694022894025044"}},{"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":"src/Microsoft.Windows.Shell/JumpList.cs"},"region":{"startLine":618}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf99dd264b4c1afa2d259be8376a353a62f656bded82839321a8018281252920"}},{"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":"src/Microsoft.Windows.Shell/Standard/SafeConnectionPointCookie.cs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bbaeae3fbdb8b33ff03198d2c63c6656711bdc6817bcb3c3b34c4b72b01ee55"}},{"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":"src/Microsoft.Windows.Shell/Standard/Utility.cs"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"75566ee877cf718b90e8e063ee94058486747a97e9a212f3e4ba6ac4b5b5ee3d"}},{"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":"src/Microsoft.Windows.Shell/Standard/Utility.cs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d790f4bb6ea471798157d43d6eb2f43a848669b65617ee74a87db46b5f5f2b6"}},{"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":"src/Microsoft.Windows.Shell/WindowChromeWorker.cs"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b5285b6a7fd692f246464b6a89734231ade94bbcc7579e9b76d260ca3d1d77a"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060ctrl\u0060: line 75 assigns it with \u0060as BubbleSelection\u0060, which hands back null rather than throwing when the value is not a \u0060BubbleSelection\u0060, but line 77 then dereferences it directly as \u0060ctrl.SetValue\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 \u0060ctrl\u0060 once before the first use and handle the null case, or cast with \u0060(BubbleSelection)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/Controls/BubbleSelection/BubbleSelection.cs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ddfacc8e764d67af538213f7c16a71ec97097301a59ca76cd200a8d97b4c668"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060ctrl\u0060: line 128 assigns it with \u0060as BubbleSelection\u0060, which hands back null rather than throwing when the value is not a \u0060BubbleSelection\u0060, but line 133 then dereferences it directly as \u0060ctrl._items\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 \u0060ctrl\u0060 once before the first use and handle the null case, or cast with \u0060(BubbleSelection)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/Controls/BubbleSelection/BubbleSelection.cs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"0031e022dccd08f3d6e65fe840627c75bff2671d63daa75793e3941b6515d030"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060item\u0060: line 31 assigns it with \u0060as FrameworkElement\u0060, which hands back null rather than throwing when the value is not a \u0060FrameworkElement\u0060, but line 33 then dereferences it directly as \u0060item.ActualWidth\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 \u0060item\u0060 once before the first use and handle the null case, or cast with \u0060(FrameworkElement)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/Controls/BubbleSelection/BubbleCanvas.cs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"54570f1b6078d6ada6e41c2e7267f25f60bb00834178e3f8887eb722d68e9d6e"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060rect1\u0060: line 78 assigns it with \u0060as Rectangle\u0060, which hands back null rather than throwing when the value is not a \u0060Rectangle\u0060, but line 85 then dereferences it directly as \u0060rect1.RenderTransform\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 \u0060rect1\u0060 once before the first use and handle the null case, or cast with \u0060(Rectangle)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/Controls/ImageCrop/ImageCrop.cs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"e836c7e10c8e67646f23a4b762f9f6962586dc20b4d190053dd1aecff5c643f4"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060scaleTransform\u0060: line 85 assigns it with \u0060as ScaleTransform\u0060, which hands back null rather than throwing when the value is not a \u0060ScaleTransform\u0060, but line 86 then dereferences it directly as \u0060scaleTransform.BeginAnimation\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 \u0060scaleTransform\u0060 once before the first use and handle the null case, or cast with \u0060(ScaleTransform)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/Controls/ImageCrop/ImageCrop.cs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"0656e036959d5a68e240db1f923d26dd816749d3dd7a9b9bdcc251ad2b69953f"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060rect1\u0060: line 91 assigns it with \u0060as Rectangle\u0060, which hands back null rather than throwing when the value is not a \u0060Rectangle\u0060, but line 93 then dereferences it directly as \u0060rect1.RenderTransform\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 \u0060rect1\u0060 once before the first use and handle the null case, or cast with \u0060(Rectangle)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/Controls/ImageCrop/ImageCrop.cs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfa6c6225efaac300b0a7e06521f65f3b2cef30de16dab54112b913272387c5d"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060scaleTransform\u0060: line 93 assigns it with \u0060as ScaleTransform\u0060, which hands back null rather than throwing when the value is not a \u0060ScaleTransform\u0060, but line 99 then dereferences it directly as \u0060scaleTransform.BeginAnimation\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 \u0060scaleTransform\u0060 once before the first use and handle the null case, or cast with \u0060(ScaleTransform)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/Controls/ImageCrop/ImageCrop.cs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"5348722581042ac64f64a9e1b9174a54a9f5bb24c2a754705180764eea5e478d"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060cutCustoms\u0060: line 88 assigns it with \u0060as CutImage\u0060, which hands back null rather than throwing when the value is not a \u0060CutImage\u0060, but line 89 then dereferences it directly as \u0060cutCustoms.ActualWidth\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 \u0060cutCustoms\u0060 once before the first use and handle the null case, or cast with \u0060(CutImage)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/Controls/CutImage/CutImage.cs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"08c50fa33b75658419a3fea82d821a3570a5eeaa84c2df8406f939abcb7a2444"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060bar\u0060: line 47 assigns it with \u0060as Dashboard\u0060, which hands back null rather than throwing when the value is not a \u0060Dashboard\u0060, but line 48 then dereferences it directly as \u0060bar.Angle\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 \u0060bar\u0060 once before the first use and handle the null case, or cast with \u0060(Dashboard)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/Controls/Dashboard/Dashboard.cs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"adce7265cf9aa0c051f408cd4f98ef9cc7b048754bbe36e96b2f781cb9713b0d"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060mltiSelectionSearchComboBox\u0060: line 598 assigns it with \u0060as MultiSelectionSearchComboBox\u0060, which hands back null rather than throwing when the value is not a \u0060MultiSelectionSearchComboBox\u0060, but line 604 then dereferences it directly as \u0060mltiSelectionSearchComboBox._listBox\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 \u0060mltiSelectionSearchComboBox\u0060 once before the first use and handle the null case, or cast with \u0060(MultiSelectionSearchComboBox)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/Controls/MultiSelectionSearchComboBox/MultiSelectSearchComboBox.cs"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5e6b6466273f8075600685a71cdeedd4dc8ba604d1397168b85dad074937dec"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060collection\u0060: line 602 assigns it with \u0060as IList\u0060, which hands back null rather than throwing when the value is not a \u0060IList\u0060, but line 603 then dereferences it directly as \u0060collection.Count\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 \u0060collection\u0060 once before the first use and handle the null case, or cast with \u0060(IList)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/Controls/MultiSelectionSearchComboBox/MultiSelectSearchComboBox.cs"},"region":{"startLine":603}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d0a3214f5f3c515f4d0c04447691297c54644f54669482812a61111b7c33de9"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060parent\u0060: line 253 assigns it with \u0060as Canvas\u0060, which hands back null rather than throwing when the value is not a \u0060Canvas\u0060, but line 265 then dereferences it directly as \u0060parent.ActualWidth\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 \u0060parent\u0060 once before the first use and handle the null case, or cast with \u0060(Canvas)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/Controls/TransformLayout/ElementAdorner.cs"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec480662f3dfff53e1032900204c17b5502e5c857e329adffc212125480cc266"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060rotateTransform\u0060: line 321 assigns it with \u0060as RotateTransform\u0060, which hands back null rather than throwing when the value is not a \u0060RotateTransform\u0060, but line 322 then dereferences it directly as \u0060rotateTransform.Angle\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 \u0060rotateTransform\u0060 once before the first use and handle the null case, or cast with \u0060(RotateTransform)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/Controls/TransformLayout/ElementAdorner.cs"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2f315a1828436cb7b8ddccc88f60fd996c868b9500bf7704dd4bb9dc527aa16"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060rotateTransform\u0060: line 65 assigns it with \u0060as RotateTransform\u0060, which hands back null rather than throwing when the value is not a \u0060RotateTransform\u0060, but line 66 then dereferences it directly as \u0060rotateTransform.Angle\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 \u0060rotateTransform\u0060 once before the first use and handle the null case, or cast with \u0060(RotateTransform)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/Controls/TransformLayout/ThumbAngle.cs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"9582f27358fe7bd1d1de403135435ade9250fc2ba36a1e4e9ca29910e76852e2"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060thumb\u0060: line 73 assigns it with \u0060as Thumb\u0060, which hands back null rather than throwing when the value is not a \u0060Thumb\u0060, but line 74 then dereferences it directly as \u0060thumb.DataContext\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 \u0060thumb\u0060 once before the first use and handle the null case, or cast with \u0060(Thumb)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/Controls/TransformLayout/ThumbAngle.cs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"fff3b60e8dc154d3f1c84e07d89f68992b4e3e31b1115dd4384ea00b1c0cc2d2"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060pieSegment\u0060: line 47 assigns it with \u0060as PieSegment\u0060, which hands back null rather than throwing when the value is not a \u0060PieSegment\u0060, but line 55 then dereferences it directly as \u0060pieSegment.ColorArray\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 \u0060pieSegment\u0060 once before the first use and handle the null case, or cast with \u0060(PieSegment)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/Controls/PieSegment/PieSegment.cs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cd466f69b83b909bff77edc64d55c948a2f1e5ba44f7e4adab3c20a07b8b37c"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060array\u0060: line 50 assigns it with \u0060as ObservableCollection\u003CPieSegmentModel\u003E\u0060, which hands back null rather than throwing when the value is not a \u0060ObservableCollection\u003CPieSegmentModel\u003E\u0060, but line 55 then dereferences it directly as \u0060array.IndexOf\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 \u0060array\u0060 once before the first use and handle the null case, or cast with \u0060(ObservableCollection\u003CPieSegmentModel\u003E)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/Controls/PieSegment/PieSegment.cs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7bb00a429933a0ce9305a8c8071d02c8241b1aba4f5024dde31bd0887a950ae"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060btn\u0060: line 118 assigns it with \u0060as Button\u0060, which hands back null rather than throwing when the value is not a \u0060Button\u0060, but line 125 then dereferences it directly as \u0060btn.RenderTransform\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 \u0060btn\u0060 once before the first use and handle the null case, or cast with \u0060(Button)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/Controls/RoundPicker/RoundPicker.cs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7f9c880436171df8487e93ecc6d7055d28188656afc6ea1e065b96d30db3297"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060scaleTransform\u0060: line 125 assigns it with \u0060as ScaleTransform\u0060, which hands back null rather than throwing when the value is not a \u0060ScaleTransform\u0060, but line 126 then dereferences it directly as \u0060scaleTransform.BeginAnimation\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 \u0060scaleTransform\u0060 once before the first use and handle the null case, or cast with \u0060(ScaleTransform)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/Controls/RoundPicker/RoundPicker.cs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aa98d42ffd1ca238723cd440d6fc244dcc24ca25c195e0cbb66e751e0d48279"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060btn\u0060: line 131 assigns it with \u0060as Button\u0060, which hands back null rather than throwing when the value is not a \u0060Button\u0060, but line 132 then dereferences it directly as \u0060btn.RenderTransform\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 \u0060btn\u0060 once before the first use and handle the null case, or cast with \u0060(Button)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/Controls/RoundPicker/RoundPicker.cs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"77d143018bf0bb35da620d3f2ea4539ffde291a841f4f1a4459b9e849ea19241"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060scaleTransform\u0060: line 132 assigns it with \u0060as ScaleTransform\u0060, which hands back null rather than throwing when the value is not a \u0060ScaleTransform\u0060, but line 138 then dereferences it directly as \u0060scaleTransform.BeginAnimation\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 \u0060scaleTransform\u0060 once before the first use and handle the null case, or cast with \u0060(ScaleTransform)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/Controls/RoundPicker/RoundPicker.cs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ef8b9fef7d2068f391e6e8e636a07d851a63bfbe69bc24c71a817801b1f7224"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060btn\u0060: line 144 assigns it with \u0060as Button\u0060, which hands back null rather than throwing when the value is not a \u0060Button\u0060, but line 145 then dereferences it directly as \u0060btn.Content\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 \u0060btn\u0060 once before the first use and handle the null case, or cast with \u0060(Button)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/Controls/RoundPicker/RoundPicker.cs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b0f167cad5dbae1f8055980b9641b0c8d0625accbd427c763322ea1f9f7a070"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060animationAudio\u0060: line 23 assigns it with \u0060as AnimationAudio\u0060, which hands back null rather than throwing when the value is not a \u0060AnimationAudio\u0060, but line 26 then dereferences it directly as \u0060animationAudio.IsPlay\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 \u0060animationAudio\u0060 once before the first use and handle the null case, or cast with \u0060(AnimationAudio)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/ExampleViews/AnimationAudioExample.xaml.cs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"59920c9ae4f964b8729caf2e6058b5537e11618effa9cb39b89e4c0980b653a4"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060item\u0060: line 34 assigns it with \u0060as NavMenu3DItem\u0060, which hands back null rather than throwing when the value is not a \u0060NavMenu3DItem\u0060, but line 35 then dereferences it directly as \u0060item.Tag\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 \u0060item\u0060 once before the first use and handle the null case, or cast with \u0060(NavMenu3DItem)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/ExampleViews/NavMenu3DExample.xaml.cs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"20c8601625505e822e10ff7057c0bb2479aad7ac2c0b7e05c2a665c4032d6082"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060view\u0060: line 192 assigns it with \u0060as BasicControlsExample\u0060, which hands back null rather than throwing when the value is not a \u0060BasicControlsExample\u0060, but line 195 then dereferences it directly as \u0060view.UserCollection\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 \u0060view\u0060 once before the first use and handle the null case, or cast with \u0060(BasicControlsExample)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/ExampleViews/BasicControlsExample.xaml.cs"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"500733891226461a729d37171387e3f32a4c34a336456ed06752f81df37e6211"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060send\u0060: line 58 assigns it with \u0060as Border\u0060, which hands back null rather than throwing when the value is not a \u0060Border\u0060, but line 59 then dereferences it directly as \u0060send.Tag\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 \u0060send\u0060 once before the first use and handle the null case, or cast with \u0060(Border)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/ExampleViews/ChatEmojiExample.xaml.cs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4da5e0ef6c942ee134c76bd7130df5d25a5aa0ba1efe216b452216b31357cf6"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060send\u0060: line 127 assigns it with \u0060as Border\u0060, which hands back null rather than throwing when the value is not a \u0060Border\u0060, but line 128 then dereferences it directly as \u0060send.Tag\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 \u0060send\u0060 once before the first use and handle the null case, or cast with \u0060(Border)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/ExampleViews/ChatEmojiExample.xaml.cs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd92b64a709855edd7dcf2c6fee8c03d666713ac9a30ea6d4213f6bffb89afc9"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060parent\u0060: line 200 assigns it with \u0060as Canvas\u0060, which hands back null rather than throwing when the value is not a \u0060Canvas\u0060, but line 212 then dereferences it directly as \u0060parent.ActualWidth\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 \u0060parent\u0060 once before the first use and handle the null case, or cast with \u0060(Canvas)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ElementAdorner.cs"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fdd2d89521e9e13107905225f85164b9197272599876d513f6621e5ba4cda7e"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060rotateTransform\u0060: line 268 assigns it with \u0060as RotateTransform\u0060, which hands back null rather than throwing when the value is not a \u0060RotateTransform\u0060, but line 269 then dereferences it directly as \u0060rotateTransform.Angle\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 \u0060rotateTransform\u0060 once before the first use and handle the null case, or cast with \u0060(RotateTransform)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ElementAdorner.cs"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"23341f8a4786281a6a533d6819b17c0b6213894477f04e5d4d49219e285a5766"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060parent\u0060: line 133 assigns it with \u0060as Canvas\u0060, which hands back null rather than throwing when the value is not a \u0060Canvas\u0060, but line 145 then dereferences it directly as \u0060parent.ActualWidth\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 \u0060parent\u0060 once before the first use and handle the null case, or cast with \u0060(Canvas)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ThumbAdorner.cs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"2868474ef4add85680d5ec20ab7cf3532b1ad97d35858319d9602ad747477aaf"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060rotateTransform\u0060: line 214 assigns it with \u0060as RotateTransform\u0060, which hands back null rather than throwing when the value is not a \u0060RotateTransform\u0060, but line 215 then dereferences it directly as \u0060rotateTransform.Angle\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 \u0060rotateTransform\u0060 once before the first use and handle the null case, or cast with \u0060(RotateTransform)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ThumbAdorner.cs"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"838d6932b0836a6cad4c4f529396bbfb73d537fd60207eec5c2791c6a06f74c2"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060rotateTransform\u0060: line 90 assigns it with \u0060as RotateTransform\u0060, which hands back null rather than throwing when the value is not a \u0060RotateTransform\u0060, but line 91 then dereferences it directly as \u0060rotateTransform.Angle\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 \u0060rotateTransform\u0060 once before the first use and handle the null case, or cast with \u0060(RotateTransform)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ThumbAdorner2.cs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9aa687430f881a1c6fcbc277128644a2019fcde8783a82e087edae705f0064a"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060parent\u0060: line 188 assigns it with \u0060as Canvas\u0060, which hands back null rather than throwing when the value is not a \u0060Canvas\u0060, but line 200 then dereferences it directly as \u0060parent.ActualWidth\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 \u0060parent\u0060 once before the first use and handle the null case, or cast with \u0060(Canvas)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ThumbAdorner2.cs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"4071ee4b7bc0149e301795d38c46505cfb57e62659bb972b1cbf07ac59282ac2"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060rotateTransform\u0060: line 65 assigns it with \u0060as RotateTransform\u0060, which hands back null rather than throwing when the value is not a \u0060RotateTransform\u0060, but line 66 then dereferences it directly as \u0060rotateTransform.Angle\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 \u0060rotateTransform\u0060 once before the first use and handle the null case, or cast with \u0060(RotateTransform)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ThumbAngle.cs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bab2fdf480e8516965378f2c0745da41495d49765eb33fbf8a124a34d67828b"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060thumb\u0060: line 73 assigns it with \u0060as Thumb\u0060, which hands back null rather than throwing when the value is not a \u0060Thumb\u0060, but line 74 then dereferences it directly as \u0060thumb.DataContext\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 \u0060thumb\u0060 once before the first use and handle the null case, or cast with \u0060(Thumb)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/ExampleViews/DrapView/Controls/ThumbAngle.cs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ccd646fd2c1fa8c6d8273528c9d124c3fd047084ea89e82eb2c125e13c6d5c4"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060ep\u0060: line 210 assigns it with \u0060as Ellipse\u0060, which hands back null rather than throwing when the value is not a \u0060Ellipse\u0060, but line 211 then dereferences it directly as \u0060ep.StrokeThickness\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 \u0060ep\u0060 once before the first use and handle the null case, or cast with \u0060(Ellipse)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/ExampleViews/LineChartExample.xaml.cs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"92976b21d52458f4d1e2c17e278bcdcb820d4b668ba15e70dca4806dda9f3df8"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060ep\u0060: line 216 assigns it with \u0060as Ellipse\u0060, which hands back null rather than throwing when the value is not a \u0060Ellipse\u0060, but line 217 then dereferences it directly as \u0060ep.StrokeThickness\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 \u0060ep\u0060 once before the first use and handle the null case, or cast with \u0060(Ellipse)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/ExampleViews/LineChartExample.xaml.cs"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"38d8d1caa627bcd85e960895d77006b80e0b0b82e21dc0ee503910001292c8cb"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060ep\u0060: line 221 assigns it with \u0060as Ellipse\u0060, which hands back null rather than throwing when the value is not a \u0060Ellipse\u0060, but line 222 then dereferences it directly as \u0060ep.Tag\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 \u0060ep\u0060 once before the first use and handle the null case, or cast with \u0060(Ellipse)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/ExampleViews/LineChartExample.xaml.cs"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"11a768fcbc11eb626d1442bc84cf9c9e3ca0d23ce77f0c4e40e6f62bf45f2fb0"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060control\u0060: line 36 assigns it with \u0060as InputBoxBase\u0060, which hands back null rather than throwing when the value is not a \u0060InputBoxBase\u0060, but line 37 then dereferences it directly as \u0060control.ApplyText\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 \u0060control\u0060 once before the first use and handle the null case, or cast with \u0060(InputBoxBase)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/ExampleViews/LoginWindow/CustomControl/InputBoxBase.cs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a5ce6ab83f689f1968e1fc834c1172cb6af25ddd0a7413edd260c9efdcc4ed1"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060control\u0060: line 53 assigns it with \u0060as InputBoxBase\u0060, which hands back null rather than throwing when the value is not a \u0060InputBoxBase\u0060, but line 54 then dereferences it directly as \u0060control.ApplyPlaceHolder\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 \u0060control\u0060 once before the first use and handle the null case, or cast with \u0060(InputBoxBase)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/ExampleViews/LoginWindow/CustomControl/InputBoxBase.cs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f0dac23aa79e145da7460e58f144a38f6e8fd0d96d907710528d28681ce13d4"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060control\u0060: line 70 assigns it with \u0060as InputBoxBase\u0060, which hands back null rather than throwing when the value is not a \u0060InputBoxBase\u0060, but line 71 then dereferences it directly as \u0060control.Icon\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 \u0060control\u0060 once before the first use and handle the null case, or cast with \u0060(InputBoxBase)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/ExampleViews/LoginWindow/CustomControl/InputBoxBase.cs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eba97dc23aa760a77c231d62b4cd19e7438c7959d598be3087b7191f049c2c2"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060btn\u0060: line 31 assigns it with \u0060as Button\u0060, which hands back null rather than throwing when the value is not a \u0060Button\u0060, but line 32 then dereferences it directly as \u0060btn.Tag\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 \u0060btn\u0060 once before the first use and handle the null case, or cast with \u0060(Button)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/ExampleViews/ToastExample.xaml.cs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"c518c399fa4e05215115c1a8203ee6af54d5d872b5704339cfcb06373c65fc23"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060btn\u0060: line 68 assigns it with \u0060as Button\u0060, which hands back null rather than throwing when the value is not a \u0060Button\u0060, but line 69 then dereferences it directly as \u0060btn.Tag\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 \u0060btn\u0060 once before the first use and handle the null case, or cast with \u0060(Button)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/ExampleViews/ToastExample.xaml.cs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"8963b78dbc984d6fc617e8cbbd84b34367e7212c8a049175544ba5c149c681eb"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060passwordBox\u0060: line 58 assigns it with \u0060as PasswordBox\u0060, which hands back null rather than throwing when the value is not a \u0060PasswordBox\u0060, but line 59 then dereferences it directly as \u0060passwordBox.PasswordChanged\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 \u0060passwordBox\u0060 once before the first use and handle the null case, or cast with \u0060(PasswordBox)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/ExampleViews/Passwrod/PasswordBoxHelper.cs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"287def278e777f9d4a60f13b4d3b6bea283a8690c73e5fec24cb603acd794fbd"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060passwordBox\u0060: line 83 assigns it with \u0060as PasswordBox\u0060, which hands back null rather than throwing when the value is not a \u0060PasswordBox\u0060, but line 85 then dereferences it directly as \u0060passwordBox.Password\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 \u0060passwordBox\u0060 once before the first use and handle the null case, or cast with \u0060(PasswordBox)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/ExampleViews/Passwrod/PasswordBoxHelper.cs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"17e3b3af3866ee2a191117ca4b24ceddf2f1e4f1a2882150f84e6b0767446218"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060btn\u0060: line 27 assigns it with \u0060as Button\u0060, which hands back null rather than throwing when the value is not a \u0060Button\u0060, but line 28 then dereferences it directly as \u0060btn.Tag\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 \u0060btn\u0060 once before the first use and handle the null case, or cast with \u0060(Button)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/ExampleViews/TaskbarItemInfoExample.xaml.cs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"c33ba9fac88530d99c6c2186b404f14b1aa1ff60969f2aae7544de3968d7a9cb"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060view\u0060: line 38 assigns it with \u0060as DataGridExample\u0060, which hands back null rather than throwing when the value is not a \u0060DataGridExample\u0060, but line 40 then dereferences it directly as \u0060view.UserCollection\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 \u0060view\u0060 once before the first use and handle the null case, or cast with \u0060(DataGridExample)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/ExampleViews/Basics/DataGridExample.xaml.cs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"a407b1422b9d427f50f85418dbc82b3006c535d1cecb28af7c905e426fef3b27"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060model\u0060: line 605 assigns it with \u0060as NavigateMenuModel\u0060, which hands back null rather than throwing when the value is not a \u0060NavigateMenuModel\u0060, but line 607 then dereferences it directly as \u0060model.Name\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 \u0060model\u0060 once before the first use and handle the null case, or cast with \u0060(NavigateMenuModel)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Samples.Shared/ViewModels/MainVM.cs"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"26792ea820d58cc953a80a34a5e10d62b5a58d1f11cf255655188a48d729d7a6"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060ctrl\u0060: line 54 assigns it with \u0060as ChartBase\u0060, which hands back null rather than throwing when the value is not a \u0060ChartBase\u0060, but line 56 then dereferences it directly as \u0060ctrl.InvalidateVisual\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 \u0060ctrl\u0060 once before the first use and handle the null case, or cast with \u0060(ChartBase)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/Charts/ChartBase.cs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"79ac66ab660a5a014df1336e83e142d00f00c3397992f31db4795d603d384473"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060ctrl\u0060: line 57 assigns it with \u0060as ChartPie\u0060, which hands back null rather than throwing when the value is not a \u0060ChartPie\u0060, but line 59 then dereferences it directly as \u0060ctrl.InvalidateVisual\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 \u0060ctrl\u0060 once before the first use and handle the null case, or cast with \u0060(ChartPie)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/Charts/ChartPie.cs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"543f1f96426097b2060e46fc8c303c5250d05fe69563fe048c5fbb453b03388b"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060ctrl\u0060: line 32 assigns it with \u0060as IPEditBox\u0060, which hands back null rather than throwing when the value is not a \u0060IPEditBox\u0060, but line 33 then dereferences it directly as \u0060ctrl._isChangingText\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 \u0060ctrl\u0060 once before the first use and handle the null case, or cast with \u0060(IPEditBox)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/IPEditBox/IPEditBox.cs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"b80222e6df9ba78cdc9b1bf73348c9f2002ba3daa0de0f808ee6946b4c36cf0f"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060textBox\u0060: line 180 assigns it with \u0060as TextBox\u0060, which hands back null rather than throwing when the value is not a \u0060TextBox\u0060, but line 182 then dereferences it directly as \u0060textBox.Text\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 \u0060textBox\u0060 once before the first use and handle the null case, or cast with \u0060(TextBox)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/IPEditBox/IPEditBox.cs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"852b37aa14ddad14aa80c257de3bc6c8326d7e4366e1aaead30d5c71b46a0648"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060textBox\u0060: line 205 assigns it with \u0060as TextBox\u0060, which hands back null rather than throwing when the value is not a \u0060TextBox\u0060, but line 214 then dereferences it directly as \u0060textBox.SelectAll\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 \u0060textBox\u0060 once before the first use and handle the null case, or cast with \u0060(TextBox)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/IPEditBox/IPEditBox.cs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca9f7be6097b956919dc5cd8e587563bd535bc13ea6344e0fac006373fcd164b"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060textBox\u0060: line 171 assigns it with \u0060as TextBox\u0060, which hands back null rather than throwing when the value is not a \u0060TextBox\u0060, but line 173 then dereferences it directly as \u0060textBox.Text\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 \u0060textBox\u0060 once before the first use and handle the null case, or cast with \u0060(TextBox)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/OtpBox/OtpBox.cs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1d579be977b1b3d5ec431f7e76de93096c02e6f355d3781ee3202f19caa49a3"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060textBox\u0060: line 194 assigns it with \u0060as TextBox\u0060, which hands back null rather than throwing when the value is not a \u0060TextBox\u0060, but line 198 then dereferences it directly as \u0060textBox.Text\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 \u0060textBox\u0060 once before the first use and handle the null case, or cast with \u0060(TextBox)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/OtpBox/OtpBox.cs"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d13feadbd1f92f8eea3ef522fd488c54f232bffb395247a28d6c1686b9afc95"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060textBox\u0060: line 214 assigns it with \u0060as TextBox\u0060, which hands back null rather than throwing when the value is not a \u0060TextBox\u0060, but line 225 then dereferences it directly as \u0060textBox.Text\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 \u0060textBox\u0060 once before the first use and handle the null case, or cast with \u0060(TextBox)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/OtpBox/OtpBox.cs"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"81218d9449b1bc8f1a49b16b7db3c4257ecf974acc945f0c8cba48c9a958dc90"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060numericBox\u0060: line 72 assigns it with \u0060as NumericBox\u0060, which hands back null rather than throwing when the value is not a \u0060NumericBox\u0060, but line 73 then dereferences it directly as \u0060numericBox.IsReadOnly\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 \u0060numericBox\u0060 once before the first use and handle the null case, or cast with \u0060(NumericBox)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/NumericBox/NumericBox.cs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8743df5a555547402d8ee0162bd620938817a7a285b79840e5322b4ad0badcb"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060numericBox\u0060: line 87 assigns it with \u0060as NumericBox\u0060, which hands back null rather than throwing when the value is not a \u0060NumericBox\u0060, but line 88 then dereferences it directly as \u0060numericBox.Value\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 \u0060numericBox\u0060 once before the first use and handle the null case, or cast with \u0060(NumericBox)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/NumericBox/NumericBox.cs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b169d4bfdc8553cb932f0a1a02ba40d6371e4bbd3bc80a7037a9a82a936264f"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060numericBox\u0060: line 94 assigns it with \u0060as NumericBox\u0060, which hands back null rather than throwing when the value is not a \u0060NumericBox\u0060, but line 95 then dereferences it directly as \u0060numericBox.IsReadOnly\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 \u0060numericBox\u0060 once before the first use and handle the null case, or cast with \u0060(NumericBox)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/NumericBox/NumericBox.cs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c00d7d0a74bd455ee5b7821cce3fce0f19e95318405745a382cae4c50fde7fa"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060numericBox\u0060: line 108 assigns it with \u0060as NumericBox\u0060, which hands back null rather than throwing when the value is not a \u0060NumericBox\u0060, but line 109 then dereferences it directly as \u0060numericBox.Value\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 \u0060numericBox\u0060 once before the first use and handle the null case, or cast with \u0060(NumericBox)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/NumericBox/NumericBox.cs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d49594f6a6b2d73c2fd3a06e9e5c6729f19b846b5fe62c633890331eb303987"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060animationAudio\u0060: line 69 assigns it with \u0060as AnimationAudio\u0060, which hands back null rather than throwing when the value is not a \u0060AnimationAudio\u0060, but line 73 then dereferences it directly as \u0060animationAudio.Play\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 \u0060animationAudio\u0060 once before the first use and handle the null case, or cast with \u0060(AnimationAudio)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/AnimationAudio/AnimationAudio.cs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"920410274b5090ac5de559ecc19a7be5964b5e841e5e6b25d647b6cd6c800395"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060vScaleTransform\u0060: line 329 assigns it with \u0060as ScaleTransform\u0060, which hands back null rather than throwing when the value is not a \u0060ScaleTransform\u0060, but line 330 then dereferences it directly as \u0060vScaleTransform.ScaleY\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 \u0060vScaleTransform\u0060 once before the first use and handle the null case, or cast with \u0060(ScaleTransform)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/Carousel/CardCarousel.cs"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"212649ade8987d7ffc65d995f3d2bbd58c4e17a7d07ddd6a021a816c2501ca09"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060bar\u0060: line 87 assigns it with \u0060as CircleProgressBar\u0060, which hands back null rather than throwing when the value is not a \u0060CircleProgressBar\u0060, but line 88 then dereferences it directly as \u0060bar.Angle\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 \u0060bar\u0060 once before the first use and handle the null case, or cast with \u0060(CircleProgressBar)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/CircleProgressBar/CircleProgressBar.cs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fb9034594405fddb3b20c839b96330e9f40c6e1dc8f9880f4060fb75d924623"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060drawerMenu\u0060: line 161 assigns it with \u0060as DrawerMenu\u0060, which hands back null rather than throwing when the value is not a \u0060DrawerMenu\u0060, but line 162 then dereferences it directly as \u0060drawerMenu.IsExpanded\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 \u0060drawerMenu\u0060 once before the first use and handle the null case, or cast with \u0060(DrawerMenu)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/DrawerMenu/DrawerMenuItem.cs"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"b49ee0d49d15aa2b79d5c1d040529f4c51cc8f0d271d45a2852c9791226d98a7"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060ctrl\u0060: line 114 assigns it with \u0060as Pagination\u0060, which hands back null rather than throwing when the value is not a \u0060Pagination\u0060, but line 115 then dereferences it directly as \u0060ctrl.Current\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 \u0060ctrl\u0060 once before the first use and handle the null case, or cast with \u0060(Pagination)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/Pagination/Pagination.cs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"27fe92d9d755f0c05465bfa021a79244b66e419f2a8b7eaa56d3a69af7941c1b"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060ctrl\u0060: line 138 assigns it with \u0060as Pagination\u0060, which hands back null rather than throwing when the value is not a \u0060Pagination\u0060, but line 139 then dereferences it directly as \u0060ctrl.Current\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 \u0060ctrl\u0060 once before the first use and handle the null case, or cast with \u0060(Pagination)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/Pagination/Pagination.cs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"34756bd89a0203df15c558cd2d6a7697b39edde561675d6e395f646fc2eb04c6"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060ctrl\u0060: line 200 assigns it with \u0060as Pagination\u0060, which hands back null rather than throwing when the value is not a \u0060Pagination\u0060, but line 203 then dereferences it directly as \u0060ctrl._jumpPageNumericBox\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 \u0060ctrl\u0060 once before the first use and handle the null case, or cast with \u0060(Pagination)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/Pagination/Pagination.cs"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3cd5f047b0428a1a4166e1b53d0a7658903dba40a65b59d6d490ed8a25d54e8"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060ctrl\u0060: line 236 assigns it with \u0060as Pagination\u0060, which hands back null rather than throwing when the value is not a \u0060Pagination\u0060, but line 239 then dereferences it directly as \u0060ctrl.SetValue\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 \u0060ctrl\u0060 once before the first use and handle the null case, or cast with \u0060(Pagination)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/Pagination/Pagination.cs"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"056727cc818aee5c5c074a57491b0635fd0ab97142f6092f385fa2e4ebdb4806"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060ctrl\u0060: line 258 assigns it with \u0060as Pagination\u0060, which hands back null rather than throwing when the value is not a \u0060Pagination\u0060, but line 261 then dereferences it directly as \u0060ctrl._countPerPageNumericBox\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 \u0060ctrl\u0060 once before the first use and handle the null case, or cast with \u0060(Pagination)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/Pagination/Pagination.cs"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"98a2e3e2adc25add0b460ac53917678ffab760ff6313df24d2558d9f732f976e"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060ctrl\u0060: line 289 assigns it with \u0060as Pagination\u0060, which hands back null rather than throwing when the value is not a \u0060Pagination\u0060, but line 292 then dereferences it directly as \u0060ctrl._listBox\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 \u0060ctrl\u0060 once before the first use and handle the null case, or cast with \u0060(Pagination)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/Pagination/Pagination.cs"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c97c2e91740cc4ce7d61fcab7e66c7800516aec4ec26351b77866ed8cc43903"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060tb\u0060: line 830 assigns it with \u0060as TextBox\u0060, which hands back null rather than throwing when the value is not a \u0060TextBox\u0060, but line 836 then dereferences it directly as \u0060tb.Text\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 \u0060tb\u0060 once before the first use and handle the null case, or cast with \u0060(TextBox)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/ScreenCut/ScreenCut.cs"},"region":{"startLine":836}}}],"partialFingerprints":{"codehealthFindingId/v1":"1264527023f7d8c46799a25ec999e72eb6329fbf21705c849acd5b50049d4a12"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060tb\u0060: line 843 assigns it with \u0060as Border\u0060, which hands back null rather than throwing when the value is not a \u0060Border\u0060, but line 845 then dereferences it directly as \u0060tb.ActualHeight\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 \u0060tb\u0060 once before the first use and handle the null case, or cast with \u0060(Border)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/ScreenCut/ScreenCut.cs"},"region":{"startLine":845}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f2f828e698375f50881acc4e8d7ef8baad166a1f8b25fcb87ca86c1195884a1"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060border\u0060: line 857 assigns it with \u0060as Border\u0060, which hands back null rather than throwing when the value is not a \u0060Border\u0060, but line 860 then dereferences it directly as \u0060border.BorderThickness\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 \u0060border\u0060 once before the first use and handle the null case, or cast with \u0060(Border)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/ScreenCut/ScreenCut.cs"},"region":{"startLine":860}}}],"partialFingerprints":{"codehealthFindingId/v1":"745d89b7e02f2765023cead0bbef5afff368a771549873c6433ba4957b1fd1d3"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060step\u0060: line 16 assigns it with \u0060as Step\u0060, which hands back null rather than throwing when the value is not a \u0060Step\u0060, but line 17 then dereferences it directly as \u0060step.ItemContainerGenerator\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 \u0060step\u0060 once before the first use and handle the null case, or cast with \u0060(Step)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Core/Converts/StepIndexConverter.cs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"0119f2c0837aa7355e97d4a3c8d1ef813b1b18eb8d4cb1b67f9e47968e11b86f"}},{"ruleId":"X5","level":"note","message":{"text":"Nullable reference types not enabled everywhere: 0/2 NRT-eligible project(s) enable \u003CNullable\u003Eenable\u003C/Nullable\u003E (projects targeting a pre-C#-8 framework are excluded \u2014 NRTs aren\u0027t available there). NRTs catch a whole class of null-deref bugs at compile time."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"80b24de9378624a0ce4846d60457395befcaec8e109ea81d289a370c9f7bfd5d"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060IsValidEmail\u0060 swallows \u0060FormatException\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":"src/WPFDevelopers.Samples.Shared/ExampleViews/Dialog/DialogUserControl.xaml.cs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"f55ab9a215b76e4655805e74db701e99cba61029f49913943b8f6d369418b3c1"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060GetUriFromSource\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":"src/WPFDevelopers.Shared/Controls/SvgViewer/SvgViewer.cs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"166bab263af1b175887dc9bfc982692ab7ab495b8bc90b61d025c5a7db9195c1"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060CutBitmap\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":"src/WPFDevelopers.Shared/Controls/CropImage/CropImage.cs"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"0207a213d265f9814ca7343bf754393613c93a51428f394f5ef4f793b82857fd"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060KillProcessUsingFile\u0060 swallows every exception into \u0060return false;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Core/Helpers/Helper.cs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a270ccf0785aee38fdd55b5457d659c2e739dca057dc835b9bb392003cd415e"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060ExtractTileYFromCacheKey\u0060 returns \u0060-1\u0060 when \u0060int.TryParse(parts[parts.Length - 1], out var tileY)\u0060 is false, with no log or throw \u2014 a malformed value silently becomes that default. Log the input or fail validation. If that constant is the correct answer to the test rather than a stand-in for a value that could not be read, this is not a silent default: say so in a comment on the member and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/MapView/MapView.cs"},"region":{"startLine":3565}}}],"partialFingerprints":{"codehealthFindingId/v1":"290b41e7a142f603082d4492cd1756cca9cf63f373cfad2dfa16b84622035a2f"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060ResolveScaleUnit\u0060 swallows every exception into \u0060return MapDistanceUnit.KilometersMeters;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/MapView/MapView.cs"},"region":{"startLine":4181}}}],"partialFingerprints":{"codehealthFindingId/v1":"53c51577acdf58922af118581ced051088ef1719a834930594e34fe20d01fc46"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060GetAreaAverageColor\u0060 swallows every exception into \u0060return Colors.Gray;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Controls/ScreenCut/ScreenCut.cs"},"region":{"startLine":1089}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee379f61b5c64debdb755d349f1ac9b5d7dcb1b083a22f8e11b646f781d0a580"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060GetSoundLength\u0060 swallows every exception into \u0060return TimeSpan.Zero;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Core/Helpers/AudioPlayer.cs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"69c1bf479f2b7304027c4cbc346b26ee2a34718d383031d7176a9ab6aad1523b"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060IsDarkMode\u0060 swallows every exception into \u0060return false;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WPFDevelopers.Shared/Resources.cs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bd61cce356b28e36d10def8bdebda3ded790e74d577d02e585357020536a7fb"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060CreateLinkFromJumpTask\u0060 swallows every exception and sets \u0060result = 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":"src/Microsoft.Windows.Shell/JumpList.cs"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"92ada2f96c8991ecb0e039c010f2288918806a491e4e52a9f634742f01fbc0d7"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060Equals\u0060 swallows \u0060InvalidCastException\u0060 and sets \u0060result = false;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Microsoft.Windows.Shell/Standard/HRESULT.cs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e2002243edc3af7982080c86f8216b6627192b8f9e61de667e9ec26de4457ab"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060Equals\u0060 swallows \u0060InvalidCastException\u0060 and sets \u0060result = false;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Microsoft.Windows.Shell/Standard/RECT.cs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea802be374653380a7caabe328c36fe2ff750c5b1130ce4ec9d0eab6b1e65685"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060ReleaseHandle\u0060 swallows every exception and sets \u0060result = false;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Microsoft.Windows.Shell/Standard/SafeConnectionPointCookie.cs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"182d5f6f2eb009755afc83c477af81ce992d6306a4bfbc36cdb5d3f0788dcdcf"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060Equals\u0060 swallows \u0060InvalidCastException\u0060 and sets \u0060result = false;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Microsoft.Windows.Shell/Standard/Win32Error.cs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ecad35cca7fe5233eb10e88fb0afdc7f99c1a2cdc528b8a75510cee06d36a1f"}}],"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-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-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-319","guid":"7af97476-9f0d-4458-9163-3d2043918a1a","name":"Cleartext Transmission of Sensitive Information","shortDescription":{"text":"Cleartext Transmission of Sensitive Information"},"helpUri":"https://cwe.mitre.org/data/definitions/319.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-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-73","guid":"43703bfd-8c43-f15f-9cba-58e5f73ea7e9","name":"External Control of File Name or Path","shortDescription":{"text":"External Control of File Name or Path"},"helpUri":"https://cwe.mitre.org/data/definitions/73.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-776","guid":"9228794e-eb37-cc55-9570-3bbc19789fef","name":"Improper Restriction of Recursive Entity References in DTDs (\u0027XML Entity Expansion\u0027)","shortDescription":{"text":"Improper Restriction of Recursive Entity References in DTDs (\u0027XML Entity Expansion\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/776.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"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":"A04:2025","guid":"6a9f5bfd-1a56-6453-beec-a7eff0ba3007","name":"Cryptographic Failures","shortDescription":{"text":"Cryptographic Failures"},"helpUri":"https://top10.owasp.org/2025/A04_2025-Cryptographic_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/"}]},{"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-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-5","guid":"cc7f4610-8859-e654-9029-d5f97d992220","name":"Insufficient PBAC (Pipeline-Based Access Controls)","shortDescription":{"text":"Insufficient PBAC (Pipeline-Based Access Controls)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-05-Insufficient-PBAC"}]}],"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":29,"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."]}]}