C# Class NullEnumerableAnalyzer.NullEnumerableAnalyzerCodeFixProvider

Inheritance: Microsoft.CodeAnalysis.CodeFixes.CodeFixProvider
Show file Open project: Jetabroad/DotNetUserGroup

Public Methods

Method Description
GetFixAllProvider ( ) : Microsoft.CodeAnalysis.CodeFixes.FixAllProvider
RegisterCodeFixesAsync ( Microsoft.CodeAnalysis.CodeFixes.CodeFixContext context ) : Task

Private Methods

Method Description
ReplaceWithEmptyEnumerable ( Microsoft.CodeAnalysis.Document document, Microsoft.CodeAnalysis.CSharp.Syntax.ReturnStatementSyntax returnNullStatement, Microsoft.CodeAnalysis.CSharp.Syntax.MethodDeclarationSyntax method, CancellationToken cancellationToken ) : Task

Method Details

GetFixAllProvider() public final method

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

RegisterCodeFixesAsync() public final method

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