C# Class Gendarme.Rules.Naming.UseCorrectSuffixRule

Inheritance: Gendarme.Framework.Rule, ITypeRule
Show file Open project: remobjects/mono-tools

Public Methods

Method Description
CheckType ( Mono.Cecil.TypeDefinition type ) : RuleResult

Private Methods

Method Description
Add ( string suffix, string nameSpace, string name, bool reserved ) : void
CheckCollection ( TypeReference type ) : string
CheckDictionary ( TypeReference type ) : string
CheckEventHandler ( TypeReference type ) : string
ComposeMessage ( List candidates ) : string
HasRequiredSuffix ( Mono.Cecil.TypeDefinition type, List suffixes, bool &currentTypeSuffix ) : bool
HasSuffix ( string typeName, string suffix ) : bool
InheritsOrImplements ( TypeReference type, string nameSpace, string name ) : string
TryGetCandidates ( TypeReference type, HashSet &candidates ) : bool
UseCorrectSuffixRule ( ) : System

Method Details

CheckType() public method

public CheckType ( Mono.Cecil.TypeDefinition type ) : RuleResult
type Mono.Cecil.TypeDefinition
return RuleResult