Свойство | Тип | Описание | |
---|---|---|---|
DiagnosticId | string |
Метод | Описание | |
---|---|---|
GetSingleBody ( SyntaxNodeAnalysisContext context, string ident, Microsoft.CodeAnalysis.CSharp.Syntax.AttributeSyntax att, MemberDeclarationSyntax member ) : ExpressionSyntax | ||
Initialize ( AnalysisContext context ) : void |
Метод | Описание | |
---|---|---|
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 |
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 | |
Результат | ExpressionSyntax |
public Initialize ( AnalysisContext context ) : void | ||
context | AnalysisContext | |
Результат | void |