C# 클래스 ICSharpCode.NRefactory.MonoCSharp.MemberCore

상속: Attributable, IMemberContext, IMemberDefinition
파일 보기 프로젝트 열기: 0xd4d/NRefactory 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Parent TypeContainer

보호된 프로퍼티들

프로퍼티 타입 설명
comment string

Private Properties

프로퍼티 타입 설명
GenerateDocComment void

공개 메소드들

메소드 설명
Accept ( StructuralVisitor visitor ) : void
CheckObsoleteness ( Location loc ) : void

Checks for ObsoleteAttribute presence. It's used for testing of all non-types elements

ConditionalConditions ( ) : string[]
Define ( ) : bool
Emit ( ) : void

Base Emit method. This is also entry point for CLS-Compliant verification.

EnableOverloadChecks ( MemberCore overload ) : bool

Returns true when a member supports multiple overloads (methods, indexers, etc)

GetAttributeObsolete ( ) : ObsoleteAttribute

Returns instance of ObsoleteAttribute for this MemberCore

GetCallerMemberName ( ) : string
GetCompletionStartingWith ( string prefix, List results ) : void
GetSignatureForDocumentation ( ) : string
GetSignatureForError ( ) : string
IsAccessibleAs ( System.TypeSpec p ) : bool
IsClsComplianceRequired ( ) : bool

Analyze whether CLS-Compliant verification must be execute for this MemberCore.

IsExposedFromAssembly ( ) : bool

Returns true when MemberCore is exposed from assembly.

LookupExtensionMethod ( string name, int arity ) : ExtensionMethodCandidates
LookupNamespaceAlias ( string name ) : FullNamedExpression
LookupNamespaceOrType ( string name, int arity, LookupMode mode, Location loc ) : FullNamedExpression
SetConstraints ( List constraints_list ) : void
SetIsAssigned ( ) : void
SetIsUsed ( ) : void
WriteDebugSymbol ( MonoSymbolFile file ) : void

보호된 메소드들

메소드 설명
CheckAbstractAndExtern ( bool has_block ) : bool
CheckProtectedModifier ( ) : void
MemberCore ( TypeContainer parent, MemberName name, Attributes attrs ) : System
SetMemberName ( MemberName new_name ) : void
VerifyClsCompliance ( ) : bool

The main virtual method for CLS-Compliant verifications. The method returns true if member is CLS-Compliant and false if member is not CLS-Compliant which means that CLS-Compliant tests are not necessary. A descendants override it and add their extra verifications.

Warning_IdentifierNotCompliant ( ) : void

비공개 메소드들

메소드 설명
GenerateDocComment ( ICSharpCode.NRefactory.MonoCSharp.DocumentationBuilder builder ) : void

메소드 상세

Accept() 공개 메소드

public Accept ( StructuralVisitor visitor ) : void
visitor StructuralVisitor
리턴 void

CheckAbstractAndExtern() 보호된 메소드

protected CheckAbstractAndExtern ( bool has_block ) : bool
has_block bool
리턴 bool

CheckObsoleteness() 공개 메소드

Checks for ObsoleteAttribute presence. It's used for testing of all non-types elements
public CheckObsoleteness ( Location loc ) : void
loc Location
리턴 void

CheckProtectedModifier() 보호된 메소드

protected CheckProtectedModifier ( ) : void
리턴 void

ConditionalConditions() 공개 메소드

public ConditionalConditions ( ) : string[]
리턴 string[]

Define() 공개 추상적인 메소드

public abstract Define ( ) : bool
리턴 bool

Emit() 공개 메소드

Base Emit method. This is also entry point for CLS-Compliant verification.
public Emit ( ) : void
리턴 void

EnableOverloadChecks() 공개 메소드

Returns true when a member supports multiple overloads (methods, indexers, etc)
public EnableOverloadChecks ( MemberCore overload ) : bool
overload MemberCore
리턴 bool

GetAttributeObsolete() 공개 메소드

Returns instance of ObsoleteAttribute for this MemberCore
public GetAttributeObsolete ( ) : ObsoleteAttribute
리턴 System.ObsoleteAttribute

GetCallerMemberName() 공개 메소드

public GetCallerMemberName ( ) : string
리턴 string

GetCompletionStartingWith() 공개 메소드

public GetCompletionStartingWith ( string prefix, List results ) : void
prefix string
results List
리턴 void

GetSignatureForDocumentation() 공개 추상적인 메소드

public abstract GetSignatureForDocumentation ( ) : string
리턴 string

GetSignatureForError() 공개 메소드

public GetSignatureForError ( ) : string
리턴 string

IsAccessibleAs() 공개 메소드

public IsAccessibleAs ( System.TypeSpec p ) : bool
p System.TypeSpec
리턴 bool

IsClsComplianceRequired() 공개 메소드

Analyze whether CLS-Compliant verification must be execute for this MemberCore.
public IsClsComplianceRequired ( ) : bool
리턴 bool

IsExposedFromAssembly() 공개 메소드

Returns true when MemberCore is exposed from assembly.
public IsExposedFromAssembly ( ) : bool
리턴 bool

LookupExtensionMethod() 공개 메소드

public LookupExtensionMethod ( string name, int arity ) : ExtensionMethodCandidates
name string
arity int
리턴 ExtensionMethodCandidates

LookupNamespaceAlias() 공개 메소드

public LookupNamespaceAlias ( string name ) : FullNamedExpression
name string
리턴 FullNamedExpression

LookupNamespaceOrType() 공개 메소드

public LookupNamespaceOrType ( string name, int arity, LookupMode mode, Location loc ) : FullNamedExpression
name string
arity int
mode LookupMode
loc Location
리턴 FullNamedExpression

MemberCore() 보호된 메소드

protected MemberCore ( TypeContainer parent, MemberName name, Attributes attrs ) : System
parent TypeContainer
name MemberName
attrs Attributes
리턴 System

SetConstraints() 공개 메소드

public SetConstraints ( List constraints_list ) : void
constraints_list List
리턴 void

SetIsAssigned() 공개 메소드

public SetIsAssigned ( ) : void
리턴 void

SetIsUsed() 공개 메소드

public SetIsUsed ( ) : void
리턴 void

SetMemberName() 보호된 메소드

protected SetMemberName ( MemberName new_name ) : void
new_name MemberName
리턴 void

VerifyClsCompliance() 보호된 메소드

The main virtual method for CLS-Compliant verifications. The method returns true if member is CLS-Compliant and false if member is not CLS-Compliant which means that CLS-Compliant tests are not necessary. A descendants override it and add their extra verifications.
protected VerifyClsCompliance ( ) : bool
리턴 bool

Warning_IdentifierNotCompliant() 보호된 메소드

protected Warning_IdentifierNotCompliant ( ) : void
리턴 void

WriteDebugSymbol() 공개 메소드

public WriteDebugSymbol ( MonoSymbolFile file ) : void
file Mono.CompilerServices.SymbolWriter.MonoSymbolFile
리턴 void

프로퍼티 상세

Parent 공개적으로 프로퍼티

public TypeContainer,ICSharpCode.NRefactory.MonoCSharp Parent
리턴 TypeContainer

comment 보호되어 있는 프로퍼티

XML documentation comment
protected string comment
리턴 string