public void GetHashCode_NullPropertyName_ReturnsEqual()
{
var attribute = new ProvidePropertyAttribute(null, "receiverTypeName");
if (!PlatformDetection.IsFullFramework)
{
Assert.Equal(attribute.GetHashCode(), attribute.GetHashCode());
}
else
{
Assert.Throws <NullReferenceException>(() => attribute.GetHashCode());
}
}