public void AddAbstractClass(ClassDeclarationSyntax syntax) { string className = syntax.Identifier.Text; if (AbstractClasses.ContainsKey(className)) { throw new ArgumentException($"Abstract Class: {className} already exist."); } AbstractClasses.Add(className, syntax); }
public bool IsAbstractClass(string name) => AbstractClasses.ContainsKey(name);