Cosmos/source/Cosmos.IL2CPU.Plugs/PlugMethodAttribute.cs
sgetaz b9800b52b7 Add new PlugMethodAttributes:
*RequiresPlug - Indicates that method requires a plug, and  throws a compiler exception if none exists.

*PlugNotImplemented - Method is plugged, but throws a compiler error if plug is not implemented correctly.
2015-08-13 00:41:22 +02:00

17 lines
No EOL
545 B
C#

using System;
namespace Cosmos.IL2CPU.Plugs
{
[AttributeUsage(AttributeTargets.Method, AllowMultiple = false)]
public sealed class PlugMethodAttribute: Attribute {
public string Signature = null;
public bool Enabled = true;
public Type Assembler = null;
public bool IsMonoOnly = false;
public bool IsMicrosoftdotNETOnly = false;
public bool RequiresPlug = false;
public bool PlugNotImplemented = false;
public bool IsWildcard = false;
public bool WildcardMatchParameters = false;
}
}