C# Class ReSharper.Exceptional.Analyzers.IsDocumentedExceptionThrownAnalyzer

Analyzes an exception documentation and checks if it is thrown from the documented element.
Inheritance: AnalyzerBase
显示文件 Open project: CSharpAnalyzers/ExceptionalReSharper

Public Methods

Method Description
Visit ( ExceptionDocCommentModel exceptionDocumentation ) : void

Performs analyze of exceptionDocumentation.

Private Methods

Method Description
IsAbstractOrInterfaceMethod ( ExceptionDocCommentModel exceptionDocumentation ) : bool
IsDocumentedExceptionOrSubtypeThrown ( ExceptionDocCommentModel exceptionDocumentation ) : bool
IsDocumentedExceptionThrown ( ExceptionDocCommentModel exceptionDocumentation ) : bool
ThrowsExceptionOrSubtype ( ExceptionDocCommentModel exceptionDocumentation, ThrownExceptionModel thrownException ) : bool

Method Details

Visit() public method

Performs analyze of exceptionDocumentation.
public Visit ( ExceptionDocCommentModel exceptionDocumentation ) : void
exceptionDocumentation ReSharper.Exceptional.Models.ExceptionDocCommentModel Exception documentation to analyze.
return void