36 references to Assert
System.Data (36)
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\ActivityTemplateFactoryBuilderReader.cs (2)
143
SharedFx.
Assert
(this.currentState == ActivityTemplateFactoryBuilderReaderStates.ReadingFromBufferState, "This is the only remaining ActivityTemplateFactoryBuilderReaderStates.");
264
SharedFx.
Assert
(this.currentState == ActivityTemplateFactoryBuilderReaderStates.BypassState, "This is the only remaining ActivityTemplateFactoryBuilderReaderStates.");
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\ActivityTemplateFactoryBuilderWriter.cs (6)
159
SharedFx.
Assert
(
183
SharedFx.
Assert
(
206
SharedFx.
Assert
(
263
SharedFx.
Assert
(
286
SharedFx.
Assert
(
314
SharedFx.
Assert
(
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\ActivityTemplateFactoryBuilderXamlMembers.cs (4)
26
SharedFx.
Assert
(implementationPropertyInfo != null, "ActivityTemplateFactory.Implementation should be defined as a protected property of ActivityTemplateFactory.");
33
SharedFx.
Assert
(namePropertyInfo != null, "ActivityTemplateFactoryBuilder.Name should be defined as a public property of ActivityTemplateFactoryBuilder.");
40
SharedFx.
Assert
(namePropertyInfo != null, "ActivityTemplateFactoryBuilder.TargetType should be defined as a public property of ActivityTemplateFactoryBuilder.");
47
SharedFx.
Assert
(implementationPropertyInfo != null, "ActivityTemplateFactoryBuilder.Implementation should be defined as a public property of ActivityTemplateFactoryBuilder.");
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\AttributeConverter.cs (1)
61
SharedFx.
Assert
(value != null, "The usage should be guaranteed by the XAML stack");
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\DefaultValueAttributeInfo.cs (1)
30
SharedFx.
Assert
(constructor != null, "designerAttribute has a constructor that takes an argument of type System.Object.");
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\DesignerAttributeInfo.cs (1)
24
SharedFx.
Assert
(constructor != null, "designerAttribute has a constructor that takes an argument of type System.Type.");
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\DesignTimeXamlWriter.cs (1)
225
SharedFx.
Assert
(this.currentDepth >= 0, "Unmatched WriteEndObject");
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\EditorAttributeInfo.cs (1)
24
SharedFx.
Assert
(constructor != null, "designerAttribute has a constructor that takes two argument of type System.Type and System.Type.");
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\LineColumnPair.cs (1)
14
SharedFx.
Assert
(item1 > 0 && item2 > 0, "item1 > 0&& item2 > 0");
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\MultiTargetingTypeResolver.cs (4)
19
SharedFx.
Assert
(multiTargetingService != null, "multiTargetingService should not be null");
20
SharedFx.
Assert
(type != null, "type should not be null");
70
SharedFx.
Assert
(oldXamlType != null, "oldXamlType should not be null");
81
SharedFx.
Assert
(resolverResult.Kind == XamlTypeKind.Unknown, "resolverResult.Kind should be XamlTypeKind.Unknown.");
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\ResolverCache.cs (3)
23
SharedFx.
Assert
(type != null, "type should not be null");
24
SharedFx.
Assert
(result != null, "result should not be null");
38
SharedFx.
Assert
(type != null, "type should not be null");
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\ResolverResult.cs (1)
28
SharedFx.
Assert
(kind != XamlTypeKind.PartialSupported || newProperties != null, "newProperties should not be null when kind is XamlTypeKind.PartialSupported");
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\SourceTextScanner.cs (7)
28
SharedFx.
Assert
(source != null, "source != null");
35
SharedFx.
Assert
(startPoint != null, "startPoint != null");
59
SharedFx.
Assert
(location != null, "invalid location");
70
SharedFx.
Assert
(index >= 0 && index < this.source.Length, "index out of range");
86
SharedFx.
Assert
(line >= 0, "line < this.indexCache.Count");
88
SharedFx.
Assert
(column < this.indexCache[line].Item2, "Should Not Happen");
120
SharedFx.
Assert
(index >= 0 && index < this.source.Length, "invalid index");
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\WorkflowDesignerXamlHelper.cs (3)
34
SharedFx.
Assert
(this.executionContext != null, "this.executionContext != null");
35
SharedFx.
Assert
(this.executionContext.XamlSchemaContext != null, "this.executionContext.XamlSchemaContext != null");
106
SharedFx.
Assert
(rootModelObject != null, "Cannot pass null as rootModelObject");