Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions src/Reactor.Analyzers/ModifierTable.cs
Original file line number Diff line number Diff line change
Expand Up @@ -699,10 +699,13 @@ internal static class ModifierTable
/// mistake: <c>Grid.Padding</c> and <c>Grid.CornerRadius</c> sat here after the #1003 union
/// with reasons that said, in as many words, "instance dependency property on Grid, not an
/// attached property" — which is a misclassification to fix at the source, not to record.
/// They are now declared instance properties via <c>InstancePropertyOwners</c>, so the scan
/// never claims them and nothing needs excluding. Suppressing that kind of entry here is
/// actively harmful, because a genuinely attached <c>Grid.*</c> reset added later would land
/// in the same bucket and read as already-triaged.
/// The test's scan — not this analyzer — now classifies per <em>property</em> rather than per
/// owner (#1067): <c>PoolResetSetConsistencyTests</c> asks whether the owner declares the
/// static <c>Owner.SetPROP(DependencyObject, value)</c> this rule matches, so
/// <c>Grid.Padding</c> is instance while <c>Grid.Row</c> is attached, and neither needs an
/// entry here. Suppressing that kind of entry would be actively harmful, because a genuinely
/// attached <c>Grid.*</c> reset added later would land in the same bucket and read as
/// already-triaged.
/// </remarks>
public static readonly IReadOnlyDictionary<string, string> DeliberatelyExcludedAttached =
new Dictionary<string, string>(System.StringComparer.Ordinal)
Expand Down
Loading