C# Class Microsoft.JScript.ClassScope

Inheritance: Microsoft.JScript.ActivationObject, IComparable
ファイルを表示 Open project: gbarnett/shared-source-cli-2.0 Class Usage Examples

Public Methods

Method Description
CompareTo ( Object ob ) : int
GetConstructors ( ) : System.Reflection.ConstructorInfo[]
GetCustomAttributes ( bool inherit ) : Object[]
GetField ( String name ) : FieldInfo
GetMember ( String name, BindingFlags bindingAttr ) : System.Reflection.MemberInfo[]
GetMembers ( BindingFlags bindingAttr ) : System.Reflection.MemberInfo[]
GetMethod ( String name ) : MethodInfo
GetProperty ( String name ) : PropertyInfo

Protected Methods

Method Description
CreateField ( String name, FieldAttributes attributeFlags, Object value ) : JSVariableField

Private Methods

Method Description
AddClassesFromInheritanceChain ( String name, ArrayList result ) : void
ClassScope ( AST name, GlobalScope scope ) : System
FakeCallToTypeMethod ( MethodInfo method, Object arguments, Exception e ) : Object
GetBakedSuperType ( ) : Type
GetDefaultValue ( PreferredType preferred_type ) : Object
GetFullName ( ) : String
GetMemberFields ( ) : Microsoft.JScript.JSMemberField[]
GetName ( ) : String
GetPackage ( ) : PackageScope
GetPropertyEnumerator ( ArrayList enums, ArrayList objects ) : void
GetSuperType ( ) : IReflect
GetTypeBuilder ( ) : TypeBuilder
GetTypeBuilderOrEnumBuilder ( ) : Type
GetUnderlyingTypeIfEnum ( ) : IReflect
HasInstance ( Object ob ) : bool
ImplementsInterface ( IReflect iface ) : bool
IsCLSCompliant ( ) : bool
IsNestedIn ( ClassScope other, bool isStatic ) : bool
IsPromotableTo ( Type other ) : bool
IsSameOrDerivedFrom ( ClassScope other ) : bool
IsSameOrDerivedFrom ( Type other ) : bool
ParentIsInSamePackage ( ) : bool
ScopeOfClassMemberInitializer ( ScriptObject scope ) : ClassScope

Method Details

CompareTo() public method

public CompareTo ( Object ob ) : int
ob Object
return int

CreateField() protected method

protected CreateField ( String name, FieldAttributes attributeFlags, Object value ) : JSVariableField
name String
attributeFlags FieldAttributes
value Object
return JSVariableField

GetConstructors() public method

public GetConstructors ( ) : System.Reflection.ConstructorInfo[]
return System.Reflection.ConstructorInfo[]

GetCustomAttributes() public method

public GetCustomAttributes ( bool inherit ) : Object[]
inherit bool
return Object[]

GetField() public method

public GetField ( String name ) : FieldInfo
name String
return System.Reflection.FieldInfo

GetMember() public method

public GetMember ( String name, BindingFlags bindingAttr ) : System.Reflection.MemberInfo[]
name String
bindingAttr BindingFlags
return System.Reflection.MemberInfo[]

GetMembers() public method

public GetMembers ( BindingFlags bindingAttr ) : System.Reflection.MemberInfo[]
bindingAttr BindingFlags
return System.Reflection.MemberInfo[]

GetMethod() public method

public GetMethod ( String name ) : MethodInfo
name String
return System.Reflection.MethodInfo

GetProperty() public method

public GetProperty ( String name ) : PropertyInfo
name String
return System.Reflection.PropertyInfo