2
// Copyright (C) 2002. James W. Newkirk, Michael C. Two, Alexei A. Vorontsov. All Rights Reserved.
4
namespace Nunit.Framework
9
/// ExpectedAttributeException.
12
[AttributeUsage(AttributeTargets.Method, AllowMultiple=false)]
13
public sealed class ExpectedExceptionAttribute : Attribute
15
private Type expectedException;
17
public ExpectedExceptionAttribute(Type exceptionType)
19
expectedException = exceptionType;
22
public Type ExceptionType
24
get{ return expectedException; }
25
set{ expectedException = value; }