C# Class Mono.CSharp.ModifiersExtensions

Afficher le fichier Open project: runefs/Marvin Class Usage Examples

Méthodes publiques

Méthode Description
AccessibilityName ( Mono.CSharp.Modifiers mod ) : string
Check ( Mono.CSharp.Modifiers allowed, Mono.CSharp.Modifiers mod, Mono.CSharp.Modifiers def_access, Mono.CSharp.Location l, Report Report ) : Mono.CSharp.Modifiers

Checks the object @mod modifiers to be in @allowed. Returns the new mask. Side effect: reports any incorrect attributes.

FieldAttr ( Mono.CSharp.Modifiers mod_flags ) : FieldAttributes
IsRestrictedModifier ( Mono.CSharp.Modifiers modA, Mono.CSharp.Modifiers modB ) : bool
MethodAttr ( Mono.CSharp.Modifiers mod_flags ) : MethodAttributes
Name ( Mono.CSharp.Modifiers i ) : string
TypeAttr ( Mono.CSharp.Modifiers mod_flags, bool is_toplevel ) : TypeAttributes

Private Methods

Méthode Description
Error_InvalidModifier ( Mono.CSharp.Modifiers mod, Mono.CSharp.Location l, Report Report ) : void

Method Details

AccessibilityName() public static méthode

public static AccessibilityName ( Mono.CSharp.Modifiers mod ) : string
mod Mono.CSharp.Modifiers
Résultat string

Check() public static méthode

Checks the object @mod modifiers to be in @allowed. Returns the new mask. Side effect: reports any incorrect attributes.
public static Check ( Mono.CSharp.Modifiers allowed, Mono.CSharp.Modifiers mod, Mono.CSharp.Modifiers def_access, Mono.CSharp.Location l, Report Report ) : Mono.CSharp.Modifiers
allowed Mono.CSharp.Modifiers
mod Mono.CSharp.Modifiers
def_access Mono.CSharp.Modifiers
l Mono.CSharp.Location
Report Report
Résultat Mono.CSharp.Modifiers

FieldAttr() public static méthode

public static FieldAttr ( Mono.CSharp.Modifiers mod_flags ) : FieldAttributes
mod_flags Mono.CSharp.Modifiers
Résultat FieldAttributes

IsRestrictedModifier() public static méthode

public static IsRestrictedModifier ( Mono.CSharp.Modifiers modA, Mono.CSharp.Modifiers modB ) : bool
modA Mono.CSharp.Modifiers
modB Mono.CSharp.Modifiers
Résultat bool

MethodAttr() public static méthode

public static MethodAttr ( Mono.CSharp.Modifiers mod_flags ) : MethodAttributes
mod_flags Mono.CSharp.Modifiers
Résultat MethodAttributes

Name() static public méthode

static public Name ( Mono.CSharp.Modifiers i ) : string
i Mono.CSharp.Modifiers
Résultat string

TypeAttr() public static méthode

public static TypeAttr ( Mono.CSharp.Modifiers mod_flags, bool is_toplevel ) : TypeAttributes
mod_flags Mono.CSharp.Modifiers
is_toplevel bool
Résultat TypeAttributes