Property | Type | Description | |
---|---|---|---|
DiagnosticId | string |
Method | Description | |
---|---|---|
GetSingleBody ( SyntaxNodeAnalysisContext context, string ident, Microsoft.CodeAnalysis.CSharp.Syntax.AttributeSyntax att, MemberDeclarationSyntax member ) : ExpressionSyntax | ||
Initialize ( AnalysisContext context ) : void |
Method | 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 |
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 | |
return | ExpressionSyntax |
public Initialize ( AnalysisContext context ) : void | ||
context | AnalysisContext | |
return | void |