统一异常断言为 Assert.Throws/ThrowsAsync 并升级 MSTest #53
Merged
Annotations
3 errors and 10 warnings
|
Run Nuke Build Test
Process completed with exit code 255.
|
|
Run Nuke Build Test
Target "Test" has thrown an exception
|
|
Run Nuke Build Test
Target "Test" has thrown an exception
|
|
Run Nuke Build Test
/home/runner/work/luyao-dotnet/luyao-dotnet/src/LuYao.Common/Limiters/TokenBucket/TokenBuckets.cs(18,33): warning CS8618: Non-nullable field '_refillStrategy' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable. [/home/runner/work/luyao-dotnet/luyao-dotnet/src/LuYao.Common/LuYao.Common.csproj::TargetFramework=net45]
|
|
Run Nuke Build Test
/home/runner/work/luyao-dotnet/luyao-dotnet/src/LuYao.Common/IO/Hosts/HostLine.cs(78,12): warning CS8618: Non-nullable property 'Comment' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable. [/home/runner/work/luyao-dotnet/luyao-dotnet/src/LuYao.Common/LuYao.Common.csproj::TargetFramework=net45]
|
|
Run Nuke Build Test
/home/runner/work/luyao-dotnet/luyao-dotnet/src/LuYao.Common/Globalization/UnitConverter.cs(651,39): warning CS8618: Non-nullable property 'FromBaseUnit' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable. [/home/runner/work/luyao-dotnet/luyao-dotnet/src/LuYao.Common/LuYao.Common.csproj::TargetFramework=net45]
|
|
Run Nuke Build Test
/home/runner/work/luyao-dotnet/luyao-dotnet/src/LuYao.Common/Globalization/UnitConverter.cs(650,39): warning CS8618: Non-nullable property 'ToBaseUnit' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable. [/home/runner/work/luyao-dotnet/luyao-dotnet/src/LuYao.Common/LuYao.Common.csproj::TargetFramework=net45]
|
|
Run Nuke Build Test
/home/runner/work/luyao-dotnet/luyao-dotnet/src/LuYao.Common/Globalization/UnitConverter.cs(649,23): warning CS8618: Non-nullable property 'Category' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable. [/home/runner/work/luyao-dotnet/luyao-dotnet/src/LuYao.Common/LuYao.Common.csproj::TargetFramework=net45]
|
|
Run Nuke Build Test
/home/runner/work/luyao-dotnet/luyao-dotnet/src/LuYao.Common/Globalization/UnitConverter.cs(648,23): warning CS8618: Non-nullable property 'Name' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable. [/home/runner/work/luyao-dotnet/luyao-dotnet/src/LuYao.Common/LuYao.Common.csproj::TargetFramework=net45]
|
|
Run Nuke Build Test
/home/runner/work/luyao-dotnet/luyao-dotnet/src/LuYao.Common/Globalization/UnitConverter.cs(658,23): warning CS8618: Non-nullable property 'BaseUnit' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable. [/home/runner/work/luyao-dotnet/luyao-dotnet/src/LuYao.Common/LuYao.Common.csproj::TargetFramework=net45]
|
|
Run Nuke Build Test
/home/runner/work/luyao-dotnet/luyao-dotnet/src/LuYao.Common/Globalization/UnitConverter.cs(657,23): warning CS8618: Non-nullable property 'Name' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable. [/home/runner/work/luyao-dotnet/luyao-dotnet/src/LuYao.Common/LuYao.Common.csproj::TargetFramework=net45]
|
|
Run Nuke Build Test
/home/runner/work/luyao-dotnet/luyao-dotnet/src/LuYao.Common/Encoders/LzString.cs(728,28): warning CS8603: Possible null reference return. [/home/runner/work/luyao-dotnet/luyao-dotnet/src/LuYao.Common/LuYao.Common.csproj::TargetFramework=net45]
|
|
Run Nuke Build Test
/home/runner/work/luyao-dotnet/luyao-dotnet/src/LuYao.Common/Encoders/LzString.cs(74,16): warning CS8603: Possible null reference return. [/home/runner/work/luyao-dotnet/luyao-dotnet/src/LuYao.Common/LuYao.Common.csproj::TargetFramework=net45]
|
Loading