According to CA1062 null checks are required in externally visible methods like this:
public static double GetLongitude(this Location location)
{
    if(location is null)
    {
        throw new ArgumentNullException(nameof(location));
    }
    return location.Longitude;
}
I have now updated to .net 6.0 and tried to use the parameter null check "!!":
public static double GetLongitude(this Location location!!) => location.Longitude;
But this thrown CA1062 again.
Hope you guys can help me :-)
 
     
    