git-subtree-dir: engine git-subtree-mainline:b74841629egit-subtree-split:a8e37fc010
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();
|
|
}
|
|
}
|
|
}
|