28 references to Fail
System (1)
compmod\microsoft\win32\SystemEvents.cs (1)
1600Debug.Fail("Unexpected thread exception in system events window thread proc", e.ToString());
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\View\VisualBasicEditor.xaml.cs (1)
578Debug.Fail("Unable to find editor with the following editor name: " + this.editorName, ex.Message);
System.Data (3)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\VisualBasicEditor.xaml.cs (1)
578Debug.Fail("Unable to find editor with the following editor name: " + this.editorName, ex.Message);
fx\src\data\System\Data\SqlClient\SqlBulkCopy.cs (2)
2523Debug.Fail("Unexpected exception during CleanUpstateObjectOnError (ignored)", cleanupEx.ToString()); 2537Debug.Fail("Unexpected exception during CleanUpstateObjectOnError (ignored)", cleanupEx.ToString());
System.Data.Entity (1)
System\Data\EntityModel\SchemaObjectModel\StructuredProperty.cs (1)
299Debug.Fail("Xsd should have changed", "XSD validation should have ensured that" +
System.Windows.Forms (22)
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2IManagedPerPropertyBrowsingHandler.cs (4)
214Debug.Fail("Failed to marshal component attribute BSTR " + i.ToString(CultureInfo.InvariantCulture), ex.ToString()); 221Debug.Fail("Failed to free BSTR array memory", ex.ToString()); 247Debug.Fail("Failed to marshal component attribute VARIANT " + i.ToString(CultureInfo.InvariantCulture), ex.ToString()); 254Debug.Fail("Failed to free VARIANT array memory", ex.ToString());
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2PropertyDescriptor.cs (2)
752Debug.Fail("Failed to create TypeConverter of type '" + attr.ConverterTypeName + "' from Attribute", ex.ToString()); 800Debug.Fail("Failed to create edtior of type '" + attr.EditorTypeName + "' from Attribute", ex.ToString());
winforms\Managed\System\WinForms\Control.cs (3)
16339Debug.Fail("Failed to massage ambient back color to a Color", e.ToString()); 16421Debug.Fail("Failed to massage ambient fore color to a Color", e.ToString()); 17403Debug.Fail("Unexpected failure reading property", ex.ToString());
winforms\Managed\System\WinForms\DataGridCaption.cs (1)
391Debug.Fail("Failed to load bitmap: " + bitmapName, e.ToString());
winforms\Managed\System\WinForms\DataGridParentRows.cs (1)
748Debug.Fail("Failed to load bitmap: " + bitmapName, e.ToString());
winforms\Managed\System\WinForms\DataGridRow.cs (1)
224Debug.Fail("Failed to load bitmap: " + bitmapName, e.ToString());
winforms\Managed\System\WinForms\Design\PropertyTab.cs (1)
50Debug.Fail("Failed to find bitmap '" + bmpName + "' for class " + GetType().FullName, ex.ToString());
winforms\Managed\System\WinForms\ListView.cs (2)
2872Debug.Fail("Exception occurred attempting to setup custom draw. Disabling custom draw for this control", e.ToString()); 5512Debug.Fail("Exception occurred attempting to setup header custom draw. Disabling custom draw for the column header", e.ToString());
winforms\Managed\System\WinForms\PropertyGrid.cs (6)
1871Debug.Fail("Bad Tab. We're not going to show it. ", e.ToString()); 1935Debug.Fail("Bad tab. We're going to remove it.", e.ToString()); 2415Debug.Fail("Bad Tab. Disable for now.", e.ToString()); 4011Debug.Fail("Bad Tab. It's going away.", e.ToString()); 4414Debug.Fail("Failed to load Alpha bitmap", e.ToString()); 4424Debug.Fail("Failed to load category bitmap", e.ToString());
winforms\Managed\System\WinForms\PropertyGridInternal\GridEntry.cs (1)
1770Debug.Fail("Bad Type Converter! " + t.GetType().Name + ", " + t.Message + "," + converter.ToString(), t.ToString());