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:
parent
b3fe79522e
commit
5640e6b074
1 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
{
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue