internal static bool IsCompilerGenerated(TypeNode t) { return t != null && t.GetAttribute(compilerGeneratedAttributeNode) != null; }