WPF0042 warns on ArgumentNullException.ThrowIfNull #461
Open
Description
Currently WPF0042 warns on the following code:
public static void SetColumn(UIElement element, int value)
{
ArgumentNullException.ThrowIfNull(element);
element.SetValue(ColumnProperty, value);
}
ArgumentNullException.ThrowIfNull
is new and preferred, see CA1510
PresentationFramework was already updated.
Metadata
Assignees
Labels
No labels