Decompiled source of CrazyThursdayException v1.0.1

CrazyThursday.dll

Decompiled 2 days ago
using System;
using System.Diagnostics;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.Versioning;
using BepInEx;
using Microsoft.CodeAnalysis;

[assembly: CompilationRelaxations(8)]
[assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)]
[assembly: Debuggable(DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)]
[assembly: TargetFramework(".NETFramework,Version=v4.7.2", FrameworkDisplayName = ".NET Framework 4.7.2")]
[assembly: AssemblyVersion("0.0.0.0")]
[module: RefSafetyRules(11)]
namespace Microsoft.CodeAnalysis
{
	[CompilerGenerated]
	[Microsoft.CodeAnalysis.Embedded]
	internal sealed class EmbeddedAttribute : Attribute
	{
	}
}
namespace System.Runtime.CompilerServices
{
	[CompilerGenerated]
	[Microsoft.CodeAnalysis.Embedded]
	[AttributeUsage(AttributeTargets.Module, AllowMultiple = false, Inherited = false)]
	internal sealed class RefSafetyRulesAttribute : Attribute
	{
		public readonly int Version;

		public RefSafetyRulesAttribute(int P_0)
		{
			Version = P_0;
		}
	}
}
internal static class PluginInfo
{
	public const string PLUGIN_GUID = "CrazyThursday";

	public const string PLUGIN_NAME = "CrazyThursday";

	public const string PLUGIN_VERSION = "1.0.1";
}
namespace CrazyThursday
{
	[BepInPlugin("com.crazy.thursday", "CrazyThursdayException", "1.0.1")]
	public class CrazyThursdayPlugin : BaseUnityPlugin
	{
		private void Update()
		{
			if (DateTime.Now.DayOfWeek != DayOfWeek.Thursday)
			{
				return;
			}
			throw new CrazyThursdayException();
		}
	}
	public class CrazyThursdayException : Exception
	{
		public CrazyThursdayException()
			: base("V我50")
		{
		}

		public CrazyThursdayException(string message)
			: base(message)
		{
		}
	}
}