private static bool NodeIsInterfaceDeclaration(SyntaxNode node) { var kind = node?.Kind(); return kind == SyntaxKind.InterfaceDeclaration; }