16 references to Assert
System.Activities.Presentation (16)
Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\ActivityTemplateFactoryBuilderWriter.cs (9)
164SharedFx.Assert("It is impossible to start any object during the buffering state."); 174SharedFx.Assert("It is impossible to end an object during InitialState"); 187SharedFx.Assert("It is impossible to end an object when we are buffering the name / targetType."); 197SharedFx.Assert("It is impossible to end an object during InitialState"); 210SharedFx.Assert("It is impossible to get an object when we are buffering the name / targetType."); 220SharedFx.Assert("It is impossible to start a member during InitialState"); 267SharedFx.Assert("It is impossible to get an object when we are buffering the name / targetType."); 277SharedFx.Assert("It is impossible to end a member during InitialState"); 302SharedFx.Assert("It is impossible to write a value during InitialState");
Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\SourceTextScanner.cs (4)
105SharedFx.Assert(string.Format(CultureInfo.CurrentCulture, "line out of range:({0},{1})", line + 1, column + 1)); 111SharedFx.Assert(string.Format(CultureInfo.CurrentCulture, "column out of range:({0},{1})", line + 1, column + 1)); 153SharedFx.Assert("lastIndex < 0"); 170SharedFx.Assert("index < 0 || index >= this.source.Length");
Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\WorkflowDesignerXamlHelper.cs (3)
416SharedFx.Assert("end of SourceLocation is not found"); 658SharedFx.Assert(string.Format(CultureInfo.CurrentCulture, "no such property:{0}", propertyName)); 666SharedFx.Assert(string.Format(CultureInfo.CurrentCulture, "no such property value:{0}", propertyName));