use `ArgumentNullException(string paramName, string message);`
instead of `ArgumentNullException(string paramName);`.
`ArgumentNullException(string message);` doesn't exist.
Also, fixes CA2208
[EditorBrowsable(EditorBrowsableState.Never)]
public ViewHolder(View itemView)
{
- if (itemView == null)
- {
- throw new ArgumentNullException("itemView may not be null");
- }
- this.ItemView = itemView;
+ ItemView = itemView ?? throw new ArgumentNullException(nameof(itemView), "itemView may not be null");
}
/// <summary>