C# Class ReCommendedExtension.ContextActions.AnnotateWithMustUseReturnValue

Inheritance: AnnotateWithCodeAnnotation
Mostra file Open project: prodot/ReCommended-Extension

Public Methods

Method Description
AnnotateWithMustUseReturnValue ( [ provider ) : System.Diagnostics

Protected Methods

Method Description
CanBeAnnotated ( IDeclaredElement declaredElement, ITreeNode context, IPsiModule module ) : bool
TryGetAttributeToReplace ( IAttributesOwnerDeclaration ownerDeclaration ) : IAttribute

Method Details

AnnotateWithMustUseReturnValue() public method

public AnnotateWithMustUseReturnValue ( [ provider ) : System.Diagnostics
provider [
return System.Diagnostics

CanBeAnnotated() protected method

protected CanBeAnnotated ( IDeclaredElement declaredElement, ITreeNode context, IPsiModule module ) : bool
declaredElement IDeclaredElement
context ITreeNode
module IPsiModule
return bool

TryGetAttributeToReplace() protected method

protected TryGetAttributeToReplace ( IAttributesOwnerDeclaration ownerDeclaration ) : IAttribute
ownerDeclaration IAttributesOwnerDeclaration
return IAttribute