C# Class ReSharper.Exceptional.Analyzers.IsThrownExceptionDocumentedAnalyzer

Analyzes throw statements and checks that exceptions thrown outside are documented.
Inheritance: AnalyzerBase
显示文件 Open project: CSharpAnalyzers/ExceptionalReSharper

Public Methods

Method Description
Visit ( ThrownExceptionModel thrownException ) : void

Performs analyze of thrownException.

Private Methods

Method Description
IsSubtypeDocumented ( ThrownExceptionModel thrownException ) : bool
IsThrownExceptionSubclassOfOptionalException ( ThrownExceptionModel thrownExceptionModel ) : bool
IsThrownExceptionThrownFromExcludedMethod ( ThrownExceptionModel thrownException ) : bool

Method Details

Visit() public method

Performs analyze of thrownException.
public Visit ( ThrownExceptionModel thrownException ) : void
thrownException ReSharper.Exceptional.Models.ThrownExceptionModel Thrown exception to analyze.
return void