mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-14 22:34:09 +02:00
Added attribute fixes
This commit is contained in:
parent
c16dd2ec7b
commit
7acc63a12a
1 changed files with 6 additions and 5 deletions
|
@ -27,11 +27,12 @@ namespace System
|
||||||
MemberAccess = 0x20000,
|
MemberAccess = 0x20000,
|
||||||
Alloc = 0x40000,
|
Alloc = 0x40000,
|
||||||
Delete = 0x80000,
|
Delete = 0x80000,
|
||||||
|
Alias = 0x100000,
|
||||||
|
|
||||||
All = Assembly | Module | Class | Struct | Enum | Constructor |
|
All = Assembly | Module | Class | Struct | Enum | Constructor |
|
||||||
Method | Property | Field | StaticField | Interface | Parameter |
|
Method | Property | Field | StaticField | Interface | Parameter |
|
||||||
Delegate | Function | ReturnValue | GenericParameter | Invocation | MemberAccess |
|
Delegate | Function | ReturnValue | GenericParameter | Invocation | MemberAccess |
|
||||||
Alloc | Delete,
|
Alloc | Delete | Alias,
|
||||||
}
|
}
|
||||||
|
|
||||||
public enum ReflectKind
|
public enum ReflectKind
|
||||||
|
@ -344,7 +345,7 @@ namespace System
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
[AttributeUsage(.Method | .Constructor)]
|
[AttributeUsage(.Method | .Constructor | .Class | .Struct | .Alias)]
|
||||||
public struct ObsoleteAttribute : Attribute
|
public struct ObsoleteAttribute : Attribute
|
||||||
{
|
{
|
||||||
public this(bool isError)
|
public this(bool isError)
|
||||||
|
@ -352,7 +353,7 @@ namespace System
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public this(String message, bool isError)
|
public this(String error, bool isError)
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -364,7 +365,7 @@ namespace System
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
[AttributeUsage(.Method | .Constructor)]
|
[AttributeUsage(.Method | .Constructor | .Class | .Struct | .Alias)]
|
||||||
public struct ErrorAttribute : Attribute
|
public struct ErrorAttribute : Attribute
|
||||||
{
|
{
|
||||||
public this(String error)
|
public this(String error)
|
||||||
|
@ -373,7 +374,7 @@ namespace System
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[AttributeUsage(.Method | .Constructor)]
|
[AttributeUsage(.Method | .Constructor | .Class | .Struct | .Alias)]
|
||||||
public struct WarnAttribute : Attribute
|
public struct WarnAttribute : Attribute
|
||||||
{
|
{
|
||||||
public this(String error)
|
public this(String error)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue