C# Class Signum.Analyzer.ExpressionFieldFixProvider

Inheritance: Microsoft.CodeAnalysis.CodeFixes.CodeFixProvider
Mostrar archivo Open project: signumsoftware/framework

Public Methods

Method Description
GetExpressionTypeSyntax ( List parameterList, Microsoft.CodeAnalysis.CSharp.Syntax.TypeSyntax returnType ) : Microsoft.CodeAnalysis.CSharp.Syntax.GenericNameSyntax
GetFixAllProvider ( ) : Microsoft.CodeAnalysis.CodeFixes.FixAllProvider
GetParameters ( MemberDeclarationSyntax declaration, INamedTypeSymbol type, ISymbol symbol ) : List
GetReturnType ( MemberDeclarationSyntax declaration ) : Microsoft.CodeAnalysis.CSharp.Syntax.TypeSyntax
GetSingleBody ( MemberDeclarationSyntax member ) : ExpressionSyntax
RegisterCodeFixesAsync ( Microsoft.CodeAnalysis.CodeFixes.CodeFixContext context ) : Task

Private Methods

Method Description
AddImplicitThis ( ExpressionSyntax bodyExpression, Microsoft.CodeAnalysis.SemanticModel sm, ITypeSymbol type ) : ExpressionSyntax
ExtractToExpressionTree ( Microsoft.CodeAnalysis.Document document, MemberDeclarationSyntax declaration, CancellationToken c ) : Task
GetNewBody ( string name, List parameterList ) : InvocationExpressionSyntax
GetStaticField ( string name, List parameterList, Microsoft.CodeAnalysis.CSharp.Syntax.TypeSyntax returType, ExpressionSyntax bodyExpression, Microsoft.CodeAnalysis.SemanticModel sm, ITypeSymbol type ) : Microsoft.CodeAnalysis.CSharp.Syntax.FieldDeclarationSyntax
MoveInitialTrivia ( Microsoft.CodeAnalysis.CSharp.Syntax.FieldDeclarationSyntax &newField, MemberDeclarationSyntax &newDeclaration ) : void

Method Details

GetExpressionTypeSyntax() public static method

public static GetExpressionTypeSyntax ( List parameterList, Microsoft.CodeAnalysis.CSharp.Syntax.TypeSyntax returnType ) : Microsoft.CodeAnalysis.CSharp.Syntax.GenericNameSyntax
parameterList List
returnType Microsoft.CodeAnalysis.CSharp.Syntax.TypeSyntax
return Microsoft.CodeAnalysis.CSharp.Syntax.GenericNameSyntax

GetFixAllProvider() public final method

public final GetFixAllProvider ( ) : Microsoft.CodeAnalysis.CodeFixes.FixAllProvider
return Microsoft.CodeAnalysis.CodeFixes.FixAllProvider

GetParameters() public static method

public static GetParameters ( MemberDeclarationSyntax declaration, INamedTypeSymbol type, ISymbol symbol ) : List
declaration MemberDeclarationSyntax
type INamedTypeSymbol
symbol ISymbol
return List

GetReturnType() public static method

public static GetReturnType ( MemberDeclarationSyntax declaration ) : Microsoft.CodeAnalysis.CSharp.Syntax.TypeSyntax
declaration MemberDeclarationSyntax
return Microsoft.CodeAnalysis.CSharp.Syntax.TypeSyntax

GetSingleBody() public static method

public static GetSingleBody ( MemberDeclarationSyntax member ) : ExpressionSyntax
member MemberDeclarationSyntax
return ExpressionSyntax

RegisterCodeFixesAsync() public final method

public final RegisterCodeFixesAsync ( Microsoft.CodeAnalysis.CodeFixes.CodeFixContext context ) : Task
context Microsoft.CodeAnalysis.CodeFixes.CodeFixContext
return Task