C# Class ICSharpCode.NRefactory.MonoCSharp.InterfaceMemberBase

Inheritance: MemberBase
显示文件 Open project: 0xd4d/NRefactory Class Usage Examples

Public Properties

Property Type Description
InterfaceType System.TypeSpec
IsExplicitImpl bool
IsInterface bool
flags MethodAttributes

Protected Properties

Property Type Description
base_method MethodSpec
is_external_implementation bool

Public Methods

Method Description
Define ( ) : bool
Emit ( ) : void
EnableOverloadChecks ( MemberCore overload ) : bool
GetFullName ( MemberName name ) : string
GetFullName ( string name ) : string
GetSignatureForDocumentation ( ) : string
SetConstraints ( List constraints_list ) : void

Protected Methods

Method Description
CheckAccessModifiers ( MemberCore this_member, MemberSpec base_member ) : bool
CheckBase ( ) : bool
CheckForDuplications ( ) : bool
CheckOverrideAgainstBase ( MemberSpec base_member ) : bool
DefineParameters ( ICSharpCode.NRefactory.MonoCSharp.ParametersCompiled parameters ) : bool
DoMemberTypeDependentChecks ( ) : void
Error_CannotChangeAccessModifiers ( MemberCore member, MemberSpec base_member ) : void
Error_StaticReturnType ( ) : void
FindBaseMember ( MemberSpec &bestCandidate, bool &overrides ) : MemberSpec

Gets base method and its return type

InterfaceMemberBase ( TypeDefinition parent, FullNamedExpression type, Modifiers mod, Modifiers allowed_mod, MemberName name, Attributes attrs ) : System

Method Details

CheckAccessModifiers() protected static method

protected static CheckAccessModifiers ( MemberCore this_member, MemberSpec base_member ) : bool
this_member MemberCore
base_member MemberSpec
return bool

CheckBase() protected method

protected CheckBase ( ) : bool
return bool

CheckForDuplications() protected method

protected CheckForDuplications ( ) : bool
return bool

CheckOverrideAgainstBase() protected method

protected CheckOverrideAgainstBase ( MemberSpec base_member ) : bool
base_member MemberSpec
return bool

Define() public method

public Define ( ) : bool
return bool

DefineParameters() protected method

protected DefineParameters ( ICSharpCode.NRefactory.MonoCSharp.ParametersCompiled parameters ) : bool
parameters ICSharpCode.NRefactory.MonoCSharp.ParametersCompiled
return bool

DoMemberTypeDependentChecks() protected method

protected DoMemberTypeDependentChecks ( ) : void
return void

Emit() public method

public Emit ( ) : void
return void

EnableOverloadChecks() public method

public EnableOverloadChecks ( MemberCore overload ) : bool
overload MemberCore
return bool

Error_CannotChangeAccessModifiers() protected method

protected Error_CannotChangeAccessModifiers ( MemberCore member, MemberSpec base_member ) : void
member MemberCore
base_member MemberSpec
return void

Error_StaticReturnType() protected method

protected Error_StaticReturnType ( ) : void
return void

FindBaseMember() protected method

Gets base method and its return type
protected FindBaseMember ( MemberSpec &bestCandidate, bool &overrides ) : MemberSpec
bestCandidate MemberSpec
overrides bool
return MemberSpec

GetFullName() public method

public GetFullName ( MemberName name ) : string
name MemberName
return string

GetFullName() public method

public GetFullName ( string name ) : string
name string
return string

GetSignatureForDocumentation() public method

public GetSignatureForDocumentation ( ) : string
return string

InterfaceMemberBase() protected method

protected InterfaceMemberBase ( TypeDefinition parent, FullNamedExpression type, Modifiers mod, Modifiers allowed_mod, MemberName name, Attributes attrs ) : System
parent TypeDefinition
type FullNamedExpression
mod Modifiers
allowed_mod Modifiers
name MemberName
attrs Attributes
return System

SetConstraints() public method

public SetConstraints ( List constraints_list ) : void
constraints_list List
return void

Property Details

InterfaceType public_oe property

public TypeSpec,System InterfaceType
return System.TypeSpec

IsExplicitImpl public_oe property

public bool IsExplicitImpl
return bool

IsInterface public_oe property

public bool IsInterface
return bool

base_method protected_oe property

protected MethodSpec,ICSharpCode.NRefactory.MonoCSharp base_method
return MethodSpec

flags public_oe property

public MethodAttributes flags
return MethodAttributes

is_external_implementation protected_oe property

protected bool is_external_implementation
return bool