System.ComponentModel.Tests.Win32ExceptionTestType.GetObjectData_InvalidArgs_Throws C# (CSharp) Method

GetObjectData_InvalidArgs_Throws() private method

private GetObjectData_InvalidArgs_Throws ( ) : void
return void
        public static void GetObjectData_InvalidArgs_Throws()
        {
            var e = new Win32Exception();
            Assert.Throws<ArgumentNullException>("info", () => e.GetObjectData(null, default(StreamingContext)));
        }
    }