private static bool IsInterfaceMethod(SourceFunctionSymbol symbol) { return symbol.Parent != null && symbol.Parent.Kind == SymbolKind.Interface; } }