C# Class PredictiveCodeSuggestions.Diagnostics.CodeAnnotation

Defines the CodeAnnotation class.
Exibir arquivo Open project: JakobChristensen/Resharper.PredictiveCodeSuggestions Class Usage Examples

Public Methods

Method 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

Method 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 method

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

GetAnnotation() public method

Gets the annotation.
public GetAnnotation ( [ parameter ) : CodeAnnotationAttribute
parameter [ The parameter.
return CodeAnnotationAttribute

GetExpressionNullReferenceState() public method

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
return CodeAnnotationAttribute

InspectControlGraf() public method

Inspects the control graf.
public InspectControlGraf ( [ method ) : CodeAnnotationAttribute
method [ The method.
return CodeAnnotationAttribute