12 references to Convert
Microsoft.CodeAnalysis.CodeStyle (12)
src\Analyzers\Core\Analyzers\MakeFieldReadonly\AbstractMakeFieldReadonlyDiagnosticAnalyzer.cs (1)
76
}, SyntaxKinds.
Convert
<TSyntaxKind>(SyntaxKinds.ThisExpression));
src\Analyzers\Core\Analyzers\SimplifyBooleanExpression\AbstractSimplifyConditionalDiagnosticAnalyzer.cs (1)
61
AnalyzeConditionalExpression, syntaxKinds.
Convert
<TSyntaxKind>(syntaxKinds.ConditionalExpression));
src\Analyzers\Core\Analyzers\UseCoalesceExpression\AbstractUseCoalesceExpressionForNullableTernaryConditionalCheckDiagnosticAnalyzer.cs (1)
49
syntaxKinds.
Convert
<TSyntaxKind>(syntaxKinds.TernaryConditionalExpression));
src\Analyzers\Core\Analyzers\UseCoalesceExpression\AbstractUseCoalesceExpressionForTernaryConditionalCheckDiagnosticAnalyzer.cs (1)
44
syntaxKinds.
Convert
<TSyntaxKind>(syntaxKinds.TernaryConditionalExpression));
src\Analyzers\Core\Analyzers\UseCollectionInitializer\AbstractUseCollectionInitializerDiagnosticAnalyzer.cs (2)
102
matchKinds.Add(syntaxKinds.
Convert
<TSyntaxKind>(syntaxKinds.ObjectCreationExpression));
104
matchKinds.Add(syntaxKinds.
Convert
<TSyntaxKind>(syntaxKinds.ImplicitObjectCreationExpression.Value));
src\Analyzers\Core\Analyzers\UseCompoundAssignment\AbstractUseCompoundAssignmentDiagnosticAnalyzer.cs (1)
99
var binaryKind = _syntaxFacts.SyntaxKinds.
Convert
<TSyntaxKind>(binaryExpression.RawKind);
src\Analyzers\Core\Analyzers\UseIsNullCheck\AbstractUseIsNullForReferenceEqualsDiagnosticAnalyzer.cs (1)
47
syntaxKinds.
Convert
<TLanguageKindEnum>(syntaxKinds.InvocationExpression));
src\Analyzers\Core\Analyzers\UseNullPropagation\AbstractUseNullPropagationDiagnosticAnalyzer.cs (1)
95
syntaxKinds.
Convert
<TSyntaxKind>(syntaxKinds.TernaryConditionalExpression));
src\Analyzers\Core\Analyzers\UseObjectInitializer\AbstractUseObjectInitializerDiagnosticAnalyzer.cs (2)
74
matchKinds.Add(syntaxKinds.
Convert
<TSyntaxKind>(syntaxKinds.ObjectCreationExpression));
76
matchKinds.Add(syntaxKinds.
Convert
<TSyntaxKind>(syntaxKinds.ImplicitObjectCreationExpression.Value));
src\Analyzers\Core\Analyzers\ValidateFormatString\AbstractValidateFormatStringDiagnosticAnalyzer.cs (1)
82
syntaxKinds.
Convert
<TSyntaxKind>(syntaxKinds.InvocationExpression));