Skip to content

Commit

Permalink
WinException.ToDo: better documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
ForNeVeR committed Nov 23, 2023
1 parent 79e2967 commit 5db8e6e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Cesium.Core/Cesium.Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,8 @@
<Nullable>enable</Nullable>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="JetBrains.Annotations" Version="2023.3.0" />
</ItemGroup>

</Project>
7 changes: 7 additions & 0 deletions Cesium.Core/Exceptions/WipException.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
using JetBrains.Annotations;

namespace Cesium.Core;

public sealed class WipException : CesiumException
{
/// <summary>A marker value for an issue number not yet assigned.</summary>
/// <remarks>
/// Should only be used in PRs while developing new features. Before merging to the main branch, all instances of
/// this constant should be replaced with newly assigned issue numbers.
/// </remarks>
[PublicAPI]
public const int ToDo = -1;

public WipException(int issueNo, string additionalMessage)
Expand Down

0 comments on commit 5db8e6e

Please sign in to comment.