C# Class ReSharper.Exceptional.Models.ThrownExceptionModel

Inheritance: ModelBase
Afficher le fichier Open project: CSharpAnalyzers/ExceptionalReSharper Class Usage Examples

Private Properties

Свойство Type Description
CheckAccessorOverride void
GetXmlDocId string
IsExceptionDocumentedInternal bool
IsParentAnonymousMethodExpression bool

Méthodes publiques

Méthode Description
Accept ( AnalyzerBase analyzer ) : void

Runs the analyzer against all defined elements.

IsException ( ExceptionDocCommentModel exceptionDocumentation ) : bool

Checks whether the thrown exception is the same as exceptionDocumentation.

IsException ( IDeclaredType exceptionType ) : bool
IsExceptionOrSubtype ( ExceptionDocCommentModel exceptionDocumentation ) : bool
ThrownExceptionModel ( IAnalyzeUnit analyzeUnit, IExceptionsOriginModel exceptionsOrigin, IDeclaredType exceptionType, string exceptionDescription, bool isEventInvocationException, string exceptionAccessor ) : System

Private Methods

Méthode Description
CheckAccessorOverride ( IExceptionsOriginModel exceptionsOrigin, IDeclaredType exceptionType ) : void
GetXmlDocId ( ITreeNode node ) : string
IsExceptionDocumentedInternal ( bool>.Func check ) : bool
IsParentAnonymousMethodExpression ( ITreeNode parent ) : bool

Method Details

Accept() public méthode

Runs the analyzer against all defined elements.
public Accept ( AnalyzerBase analyzer ) : void
analyzer ReSharper.Exceptional.Analyzers.AnalyzerBase The analyzer.
Résultat void

IsException() public méthode

Checks whether the thrown exception is the same as exceptionDocumentation.
public IsException ( ExceptionDocCommentModel exceptionDocumentation ) : bool
exceptionDocumentation ExceptionDocCommentModel
Résultat bool

IsException() public méthode

public IsException ( IDeclaredType exceptionType ) : bool
exceptionType IDeclaredType
Résultat bool

IsExceptionOrSubtype() public méthode

public IsExceptionOrSubtype ( ExceptionDocCommentModel exceptionDocumentation ) : bool
exceptionDocumentation ExceptionDocCommentModel
Résultat bool

ThrownExceptionModel() public méthode

public ThrownExceptionModel ( IAnalyzeUnit analyzeUnit, IExceptionsOriginModel exceptionsOrigin, IDeclaredType exceptionType, string exceptionDescription, bool isEventInvocationException, string exceptionAccessor ) : System
analyzeUnit IAnalyzeUnit
exceptionsOrigin IExceptionsOriginModel
exceptionType IDeclaredType
exceptionDescription string
isEventInvocationException bool
exceptionAccessor string
Résultat System