private static bool IsRootPattern(INamedElementSchema current) { return current is IPatternSchema && current.Parent == null; }
private static bool IsRootPattern(INamedElementSchema current) { return(current is IPatternSchema && current.Parent == null); }