some fileformats cleanup

This commit is contained in:
Chris Forbes
2010-07-16 17:48:29 +12:00
parent ebec75be0e
commit 9bbb2f78de
6 changed files with 52 additions and 69 deletions

View File

@@ -139,10 +139,5 @@ namespace OpenRA
return p.Index * 0x567;
return 0;
}
static bool HasAttribute<T>( this MemberInfo mi )
{
return mi.GetCustomAttributes(typeof(T), true).Length != 0;
}
}
}