Esempio n. 1
0
 protected override void VisitInterfaceMember(AstInterfaceMemberNode member)
 {
     if (member.HasAttribute("intptr"))
     {
         ConvertIntPtr(member.ReturnType);
     }
     if (member.HasAttribute("propget") && !member.Name.StartsWith("Get"))
     {
         member.Name = "Get" + member.Name;
     }
     if (member.HasAttribute("propput") && !member.Name.StartsWith("Set"))
     {
         member.Name = "Set" + member.Name;
     }
     base.VisitInterfaceMember(member);
 }
Esempio n. 2
0
 protected override void VisitInterfaceMember(AstInterfaceMemberNode member)
 {
     if (member.HasAttribute("intptr"))
     {
         ConvertIntPtr(member.ReturnType);
     }
     base.VisitInterfaceMember(member);
 }