Exemplo n.º 1
0
 protected override void VisitTypeDefinitionSyntax(TypeDefinitionSyntax pNode)
 {
     if (pNode.DefinitionType != DefinitionTypes.Implement && pNode.DeclaredType.Namespace != null)
     {
         CompilerErrors.StructNamespace(pNode.Span);
     }
     base.VisitTypeDefinitionSyntax(pNode);
 }