Files
MSAddinTest/MSUtils/TestClass.cs

21 lines
457 B
C#
Raw Normal View History

2026-02-28 21:04:12 +08:00
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");
}
}
}