1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-26 19:48:01 +02:00

Added ctor options to some method attributes

This commit is contained in:
Brian Fiete 2020-09-14 06:52:51 -07:00
parent b3fe79522e
commit 5640e6b074

View file

@ -158,13 +158,13 @@ namespace System
}
[AttributeUsage(.Method /*2*/ | .StaticField)]
[AttributeUsage(.Method /*2*/ | .Constructor | .StaticField)]
public struct CLinkAttribute : Attribute
{
}
[AttributeUsage(.Method /*2*/ | .StaticField)]
[AttributeUsage(.Method /*2*/ | .Constructor | .StaticField)]
public struct LinkNameAttribute : Attribute
{
public enum MangleKind
@ -183,7 +183,7 @@ namespace System
}
}
[AttributeUsage(.Method | .Delegate | .Function)]
[AttributeUsage(.Method | .Constructor | .Delegate | .Function)]
public struct CallingConventionAttribute : Attribute
{
public enum Kind
@ -201,7 +201,7 @@ namespace System
}
[Obsolete("Use [CallingConvention(.Stdcall)]", false)]
[AttributeUsage(.Method | .Delegate | .Function)]
[AttributeUsage(.Method | .Constructor | .Delegate | .Function)]
public struct StdCallAttribute : Attribute
{