46b3096570
- `[Obsolete]` tag generated in the middle of documentation comments - Potential `null` values in generators - Obsolete call to `GetEditorInterface()` - We don't want `Godot.Collections.Array` to end with `Collection` - A few culture specifications and use of `AsSpan` instead of `SubString` in `StringExtensions` - Disable CA1716 in GodotSharp
15 lines
335 B
C#
15 lines
335 B
C#
using System;
|
|
using System.Diagnostics;
|
|
using System.Diagnostics.CodeAnalysis;
|
|
|
|
namespace Godot.SourceGenerators
|
|
{
|
|
public static class Helper
|
|
{
|
|
[Conditional("DEBUG")]
|
|
public static void ThrowIfNull([NotNull] object? value)
|
|
{
|
|
_ = value ?? throw new ArgumentNullException();
|
|
}
|
|
}
|
|
}
|