C# Class Arnolyzer.Analyzers.CommonFunctions

Afficher le fichier Open project: DavidArno/Arnolyzer

Méthodes publiques

Méthode Description
AutoGenerated ( Microsoft.CodeAnalysis.SyntaxNode node ) : bool
IgnoredFile ( Microsoft.CodeAnalysis.SyntaxNode node, SettingsDetails settings ) : bool
IsEnabledByDefault ( this state ) : bool
ItemsToIgnoreFromAttributes ( ISymbol symbol, IEnumerable attributes ) : IEnumerable
NodeIsTypeDeclaration ( Microsoft.CodeAnalysis.SyntaxNode node ) : bool
PropertyHasIgnoreRuleAttribute ( Microsoft.CodeAnalysis.CSharp.Syntax.PropertyDeclarationSyntax property, IEnumerable attributes ) : bool
SeverityType ( this severity ) : string
SkipSymbolAnalysis ( ISymbol symbol, SettingsHandler settingsHandler, IEnumerable suppressionAttributes ) : bool
SkipSymbolAnalysisIgnoringAttributes ( ISymbol symbol, SettingsHandler settingsHandler ) : bool

Private Methods

Méthode Description
AutoGenerated ( ISymbol symbol ) : bool
GetFilePathForSymbol ( ISymbol symbol ) : string
HasIgnoreRuleAttribute ( ISymbol symbol, IEnumerable attributes ) : bool
IgnoredFile ( ISymbol symbol, SettingsDetails settings ) : bool
MatchAttributeName ( Type attributeType, string name ) : bool
SyntaxRootContainsAutoGeneratedComment ( Microsoft.CodeAnalysis.SyntaxNode syntaxRoot ) : bool
SyntaxTreeIsInIgoredFile ( Microsoft.CodeAnalysis.SyntaxTree syntaxTree, SettingsDetails settings ) : bool

Method Details

AutoGenerated() public static méthode

public static AutoGenerated ( Microsoft.CodeAnalysis.SyntaxNode node ) : bool
node Microsoft.CodeAnalysis.SyntaxNode
Résultat bool

IgnoredFile() public static méthode

public static IgnoredFile ( Microsoft.CodeAnalysis.SyntaxNode node, SettingsDetails settings ) : bool
node Microsoft.CodeAnalysis.SyntaxNode
settings Arnolyzer.Analyzers.Settings.SettingsDetails
Résultat bool

IsEnabledByDefault() public static méthode

public static IsEnabledByDefault ( this state ) : bool
state this
Résultat bool

ItemsToIgnoreFromAttributes() public static méthode

public static ItemsToIgnoreFromAttributes ( ISymbol symbol, IEnumerable attributes ) : IEnumerable
symbol ISymbol
attributes IEnumerable
Résultat IEnumerable

NodeIsTypeDeclaration() public static méthode

public static NodeIsTypeDeclaration ( Microsoft.CodeAnalysis.SyntaxNode node ) : bool
node Microsoft.CodeAnalysis.SyntaxNode
Résultat bool

PropertyHasIgnoreRuleAttribute() public static méthode

public static PropertyHasIgnoreRuleAttribute ( Microsoft.CodeAnalysis.CSharp.Syntax.PropertyDeclarationSyntax property, IEnumerable attributes ) : bool
property Microsoft.CodeAnalysis.CSharp.Syntax.PropertyDeclarationSyntax
attributes IEnumerable
Résultat bool

SeverityType() public static méthode

public static SeverityType ( this severity ) : string
severity this
Résultat string

SkipSymbolAnalysis() public static méthode

public static SkipSymbolAnalysis ( ISymbol symbol, SettingsHandler settingsHandler, IEnumerable suppressionAttributes ) : bool
symbol ISymbol
settingsHandler Arnolyzer.Analyzers.Settings.SettingsHandler
suppressionAttributes IEnumerable
Résultat bool

SkipSymbolAnalysisIgnoringAttributes() public static méthode

public static SkipSymbolAnalysisIgnoringAttributes ( ISymbol symbol, SettingsHandler settingsHandler ) : bool
symbol ISymbol
settingsHandler Arnolyzer.Analyzers.Settings.SettingsHandler
Résultat bool