Property | Type | Description | |
---|---|---|---|
DoNotUseValueWhenMultipleIsTrueRule | Microsoft.CodeAnalysis.DiagnosticDescriptor | ||
DoNotUseValuesWhenMultipleIsFalseRule | Microsoft.CodeAnalysis.DiagnosticDescriptor |
Method | Description | |
---|---|---|
Initialize ( AnalysisContext context ) : void |
Method | Description | |
---|---|---|
GetLocalizableString ( string nameOfLocalizableResource ) : Microsoft.CodeAnalysis.LocalizableString | ||
LookForMultiplePropertyUsedWithInappropriateValueOrValuesProperty ( SyntaxNodeAnalysisContext context ) : void | ||
TargetTypeIsSelectAttributes ( ObjectCreationExpressionSyntax objectCreation, SyntaxNodeAnalysisContext context ) : bool |
This requires querying the semantic model, which is typically more expensive that querying the syntax tree, so leave this check until last (so that as few code paths have to travel down this route as possible)
|
public Initialize ( AnalysisContext context ) : void | ||
context | AnalysisContext | |
return | void |
public static DiagnosticDescriptor,Microsoft.CodeAnalysis DoNotUseValueWhenMultipleIsTrueRule | ||
return | Microsoft.CodeAnalysis.DiagnosticDescriptor |