System.ComponentModel.Tests.Win32ExceptionTestType.GetObjectData_InvalidArgs_Throws C# (CSharp) Méthode

GetObjectData_InvalidArgs_Throws() private méthode

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