C# Class ErrorProne.NET.Rules.OtherRules.DoNotUseReadonlyModifierAnalyzer

Inheritance: Microsoft.CodeAnalysis.Diagnostics.DiagnosticAnalyzer
显示文件 Open project: SergeyTeplyakov/ErrorProne.NET

Public Properties

Property Type Description
Rule Microsoft.CodeAnalysis.DiagnosticDescriptor
ThresholdSize int

Public Methods

Method Description
Initialize ( AnalysisContext context ) : void

Private Methods

Method Description
AnalyzeFieldDeclaration ( SyntaxNodeAnalysisContext context ) : void

Method Details

Initialize() public method

public Initialize ( AnalysisContext context ) : void
context AnalysisContext
return void

Property Details

Rule public_oe static_oe property

public static DiagnosticDescriptor,Microsoft.CodeAnalysis Rule
return Microsoft.CodeAnalysis.DiagnosticDescriptor

ThresholdSize public_oe static_oe property

Threshold when the rule would be applied.
public static int ThresholdSize
return int