Some checks failed
🔗 GHA / 📊 Static checks (push) Has been cancelled
🔗 GHA / 🤖 Android (push) Has been cancelled
🔗 GHA / 🍏 iOS (push) Has been cancelled
🔗 GHA / 🐧 Linux (push) Has been cancelled
🔗 GHA / 🍎 macOS (push) Has been cancelled
🔗 GHA / 🏁 Windows (push) Has been cancelled
🔗 GHA / 🌐 Web (push) Has been cancelled
16 lines
335 B
C#
16 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();
|
|
}
|
|
}
|
|
}
|