private static string GetFilePath(FxCopLogReader.Context context)
{
if (context.Path == null)
{
return context.File;
}
else if (context.File == null)
{
Debug.Fail("FxCop with path set but file unset.");
return context.Path;
}
else
{
return Path.Combine(context.Path, context.File);
}
}