|
|
|
@ -53,7 +53,7 @@ namespace ICSharpCode.NRefactory.CSharp
@@ -53,7 +53,7 @@ namespace ICSharpCode.NRefactory.CSharp
|
|
|
|
|
foreach (Type type in typeof(AstNode).Assembly.GetExportedTypes()) { |
|
|
|
|
if (type == typeof(CSharpModifierToken)) // CSharpModifierToken is the exception (though I'm not too happy about that)
|
|
|
|
|
continue; |
|
|
|
|
if (type == typeof(PreProcessorDirective)) // another exception - is it useful or not ?
|
|
|
|
|
if (typeof(PreProcessorDirective).IsAssignableFrom (type)) // another exception - is it useful or not ?
|
|
|
|
|
continue; |
|
|
|
|
if (type.IsSubclassOf(typeof(AstNode))) { |
|
|
|
|
Assert.IsTrue(type.BaseType.IsAbstract, type.FullName); |
|
|
|
|