public bool IsVisible(FilteringOptions options)
{
if (((options.categories != null) && (options.categories.Length > 0)) && !Enumerable.Any<string>(options.categories, new Func<string, bool>(this, (IntPtr) this.<IsVisible>m__0)))
{
return false;
}
if (!options.showIgnored && ((this.m_Test.testMethod.get_RunState() == 4) || (this.executed && (this.test.testMethod.get_RunState() == 3))))
{
return false;
}
if ((!options.showFailed && this.executed) && ((this.isFailure || this.isError) || this.isInconclusive))
{
return false;
}
if ((!options.showNotRunned && !this.executed) && !this.isIgnored)
{
return false;
}
if (!options.showSucceeded && this.isSuccess)
{
return false;
}
return true;
}