C# Class ErrorProne.NET.Rules.SwitchAnalysis.SwitchAnalyzer

Helper class that provides useful information regarding the switch statements.
Exibir arquivo Open project: SergeyTeplyakov/ErrorProne.NET Class Usage Examples

Public Methods

Method Description
SwitchAnalyzer ( SwitchStatementSyntax switchStatement, Microsoft.CodeAnalysis.SemanticModel semanticModel ) : System

Private Methods

Method Description
GetSymbolType ( ISymbol symbol ) : INamedTypeSymbol
GetUsedCases ( ) : long>>.List

Method Details

SwitchAnalyzer() public method

public SwitchAnalyzer ( SwitchStatementSyntax switchStatement, Microsoft.CodeAnalysis.SemanticModel semanticModel ) : System
switchStatement SwitchStatementSyntax
semanticModel Microsoft.CodeAnalysis.SemanticModel
return System