添加项目文件。
This commit is contained in:
20
MSUtils/TestClass.cs
Normal file
20
MSUtils/TestClass.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace MSUtils
|
||||
{
|
||||
public class TestClass
|
||||
{
|
||||
/// <summary>
|
||||
/// 测试异常
|
||||
/// </summary>
|
||||
/// <exception cref="NullReferenceException"></exception>
|
||||
public static void NullException()
|
||||
{
|
||||
throw new NullReferenceException("test exception in reference");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user