System.Diagnostics.Tests.DebuggerDisplayAttributeTests.Target_SetNull_ThrowsArgumentNullException C# (CSharp) Method

Target_SetNull_ThrowsArgumentNullException() private method

private Target_SetNull_ThrowsArgumentNullException ( ) : void
return void
        public void Target_SetNull_ThrowsArgumentNullException()
        {
            var attribute = new DebuggerDisplayAttribute("Value");
            AssertExtensions.Throws<ArgumentNullException>("value", () => attribute.Target = null);
        }