System.CodeDom.Tests.CodeCatchClauseTests.CatchExceptionType_Set_Get_ReturnsExpected C# (CSharp) Method

CatchExceptionType_Set_Get_ReturnsExpected() private method

private CatchExceptionType_Set_Get_ReturnsExpected ( CodeTypeReference value ) : void
value CodeTypeReference
return void
		public void CatchExceptionType_Set_Get_ReturnsExpected(CodeTypeReference value)
		{
			var catchClause = new CodeCatchClause();
			catchClause.CatchExceptionType = value;
			Assert.Equal((value ?? new CodeTypeReference(typeof(Exception))).BaseType, catchClause.CatchExceptionType.BaseType);
		}