mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-09-01 09:37:03 +02:00
23 lines
567 B
C#
23 lines
567 B
C#
using System;
|
|
using JetBrains.Annotations;
|
|
|
|
// ReSharper disable once CheckNamespace
|
|
namespace Robust.Client.UserInterface.XAML.XNamespace
|
|
{
|
|
// x:Static
|
|
[UsedImplicitly]
|
|
public sealed class StaticExtension
|
|
{
|
|
public StaticExtension(string _)
|
|
{
|
|
throw new InvalidOperationException(
|
|
"This type only exists for compile-time XAML support and should never be instantiated.");
|
|
}
|
|
|
|
public static object ProvideValue()
|
|
{
|
|
throw new InvalidOperationException();
|
|
}
|
|
}
|
|
}
|