C# Class Signum.Analyzer.ExpressionFieldAnalyzer

Inheritance: Microsoft.CodeAnalysis.Diagnostics.DiagnosticAnalyzer
Afficher le fichier Open project: signumsoftware/framework

Méthodes publiques

Свойство Type Description
DiagnosticId string

Méthodes publiques

Méthode Description
GetSingleBody ( SyntaxNodeAnalysisContext context, string ident, Microsoft.CodeAnalysis.CSharp.Syntax.AttributeSyntax att, MemberDeclarationSyntax member ) : ExpressionSyntax
Initialize ( AnalysisContext context ) : void

Private Methods

Méthode Description
AnalyzePropertySymbol ( SyntaxNodeAnalysisContext context ) : void
Diagnostic ( SyntaxNodeAnalysisContext context, string identifier, Location location, string error, bool fixable = false ) : void
GetExpressionType ( ISymbol memberSymbol, Microsoft.CodeAnalysis.SemanticModel sm ) : INamedTypeSymbol
OnlyReturn ( SyntaxNodeAnalysisContext context, string ident, Microsoft.CodeAnalysis.CSharp.Syntax.AttributeSyntax att, SyntaxList statements ) : ExpressionSyntax

Method Details

GetSingleBody() public static méthode

public static GetSingleBody ( SyntaxNodeAnalysisContext context, string ident, Microsoft.CodeAnalysis.CSharp.Syntax.AttributeSyntax att, MemberDeclarationSyntax member ) : ExpressionSyntax
context SyntaxNodeAnalysisContext
ident string
att Microsoft.CodeAnalysis.CSharp.Syntax.AttributeSyntax
member MemberDeclarationSyntax
Résultat ExpressionSyntax

Initialize() public méthode

public Initialize ( AnalysisContext context ) : void
context AnalysisContext
Résultat void

Property Details

DiagnosticId public_oe static_oe property

public static string DiagnosticId
Résultat string