132 references to ErrorHandler
PresentationFramework (132)
MS\Internal\PtsHost\EmbeddedObject.cs (8)
104
ErrorHandler
.Assert(newAttachedObject != null,
ErrorHandler
.EmbeddedObjectTypeMismatch);
105
ErrorHandler
.Assert(newAttachedObject.Element.Equals(Element),
ErrorHandler
.EmbeddedObjectOwnerMismatch);
177
ErrorHandler
.Assert(newInline != null,
ErrorHandler
.EmbeddedObjectTypeMismatch);
178
ErrorHandler
.Assert(newInline._uiElementIsland == _uiElementIsland,
ErrorHandler
.EmbeddedObjectOwnerMismatch);
MS\Internal\PtsHost\FigureParaClient.cs (4)
422
ErrorHandler
.Assert(fskupd != PTS.FSKUPDATE.fskupdShifted,
ErrorHandler
.UpdateShiftedNotValid);
453
ErrorHandler
.Assert(visualChildren.Count == arrayColumnDesc.Length,
ErrorHandler
.ColumnVisualCountMismatch);
MS\Internal\PtsHost\FloaterParaClient.cs (4)
429
ErrorHandler
.Assert(fskupd != PTS.FSKUPDATE.fskupdShifted,
ErrorHandler
.UpdateShiftedNotValid);
460
ErrorHandler
.Assert(visualChildren.Count == arrayColumnDesc.Length,
ErrorHandler
.ColumnVisualCountMismatch);
MS\Internal\PtsHost\PtsHelper.cs (20)
212
ErrorHandler
.Assert(fskupd != PTS.FSKUPDATE.fskupdShifted,
ErrorHandler
.UpdateShiftedNotValid);
556
ErrorHandler
.Assert(pageDetails.u.complex.cSections == sectionCount,
ErrorHandler
.PTSObjectsCountMismatch);
575
ErrorHandler
.Assert(subpageDetails.u.complex.cBasicColumns == trackCount,
ErrorHandler
.PTSObjectsCountMismatch);
599
ErrorHandler
.Assert(sectionDetails.u.withpagenotes.cBasicColumns == trackCount,
ErrorHandler
.PTSObjectsCountMismatch);
618
ErrorHandler
.Assert(trackDetails.cParas == paraCount,
ErrorHandler
.PTSObjectsCountMismatch);
637
ErrorHandler
.Assert(subtrackDetails.cParas == paraCount,
ErrorHandler
.PTSObjectsCountMismatch);
656
ErrorHandler
.Assert(textDetails.cLines == lineCount,
ErrorHandler
.PTSObjectsCountMismatch);
675
ErrorHandler
.Assert(textDetails.cLines == lineCount,
ErrorHandler
.PTSObjectsCountMismatch);
693
ErrorHandler
.Assert(lineDesc.cElements == lineElementCount,
ErrorHandler
.PTSObjectsCountMismatch);
711
ErrorHandler
.Assert(cAttachedObject == attachedObjectCount,
ErrorHandler
.PTSObjectsCountMismatch);
MS\Internal\PtsHost\PtsHost.cs (2)
121
ErrorHandler
.Assert(false,
ErrorHandler
.PTSAssert, arg1, arg2, arg3, arg4);
MS\Internal\PtsHost\PtsPage.cs (42)
527
ErrorHandler
.Assert(pageDetails.u.complex.cFootnoteColumns == 0,
ErrorHandler
.NotSupportedFootnotes);
572
ErrorHandler
.Assert(pageDetails.u.complex.cFootnoteColumns == 0,
ErrorHandler
.NotSupportedFootnotes);
850
ErrorHandler
.Assert(pageDetails.u.complex.cFootnoteColumns == 0,
ErrorHandler
.NotSupportedFootnotes);
894
ErrorHandler
.Assert(pageDetails.u.complex.cFootnoteColumns == 0,
ErrorHandler
.NotSupportedFootnotes);
917
ErrorHandler
.Assert(sectionDetails.u.withpagenotes.cEndnoteColumns == 0,
ErrorHandler
.NotSupportedFootnotes);
946
ErrorHandler
.Assert(false,
ErrorHandler
.NotSupportedCompositeColumns);
965
ErrorHandler
.Assert(sectionDetails.u.withpagenotes.cEndnoteColumns == 0,
ErrorHandler
.NotSupportedFootnotes);
989
ErrorHandler
.Assert(false,
ErrorHandler
.NotSupportedCompositeColumns);
1007
ErrorHandler
.Assert(pageDetails.fskupd != PTS.FSKUPDATE.fskupdShifted,
ErrorHandler
.UpdateShiftedNotValid);
1058
ErrorHandler
.Assert(pageDetails.u.complex.cFootnoteColumns == 0,
ErrorHandler
.NotSupportedFootnotes);
1071
ErrorHandler
.Assert(arraySectionDesc.Length == 1,
ErrorHandler
.NotSupportedMultiSection);
1111
ErrorHandler
.Assert(fskupd != PTS.FSKUPDATE.fskupdShifted,
ErrorHandler
.UpdateShiftedNotValid);
1128
ErrorHandler
.Assert(sectionDetails.u.withpagenotes.cEndnoteColumns == 0,
ErrorHandler
.NotSupportedFootnotes);
1158
ErrorHandler
.Assert(visualChildren.Count == arrayColumnDesc.Length,
ErrorHandler
.ColumnVisualCountMismatch);
1170
ErrorHandler
.Assert(false,
ErrorHandler
.NotSupportedCompositeColumns);
1222
ErrorHandler
.Assert(pageDetails.u.complex.cFootnoteColumns == 0,
ErrorHandler
.NotSupportedFootnotes);
1276
ErrorHandler
.Assert(pageDetails.u.complex.cFootnoteColumns == 0,
ErrorHandler
.NotSupportedFootnotes);
1331
ErrorHandler
.Assert(sectionDetails.u.withpagenotes.cEndnoteColumns == 0,
ErrorHandler
.NotSupportedFootnotes);
1359
ErrorHandler
.Assert(false,
ErrorHandler
.NotSupportedCompositeColumns);
1392
ErrorHandler
.Assert(sectionDetails.u.withpagenotes.cEndnoteColumns == 0,
ErrorHandler
.NotSupportedFootnotes);
1426
ErrorHandler
.Assert(false,
ErrorHandler
.NotSupportedCompositeColumns);
MS\Internal\PtsHost\SubpageParaClient.cs (4)
355
ErrorHandler
.Assert(fskupd != PTS.FSKUPDATE.fskupdShifted,
ErrorHandler
.UpdateShiftedNotValid);
386
ErrorHandler
.Assert(visualChildren.Count == arrayColumnDesc.Length,
ErrorHandler
.ColumnVisualCountMismatch);
MS\Internal\PtsHost\TextParaClient.cs (46)
474
ErrorHandler
.Assert(dcpLast == Paragraph.Cch + Line.SyntheticCharacterLength,
ErrorHandler
.ParagraphCharacterCountMismatch);
1517
ErrorHandler
.Assert(!PTS.ToBoolean(textDetails.fDropCapPresent),
ErrorHandler
.NotSupportedDropCap);
1556
ErrorHandler
.Assert(lastLineResult.DcpLast - Line.SyntheticCharacterLength == Paragraph.Cch,
ErrorHandler
.ParagraphCharacterCountMismatch);
1569
ErrorHandler
.Assert(!PTS.ToBoolean(textDetails.fDropCapPresent),
ErrorHandler
.NotSupportedDropCap);
1618
ErrorHandler
.Assert(lastLineResult.DcpLast - Line.SyntheticCharacterLength == Paragraph.Cch,
ErrorHandler
.ParagraphCharacterCountMismatch);
1638
ErrorHandler
.Assert(!PTS.ToBoolean(textDetails.fDropCapPresent),
ErrorHandler
.NotSupportedDropCap);
1726
ErrorHandler
.Assert(!PTS.ToBoolean(textDetails.fDropCapPresent),
ErrorHandler
.NotSupportedDropCap);
1819
ErrorHandler
.Assert(!PTS.ToBoolean(textDetails.fDropCapPresent),
ErrorHandler
.NotSupportedDropCap);
1926
ErrorHandler
.Assert(!PTS.ToBoolean(textDetails.fDropCapPresent),
ErrorHandler
.NotSupportedDropCap);
2368
ErrorHandler
.Assert(!PTS.ToBoolean(textDetails.fDropCapPresent),
ErrorHandler
.NotSupportedDropCap);
2460
ErrorHandler
.Assert(!PTS.ToBoolean(textDetails.fDropCapPresent),
ErrorHandler
.NotSupportedDropCap);
2586
ErrorHandler
.Assert(!PTS.ToBoolean(textDetails.fDropCapPresent),
ErrorHandler
.NotSupportedDropCap);
2711
ErrorHandler
.Assert(!PTS.ToBoolean(textDetails.fDropCapPresent),
ErrorHandler
.NotSupportedDropCap);
2876
ErrorHandler
.Assert(!PTS.ToBoolean(textDetails.fDropCapPresent),
ErrorHandler
.NotSupportedDropCap);
2968
ErrorHandler
.Assert(!PTS.ToBoolean(textDetails.fDropCapPresent),
ErrorHandler
.NotSupportedDropCap);
3095
ErrorHandler
.Assert(!PTS.ToBoolean(textDetails.fDropCapPresent),
ErrorHandler
.NotSupportedDropCap);
3148
ErrorHandler
.Assert(!PTS.ToBoolean(textDetails.fDropCapPresent),
ErrorHandler
.NotSupportedDropCap);
3209
ErrorHandler
.Assert(!PTS.ToBoolean(textDetails.fDropCapPresent),
ErrorHandler
.NotSupportedDropCap);
3583
ErrorHandler
.Assert(!PTS.ToBoolean(textDetails.fDropCapPresent),
ErrorHandler
.NotSupportedDropCap);
3780
ErrorHandler
.Assert(!PTS.ToBoolean(textDetails.fDropCapPresent),
ErrorHandler
.NotSupportedDropCap);
3862
ErrorHandler
.Assert(!PTS.ToBoolean(textDetails.fDropCapPresent),
ErrorHandler
.NotSupportedDropCap);
3960
ErrorHandler
.Assert(!PTS.ToBoolean(textDetails.fDropCapPresent),
ErrorHandler
.NotSupportedDropCap);
4042
ErrorHandler
.Assert(!PTS.ToBoolean(textDetails.fDropCapPresent),
ErrorHandler
.NotSupportedDropCap);
MS\Internal\PtsHost\TextParagraph.cs (2)
1524
ErrorHandler
.Assert(objectsNew == null || (objectsNew[0].Dcp >= dcpStart && objectsNew[objectsNew.Count-1].Dcp <= dcpLim),
ErrorHandler
.SubmitInvalidList);