16 references to ThrowExceptionFromLsError
PresentationCore (16)
MS\Internal\TextFormatting\FullTextBreakpoint.cs (2)
98TextFormatterContext.ThrowExceptionFromLsError(SR.Format(SR.CreateBreaksFailure, lserr), lserr); 240TextFormatterContext.ThrowExceptionFromLsError(SR.Format(SR.RelievePenaltyResourceFailure, lserr), lserr);
MS\Internal\TextFormatting\FullTextLine.cs (5)
307TextFormatterContext.ThrowExceptionFromLsError(SR.Format(SR.CreateLineFailure, lserr), lserr); 626TextFormatterContext.ThrowExceptionFromLsError(SR.Format(SR.CreateLineFailure, lserr), lserr); 2157TextFormatterContext.ThrowExceptionFromLsError(SR.Format(SR.EnumLineFailure, lserr), lserr); 2462TextFormatterContext.ThrowExceptionFromLsError(SR.Format(SR.QueryLineFailure, lserr), lserr); 2519TextFormatterContext.ThrowExceptionFromLsError(SR.Format(SR.QueryLineFailure, lserr), lserr);
MS\Internal\TextFormatting\TextMetrics.cs (1)
296TextFormatterContext.ThrowExceptionFromLsError(SR.Format(SR.AcquireBreakRecordFailure, lserr), lserr);
MS\Internal\TextFormatting\TextPenaltyModule.cs (2)
30TextFormatterContext.ThrowExceptionFromLsError(SR.Format(SR.AcquirePenaltyModuleFailure, lserr), lserr); 84TextFormatterContext.ThrowExceptionFromLsError(SR.Format(SR.GetPenaltyModuleHandleFailure, lserr), lserr);
System\Windows\Media\textformatting\TextFormatterContext.cs (4)
122ThrowExceptionFromLsError(SR.Format(SR.CreateContextFailure, lserr), lserr); 262ThrowExceptionFromLsError(SR.Format(SR.SetBreakingFailure, lserr), lserr); 364ThrowExceptionFromLsError(SR.Format(SR.SetDocFailure, lserr), lserr); 384ThrowExceptionFromLsError(SR.Format(SR.SetTabsFailure, lserr), lserr);
System\Windows\Media\textformatting\TextLineBreak.cs (1)
78TextFormatterContext.ThrowExceptionFromLsError(SR.Format(SR.CloneBreakRecordFailure, lserr), lserr);
System\Windows\Media\textformatting\TextParagraphCache.cs (1)
82TextFormatterContext.ThrowExceptionFromLsError(SR.Format(SR.CreateParaBreakingSessionFailure, lserr), lserr);