C# Class PredictiveCodeSuggestions.Diagnostics.CodeAnnotation

Defines the CodeAnnotation class.
Afficher le fichier Open project: JakobChristensen/Resharper.PredictiveCodeSuggestions Class Usage Examples

Méthodes publiques

Méthode Description
CodeAnnotation ( [ typeMember ) : System

Initializes a new instance of the CodeAnnotation class. Codes the annotation.

GetAnnotation ( [ parameter ) : CodeAnnotationAttribute

Gets the annotation.

GetExpressionNullReferenceState ( ITreeNode treeNode, IDeclaredElement declaredElement, IDeclarationStatement anchor ) : CodeAnnotationAttribute

Gets the state of the expression null reference.

InspectControlGraf ( [ method ) : CodeAnnotationAttribute

Inspects the control graf.

Private Methods

Méthode Description
FindFollowing ( IControlFlowElement element ) : IControlFlowElement

Finds the following.

FindPosition ( IList elements, ITreeNode treeNode ) : IControlFlowElement

Finds the position.

GetNullReferenceState ( ITreeNode treeNode, IDeclaredElement declaredElement, IDeclarationStatement statement ) : CodeAnnotationAttribute

Gets the state of the expression null reference.

Initialize ( [ typeMember ) : void

Initializes the specified type member.

Inspect ( [ function ) : CodeAnnotationAttribute

Inspects the specified function.

Method Details

CodeAnnotation() public méthode

Initializes a new instance of the CodeAnnotation class. Codes the annotation.
public CodeAnnotation ( [ typeMember ) : System
typeMember [ The type member.
Résultat System

GetAnnotation() public méthode

Gets the annotation.
public GetAnnotation ( [ parameter ) : CodeAnnotationAttribute
parameter [ The parameter.
Résultat CodeAnnotationAttribute

GetExpressionNullReferenceState() public méthode

Gets the state of the expression null reference.
public GetExpressionNullReferenceState ( ITreeNode treeNode, IDeclaredElement declaredElement, IDeclarationStatement anchor ) : CodeAnnotationAttribute
treeNode ITreeNode The element.
declaredElement IDeclaredElement The declared element.
anchor IDeclarationStatement
Résultat CodeAnnotationAttribute

InspectControlGraf() public méthode

Inspects the control graf.
public InspectControlGraf ( [ method ) : CodeAnnotationAttribute
method [ The method.
Résultat CodeAnnotationAttribute