protected override void InitializeWorker(AnalysisContext context) => context.RegisterSyntaxNodeAction( AnalyzeSyntax, _syntaxKinds.Convert <TSyntaxKind>(_syntaxKinds.AnonymousObjectCreationExpression));
private string GetTitle(ISyntaxKindsService syntaxKinds, int binaryExprKind) => string.Format(FeaturesResources.Replace_0_with_1, GetOperatorText(syntaxKinds.Convert <TSyntaxKind>(binaryExprKind)), GetOperatorText(syntaxKinds.Convert <TSyntaxKind>(InvertedKind(syntaxKinds, binaryExprKind))));