mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-27 22:12:25 +00:00
*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.
17 lines
No EOL
545 B
C#
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;
|
|
}
|
|
} |