Skip to content

Commit

Permalink
Add constructors to mscorlib.winmd attributes (#68)
Browse files Browse the repository at this point in the history
  • Loading branch information
tristanlabelle authored Jan 7, 2025
1 parent 860a8d2 commit b487068
Showing 1 changed file with 33 additions and 2 deletions.
35 changes: 33 additions & 2 deletions WindowsMetadataCoreLibrary/mscorlib.il
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,39 @@

// Attributes
.class public System.Attribute extends System.Object {}
.class public System.AttributeUsageAttribute extends System.Attribute {}
.class public System.FlagsAttribute extends System.Attribute {}

.class public auto ansi sealed serializable System.AttributeTargets extends System.Enum
{
.field public specialname rtspecialname int32 value__
}

.class public System.AttributeUsageAttribute extends System.Attribute
{
.method public hidebysig specialname rtspecialname instance
void .ctor(valuetype System.AttributeTargets validOn)
runtime managed internalcall {}

.method public hidebysig specialname rtspecialname instance
void .ctor(valuetype System.AttributeTargets validOn, bool allowMultiple, bool inherited)
runtime managed internalcall {}

.method public hidebysig specialname instance void set_AllowMultiple(bool 'value') runtime managed internalcall {}
.property instance bool AllowMultiple()
{
.set instance void System.AttributeUsageAttribute::set_AllowMultiple(bool)
}

.method public hidebysig specialname instance void set_Inherited(bool 'value') runtime managed internalcall {}
.property instance bool Inherited()
{
.set instance void System.AttributeUsageAttribute::set_Inherited(bool)
}
}

.class public System.FlagsAttribute extends System.Attribute
{
.method public hidebysig specialname rtspecialname instance void .ctor() runtime managed internalcall {}
}

// Primitive types
.class public sealed System.Boolean extends System.ValueType {}
Expand Down

0 comments on commit b487068

Please sign in to comment.