C# Класс PredictiveCodeSuggestions.Diagnostics.CodeAnnotation

Defines the CodeAnnotation class.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
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.

Описание методов

CodeAnnotation() публичный Метод

Initializes a new instance of the CodeAnnotation class. Codes the annotation.
public CodeAnnotation ( [ typeMember ) : System
typeMember [ The type member.
Результат System

GetAnnotation() публичный Метод

Gets the annotation.
public GetAnnotation ( [ parameter ) : CodeAnnotationAttribute
parameter [ The parameter.
Результат CodeAnnotationAttribute

GetExpressionNullReferenceState() публичный Метод

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
Результат CodeAnnotationAttribute

InspectControlGraf() публичный Метод

Inspects the control graf.
public InspectControlGraf ( [ method ) : CodeAnnotationAttribute
method [ The method.
Результат CodeAnnotationAttribute