3 references to new
System.Windows.Forms.Tests (3)
System\Windows\Forms\CursorTests.cs (3)
155using Cursor cursor = new(typeof(PropertyTabTests), "CustomPropertyTab"); 165Assert.Throws<ArgumentNullException>("type", () => new Cursor((Type)null, "resource")); 174Assert.Throws<ArgumentNullException>("stream", () => new Cursor(type, resource));