private GetUninitializedObject_InvalidArguments_ThrowsException ( ) : void | ||
return | void |
public void GetUninitializedObject_InvalidArguments_ThrowsException()
{
Assert.Throws<ArgumentNullException>("type", () => FormatterServices.GetUninitializedObject(null));
Assert.Throws<ArgumentNullException>("type", () => FormatterServices.GetSafeUninitializedObject(null));
}