17 references to Fail
System.Web (17)
Cache\cache.cs (1)
357Debug.Fail("Reason should never be CacheItemRemovedReason.Underused since the entry was inserted as NotRemovable.");
Hosting\ProcessHost.cs (1)
1258Debug.Fail("The provided HRESULT should've represented a failure.");
State\SessionStateItemCollection.cs (1)
132Debug.Fail("Offset shouldn't be negative inside MarkDeserializedOffsetAndCheck.");
UI\ControlBuilder.cs (2)
1459Debug.Fail("Invalid value for CodeBlockType enum"); 2350Debug.Fail("Got a ExpressionBuilder that does not support Evaluate in a non-compiled page");
UI\SkinBuilder.cs (2)
70Debug.Fail(e.Message); 154Debug.Fail(e.Message);
UI\WebControls\basecomparevalidator.cs (2)
425Debug.Fail("Unknown Type"); 443Debug.Fail("Unknown Operator");
UI\WebControls\BaseValidator.cs (1)
497Debug.Fail("We should have already checked for the presence of this");
UI\WebControls\DetailsView.cs (1)
3653Debug.Fail("Shouldn't get here!");
UI\WebControls\FormView.cs (1)
3081Debug.Fail("shouldn't get here!");
UI\WebControls\Menu.cs (1)
740Debug.Fail("Unknown MenuRenderingMode.");
UI\WebControls\RegularExpressionValidator.cs (1)
101Debug.Fail("Regex error should have been caught in property setter.");
UI\WebControls\RequiredFieldValidator.cs (1)
71Debug.Fail("Should have been caught by PropertiesValid check");
UI\WebControls\ValidationSummary.cs (1)
449Debug.Fail("Invalid DisplayMode!");
UI\WebControls\Wizard.cs (1)
3107Debug.Fail("Invalid template/button type");