721 references to Fail
PresentationCore (26)
Core\CSharp\MS\Internal\Media\VisualTreeUtils.cs (3)
187Debug.Fail("How did a ray hit a Visual3D not parented to a Viewport3DVisual?"); 192Debug.Fail(String.Format("Unhandled HitTestResult type '{0}'", result.GetType().Name)); 299Debug.Fail(String.Format(
Core\CSharp\System\Windows\Media\Animation\Generated\ByteAnimation.cs (1)
318Debug.Fail("Unknown animation type.");
Core\CSharp\System\Windows\Media\Animation\Generated\ColorAnimation.cs (1)
318Debug.Fail("Unknown animation type.");
Core\CSharp\System\Windows\Media\Animation\Generated\DecimalAnimation.cs (1)
318Debug.Fail("Unknown animation type.");
Core\CSharp\System\Windows\Media\Animation\Generated\DoubleAnimation.cs (1)
318Debug.Fail("Unknown animation type.");
Core\CSharp\System\Windows\Media\Animation\Generated\Int16Animation.cs (1)
318Debug.Fail("Unknown animation type.");
Core\CSharp\System\Windows\Media\Animation\Generated\Int32Animation.cs (1)
318Debug.Fail("Unknown animation type.");
Core\CSharp\System\Windows\Media\Animation\Generated\Int64Animation.cs (1)
318Debug.Fail("Unknown animation type.");
Core\CSharp\System\Windows\Media\Animation\Generated\Point3DAnimation.cs (1)
318Debug.Fail("Unknown animation type.");
Core\CSharp\System\Windows\Media\Animation\Generated\PointAnimation.cs (1)
318Debug.Fail("Unknown animation type.");
Core\CSharp\System\Windows\Media\Animation\Generated\QuaternionAnimation.cs (1)
318Debug.Fail("Unknown animation type.");
Core\CSharp\System\Windows\Media\Animation\Generated\RectAnimation.cs (1)
318Debug.Fail("Unknown animation type.");
Core\CSharp\System\Windows\Media\Animation\Generated\Rotation3DAnimation.cs (1)
318Debug.Fail("Unknown animation type.");
Core\CSharp\System\Windows\Media\Animation\Generated\SingleAnimation.cs (1)
318Debug.Fail("Unknown animation type.");
Core\CSharp\System\Windows\Media\Animation\Generated\SizeAnimation.cs (1)
318Debug.Fail("Unknown animation type.");
Core\CSharp\System\Windows\Media\Animation\Generated\Vector3DAnimation.cs (1)
318Debug.Fail("Unknown animation type.");
Core\CSharp\System\Windows\Media\Animation\Generated\VectorAnimation.cs (1)
318Debug.Fail("Unknown animation type.");
Core\CSharp\System\Windows\Media\Animation\RepeatBehavior.cs (3)
209Debug.Fail("Unhandled RepeatBehaviorType"); 254Debug.Fail("Unhandled RepeatBehaviorType"); 320Debug.Fail("Unhandled RepeatBehaviorType.");
Core\CSharp\System\Windows\Media\Animation\RepeatBehaviorConverter.cs (1)
152Debug.Fail("Unknown type of RepeatBehavior passed to RepeatBehaviorConverter.");
Core\CSharp\System\Windows\Media3D\MeshGeometry3D.cs (2)
586Debug.Fail("Cached bounds are invalid. Caller needs to check for IsEmpty and call UpdateCachedBounds."); 590Debug.Fail("Cached bounds are invalid. We missed a call to SetCachedBoundsDirty.");
Core\CSharp\System\Windows\Media3D\Viewport3DVisual.cs (1)
647Debug.Fail("Cached bbox subgraph is incorrect!");
PresentationFramework (17)
src\Framework\MS\Internal\AppModel\AssemblyFilter.cs (1)
87Debug.Fail("Environment.Exit() failed.");
src\Framework\MS\Internal\AppModel\JournalNavigationScope.cs (2)
329Debug.Fail("Tried to navigate to a null JournalEntry."); 334Debug.Fail("Tried to navigate to a non-navigable journal entry.");
src\Framework\MS\Internal\Controls\ActiveXSite.cs (2)
243Debug.Fail(t.ToString()); 425Debug.Fail(t.ToString());
src\Framework\System\Windows\Controls\DataGrid.cs (1)
5375Debug.Fail("Unknown SelectionUnit encountered.");
src\Framework\System\Windows\Controls\Frame.cs (1)
477Debug.Fail("UsesOwnJournal->Automatic transition should be blocked by CoerceJournalOwnership().");
src\Framework\System\Windows\Interop\ActiveXHost.cs (4)
483Debug.Fail("bad state"); 515Debug.Fail("how did we ever get into the open state?"); 539Debug.Fail("bad state"); 1150Debug.Fail(e.ToString());
src\Framework\System\Windows\Interop\DocobjHost.cs (1)
1230Debug.Fail(ex.ToString());
src\Framework\System\Windows\Markup\Primitives\ExtensionSimplifierMarkupObject.cs (1)
311Debug.Fail("No items where found and IsComposite return true");
src\Framework\System\Windows\Markup\Primitives\FrameworkElementFactoryMarkupObject.cs (1)
207Debug.Fail("Unexpected property value type");
src\Framework\System\Windows\Media\Animation\Generated\ThicknessAnimation.cs (1)
318Debug.Fail("Unknown animation type.");
src\Framework\System\Windows\Navigation\NavigationService.cs (2)
4188Debug.Fail("Could not find the finishing PageFunction in the journal."); 4245Debug.Fail("Unhandled scenario: PageFunction returning to " + parentEntry.GetType().Name);
System (48)
compmod\microsoft\win32\SystemEvents.cs (4)
443Debug.Fail("Unable to register broadcast window class"); 735Debug.Fail("Unrecognized message passed to UserPreferenceCategory"); 746Debug.Fail("Failed to install console handler."); 790Debug.Fail("SystemEvents marshaled callback failed:" + t);
compmod\system\componentmodel\AmbientValueAttribute.cs (1)
44Debug.Fail("Ambient value attribute of type " + type.FullName + " threw converting from the string '" + value + "'.");
compmod\system\componentmodel\BindingList.cs (1)
591Debug.Fail("Item is no longer in our list but we are still getting change notifications.");
compmod\system\componentmodel\DefaultValueAttribute.cs (1)
59Debug.Fail("Default value attribute of type " + type.FullName + " threw converting from the string '" + value + "'.");
compmod\system\componentmodel\design\DesignerTransaction.cs (1)
129System.Diagnostics.Debug.Fail("Invalid state. Dispose(true) should have called cancel which does the SuppressFinalize");
compmod\system\componentmodel\design\DesigntimeLicenseContext.cs (1)
259Debug.Fail(e.ToString());
compmod\system\componentmodel\design\serialization\InstanceDescriptor.cs (1)
150Debug.Fail("Unrecognized reflection type in instance descriptor: " + member.GetType().Name);
compmod\system\componentmodel\design\ServiceObjectContainer.cs (1)
214Debug.Fail("Object " + service.GetType().Name + " was returned from a service creator callback but it does not implement the registered type of " + serviceType.Name);
compmod\system\componentmodel\MaskedTextProvider.cs (1)
2475Debug.Fail("Invalid mask language character.");
compmod\system\componentmodel\MemberDescriptor.cs (2)
76Debug.Fail(t.ToString()); 392Debug.Fail(name + ">>" + e.ToString());
compmod\system\componentmodel\ReflectEventDescriptor.cs (1)
368Debug.Fail("Missing event accessors for " + componentClass.FullName + "." + Name);
compmod\system\componentmodel\ReflectPropertyDescriptor.cs (2)
117Debug.Fail("Property '" + name + "' on component " + componentClass.FullName + " failed to init."); 118Debug.Fail(t.ToString());
compmod\system\componentmodel\ReflectTypeDescriptionProvider.cs (5)
171Debug.Fail("COMPAT: Editor table should not be null"); 749Debug.Fail("This should never be invoked. TypeDescriptionNode should wrap for us."); 863Debug.Fail("This should never be invoked. TypeDescriptionNode should wrap for us."); 1046Debug.Fail("Hey, assumption holds true. Rip this assert."); 1819Debug.Fail("Editor " + editor.GetType().FullName + " is not an instance of " + editorBaseType.FullName + " but it is in that base types table.");
compmod\system\componentmodel\TypeDescriptor.cs (20)
1371Debug.Fail("COMPAT: Returning an empty collection, but you should not pass null here"); 1396Debug.Fail("COMPAT: Returning an empty collection, but you should not pass null here"); 1563Debug.Fail("COMPAT: Returning null, but you should not pass null here"); 1586Debug.Fail("COMPAT: Returning null, but you should not pass null here"); 1600Debug.Fail("COMPAT: Returning an empty collection, but you should not pass null here"); 1623Debug.Fail("COMPAT: Returning null, but you should not pass null here"); 1729Debug.Fail("COMPAT: Returning an empty collection, but you should not pass null here"); 1744Debug.Fail("COMPAT: Returning an empty collection, but you should not pass null here"); 1796Debug.Fail("COMPAT: Returning an empty collection, but you should not pass null here"); 1950Debug.Fail("COMPAT: Returning an empty collection, but you should not pass null here"); 1965Debug.Fail("COMPAT: Returning an empty collection, but you should not pass null here"); 2026Debug.Fail("COMPAT: Returning an empty collection, but you should not pass null here"); 2471Debug.Fail("unknown pipeline type"); 2602Debug.Fail("unknown pipeline type"); 2676Debug.Fail("unknown pipeline type"); 2822Debug.Fail("unknown pipeline type"); 2873Debug.Fail("COMPAT: Returning, but you should not pass null here"); 2964Debug.Fail("COMPAT: Returning, but you should not pass null here"); 3032Debug.Fail("COMPAT: Returning, but you should not pass null here"); 3096Debug.Fail("COMPAT: Returning, but you should not pass null here");
compmod\System\Runtime\InteropServices\StandardOleMarshalObject.cs (3)
123Debug.Fail("IMarshal::UnmarshalInterface should not be called."); 134Debug.Fail("IMarshal::ReleaseMarshalData should not be called."); 144Debug.Fail("IMarshal::DisconnectObject should not be called.");
net\System\Net\_SecureChannel.cs (1)
1440Debug.Fail("GetAlertMessageFromChain was called but none of the chain elements had errors.");
services\io\system\io\FileSystemWatcher.cs (1)
777Debug.Fail("Unknown FileSystemEvent action type! Value: "+action);
sys\system\configuration\ClientSettingsStore.cs (1)
231Debug.Fail("Did not expect to get called here");
System.Activities.Core.Presentation (2)
System\Activities\Core\Presentation\FlowchartDesigner.Container.cs (2)
181Debug.Fail("Unknown FlowNode"); 247Debug.Fail("Unknown FlowNode");
System.Activities.Presentation (43)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\CategoryList.cs (5)
326Debug.Fail("CategoryList should only be populated with CategoryEntries."); 357Debug.Fail("CategoryList expects the individual items to be CiderCategoryContainers"); 374Debug.Fail("Couldn't clean up event binding and store container state."); 1206Debug.Fail("Invalid PI state: " + stateString); 1216Debug.Fail("Invalid percentage width stored in PI state: " + percentage.ToString(CultureInfo.InvariantCulture));
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\CiderCategoryContainer.cs (1)
356Debug.Fail("UI for CategoryContainer changed. Need to update CiderCategoryContainer logic.");
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\EditModeSwitchButtonKeyboardFix.cs (2)
92Debug.Fail("EditModeSwitchButtonKeyboardFix.ApplyFix fix can only be applied to EditModeSwitchButton instances."); 146Debug.Fail(string.Format(
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\PropertyValueToDisplayNameConverter.cs (1)
65Debug.Fail("PropertyValueToDisplayNameConverter is being used for something other than ModelPropertyValues. Re-evaluate the correctness of its logic.");
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\ExtensibilityAccessor.cs (2)
348Debug.Fail("ExtensibilityAccessor.IsReadOnly: No properties specified."); 367Debug.Fail("No delegate to evaluate IsMixedValue specified.");
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\Data\IsNullConverter.cs (1)
28Debug.Fail("IsNullConverter can only be used for BindType=OneWay");
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\PropertyInspector\CategoryContainer.xaml.cs (2)
432Debug.Fail("BasicProperties should not change in a way other than an add or a remove."); 458Debug.Fail("BasicProperties should not change in a way other than an add or a remove.");
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelCategoryEntry.cs (2)
132Debug.Fail("Invalid property bucket. The property sort order will be broken."); 169Debug.Fail("Invalid bucket specified. Property was not refreshed.");
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelPropertyValueCollection.cs (2)
281Debug.Fail("Didn't find the expected item to remove"); 415Debug.Fail("A new class was introduced that derives from PropertyEntry. Need to update ModelPropertyValueCollection code as well.");
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\PropertyInspector.xaml.cs (1)
187Debug.Fail("Shouldn't be able to set a selection name if no or more than one object is selected.");
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\PropertyToolBar.cs (2)
287Debug.Fail("This method shouldn't be called when there is no CategoryList instance to process."); 298Debug.Fail("This method shouldn't be called when there is no CategoryList instance to process.");
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Selection\CategoryContainerSelectionPathInterpreter.cs (2)
58Debug.Fail("Invalid SelectionPath specified."); 64Debug.Fail("No CategoryList specified.");
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Selection\CategoryEditorSelectionPathInterpreter.cs (3)
53Debug.Fail("Invalid SelectionPath specified."); 59Debug.Fail("No CategoryList specified."); 67Debug.Fail("Invalid SelectionPath specified.");
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Selection\PropertySelectionPathInterpreter.cs (3)
53Debug.Fail("Invalid SelectionPath specified."); 59Debug.Fail("No CategoryList specified."); 66Debug.Fail("Invalid SelectionPath specified.");
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Selection\SelectionPath.cs (1)
65Debug.Fail("Invalid SelectionPath State object");
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Selection\SelectionPathResolver.cs (1)
46Debug.Fail(string.Format(System.Globalization.CultureInfo.CurrentCulture, "ISelectionPathInterpreter for path type of ID '{0}' already registered. Ignoring.", interpreter.PathTypeId));
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\State\AggregateStateContainer.cs (1)
45Debug.Fail("Invalid state to restore: " + (state == null ? "null" : state.ToString()));
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\State\PersistedStateContainer.cs (1)
79Debug.Fail("Invalid state. Deserialization failed: " + stateString);
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\State\PropertyViewManagerStateContainer.cs (3)
72Debug.Fail("Unknown IPropertyViewManager type: " + (propertyViewManagerTypeName ?? "null")); 151Debug.Fail("Invalid PropertyViewManager state: " + state.ToString()); 158Debug.Fail("Invalid PropertyViewManager state: " + state.ToString());
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (1)
355Debug.Fail("Member " + member + " is not a member of type " + objectType.Name);
System.Activities.Presentation\System\Activities\Presentation\Base\Core\PropertyEditing\EditModeSwitchButton.cs (2)
104Debug.Fail(string.Format( 238Debug.Fail(string.Format(
System.Activities.Presentation\System\Activities\Presentation\Base\Core\PropertyEditing\PropertyContainer.cs (1)
761Debug.Fail(
System.Activities.Presentation\System\Activities\Presentation\Model\ModelTreeManager.cs (3)
1256Debug.Fail("Cannot find generic arguments for IDictionary<,>."); 1333Debug.Fail("ResetValue is not implemented."); 1339Debug.Fail("SetValue is not implemented.");
System.Core (1)
System\Security\Cryptography\X509Certificates\ECDsaCertificateExtensions.cs (1)
241Debug.Fail($"Missing match criteria for curve type {aCurve.CurveType}");
System.Data (45)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\CategoryList.cs (5)
326Debug.Fail("CategoryList should only be populated with CategoryEntries."); 357Debug.Fail("CategoryList expects the individual items to be CiderCategoryContainers"); 374Debug.Fail("Couldn't clean up event binding and store container state."); 1206Debug.Fail("Invalid PI state: " + stateString); 1216Debug.Fail("Invalid percentage width stored in PI state: " + percentage.ToString(CultureInfo.InvariantCulture));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\CiderCategoryContainer.cs (1)
356Debug.Fail("UI for CategoryContainer changed. Need to update CiderCategoryContainer logic.");
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\EditModeSwitchButtonKeyboardFix.cs (2)
92Debug.Fail("EditModeSwitchButtonKeyboardFix.ApplyFix fix can only be applied to EditModeSwitchButton instances."); 146Debug.Fail(string.Format(
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\PropertyValueToDisplayNameConverter.cs (1)
65Debug.Fail("PropertyValueToDisplayNameConverter is being used for something other than ModelPropertyValues. Re-evaluate the correctness of its logic.");
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\ExtensibilityAccessor.cs (2)
348Debug.Fail("ExtensibilityAccessor.IsReadOnly: No properties specified."); 367Debug.Fail("No delegate to evaluate IsMixedValue specified.");
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\Data\IsNullConverter.cs (1)
28Debug.Fail("IsNullConverter can only be used for BindType=OneWay");
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\PropertyInspector\CategoryContainer.xaml.cs (2)
432Debug.Fail("BasicProperties should not change in a way other than an add or a remove."); 458Debug.Fail("BasicProperties should not change in a way other than an add or a remove.");
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelCategoryEntry.cs (2)
132Debug.Fail("Invalid property bucket. The property sort order will be broken."); 169Debug.Fail("Invalid bucket specified. Property was not refreshed.");
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelPropertyValueCollection.cs (2)
281Debug.Fail("Didn't find the expected item to remove"); 415Debug.Fail("A new class was introduced that derives from PropertyEntry. Need to update ModelPropertyValueCollection code as well.");
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\PropertyInspector.xaml.cs (1)
187Debug.Fail("Shouldn't be able to set a selection name if no or more than one object is selected.");
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\PropertyToolBar.cs (2)
287Debug.Fail("This method shouldn't be called when there is no CategoryList instance to process."); 298Debug.Fail("This method shouldn't be called when there is no CategoryList instance to process.");
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Selection\CategoryContainerSelectionPathInterpreter.cs (2)
58Debug.Fail("Invalid SelectionPath specified."); 64Debug.Fail("No CategoryList specified.");
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Selection\CategoryEditorSelectionPathInterpreter.cs (3)
53Debug.Fail("Invalid SelectionPath specified."); 59Debug.Fail("No CategoryList specified."); 67Debug.Fail("Invalid SelectionPath specified.");
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Selection\PropertySelectionPathInterpreter.cs (3)
53Debug.Fail("Invalid SelectionPath specified."); 59Debug.Fail("No CategoryList specified."); 66Debug.Fail("Invalid SelectionPath specified.");
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Selection\SelectionPath.cs (1)
65Debug.Fail("Invalid SelectionPath State object");
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Selection\SelectionPathResolver.cs (1)
46Debug.Fail(string.Format(System.Globalization.CultureInfo.CurrentCulture, "ISelectionPathInterpreter for path type of ID '{0}' already registered. Ignoring.", interpreter.PathTypeId));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\State\AggregateStateContainer.cs (1)
45Debug.Fail("Invalid state to restore: " + (state == null ? "null" : state.ToString()));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\State\PersistedStateContainer.cs (1)
79Debug.Fail("Invalid state. Deserialization failed: " + stateString);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\State\PropertyViewManagerStateContainer.cs (3)
72Debug.Fail("Unknown IPropertyViewManager type: " + (propertyViewManagerTypeName ?? "null")); 151Debug.Fail("Invalid PropertyViewManager state: " + state.ToString()); 158Debug.Fail("Invalid PropertyViewManager state: " + state.ToString());
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (1)
355Debug.Fail("Member " + member + " is not a member of type " + objectType.Name);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\PropertyEditing\EditModeSwitchButton.cs (2)
104Debug.Fail(string.Format( 238Debug.Fail(string.Format(
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\PropertyEditing\PropertyContainer.cs (1)
761Debug.Fail(
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelTreeManager.cs (3)
1256Debug.Fail("Cannot find generic arguments for IDictionary<,>."); 1333Debug.Fail("ResetValue is not implemented."); 1339Debug.Fail("SetValue is not implemented.");
fx\src\data\System\Data\Filter\FilterException.cs (1)
113Debug.Fail(err);
fx\src\data\System\Data\ProviderBase\DbConnectionPool.cs (1)
786Debug.Fail("Unknown PoolBlockingPeriod. Please specify explicit results in above switch case statement.");
System.Data.Entity (113)
System\Data\Common\EntitySql\SemanticAnalyzer.cs (4)
1657Debug.Fail("N-ary relationship? N > 2"); 1778Debug.Fail("N-ary relationship? N > 2"); 2362Debug.Fail("Unexpected AST.Node in the type name"); 3743Debug.Fail("Unexpected group aggregate kind:" + groupAggregateInfo.AggregateKind.ToString());
System\Data\Common\EntitySql\SemanticResolver.cs (2)
450Debug.Fail("Unexpected group aggregate kind."); 933Debug.Fail("Failed to find the defining scope region for the given scope.");
System\Data\Common\EntitySql\TypeResolver.cs (1)
308Debug.Fail("Not implemented");
System\Data\Common\EntityUtil.cs (1)
1878Debug.Fail("GetFactory failed with: " + ex);
System\Data\Common\Internal\Materialization\ColumnMapKeyBuilder.cs (1)
272Debug.Fail("must not encounter VarRef in ColumnMap for key (eliminated in final ColumnMap)");
System\Data\Common\Internal\Materialization\Translator.cs (3)
419Debug.Fail(string.Format(CultureInfo.CurrentCulture, "The type {0} was not the expected scalar, enumeration, collection, structural, nominal, or reference type.", edmType.GetType())); 1415Debug.Fail("Should always find a property for the setterMethod since we got the setter method from a property in the first place."); 2222Debug.Fail("VarRefColumnMap should be substituted at this point");
System\Data\Common\Utils\Boolean\BoolExpr.cs (2)
272Debug.Fail("use only typed equals"); 349Debug.Fail("use only typed Equals");
System\Data\Common\Utils\Boolean\Clause.cs (1)
89Debug.Fail("call typed Equals");
System\Data\Common\Utils\Boolean\Literal.cs (1)
82Debug.Fail("use typed Equals");
System\Data\Common\Utils\Boolean\Solver.cs (1)
387Debug.Fail("used typed Equals");
System\Data\Common\Utils\Boolean\Vertex.cs (1)
118Debug.Fail("used typed Equals");
System\Data\Common\Utils\MetadataHelper.cs (1)
152Debug.Fail("unrecognized mode " + mode.ToString());
System\Data\EntityClient\EntityConnection.cs (1)
155Debug.Fail("Provider Invariant Name not found");
System\Data\EntityModel\SchemaObjectModel\ReturnType.cs (1)
401Debug.Fail("This method was not called from anywhere in the code before. If you got here you need to update this method and possibly ResolveNestedTypeNames()");
System\Data\EntityModel\SchemaObjectModel\TypeUsageBuilder.cs (1)
266Debug.Fail("Did you miss a value");
System\Data\Mapping\BaseMetadataMappingVisitor.cs (5)
53Debug.Fail(string.Format(CultureInfo.InvariantCulture, "Found type '{0}', did we add a new type?", entitySetBase.BuiltInTypeKind)); 206Debug.Fail(String.Format(CultureInfo.InvariantCulture, "Found type '{0}', did we add a new type?", relationshipType.BuiltInTypeKind)); 247Debug.Fail(String.Format(CultureInfo.InvariantCulture, "Found type '{0}', did we add a new type?", edmType.BuiltInTypeKind)); 326Debug.Fail(String.Format(CultureInfo.InvariantCulture, "Found type '{0}', did we add a new type?", entityTypeBase.BuiltInTypeKind)); 385Debug.Fail(String.Format(CultureInfo.InvariantCulture, "Found type '{0}', did we add a new type?", storagePropertyMapping.GetType()));
System\Data\Mapping\FunctionImportMappingComposable.cs (1)
441Debug.Fail("Failed to get the result type of the function import.");
System\Data\Mapping\StorageMappingItemLoader.cs (4)
1644Debug.Fail("Composable function import must have return type."); 2181Debug.Fail("Function import return type is expected to be a collection of complex type."); 3165Debug.Fail("XSD validation should have ensured that End EdmProperty Maps only have Schalar properties"); 3346Debug.Fail("New primitive type kind added?");
System\Data\Mapping\Update\Internal\ExtractedStateEntry.cs (1)
59Debug.Fail("unexpected IEntityStateEntry.State for entity " + stateEntry.State);
System\Data\Mapping\Update\Internal\FunctionMappingTranslator.cs (1)
219Debug.Fail("unexpected state");
System\Data\Mapping\Update\Internal\FunctionUpdateCommand.cs (1)
356Debug.Fail("unexpected entity state " + state);
System\Data\Mapping\Update\Internal\Propagator.Evaluator.cs (1)
521Debug.Fail("view generator failed to validate cast in update mapping view");
System\Data\Mapping\Update\Internal\RelationshipConstraintValidator.cs (1)
476Debug.Fail("use only typed Equals method");
System\Data\Mapping\Update\Internal\UpdateCommandOrderer.cs (1)
111if (constraintFound) { Debug.Fail("relationship set should have at most one constraint"); }
System\Data\Mapping\Update\Internal\ViewLoader.cs (1)
197Debug.Fail("unexpected extent type " + entitySetBase.BuiltInTypeKind);
System\Data\Mapping\ViewGeneration\CellTreeSimplifier.cs (3)
435Debug.Fail("Unsupported operator"); 504Debug.Fail("Unsupported operator"); 605Debug.Fail("No other operation expected for boolean merge");
System\Data\Mapping\ViewGeneration\CqlGeneration\CqlIdentifiers.cs (1)
94Debug.Fail("Found no unique _from till MaxValue?");
System\Data\Mapping\ViewGeneration\CqlGeneration\JoinCqlBlock.cs (1)
119Debug.Fail("Unknown operator");
System\Data\Mapping\ViewGeneration\QueryRewriting\QueryRewriter.cs (4)
650Debug.Fail("Can't happen if EnsureExtentIsFullyMapped succeeded"); 1108Debug.Fail("Shouldn't happen"); 1198Debug.Fail("unexpected"); 1228Debug.Fail("unexpected");
System\Data\Mapping\ViewGeneration\QueryRewriting\RewritingSimplifier.cs (1)
206default: Debug.Fail("unexpected"); break;
System\Data\Mapping\ViewGeneration\QueryRewriting\RewritingValidator.cs (1)
220Debug.Fail(String.Format(CultureInfo.InvariantCulture, "No cached rewriting for {0}={1}", column, domainValue));
System\Data\Mapping\ViewGeneration\QueryRewriting\RoleBoolean.cs (2)
45Debug.Fail("Should not be called."); 54Debug.Fail("Should not be called.");
System\Data\Mapping\ViewGeneration\QueryRewriting\Tile.cs (1)
237default: Debug.Fail("Unexpected binary operator"); break;
System\Data\Mapping\ViewGeneration\Structures\BoolExpression.cs (1)
124Debug.Fail("Unknown expression type");
System\Data\Mapping\ViewGeneration\Structures\Constant.cs (6)
233Debug.Fail("Should not be called."); 242Debug.Fail("Should not be called."); 262Debug.Fail("We should not emit a message about Undefined constants to the user."); 304Debug.Fail("Should not be called."); 313Debug.Fail("Should not be called."); 333Debug.Fail("We should not emit a message about Undefined constants to the user.");
System\Data\Mapping\ViewGeneration\Structures\NegatedConstant.cs (2)
117Debug.Fail("Should not be called."); 126Debug.Fail("Should not be called.");
System\Data\Mapping\ViewGeneration\Structures\OpCellTreeNode.cs (2)
152Debug.Fail("Unexpected optype: " + OpType); 637Debug.Fail("Unknown operator");
System\Data\Mapping\ViewGeneration\Structures\WithStatement.cs (1)
107Debug.Fail("Should not be called.");
System\Data\Mapping\ViewGeneration\Validation\ErrorPatternMatcher.cs (2)
719Debug.Fail("Unexpected comparison operator, only IsDisjointFrom and IsContainedIn are expected"); 737Debug.Fail("Unexpected comparison operator, only IsDisjointFrom and IsContainedIn are expected");
System\Data\Mapping\ViewGeneration\Validation\ViewCellSlot.cs (3)
114Debug.Fail("Should not be called."); 123Debug.Fail("Should not be called."); 132Debug.Fail("Should not be called.");
System\Data\Metadata\Converter.cs (3)
147Debug.Fail("Could not load model function definition"); //this should never happen. 488Debug.Fail("Operation action not supported."); 1194Debug.Fail("Should never get here.");
System\Data\Metadata\Edm\TypeUsage.cs (1)
490Debug.Fail("TypeUsage.SetReadOnly should not need to ever be called");
System\Data\Metadata\MetadataWorkspace.cs (1)
923Debug.Fail("Invalid DataSpace Enum value: " + dataSpace);
System\Data\Metadata\TypeSemantics.cs (1)
194Debug.Fail("cannot enumerate subnodes of a leaf node");
System\Data\Objects\ELinq\ExpressionConverter.cs (2)
1300Debug.Fail("unknown pattern"); 1328Debug.Fail("unexpected pattern");
System\Data\Objects\ELinq\InitializerFacet.cs (1)
106Debug.Fail("use typed Equals method only");
System\Data\Objects\ELinq\LinqExpressionNormalizer.cs (2)
430Debug.Fail("This method should never be called. It exists merely to support creation of relational LINQ expressions."); 442Debug.Fail("CreateRelationalOperator has unknown op " + op);
System\Data\Objects\ELinq\MethodCallTranslator.cs (1)
2840Debug.Fail("unreachable code");
System\Data\Objects\ELinq\OrderByLifter.cs (1)
250Debug.Fail("only valid for integer constants");
System\Data\Objects\ELinq\TypeSystem.cs (1)
82default: Debug.Fail("unexpected argument count"); delegateType = null; break;
System\Data\Objects\EntityEntry.cs (1)
3234Debug.Fail("detached entry");
System\Data\Objects\FieldDescriptor.cs (1)
93Debug.Fail(string.Format(CultureInfo.CurrentCulture, "The type {0} was not the expected scalar, enumeration, collection, structural, nominal, or reference type.", edmType.GetType()));
System\Data\Objects\Internal\NullEntityWrapper.cs (24)
42Debug.Fail("Cannot access RelationshipManager from null wrapper."); 51Debug.Fail("Cannot access RelationshipManager from null wrapper."); 69Debug.Fail("Cannot modify collection from null wrapper."); 74Debug.Fail("Cannot modify collection from null wrapper."); 82Debug.Fail("Cannot access EntityKey from null wrapper."); 87Debug.Fail("Cannot access EntityKey from null wrapper."); 101Debug.Fail("Cannot access Context from null wrapper."); 106Debug.Fail("Cannot access Context from null wrapper."); 114Debug.Fail("Cannot access MergeOption from null wrapper."); 121Debug.Fail("Cannot access Context from null wrapper."); 126Debug.Fail("Cannot access Context from null wrapper."); 131Debug.Fail("Cannot access Context from null wrapper."); 136Debug.Fail("Cannot access ChangeTracker from null wrapper."); 141Debug.Fail("Cannot take snapshot of using null wrapper."); 146Debug.Fail("Cannot take snapshot using null wrapper."); 153Debug.Fail("Cannot access IdentityType from null wrapper."); 160Debug.Fail("Cannot modify collection from null wrapper."); 165Debug.Fail("Cannot access property using null wrapper."); 171Debug.Fail("Cannot access property using null wrapper."); 176Debug.Fail("Cannot access property using null wrapper."); 181Debug.Fail("Cannot set a value onto a null entity."); 188Debug.Fail("Cannot access flag on null wrapper."); 193Debug.Fail("Cannot access flag on null wrapper."); 199Debug.Fail("Cannot UpdateCurrentValueRecord on a null entity.");
System\Data\Query\PlanCompiler\PlanCompiler.cs (1)
145System.Diagnostics.Debug.Fail(message);
System\Data\Query\ResultAssembly\BridgeDataRecord.cs (1)
477Debug.Fail("unexpected type of nested object result: " + result.GetType().ToString());
System\Data\SqlClient\SqlProviderServices.cs (1)
529Debug.Fail("unknown PrimitiveTypeKind " + primitiveTypeKind);
System.Data.Entity.Design (9)
System\Data\Entity\Design\Common\MetadataItemSerializer.cs (1)
349Debug.Fail("Did you add a new RelationshipMultiplicity?");
System\Data\Entity\Design\Common\MetadataUtil.cs (1)
224Debug.Fail("the name is not in the form we expect");
System\Data\Entity\Design\Common\OneToOneMappingSerializer.cs (1)
340Debug.Fail("Only TVF store functions are supported.");
System\Data\Entity\Design\EntityStoreSchemaGenerator.cs (2)
952Debug.Fail("Why didn't we find the column?"); 975Debug.Fail("Why didn't we find the column?");
System\Data\EntityModel\Emitters\EntityContainerEmitter.cs (2)
542Debug.Fail("parameter must be registered in identifier service"); 570Debug.Fail("parameter must be registered in identifier service");
System\Data\EntityModel\Emitters\PropertyEmitter.cs (2)
595Debug.Fail("Unexpected Property.Type type: " + propertyType.GetType()); 738Debug.Fail("Unsupported property type:" + type.ToString());
System.Data.Services (4)
System\Data\Services\Epm\EpmSyndicationContentDeSerializer.cs (1)
137Debug.Fail("Unhandled SyndicationItemProperty enum value - should never get here.");
System\Data\Services\Epm\EpmSyndicationContentSerializer.cs (2)
144Debug.Fail("Unhandled SyndicationItemProperty enum value - should never get here."); 245Debug.Fail("propertyToSet is not a Contributor property.");
System\Data\Services\RequestQueryProcessor.cs (1)
652Debug.Fail("Unexpected property type.");
System.Data.Services.Design (3)
System\Data\EntityModel\DataServiceBuildProvider.cs (2)
153Debug.Fail("Shouldn't be given a null virtual path"); 215Debug.Fail("Shouldn't get a null app virtual path from the app domain");
System\Data\EntityModel\Emitters\PropertyEmitter.cs (1)
520Debug.Fail("Unexpected Property.Type type: " + propertyType.GetType());
System.Data.SqlXml (65)
System\Xml\Xsl\IlGen\XmlIlVisitor.cs (4)
316Debug.Fail("Visit" + parent.NodeType + " should never be called"); 1638Debug.Fail("Comparisons for datatype " + code + " are invalid."); 3417Debug.Fail("Internal Xslt library may not use parameters of type " + clrTypeFormalArg); 3536Debug.Fail("Conversion from " + ndConv.Source.XmlType + " to " + ndConv.TargetType + " is not supported.");
System\Xml\Xsl\QIL\QilXmlReader.cs (1)
95Debug.Fail("Unexpected event " + r.NodeType + ", value " + r.Value);
System\Xml\Xsl\Runtime\XmlQueryContext.cs (1)
275Debug.Fail("This XmlTypeCode should never be inferred from a Clr type: " + xmlTypeFormalArg.TypeCode);
System\Xml\Xsl\Runtime\XmlQueryRuntime.cs (1)
734Debug.Fail("XmlTypeCode " + code + " was not fully handled.");
System\Xml\Xsl\Runtime\XsltConvert.cs (1)
320Debug.Fail("Conversion from " + value.XmlType.QualifiedName.Name + " to " + destinationType + " is not supported.");
System\Xml\Xsl\Runtime\XsltFunctions.cs (1)
254Debug.Fail("Unexpected type: " + o.GetType().ToString());
System\Xml\Xsl\Runtime\XsltLibrary.cs (1)
442Debug.Fail("Invalid XSLT value");
System\Xml\Xsl\XmlQueryTypeFactory.cs (2)
1123Debug.Fail("Don't know how to serialize " + type.GetType().ToString()); 1140Debug.Fail("Unexpected XmlQueryType's subtype id");
System\Xml\Xsl\XPath\XPathBuilder.cs (6)
47Debug.Fail("Must not be called"); 115Debug.Fail(op + " is not a valid XPathOperator"); 144Debug.Fail("Wrong operator type"); 247Debug.Fail("Wrong operator type"); 354Debug.Fail("Invalid EnumValue 'XPathAxis'"); 520Debug.Fail(func.id + " is present in the function table, but absent from the switch");
System\Xml\Xsl\XPath\XPathQilFactory.cs (1)
168default : Debug.Fail("Unexpected XmlTypeCode: " + requiredType); return null;
System\Xml\Xsl\XPath\XPathScanner.cs (1)
508Debug.Fail("Unexpected LexKind: " + t.ToString());
System\Xml\Xsl\XslException.cs (1)
49Debug.Fail("Resource string '" + res + "' was not found");
System\Xml\Xsl\Xslt\QilGenerator.cs (2)
643default: Debug.Fail("Unexpected type of AST node: " + nodeType.ToString()); result = null; break; 1571Debug.Fail("Unexpected NodeKind: " + nodeKinds.ToString());
System\Xml\Xsl\Xslt\QilGeneratorEnv.cs (3)
33Debug.Fail("Should never get here"); 120Debug.Fail(func.id + " is present in the function table, but absent from the switch"); 208default: Debug.Fail("This XmlTypeCode should never be inferred from a Clr type: " + xmlTypeFormalArg.TypeCode); break;
System\Xml\Xsl\Xslt\XPathPatternBuilder.cs (2)
393Debug.Fail("GetPosition() must not be called"); 398Debug.Fail("GetLast() must not be called");
System\Xml\Xsl\Xslt\XslAstAnalyzer.cs (1)
1030Debug.Fail("Unexpected XmlQueryType for script function: " + xt.ToString());
System\Xml\Xsl\Xslt\XsltLoader.cs (2)
83Debug.Fail("Should never get here"); 292Debug.Fail("AddTemplate() returned false for simplified stylesheet");
System\Xml\Xsl\XsltOld\ApplyTemplatesAction.cs (1)
178Debug.Fail("Invalid ApplyTemplatesAction execution state");
System\Xml\Xsl\XsltOld\AttributeAction.cs (1)
143Debug.Fail("Invalid ElementAction execution state");
System\Xml\Xsl\XsltOld\CallTemplateAction.cs (1)
100Debug.Fail("Invalid CallTemplateAction execution state");
System\Xml\Xsl\XsltOld\CommentAction.cs (1)
48Debug.Fail("Invalid IfAction execution state");
System\Xml\Xsl\XsltOld\ContainerAction.cs (1)
812Debug.Fail("Invalid Container action execution state");
System\Xml\Xsl\XsltOld\CopyAction.cs (1)
108Debug.Fail("Invalid CopyAction execution state");
System\Xml\Xsl\XsltOld\CopyCodeAction.cs (1)
71Debug.Fail("Invalid CopyCodeAction execution state");
System\Xml\Xsl\XsltOld\ElementAction.cs (1)
133Debug.Fail("Invalid ElementAction execution state");
System\Xml\Xsl\XsltOld\IfAction.cs (1)
85Debug.Fail("Invalid IfAction execution state");
System\Xml\Xsl\XsltOld\MessageAction.cs (1)
64Debug.Fail("Invalid MessageAction execution state");
System\Xml\Xsl\XsltOld\NavigatorOutput.cs (1)
86Debug.Fail("Invalid NodeType on output: " + mainNode.NodeType);
System\Xml\Xsl\XsltOld\NewInstructionAction.cs (1)
65Debug.Fail("Invalid Container action execution state");
System\Xml\Xsl\XsltOld\NumberAction.cs (2)
313Debug.Fail("We implementing preceding-sibling::node() and some how miss context node 'nav'"); 396Debug.Fail("Invalid Number Action execution state");
System\Xml\Xsl\XsltOld\ProcessingInstructionAction.cs (1)
105Debug.Fail("Invalid ElementAction execution state");
System\Xml\Xsl\XsltOld\Processor.cs (6)
688Debug.Fail("Unexpected result of RecordBuilder.BeginEvent()"); 724Debug.Fail("Unexpected result of RecordBuilder.TextEvent()"); 756Debug.Fail("Unexpected result of RecordBuilder.TextEvent()"); 782Debug.Fail("Invalid XPathNodeType in CopyBeginEvent"); 809Debug.Fail("Invalid XPathNodeType in CopyTextEvent"); 837Debug.Fail("Invalid XPathNodeType in CopyEndEvent");
System\Xml\Xsl\XsltOld\RootAction.cs (1)
259Debug.Fail("Invalid RootAction execution state");
System\Xml\Xsl\XsltOld\SequentialOutput.cs (4)
387Debug.Fail("Should never get here"); 425Debug.Fail("Should never get here"); 433Debug.Fail("Should never get here"); 454Debug.Fail("Should never get here");
System\Xml\Xsl\XsltOld\TemplateAction.cs (1)
221Debug.Fail("Invalid Container action execution state");
System\Xml\Xsl\XsltOld\TextAction.cs (1)
74Debug.Fail("Invalid execution state in TextAction");
System\Xml\Xsl\XsltOld\UseAttributesetsAction.cs (1)
76Debug.Fail("Invalid Container action execution state");
System\Xml\Xsl\XsltOld\ValueOfAction.cs (2)
77Debug.Fail("Invalid ValueOfAction execution state"); 111Debug.Fail("Invalid BuiltInRuleTextAction execution state");
System\Xml\Xsl\XsltOld\VariableAction.cs (1)
156Debug.Fail("Invalid execution state inside VariableAction.Execute");
System\Xml\Xsl\XsltOld\WithParamAction.cs (1)
61Debug.Fail("Invalid execution state inside VariableAction.Execute");
System\Xml\Xsl\XsltOld\WriterOutput.cs (1)
79Debug.Fail("Invalid NodeType on output: " + mainNode.NodeType);
System.Drawing (39)
commonui\System\Drawing\Advanced\Font.cs (2)
117Debug.Fail("Unknown serialization item for font: " + sie.Name); 600Debug.Fail( "Exception thrown during Dispose: " + ex.ToString() );
commonui\System\Drawing\Advanced\FontFamily.cs (1)
292Debug.Fail("Exception thrown during Dispose: " + ex.ToString());
commonui\System\Drawing\Advanced\Gdiplus.cs (3)
3186Debug.Fail("We should be special casing FontFamilyNotFound so we can provide the font name"); 3190Debug.Fail("We should be special casing FontStyleNotFound so we can provide the font name"); 3194Debug.Fail("We should be special casing NotTrueTypeFont so we can provide the font name");
commonui\System\Drawing\Advanced\GraphicsPath.cs (1)
233Debug.Fail( "Exception thrown during Dispose: " + ex.ToString() );
commonui\System\Drawing\Advanced\GraphicsPathIterator.cs (1)
80Debug.Fail( "Exception thrown during Dispose: " + ex.ToString() );
commonui\System\Drawing\Advanced\ImageAttributes.cs (1)
117Debug.Fail( "Exception thrown during Dispose: " + ex.ToString() );
commonui\System\Drawing\Advanced\PrivateFontCollection.cs (1)
80Debug.Fail( "Exception thrown during Dispose: " + ex.ToString() );
commonui\System\Drawing\Advanced\SafeCustomLineCapHandle.cs (1)
42Debug.Fail("Exception thrown during ReleaseHandle: " + ex.ToString());
commonui\System\Drawing\Advanced\StringFormat.cs (1)
197Debug.Fail( "Exception thrown during Dispose: " + ex.ToString() );
commonui\System\Drawing\Advanced\SystemColorTracker.cs (1)
127Debug.Fail("SystemColorTracker is using way more memory than expected.");
commonui\System\Drawing\Brush.cs (1)
114Debug.Fail( "Exception thrown during Dispose: " + ex.ToString() );
commonui\System\Drawing\BufferedGraphicsContext.cs (1)
582Debug.Fail("Never let a graphics buffer finalize!");
commonui\System\Drawing\Graphics.cs (2)
417Debug.Fail("Exception thrown during disposing: \r\n" + ex.ToString()); 4418Debug.Fail("Warning: context state not found!");
commonui\System\Drawing\Image.cs (7)
104Debug.Fail("failure: " + e.ToString()); 107Debug.Fail("failure: " + e.ToString()); 110Debug.Fail("failure: " + e.ToString()); 113Debug.Fail("failure: " + e.ToString()); 116Debug.Fail("failure: " + e.ToString()); 119Debug.Fail("failure: " + e.ToString()); 383Debug.Fail( "Exception thrown during Dispose: " + ex.ToString() );
commonui\System\Drawing\Pen.cs (1)
223Debug.Fail( "Exception thrown during Dispose: " + ex.ToString() );
commonui\System\Drawing\Printing\PrintDocument.cs (6)
149Debug.Fail("Can't find System.Windows.Forms.PrintControllerWithStatusDialog, proceeding with StandardPrintController"); 152Debug.Fail("Can't find System.Windows.Forms.PrintControllerWithStatusDialog, proceeding with StandardPrintController"); 155Debug.Fail("Can't find System.Windows.Forms.PrintControllerWithStatusDialog, proceeding with StandardPrintController"); 158Debug.Fail("Can't find System.Windows.Forms.PrintControllerWithStatusDialog, proceeding with StandardPrintController"); 161Debug.Fail("Can't find System.Windows.Forms.PrintControllerWithStatusDialog, proceeding with StandardPrintController"); 164Debug.Fail("Can't find System.Windows.Forms.PrintControllerWithStatusDialog, proceeding with StandardPrintController");
commonui\System\Drawing\Printing\PrinterSettings.cs (1)
1163Debug.Fail("Invalid field in GetModeField");
commonui\System\Drawing\Printing\PrinterUnitConvert.cs (1)
123Debug.Fail("Unknown PrinterUnit " + unit);
commonui\System\Drawing\Region.cs (1)
229Debug.Fail( "Exception thrown during Dispose: " + ex.ToString() );
commonui\System\Drawing\ToolboxBitmapAttribute.cs (3)
346Debug.Fail("Failed to load toolbox image '" + imageFile + "':\r\n" + e.ToString()); 457Debug.Fail("Failed to load toolbox image for null type:\r\n" + e.ToString()); 460Debug.Fail("Failed to load toolbox image for '" + t.FullName + "':\r\n" + e.ToString());
misc\GDI\WindowsGraphics.cs (1)
294Debug.Fail("Exception thrown during disposing: \r\n" + ex.ToString());
misc\HandleCollector.cs (1)
252System.Diagnostics.Debug.Fail("Handle collector underflow for type '" + name + "'");
System.Web (11)
Compilation\DataBindingExpressionBuilder.cs (1)
149Debug.Fail("This should never be called");
Routing\ParsedRoute.cs (7)
265Debug.Fail("Invalid path subsegment type"); 284Debug.Fail("Invalid path segment type"); 363Debug.Fail("Invalid path subsegment type"); 369Debug.Fail("Invalid path segment type"); 464Debug.Fail("Invalid path segment type"); 585Debug.Fail("Invalid path segment type"); 601Debug.Fail("indexOfLastSegementUsed should always be 0 from the check above");
Routing\RouteParser.cs (1)
322Debug.Fail("Invalid path subsegment type");
UI\ControlValuePropertyAttribute.cs (1)
50System.Diagnostics.Debug.Fail("ControlValuePropertyAttribute: Default value of type " + type.FullName + " threw converting from the string '" + defaultValue + "'.");
UI\WebControls\Parameter.cs (1)
280Debug.Fail("Should never reach this point.");
System.Web.DataVisualization (3)
Common\ChartTypes\ErrorBarChart.cs (1)
1787System.Diagnostics.Debug.Fail("Unknown ErrorBarType=" + errorBarType.ToString());
Common\Formulas\FormulaHelpers.cs (1)
112Debug.Fail(String.Format(CultureInfo.InvariantCulture, "{0} case is not defined", formula));
WebForm\General\ChartHttpHandler.cs (1)
1356Debug.Fail("Unknown ImageOwnerKeyType.");
System.Web.Entity.Design (6)
System\Data\WebControls\Design\EntityDataSourceDesignerHelper.cs (1)
120Debug.Fail("Failed to find System.Web.Entity assembly.");
System\Data\WebControls\Design\EntityDataSourceStatementEditor.cs (5)
101Debug.Fail("Unknown property name in EntityDataSourceStatementEditor: " + propertyName); 117Debug.Fail("Unknown property name in EntityDataSourceStatementEditor: " + propertyName); 136Debug.Fail("Unknown property name in EntityDataSourceStatementEditor: " + propertyName); 155Debug.Fail("Unknown property name in EntityDataSourceStatementEditor: " + propertyName); 178Debug.Fail("Unknown property name in EntityDataSourceStatementEditor: " + propertyName);
System.Web.Extensions (14)
Compilation\WCFBuildProvider.cs (2)
413Debug.Fail("Shouldn't be given a null virtual path"); 475Debug.Fail("Shouldn't get a null app virtual path from the app domain");
Compilation\WCFModel\MetadataFile.cs (2)
361Debug.Fail("Source ID shouldn't be a nagtive number"); 712System.Diagnostics.Debug.Fail("Unknown Type?");
Compilation\WCFModel\MetadataSource.cs (2)
83Debug.Fail("Source ID shouldn't be a nagtive number"); 149Debug.Fail("Source ID shouldn't be a nagtive number");
Compilation\WCFModel\SchemaMerger.cs (1)
589Debug.Fail("Why we didn't get a property name with normal routine?");
Compilation\WCFModel\VSWCFServiceContractGenerator.cs (2)
1107System.Diagnostics.Debug.Fail("Why are you asking if a NULL type is shareable?"); 1281System.Diagnostics.Debug.Fail("Unknown serializer");
UI\ScriptReference.cs (1)
477Debug.Fail("Invalid value for ScriptReference.EffectiveScriptMode");
UI\WebControls\Expressions\OrderByExpression.cs (2)
88Debug.Fail("shouldn't get here!"); 100Debug.Fail("shouldn't get here!");
UI\WebControls\Expressions\RangeExpression.cs (2)
108Debug.Fail("shouldn't get here!"); 123Debug.Fail("shouldn't get here!");
System.Web.Mobile (26)
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlMobileTextWriter.cs (2)
315Debug.Fail ("Only call EnterStyleInternal when caching rendering"); 390Debug.Fail ("Only call when caching rendering");
UI\MobileControls\Design\AppliedDeviceFiltersDialog.cs (1)
256Debug.Fail(e.ToString());
UI\MobileControls\Design\Converters\FormConverter.cs (2)
94Debug.Fail("Unrecognized object passed in"); 132Debug.Fail("container is null");
UI\MobileControls\Design\Converters\StyleReferenceConverter.cs (2)
62Debug.Fail("Unsupported objects passed in"); 83Debug.Fail("Unsupported type passed in");
UI\MobileControls\Design\Converters\ValidatedMobileControlConverter.cs (1)
82Debug.Fail("Unsupported object passed in");
UI\MobileControls\Design\DeviceFilterEditorDialog.cs (2)
494Debug.Fail(e.ToString()); 694Debug.Fail("Unknown sender.");
UI\MobileControls\Design\MobileControlDesigner.cs (1)
295Debug.Fail(ex.ToString());
UI\MobileControls\Design\MobileControlPersister.cs (4)
385Debug.Fail("Cannot persist inner string property marked with PersistenceMode.InnerProperty"); 395Debug.Fail("Cannot persist template property " + propDescs[i].Name + " not marked with PersistenceMode.InnerProperty"); 417Debug.Fail("Cannot persist collection property " + propDescs[i].Name + " not marked with PersistenceMode.InnerProperty or PersistenceMode.InnerDefaultProperty"); 426Debug.Fail("Cannot persist complex property " + propDescs[i].Name + " not marked with PersistenceMode.InnerProperty");
UI\MobileControls\Design\MobileTemplatedControlDesigner.cs (1)
538Debug.Fail(ex.ToString());
UI\MobileControls\Design\PropertyOverridesDialog.cs (1)
230Debug.Fail("Loaded duplicate choice: " +
UI\MobileControls\Design\PropertyOverridesTypeEditor.cs (1)
98Debug.Fail(e.ToString());
UI\MobileControls\Design\StyleSheetDesigner.cs (2)
943Debug.Fail(ex.ToString()); 1203Debug.Fail(ex.ToString());
UI\MobileControls\Design\Util\FileReader.cs (1)
48Debug.Fail("FileReader - Unable to read url '"
UI\MobileControls\Design\Util\MSHTMLHost.cs (2)
374Debug.Fail(e.ToString()); 394Debug.Fail(e.ToString());
UI\MobileControls\Design\Util\WbmpConverter.cs (2)
41Debug.Fail("Wbmp is not type 0. (Unsupported)"); 82Debug.Fail("Wbmp file appears to be corrupt.");
UI\MobileControls\Design\Util\WebConfigManager.cs (1)
90Debug.Fail(ex.ToString());
System.Windows.Forms (228)
misc\GDI\WindowsGraphics.cs (1)
294Debug.Fail("Exception thrown during disposing: \r\n" + ex.ToString());
misc\GDI\WindowsSolidBrush.cs (1)
38Debug.Fail("CreateSolidBrush failed : " + DbgUtil.GetLastErrorStr());
misc\HandleCollector.cs (1)
252System.Diagnostics.Debug.Fail("Handle collector underflow for type '" + name + "'");
misc\ImageListUtils.cs (2)
30Debug.Fail("A property specified in the path is null or not yet instanciated at this time"); 35Debug.Fail("The path specified to the property is wrong");
winforms\Managed\System\WinForms\AccessibleObject.cs (1)
2802Debug.Fail($"{nameof(this.ScrollIntoView)}() is not overriden");
winforms\Managed\System\WinForms\Application.cs (3)
2289Debug.Fail("Unknown dwgac in FGetActiveComponent"); 4129Debug.Fail("How did parkingwindow childcount go negative???"); 4138Debug.Fail("How did parkingwindow childcount go negative???");
winforms\Managed\System\WinForms\AxHost.cs (50)
1194Debug.Fail(t.ToString()); 1369Debug.Fail("Failed to UiDeactivate: " + hr.ToString(CultureInfo.InvariantCulture)); 1522Debug.Fail(e.ToString()); 1675Debug.Fail("how did we ever get into the open state?"); 1707Debug.Fail("bad state"); 1795Debug.Fail("bad state"); 1819Debug.Fail(t.ToString()); 1879Debug.Fail("extremely naughty ctl is refusing to give us an hWnd... giving up..."); 1944Debug.Fail(t.ToString()); 2131Debug.Fail("error in processMnemonic"); 2132Debug.Fail(t.ToString()); 2182Debug.Fail("Trying to reload with a OcxState that is of a different type."); 2239Debug.Fail("unknown storage type."); 2370Debug.Fail("unknown storage type"); 2486Debug.Fail(t.ToString()); 2495Debug.Fail(t.ToString()); 2655Debug.Fail(t.ToString()); 2695Debug.Fail(t.ToString()); 2919Debug.Fail("Duplicate property with same name: " + propName); 3149Debug.Fail("no implemented persitance interfaces on object"); 3191Debug.Fail("unknown storage type."); 3235Debug.Fail(t.ToString()); 3247Debug.Fail(t.ToString()); 3316Debug.Fail(t.ToString()); 3395Debug.Fail(t.ToString()); 3813Debug.Fail("Attempted to disconnect ConnectionPointCookie from the finalizer with no SynchronizationContext."); 3827Debug.Fail("Attempted to disconnect ConnectionPointCookie from the wrong thread (finalizer)."); 3902Debug.Fail("Attempted to disconnect ConnectionPointCookie from the finalizer with no SynchronizationContext."); 3946Debug.Fail("Attempted to disconnect ConnectionPointCookie from the wrong thread (finalizer)."); 4172Debug.Fail("we can't be in showobject if we own our window..."); 4233Debug.Fail(t.ToString()); 4287Debug.Fail(t.ToString()); 4404Debug.Fail(t.ToString()); 4496Debug.Fail(t.ToString()); 4673Debug.Fail("Invalid cast in GetInPlaceActiveObject: " + e.ToString()); 4863Debug.Fail("Invalid image type "+ type.ToString(CultureInfo.InvariantCulture)); 5464Debug.Fail("onlyNext && onlyPrev are both set!"); 5469Debug.Fail("GC_WCH_FONLYNEXT or FONLYPREV used with CONTANER or CONATINED"); 5478Debug.Fail("Bad GC_WCH"); 5798Debug.Fail("what pathological control is calling inplacedeactivate by itself?"); 6039Debug.Fail(t.ToString()); 6042Debug.Fail("control " + ctlInEditMode.ToString() + " did not reset its edit mode to null"); 6646Debug.Fail("failure: " + e.ToString()); 6660Debug.Fail("failure: " + e.ToString()); 6717Debug.Fail(t.ToString()); 6941Debug.Fail(t.ToString()); 7090Debug.Fail(t.ToString()); 7235Debug.Fail("An exception occurred inside IPerPropertyBrowsing::GetPredefinedStrings(dispid=" + 7446Debug.Fail("Bad IPerPropertyBrowsing item [" + i.ToString(CultureInfo.InvariantCulture) + "], name=" + (nameItems == null ? "(unknown)" : nameItems[i].ToString())); 7467Debug.Fail("Failed to build IPerPropertyBrowsing editor. " + ex.GetType().Name + ", " + ex.Message);
winforms\Managed\System\WinForms\BindingSource.cs (1)
1305Debug.Fail("BindingSource.SetList() was called with illegal <null> list argument!");
winforms\Managed\System\WinForms\ButtonBase.cs (6)
982Debug.Fail("Unsupported FlatStyle: '" + FlatStyle + '"'); 992Debug.Fail("Derived classes need to provide a meaningful implementation."); 997Debug.Fail("Derived classes need to provide a meaningful implementation."); 1002Debug.Fail("Derived classes need to provide a meaningful implementation."); 1010Debug.Fail("Adapter not expected to be null at this point"); 1018Debug.Fail( "Adapter not expected to be null at this point" );
winforms\Managed\System\WinForms\ButtonInternal\CheckableControlBaseAdapter.cs (1)
61Debug.Fail("Unexpected control type '" + Control.GetType().FullName + "'");
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2ColorConverter.cs (1)
71Debug.Fail("Don't know how to set type:" + managedValue.GetType().Name);
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2IManagedPerPropertyBrowsingHandler.cs (5)
109Debug.Fail("No dot in class name?"); 122Debug.Fail("Failed load attribute '" + attrName + assemblyName + "'. It's Type could not be found."); 144Debug.Fail("Couldn't load field '" + fieldName + "' from type '" + attrName.Substring(0,lastDot) + "'. It does not exist or is not static"); 173Debug.Fail("Attribute " + t.FullName + " did not have a initalizer specified and has no default constructor"); 187Debug.Fail("Attribute " + t.FullName + " did not have a initalizer specified and has no default constructor");
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2IPerPropertyBrowsingHandler.cs (3)
123Debug.Fail("An exception occurred inside IPerPropertyBrowsing::GetPredefinedStrings(dispid=" + sender.DISPID + "), object type=" + new ComNativeDescriptor().GetClassName(ppb) + ". This is caused by an exception (usually an AV) inside the object being browsed, and is not a problem in the properties window."); 286Debug.Fail("Bad IPerPropertyBrowsing item [" + i.ToString(CultureInfo.InvariantCulture) + "], name=" + (nameItems == null ? "(unknown)" : nameItems[i].ToString())); 332Debug.Fail("Failed to build IPerPropertyBrowsing editor. " + ex.GetType().Name + ", " + ex.Message);
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2IProvidePropertyBuilderHandler.cs (1)
34Debug.Fail("Property Browser doesn't support standard builders -- NYI");
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2PictureConverter.cs (2)
81Debug.Fail("Unknown picture type"); 123Debug.Fail("Unknown Image type: " + managedValue.GetType().Name);
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2PropertyBuilderUITypeEditor.cs (1)
81Debug.Fail("Failed to show property frame: " + ex.ErrorCode.ToString(CultureInfo.InvariantCulture));
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2TypeInfoProcessor.cs (3)
456Debug.Fail("ProcessFunctions failed with hr=" + ex.ErrorCode.ToString(CultureInfo.InvariantCulture) + ", message=" + ex.ToString()); 464Debug.Fail("ProcessVariables failed with hr=" + ex.ErrorCode.ToString(CultureInfo.InvariantCulture) + ", message=" + ex.ToString()); 541Debug.Fail(String.Format(CultureInfo.CurrentCulture, "ITypeInfo::GetDocumentation didn't return a name for DISPID 0x{0:X} but returned SUCEEDED(hr), Component=" + cnd.GetClassName(typeInfo), dispid));
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\ComNativeDescriptor.cs (1)
432Debug.Fail("Failed to find Com2 properties key on dispose.");
winforms\Managed\System\WinForms\Control.cs (10)
617Debug.Fail("Accessible objects for controls must be derived from ControlAccessibleObject."); 6646Debug.Fail("Unknown XButton: " + wparam); 9862Debug.Fail("Unknown PaintLayer " + layer); 12884Debug.Fail("contextmenu and contextmenustrip are both null... hmm how did we get here?"); 15561Debug.Fail("Exception occurred during DoVerb(" + iVerb + ") " + e.ToString()); 16474Debug.Fail("Do not reference IsIE property unless control is sited."); 17335Debug.Fail("Expected property " + props[i].Name + " to be stored in IPropertyBag as a string. Attempting to coerce"); 17425Debug.Fail("No ambient property for dispid " + dispid.ToString(CultureInfo.InvariantCulture)); 17505Debug.Fail("There is no property change notification for: " + propName + " on Control."); 19035Debug.Fail("Caller of IEnumOLEVERB requested celt > 1, but clr marshalling does not support this.");
winforms\Managed\System\WinForms\ControlPaint.cs (3)
387Debug.Fail("border style has no corresponding dash style"); 442Debug.Fail("Unsupported border style."); 552Debug.Fail("Unknown border style");
winforms\Managed\System\WinForms\Cursor.cs (5)
505Debug.Fail("Cursor.Draw does not support raster ops. How did you even pass one in?"); 552Debug.Fail("Why are we trying to serialize an empty cursor?"); 584Debug.Fail(e.ToString()); 659Debug.Fail(e.ToString()); 682Debug.Fail(e.ToString());
winforms\Managed\System\WinForms\DataGrid.cs (2)
3571Debug.Fail("Horizontal Scrollbar should be disabled without a DataSource."); 3654Debug.Fail("Vertical Scrollbar should be disabled without a DataSource.");
winforms\Managed\System\WinForms\DataGridView.cs (1)
1576Debug.Fail("Unexpected this.advancedCellBorderStyle.All value in CellBorderStyle.get");
winforms\Managed\System\WinForms\DataGridViewCell.cs (2)
1003Debug.Fail("DataGridViewRow.AdjustCellBorderStyle - Unexpected DataGridViewAdvancedCellBorderStyle.OutsetPartial"); 3439Debug.Fail("there are only three choices for CurrentMouseLocation");
winforms\Managed\System\WinForms\DataGridViewCheckBoxColumn.cs (1)
318Debug.Fail("we can't compute the default cell style w/o a template cell");
winforms\Managed\System\WinForms\DataGridViewColumnCollection.cs (2)
519Debug.Fail("no column found in GetColumnAtDisplayIndex"); 1128Debug.Fail("Column should have been found in DataGridViewColumnCollection.Remove");
winforms\Managed\System\WinForms\DataGridViewDataConnection.cs (1)
976Debug.Fail("we only care about which data fields are read only when we are data bound");
winforms\Managed\System\WinForms\DataGridViewImageColumn.cs (1)
309Debug.Fail("we can't compute the default cell style w/o a template cell");
winforms\Managed\System\WinForms\DataGridViewMethods.cs (11)
1484Debug.Fail("DataGridView.AreAllCellsSelected - Shouldn't reach this code"); 2103Debug.Fail("Unexpected rowHeadersWidthSizeMode value in AutoResizeRowHeadersWidth"); 2276Debug.Fail("Unexpected rowHeadersWidthSizeMode value in AutoResizeRowHeadersWidth"); 8623Debug.Fail("Could not find column in GetColumnXFromIndex"); 9356Debug.Fail("Could not find row in GetRowYFromIndex"); 10602Debug.Fail("Unexpected autoSizeRowsMode value in MapAutoSizeRowsModeToRowMode"); 15252Debug.Fail("Unexpected DataGridViewElementStates param in DataGridView.OnDataGridViewElementStateChanging"); 15311Debug.Fail("Unexpected DataGridViewElementStates param in DataGridView.OnDataGridViewElementStateChanging"); 15351Debug.Fail("Unexpected DataGridViewElementStates param in DataGridView.OnDataGridViewElementStateChanging"); 15357Debug.Fail("Unexpected DataGridViewElement type in DataGridView.OnDataGridViewElementStateChanging"); 19883Debug.Fail("DataGridView.PaintBorder - Unexpected BorderStyle value.");
winforms\Managed\System\WinForms\DataGridViewRowCollection.cs (2)
2198Debug.Fail("Unexpected cca value in DataGridViewRowCollecttion.OnCollectionChanged"); 2460Debug.Fail("Unexpected DataGridViewElementStates parameter in DataGridViewRowCollection.SetRowState.");
winforms\Managed\System\WinForms\DataObject.cs (1)
1682Debug.Fail(e.ToString());
winforms\Managed\System\WinForms\Design\ComponentEditorForm.cs (1)
558Debug.Fail(e.ToString());
winforms\Managed\System\WinForms\ErrorProvider.cs (1)
1506Debug.Fail("Unknown ErrorIconAlignment value");
winforms\Managed\System\WinForms\Form.cs (1)
7889Debug.Fail("TTM_ADDTOOL failed for security tip");
winforms\Managed\System\WinForms\Help.cs (1)
253Debug.Fail("Cannot handle HTML parameter of type: " + htmlParam.GetType());
winforms\Managed\System\WinForms\ImageList.cs (2)
339Debug.Fail("Unknown color depth"); 534Debug.Fail("Unknown color depth in ImageList");
winforms\Managed\System\WinForms\Layout\DockAndAnchorLayout.cs (1)
332Debug.Fail("Unsupported value for dock.");
winforms\Managed\System\WinForms\Layout\LayoutUtils.cs (2)
460Debug.Fail("Unsupported value for region1Align."); 492Debug.Fail("Unsupported value for region1Align.");
winforms\Managed\System\WinForms\Layout\TableLayout.cs (1)
1285Debug.Fail("Why are we here when child or container is null?");
winforms\Managed\System\WinForms\ListViewItem.cs (1)
1041Debug.Fail("we handled all the 4 directions");
winforms\Managed\System\WinForms\MaskedTextBox.cs (3)
630Debug.Fail("Invalid InsertKeyMode. This code path should have never been executed."); 1217Debug.Fail("Could not get IME input context."); 3168Debug.Fail(ex.ToString());
winforms\Managed\System\WinForms\MenuItem.cs (1)
997Debug.Fail("Weakref for menu item has expired or has been removed! Who is trying to access this ID?");
winforms\Managed\System\WinForms\MessageBox.cs (1)
100Debug.Fail("Why are we being called when there's nothing to pop?");
winforms\Managed\System\WinForms\NativeWindow.cs (2)
446Debug.Fail("native window hash table insert failed! Load factor too high, or our double hashing function is incorrect."); 955Debug.Fail("NativeWindow hashtable capacity overflow");
winforms\Managed\System\WinForms\PictureBox.cs (1)
470Debug.Fail("Unsupported PictureBoxSizeMode value: " + mode);
winforms\Managed\System\WinForms\PropertyGrid.cs (4)
2487Debug.Fail("Failed to add a large property grid toolstrip button, " + ex.ToString()); 4254Debug.Fail("Failed to find the tab!"); 4472Debug.Fail(ex.ToString()); 4491Debug.Fail(e.ToString());
winforms\Managed\System\WinForms\PropertyGridInternal\GridEntry.cs (4)
1161Debug.Fail(e.ToString()); 1636Debug.Fail("Bad property '" + peParent.PropertyLabel + "." + pd.Name + "': " + w.ToString()); 1690Debug.Fail("Failed to get properties: " + e.GetType().Name + "," + e.Message + "\n" + e.StackTrace); 3137Debug.Fail("Attribute '" + a.GetType().FullName + "' does not have a typeid.");
winforms\Managed\System\WinForms\PropertyGridInternal\GridToolTip.cs (1)
210Debug.Fail("TTM_ADDTOOL failed for " + c.GetType().Name);
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (11)
1120Debug.Fail(e.ToString()); 1302Debug.Fail(ex.ToString()); 1487Debug.Fail(ex.ToString()); 1959Debug.Fail(ex.ToString()); 2011Debug.Fail(e.ToString()); 2119Debug.Fail("We have a bad client width!"); 3572Debug.Fail("Caught exception in OnPaint"); 4727Debug.Fail("Committing with no selected row!"); 4835Debug.Fail("Committing with no selected row!"); 7583Debug.Fail(ex.ToString()); 7607Debug.Fail(ex.ToString());
winforms\Managed\System\WinForms\PropertyStore.cs (6)
220Debug.Fail("Invalid element obtained from LocateIntegerEntry"); 279Debug.Fail("Invalid element obtained from LocateObjectEntry"); 541Debug.Fail("Invalid element obtained from LocateIntegerEntry"); 611Debug.Fail("Invalid element obtained from LocateObjectEntry"); 754Debug.Fail("Invalid element obtained from LocateIntegerEntry"); 814Debug.Fail("Invalid element obtained from LocateObjectEntry");
winforms\Managed\System\WinForms\StatusBar.cs (1)
1033Debug.Fail("OwnerDraw item out of range");
winforms\Managed\System\WinForms\TableLayoutSettings.cs (3)
461Debug.Fail("Name property missing on control"); 538Debug.Fail("Name property missing on control"); 698Debug.Fail("Unsupported SizeType.");
winforms\Managed\System\WinForms\TableLayoutSettingsTypeConverter.cs (2)
153Debug.Fail(string.Format(CultureInfo.CurrentCulture, "Failed to parse int: {0}", attributeValue)); 229Debug.Fail(string.Format(CultureInfo.CurrentCulture, "Failed to parse float for style: {0}", floatString));
winforms\Managed\System\WinForms\TextBoxBase.cs (1)
2274Debug.Fail("contextmenu and contextmenustrip are both null... hmm how did we get here?");
winforms\Managed\System\WinForms\ToolStrip.cs (2)
4893Debug.Fail("No item matched the index??"); 5569Debug.Fail("Could not calculate the relative position for AllowItemReorder");
winforms\Managed\System\WinForms\ToolStripControlHost.cs (1)
808Debug.Fail("why are we here? control should not be null");
winforms\Managed\System\WinForms\ToolStripDropDown.cs (2)
876Debug.Fail("You can't set this except on ToolStripDropDownMenu"); 2149Debug.Fail("Why are we being activated when we're not visible? Deactivating thingee is " + WindowsFormsUtils.GetControlInformation(m.LParam));
winforms\Managed\System\WinForms\ToolStripDropDownItem.cs (2)
643Debug.Fail("Why are we here"); 951Debug.Fail("No item matched the index?");
winforms\Managed\System\WinForms\ToolStripDropDownMenu.cs (3)
724Debug.Fail("Why wasn't 'UpdateScrollButtonStatus called'? We don't have the item to scroll by"); 732Debug.Fail("We're trying to scroll up, but the top item is displayed!!!"); 744Debug.Fail("We're trying to scroll down, but the top item is displayed!!!");
winforms\Managed\System\WinForms\ToolStripItem.cs (3)
3848Debug.Fail("could not determine current parent"); 4456Debug.Fail("No item matched the index?"); 4764Debug.Fail("Why are we here without an owner?");
winforms\Managed\System\WinForms\ToolStripManager.cs (2)
197Debug.Fail("passed in bogus toolstrip, why?"); 1766Debug.Fail("why are we passing null to GetMainMenuStrip?");
winforms\Managed\System\WinForms\ToolStripMenuItem.cs (3)
704Debug.Fail("why were we called to fetch native menu item info with nothing assigned?"); 721Debug.Fail("why were we called to fetch native menu item info with nothing assigned?"); 768Debug.Fail("why were we called to fetch native menu item info with nothing assigned?");
winforms\Managed\System\WinForms\ToolStripPanel.cs (6)
865Debug.Fail("somehow we've gotten ourself in a situation where we're pumping an unreasonable number of paint messages, investigate."); 970Debug.Fail("Move called on immovable object."); 1239Debug.Fail(String.Format(CultureInfo.CurrentCulture, "ToolStripPanelRow has not been assigned! Should be set to {0}.", i)); 1242Debug.Fail(String.Format(CultureInfo.CurrentCulture, "Detected orphan cell! {0} is in row {1}. It shouldnt have a cell in {2}! \r\n\r\nTurn on DEBUG_PAINT in ToolStripPanel and ToolStripPanelRow to investigate.", cell.Control.Name, goodRowIndex, i)); 1247Debug.Fail("why do we have a cell with a null control in this row?"); 1296Debug.Fail(fail);
winforms\Managed\System\WinForms\ToolStripPanelRow.cs (2)
859Debug.Fail("why was a negative number given to growControlsAfter?"); 886Debug.Fail("why was a negative number given to growControlsAfter?");
winforms\Managed\System\WinForms\Triangle.cs (1)
100Debug.Fail("Wrong triangle enum");
winforms\Managed\System\WinForms\TrustManager.cs (9)
299Debug.Fail("Exception occurred while locating default browser executable: " + ex.Message); 480Debug.Fail("Error occurred while showing basic install dialog: " + ex.Message); 619Debug.Fail("Exception occurred in ExtractDeploymentManifestContent."); 722Debug.Fail("Exception occurred in GetHostFromDeploymentUrl: " + ex.Message); 771Debug.Fail("Unexpected SecurityZone in GetZoneNameFromDeploymentUrl"); 823Debug.Fail("Exception occurred in GetZonePromptingLevel: " + ex.Message); 854Debug.Fail("Error occurred while showing high risk dialog: " + ex.Message); 887Debug.Fail("Error occurred while showing error dialog: " + ex.Message); 941Debug.Fail("Error parsing manifest: " + e.Message);
winforms\Managed\System\WinForms\TrustManagerPromptUI.cs (3)
769Debug.Fail("Error occurred while showing More Information: " + ex.Message); 785Debug.Fail("Couldn't display certificate: " + ex.Message); 802Debug.Fail("Couldn't launch support Url: " + ex.Message);
winforms\Managed\System\WinForms\WebBrowserBase.cs (5)
412Debug.Fail("error in processMnemonic"); 695Debug.Fail("bad state"); 731Debug.Fail("bad state"); 1168Debug.Fail(e.ToString()); 1251Debug.Fail(ex.ToString());
winforms\Managed\System\WinForms\WebBrowserContainer.cs (2)
113Debug.Fail(t.ToString()); 116Debug.Fail("control " + ctlInEditMode.ToString() + " did not reset its edit mode to null");
winforms\Managed\System\WinForms\WebBrowserSiteBase.cs (3)
266Debug.Fail(t.ToString()); 402Debug.Fail(t.ToString()); 451Debug.Fail(t.ToString());
winforms\Managed\System\WinForms\WindowsFormsSectionHandler.cs (1)
22Debug.Fail("Exception loading config for windows forms");
System.Windows.Forms.DataVisualization (2)
Common\ChartTypes\ErrorBarChart.cs (1)
1787System.Diagnostics.Debug.Fail("Unknown ErrorBarType=" + errorBarType.ToString());
Common\Formulas\FormulaHelpers.cs (1)
112Debug.Fail(String.Format(CultureInfo.InvariantCulture, "{0} case is not defined", formula));
System.Workflow.ComponentModel (1)
AuthoringOM\Design\ReferenceService.cs (1)
91Debug.Fail("Reference service cannot operate without IContainer");
System.Xml (13)
System\Xml\BinaryXml\XmlBinaryReader.cs (8)
722Debug.Fail("Unexpected parent NodeType"); 990Debug.Fail("should never happen"); 1072Debug.Fail("should never happen"); 1158Debug.Fail("should never happen"); 1244Debug.Fail("should never happen"); 1330Debug.Fail("should never happen"); 1416Debug.Fail("should never happen"); 1502Debug.Fail("should never happen");
System\Xml\XPath\Internal\LogicalExpr.cs (2)
277Debug.Fail("Unexpected Operator.op code in cmpNumberNumber()"); 287Debug.Fail("Unexpected Operator.op code in cmpNumberNumberO()");
System\Xml\XPath\Internal\PrecedingQuery.cs (1)
87Debug.Fail("Algorithm error: we missed the centinel node");
System\Xml\XPath\Internal\PrecedingSibling.cs (1)
69Debug.Fail("We managed to miss sentinel node (input)");
System\Xml\XPath\XPathNavigatorReader.cs (1)
573Debug.Fail( "Couldn't find Namespace Node! Should not happen!" );
XamlBuildTask (2)
Microsoft\Build\Tasks\Xaml\ClassImporter.cs (2)
129Debug.Fail("Unrecognized XamlNodeType value" + reader.NodeType.ToString()); 213Debug.Fail("Unrecognized XamlNodeType value" + reader.NodeType.ToString());