add lint pass to check whether types with ISync actually have any [Sync] members

This commit is contained in:
Chris Forbes
2011-07-11 10:08:07 +12:00
committed by Paul Chote
parent 513b852a67
commit 5633d84d21
8 changed files with 54 additions and 6 deletions

View File

@@ -19,7 +19,7 @@ namespace OpenRA.Mods.RA
{
class LintBuildablePrerequisites : ILintPass
{
public void Run(Action<string> emitError)
public void Run(Action<string> emitError, Action<string> emitWarning)
{
var providedPrereqs = Rules.Info.Keys.Concat(
Rules.Info.SelectMany( a => a.Value.Traits