~a-schlapsi/nunit-3.0/linux-makefile

« back to all changes in this revision

Viewing changes to src/framework/Exceptions/IgnoreException.cs

  • Committer: Andreas Schlapsi
  • Date: 2010-01-23 23:14:05 UTC
  • mfrom: (18.1.137 work)
  • Revision ID: a.schlapsi@gmx.at-20100123231405-17deqoh18nfnbq1j
Merged with trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22
22
// ***********************************************************************
23
23
 
24
 
#if !NUNITLITE
25
24
namespace NUnit.Framework 
26
25
{
27
26
        using System;
28
 
#if !NETCF
29
 
        using System.Runtime.Serialization;
30
 
#endif
31
27
 
32
28
        /// <summary>
33
29
        /// Thrown when an assertion failed.
34
30
        /// </summary>
 
31
#if !NETCF_1_0
35
32
        [Serializable]
 
33
#endif
36
34
        public class IgnoreException : System.Exception
37
35
        {
38
36
                /// <param name="message"></param>
51
49
                /// <summary>
52
50
                /// Serialization Constructor
53
51
                /// </summary>
54
 
                protected IgnoreException(SerializationInfo info, 
55
 
                        StreamingContext context) : base(info,context)
 
52
                protected IgnoreException(System.Runtime.Serialization.SerializationInfo info, 
 
53
                        System.Runtime.Serialization.StreamingContext context) : base(info,context)
56
54
                {}
57
55
#endif
58
56
        }
59
57
}
60
 
#endif