2578 references to SR
PresentationCore (2578)
MS\Internal\Automation\ElementProxy.cs (1)
31using SR=MS.Internal.PresentationCore.SR;
MS\Internal\Automation\ElementUtil.cs (3)
30using SR=MS.Internal.PresentationCore.SR; 243throw new InvalidOperationException(SR.AutomationDispatcherShutdown); 247throw new TimeoutException(SR.AutomationTimeout);
MS\Internal\Automation\EventMap.cs (2)
21using SR=MS.Internal.PresentationCore.SR; 124throw new ArgumentException(SR.Automation_InvalidEventId, "eventId");
MS\Internal\Automation\SynchronizedInputAdaptor.cs (6)
17using SR = MS.Internal.PresentationCore.SR; 49throw new ArgumentException(SR.Format(SR.Automation_InvalidSynchronizedInputType, inputType)); 57throw new InvalidOperationException(SR.Automation_RecursivePublicCall); 67throw new InvalidOperationException(SR.Automation_RecursivePublicCall); 75throw new InvalidOperationException(SR.Automation_RecursivePublicCall);
MS\Internal\Automation\TextProviderWrapper.cs (3)
20using SR = MS.Internal.PresentationCore.SR; 66throw new ArgumentException(SR.Format(SR.TextProvider_InvalidChild, "childElement"));
MS\Internal\Automation\TextRangeProviderWrapper.cs (7)
21using SR = MS.Internal.PresentationCore.SR; 62throw new ArgumentException(SR.Format(SR.TextRangeProvider_InvalidRangeProvider, "range")); 72throw new ArgumentException(SR.Format(SR.TextRangeProvider_InvalidRangeProvider, "targetRange")); 135throw new ArgumentException(SR.Format(SR.TextRangeProvider_InvalidRangeProvider, "targetRange"));
MS\Internal\CustomCategoryAttribute.cs (1)
32string s = SR.GetResourceString(value);
MS\Internal\FontCache\DWriteFactory.cs (2)
31Text.TextInterface.LocalizedErrorMsgs.EnumeratorNotStarted = SR.Enumerator_NotStarted; 32Text.TextInterface.LocalizedErrorMsgs.EnumeratorReachedEnd = SR.Enumerator_ReachedEnd;
MS\Internal\FontCache\FontCacheUtil.cs (19)
518throw new ArgumentException(SR.FaceIndexMustBePositiveOrZero, "fontUri"); 771throw new FileNotFoundException(SR.Format(SR.FileNotFoundExceptionWithFileName, fileName), fileName); 774throw new DirectoryNotFoundException(SR.Format(SR.DirectoryNotFoundExceptionWithFileName, fileName)); 777throw new UnauthorizedAccessException(SR.Format(SR.UnauthorizedAccessExceptionWithFileName, fileName)); 780throw new PathTooLongException(SR.Format(SR.PathTooLongExceptionWithFileName, fileName)); 783throw new IOException(SR.Format(SR.IOExceptionWithFileName, fileName), NativeMethods.MakeHRFromErrorCode(errorCode)); 799return new IOException(SR.Format(SR.IOExceptionWithFileName, fileName), e); 865throw new IOException(SR.Format(SR.IOExceptionWithFileName, fileName)); 881throw new IOException(SR.Format(SR.IOExceptionWithFileName, fileName)); 885throw new IOException(SR.Format(SR.IOExceptionWithFileName, fileName));
MS\Internal\FontCache\FontFaceLayoutInfo.cs (1)
734throw new ArgumentException(SR.Collection_BadRank);
MS\Internal\FontFace\CompositeFontInfo.cs (2)
22using SR=MS.Internal.PresentationCore.SR; 63throw new ArgumentException(SR.FamilyMap_TargetNotSet);
MS\Internal\FontFace\CompositeFontParser.cs (25)
28using SR=MS.Internal.PresentationCore.SR; 38throw new ArgumentException(SR.Format(SR.PropertyValueCannotBeNaN, propertyName)); 54throw new ArgumentException(SR.Format(SR.PropertyValueCannotBeNaN, propertyName)); 62throw new ArgumentException(SR.Format(SR.PropertyMustBeGreaterThanZero, propertyName)); 70throw new ArgumentException(SR.Format(SR.PropertyValueCannotBeNaN, propertyName)); 78throw new ArgumentException(SR.Format(SR.PropertyCannotBeNegative, propertyName)); 873Fail(SR.Format(SR.CompositeFontMissingElement, FamilyMapElement)); 876Fail(SR.Format(SR.CompositeFontMissingElement, StringElement)); 892Fail(SR.Format( 893SR.CompositeFontAttributeValue1, 902Fail(SR.Format( 903SR.CompositeFontAttributeValue2, 914Fail(SR.Format( 915SR.CompositeFontUnknownElement, 925Fail(SR.Format( 926SR.CompositeFontUnknownAttribute, 937Fail(SR.Format(SR.CompositeFontMissingAttribute, name));
MS\Internal\FontFace\FontDriver.cs (1)
177throw new ArgumentOutOfRangeException("faceIndex", SR.FaceIndexValidOnlyForTTC);
MS\Internal\FontFace\TypefaceCollection.cs (2)
22using SR = MS.Internal.PresentationCore.SR; 76throw new ArgumentException(SR.Collection_BadRank);
MS\Internal\IListConverters.cs (3)
18using SR=MS.Internal.PresentationCore.SR; 65throw new ArgumentException(SR.Format(SR.General_BadType, "ConvertFrom"), "value");
MS\Internal\Ink\ExtendedProperty.cs (3)
16using SR=MS.Internal.PresentationCore.SR; 35throw new ArgumentException(SR.InvalidGuid); 216throw new InvalidOperationException(SR.InvalidDataTypeForExtendedProperty);
MS\Internal\Ink\ExtendedPropertyCollection.cs (4)
18using SR=MS.Internal.PresentationCore.SR; 166throw new ArgumentException(SR.EPExists, "id"); 184throw new ArgumentException(SR.EPGuidNotFound, "id"); 244throw new ArgumentException(SR.EPNotFound, "attributeId");
MS\Internal\Ink\GestureRecognizer\NativeRecognizer.cs (9)
34using SR = MS.Internal.PresentationCore.SR; 73throw new InvalidOperationException(SR.UnspecifiedGestureConstructionException); 125throw new InvalidOperationException(SR.UnspecifiedSetEnabledGesturesException); 147throw new ArgumentException(SR.StrokeCollectionCountTooBig, "strokes"); 200throw new InvalidOperationException(SR.UnspecifiedGestureException); 231throw new ArgumentException(SR.ApplicationGestureArrayLengthIsZero, "applicationGestures"); 240throw new ArgumentException(SR.ApplicationGestureIsInvalid, "applicationGestures"); 252throw new ArgumentException(SR.DuplicateApplicationGestureFound, "applicationGestures"); 262throw new ArgumentException(SR.AllGesturesMustExistAlone, "applicationGestures");
MS\Internal\Ink\InkSerializedFormat\AlgoModule.cs (1)
17using SR = MS.Internal.PresentationCore.SR;
MS\Internal\Ink\InkSerializedFormat\Codec.cs (1)
16using SR = MS.Internal.PresentationCore.SR;
MS\Internal\Ink\InkSerializedFormat\Compress.cs (4)
18using SR = MS.Internal.PresentationCore.SR; 103throw new InvalidOperationException(StrokeCollectionSerializer.ISFDebugMessage(SR.DecompressPacketDataFailed)); 172throw new InvalidOperationException(StrokeCollectionSerializer.ISFDebugMessage(SR.DecompressPropertyFailed)); 302throw new InvalidOperationException(SR.IsfOperationFailed);
MS\Internal\Ink\InkSerializedFormat\CustomAttributeSerializer.cs (34)
22using SR=MS.Internal.PresentationCore.SR; 307throw new InvalidOperationException(SR.InvalidEpInIsf); 428throw new InvalidOperationException(SR.EmptyDataToLoad); 437throw new ArgumentException(SR.InvalidSizeSpecified, "cbSize"); 454throw new ArgumentException(SR.InvalidSizeSpecified, "cbSize"); 703throw new InvalidOperationException(SR.InvalidEpInIsf); 790throw new ArgumentException(SR.InvalidGuid); 797throw new ArgumentException(SR.Format(SR.InvalidValueType, typeof(System.Windows.Media.Color)), "value"); 805throw new ArgumentException(SR.Format(SR.InvalidValueType, typeof(int)), "value"); 813throw new ArgumentException(SR.Format(SR.InvalidValueType, typeof(DrawingFlags)), "value"); 824throw new ArgumentException(SR.Format(SR.InvalidValueType1, typeof(StylusTip), typeof(int)), "value"); 828throw new ArgumentException(SR.Format(SR.InvalidValueOfType, value, typeof(StylusTip)), "value"); 839throw new ArgumentException(SR.Format(SR.InvalidValueType1, typeof(String), typeof(Matrix)), "value"); 846throw new ArgumentException(SR.MatrixNotInvertible, "value"); 850throw new ArgumentException(SR.InvalidMatrixContainsNaN, "value"); 854throw new ArgumentException(SR.InvalidMatrixContainsInfinity, "value"); 862throw new ArgumentException(SR.Format(SR.InvalidValueType, typeof(bool)), "value"); 869throw new ArgumentException(SR.Format(SR.InvalidValueType, typeof(double)), "value"); 878throw new ArgumentOutOfRangeException("value", SR.InvalidDrawingAttributesHeight); 885throw new ArgumentOutOfRangeException("value", SR.InvalidDrawingAttributesWidth); 893throw new ArgumentException(SR.Format(SR.InvalidValueType, typeof(byte)), "value"); 906throw new ArgumentException(SR.Format(SR.InvalidValueType, typeof(byte[])), "value"); 966throw new ArgumentException(SR.InvalidDataInISF, ex); 971throw new ArgumentException(SR.InvalidDataInISF, ex);
MS\Internal\Ink\InkSerializedFormat\GorillaCodec.cs (1)
18using SR = MS.Internal.PresentationCore.SR;
MS\Internal\Ink\InkSerializedFormat\HuffCodec.cs (1)
18using SR = MS.Internal.PresentationCore.SR;
MS\Internal\Ink\InkSerializedFormat\HuffModule.cs (1)
17using SR = MS.Internal.PresentationCore.SR;
MS\Internal\Ink\InkSerializedFormat\InkSerializer.cs (8)
24using SR=MS.Internal.PresentationCore.SR; 147throw new ArgumentException(SR.IsfOperationFailed, ex); 152throw new ArgumentException(SR.IsfOperationFailed, ex); 157throw new ArgumentException(SR.IsfOperationFailed, ex); 162throw new ArgumentException(SR.IsfOperationFailed, ex); 167throw new ArgumentException(SR.IsfOperationFailed, ex); 172throw new ArgumentException(SR.IsfOperationFailed, ex); 357throw new ArgumentException(SR.InvalidStream);
MS\Internal\Ink\InkSerializedFormat\LZCodec.cs (1)
19using SR = MS.Internal.PresentationCore.SR;
MS\Internal\Ink\InkSerializedFormat\MultiByteCodec.cs (1)
17using SR = MS.Internal.PresentationCore.SR;
MS\Internal\Ink\InkSerializedFormat\SerializationHelper.cs (2)
11using SR=MS.Internal.PresentationCore.SR; 328throw new ArgumentException(SR.InvalidDataTypeForExtendedProperty);
MS\Internal\Ink\Quad.cs (1)
14using SR=MS.Internal.PresentationCore.SR;
MS\Internal\Ink\Renderer.cs (5)
299throw new System.InvalidOperationException(SR.CannotAttachVisualTwice); 335throw new System.InvalidOperationException(SR.VisualCannotBeDetached); 446throw new System.ArgumentException(SR.DuplicateStrokeAdded); 474throw new System.ArgumentException(SR.UnknownStroke3); 491throw new System.ArgumentException(SR.UnknownStroke1);
MS\Internal\Ink\StrokeFIndices.cs (1)
13using SR=MS.Internal.PresentationCore.SR;
MS\Internal\Ink\StrokeNodeEnumerator.cs (1)
15using SR=MS.Internal.PresentationCore.SR;
MS\Internal\Ink\StrokeRenderer.cs (1)
15using SR=MS.Internal.PresentationCore.SR;
MS\Internal\Ink\StylusShape.cs (1)
14using SR=MS.Internal.PresentationCore.SR;
MS\Internal\IO\Packaging\ByteRangeDownloader.cs (16)
63throw new ArgumentException(SR.InvalidTempFileName, "tempFileName"); 308throw new InvalidOperationException(SR.RequestAlreadyStarted); 339throw new InvalidOperationException(SR.RequestAlreadyStarted); 396throw new ObjectDisposedException(null, SR.ByteRangeDownloaderDisposed); 410throw new ArgumentException(SR.InvalidScheme, "requestedUri"); 417throw new ArgumentException(SR.InvalidEventHandle, "eventHandle"); 433throw new InvalidOperationException(SR.ByteRangeDownloaderErroredOut, _erroredOutException); 550_erroredOutException = new NotSupportedException(SR.ByteRangeRequestIsNotSupported); 704throw new ArgumentException(SR.Format(SR.InvalidByteRanges, "byteRanges")); 711throw new ArgumentException(SR.Format(SR.InvalidByteRanges, "byteRanges")); 729throw new ArgumentException(SR.Format(SR.InvalidByteRanges, "byteRanges")); 736throw new ArgumentException(SR.Format(SR.InvalidByteRanges, "byteRanges"));
MS\Internal\IO\Packaging\DeobfuscatingStream.cs (5)
75throw new NotSupportedException(SR.WriteNotSupported); 98throw new NotSupportedException(SR.SetLengthNotSupported); 206throw new InvalidOperationException(SR.InvalidPartName); 272throw new ObjectDisposedException(null, SR.Media_StreamClosed); 328throw new ArgumentException(SR.InvalidPartName);
MS\Internal\IO\Packaging\NetStream.cs (6)
148throw new ArgumentException(SR.IOBufferOverflow, "buffer"); 257throw new ArgumentOutOfRangeException("origin", SR.SeekOriginInvalid); 263throw new ArgumentException(SR.SeekNegative); 290throw new ArgumentException(SR.SeekNegative); 308throw new NotSupportedException(SR.SetLengthNotSupported); 318throw new NotSupportedException(SR.WriteNotSupported);
MS\Internal\IO\Packaging\PreloadedPackages.cs (1)
167throw new ArgumentException(SR.UriMustBeAbsolute, "uri");
MS\Internal\Media\ParserStreamGeometryContext.cs (1)
720throw new ArgumentException(SR.UnknownPathOperationType);
MS\Internal\Media\VisualTreeUtils.cs (4)
13using SR=MS.Internal.PresentationCore.SR; 226throw new ArgumentException(SR.Visual_NotAVisual); 260throw new System.InvalidOperationException(SR.Format(SR.Visual_NotAVisual, element.GetType()));
MS\Internal\Media\XamlSerializationHelper.cs (1)
357throw new ArgumentException(SR.FloatUnknownBamlType);
MS\Internal\Media3D\GeneralTransform2DTo3DTo2D.cs (1)
25using SR = MS.Internal.PresentationCore.SR;
MS\Internal\PartialArray.cs (10)
19using SR = MS.Internal.PresentationCore.SR; 76throw new NotSupportedException(SR.CollectionIsFixedSize); 81throw new NotSupportedException(SR.CollectionIsFixedSize); 91throw new NotSupportedException(SR.CollectionIsFixedSize); 96throw new NotSupportedException(SR.CollectionIsFixedSize); 144SR.Collection_CopyTo_ArrayCannotBeMultidimensional, 153SR.Format( 154SR.Collection_CopyTo_IndexGreaterThanOrEqualToArrayLength, 163SR.Format( 164SR.Collection_CopyTo_NumberOfElementsExceedsArrayLength,
MS\Internal\Shaping\CompositeFontFamily.cs (1)
27using SR=MS.Internal.PresentationCore.SR;
MS\Internal\TextFormatting\FullTextBreakpoint.cs (7)
26using SR = MS.Internal.PresentationCore.SR; 120TextFormatterContext.ThrowExceptionFromLsError(SR.Format(SR.CreateBreaksFailure, lserr), lserr); 238throw new ObjectDisposedException(SR.TextBreakpointHasBeenDisposed); 256throw new ObjectDisposedException(SR.TextBreakpointHasBeenDisposed); 262TextFormatterContext.ThrowExceptionFromLsError(SR.Format(SR.RelievePenaltyResourceFailure, lserr), lserr);
MS\Internal\TextFormatting\FullTextLine.cs (22)
25using SR = MS.Internal.PresentationCore.SR; 322TextFormatterContext.ThrowExceptionFromLsError(SR.Format(SR.CreateLineFailure, lserr), lserr); 553throw new ObjectDisposedException(SR.TextLineHasBeenDisposed); 641TextFormatterContext.ThrowExceptionFromLsError(SR.Format(SR.CreateLineFailure, lserr), lserr); 714throw new ObjectDisposedException(SR.TextLineHasBeenDisposed); 828throw new ObjectDisposedException(SR.TextLineHasBeenDisposed); 852throw new ObjectDisposedException(SR.TextLineHasBeenDisposed); 985throw new ObjectDisposedException(SR.TextLineHasBeenDisposed); 1145throw new ObjectDisposedException(SR.TextLineHasBeenDisposed); 1238throw new ObjectDisposedException(SR.TextLineHasBeenDisposed); 1498throw new ObjectDisposedException(SR.TextLineHasBeenDisposed); 2067throw new ObjectDisposedException(SR.TextLineHasBeenDisposed); 2127throw new ObjectDisposedException(SR.TextLineHasBeenDisposed); 2172TextFormatterContext.ThrowExceptionFromLsError(SR.Format(SR.EnumLineFailure, lserr), lserr); 2191throw new ObjectDisposedException(SR.TextLineHasBeenDisposed); 2477TextFormatterContext.ThrowExceptionFromLsError(SR.Format(SR.QueryLineFailure, lserr), lserr); 2534TextFormatterContext.ThrowExceptionFromLsError(SR.Format(SR.QueryLineFailure, lserr), lserr);
MS\Internal\TextFormatting\LineServicesCallbacks.cs (2)
28using SR=MS.Internal.PresentationCore.SR; 3420Exception e = new System.Exception(SR.NonCLSException);
MS\Internal\TextFormatting\LineServicesRun.cs (2)
21using SR=MS.Internal.PresentationCore.SR; 933throw new ArgumentException(SR.CompileFeatureSet_InvalidTypographyProperties);
MS\Internal\TextFormatting\SimpleTextLine.cs (1)
24using SR=MS.Internal.PresentationCore.SR;
MS\Internal\TextFormatting\TextFormatterImp.cs (3)
25using SR=MS.Internal.PresentationCore.SR; 400throw new ArgumentException(SR.OptimalParagraphMustWrap); 573throw new InvalidOperationException(SR.TextFormatterReentranceProhibited);
MS\Internal\TextFormatting\TextMarkerSource.cs (1)
24using SR=MS.Internal.PresentationCore.SR;
MS\Internal\TextFormatting\TextMetrics.cs (3)
20using SR = MS.Internal.PresentationCore.SR; 311TextFormatterContext.ThrowExceptionFromLsError(SR.Format(SR.AcquireBreakRecordFailure, lserr), lserr);
MS\Internal\TextFormatting\TextPenaltyModule.cs (6)
23using SR = MS.Internal.PresentationCore.SR; 50TextFormatterContext.ThrowExceptionFromLsError(SR.Format(SR.AcquirePenaltyModuleFailure, lserr), lserr); 97throw new ObjectDisposedException(SR.TextPenaltyModuleHasBeenDisposed); 104TextFormatterContext.ThrowExceptionFromLsError(SR.Format(SR.GetPenaltyModuleHandleFailure, lserr), lserr);
MS\Internal\TextFormatting\TextRunCacheImp.cs (10)
20using SR=MS.Internal.PresentationCore.SR; 130throw new ArgumentException(SR.TextRunPropertiesCannotBeNull); 133throw new ArgumentException(SR.Format(SR.PropertyOfClassMustBeGreaterThanZero, "FontRenderingEmSize", "TextRunProperties")); 138throw new ArgumentException(SR.Format(SR.PropertyOfClassCannotBeGreaterThan, "FontRenderingEmSize", "TextRunProperties", realMaxFontRenderingEmSize)); 143throw new ArgumentException(SR.Format(SR.PropertyOfClassCannotBeNull, "CultureInfo", "TextRunProperties")); 146throw new ArgumentException(SR.Format(SR.PropertyOfClassCannotBeNull, "Typeface", "TextRunProperties"));
MS\Internal\TextFormatting\TextStore.cs (2)
26using SR=MS.Internal.PresentationCore.SR; 2378throw new ArgumentException(SR.TextObjectMetrics_WidthOutOfRange);
MS\Internal\TextFormatting\ThousandthOfEmRealDoubles.cs (10)
18using SR=MS.Internal.PresentationCore.SR; 186SR.Collection_CopyTo_ArrayCannotBeMultidimensional, 195SR.Format( 196SR.Collection_CopyTo_IndexGreaterThanOrEqualToArrayLength, 205SR.Format( 206SR.Collection_CopyTo_NumberOfElementsExceedsArrayLength, 236throw new NotSupportedException(SR.CollectionIsFixedSize); 242throw new NotSupportedException(SR.CollectionIsFixedSize); 248throw new NotSupportedException(SR.CollectionIsFixedSize); 254throw new NotSupportedException(SR.CollectionIsFixedSize);
MS\Internal\TextFormatting\ThousandthOfEmRealPoints.cs (10)
18using SR=MS.Internal.PresentationCore.SR; 129SR.Collection_CopyTo_ArrayCannotBeMultidimensional, 138SR.Format( 139SR.Collection_CopyTo_IndexGreaterThanOrEqualToArrayLength, 148SR.Format( 149SR.Collection_CopyTo_NumberOfElementsExceedsArrayLength, 178throw new NotSupportedException(SR.CollectionIsFixedSize); 184throw new NotSupportedException(SR.CollectionIsFixedSize); 190throw new NotSupportedException(SR.CollectionIsFixedSize); 196throw new NotSupportedException(SR.CollectionIsFixedSize);
MS\Internal\WpfWebRequestHelper.cs (4)
212throw new IOException(SR.Format(SR.GetResponseFailed, requestUri.ToString())); 229throw new IOException(SR.Format(SR.GetResponseFailed, requestUri.ToString()));
MS\Win32\UnsafeNativeMethodsPenimc.cs (2)
115throw new InvalidOperationException(SR.Format(SR.PenImcSxSRegistrationFailed, ExternDll.Penimc));
src\Microsoft.DotNet.Wpf\src\Common\Graphics\exports.cs (1)
33using SR=MS.Internal.PresentationCore.SR;
src\Microsoft.DotNet.Wpf\src\Common\Graphics\wgx_render.cs (60)
13using SR=MS.Internal.PresentationCore.SR; 806return new System.InvalidOperationException(SR.Image_WrongState, exceptionForHR); 810return new System.OverflowException(SR.Image_Overflow, exceptionForHR); 813return new System.IO.FileFormatException(null, SR.Image_UnknownFormat, exceptionForHR); 816return new System.IO.FileLoadException(SR.MilErr_UnsupportedVersion, exceptionForHR); 819return new System.InvalidOperationException(SR.WIC_NotInitialized, exceptionForHR); 822return new System.ArgumentException(SR.Image_PropertyNotFound, exceptionForHR); 825return new System.NotSupportedException(SR.Image_PropertyNotSupported, exceptionForHR); 828return new System.ArgumentException(SR.Image_PropertySize, exceptionForHR); 831return new System.InvalidOperationException(SR.Image_CodecPresent, exceptionForHR); 834return new System.NotSupportedException(SR.Image_NoThumbnail, exceptionForHR); 837return new System.InvalidOperationException(SR.Image_NoPalette, exceptionForHR); 840return new System.ArgumentException(SR.Image_TooManyScanlines, exceptionForHR); 843return new System.InvalidOperationException(SR.Image_InternalError, exceptionForHR); 846return new System.ArgumentException(SR.Image_BadDimensions, exceptionForHR); 850return new System.NotSupportedException(SR.Image_ComponentNotFound, exceptionForHR); 854return new System.IO.FileFormatException(null, SR.Image_DecoderError, exceptionForHR); 857return new System.IO.FileFormatException(null, SR.Image_HeaderError, exceptionForHR); 860return new System.ArgumentException(SR.Image_FrameMissing, exceptionForHR); 863return new System.ArgumentException(SR.Image_BadMetadataHeader, exceptionForHR); 866return new System.ArgumentException(SR.Image_BadStreamData, exceptionForHR); 869return new System.InvalidOperationException(SR.Image_StreamWrite, exceptionForHR); 872return new System.NotSupportedException(SR.Image_UnsupportedPixelFormat, exceptionForHR); 875return new System.NotSupportedException(SR.Image_UnsupportedOperation, exceptionForHR); 878return new System.ArgumentException(SR.Image_SizeOutOfRange, exceptionForHR); 881return new System.IO.IOException(SR.Image_StreamRead, exceptionForHR); 884return new System.IO.IOException(SR.Image_InvalidQueryRequest, exceptionForHR); 887return new System.IO.FileFormatException(null, SR.Image_UnexpectedMetadataType, exceptionForHR); 890return new System.IO.FileFormatException(null, SR.Image_RequestOnlyValidAtMetadataRoot, exceptionForHR); 893return new System.IO.IOException(SR.Image_InvalidQueryCharacter, exceptionForHR); 896return new System.IO.FileFormatException(null, SR.Image_DuplicateMetadataPresent, exceptionForHR); 899return new System.IO.FileFormatException(null, SR.Image_PropertyUnexpectedType, exceptionForHR); 902return new System.IO.FileFormatException(null, SR.Image_TooMuchMetadata, exceptionForHR); 905return new System.NotSupportedException(SR.Image_StreamNotAvailable, exceptionForHR); 908return new System.ArgumentException(SR.Image_InsufficientBuffer, exceptionForHR); 911return new System.ArgumentException(SR.Format(SR.Media_InvalidArgument, null), exceptionForHR); 914return new System.IO.FileFormatException(null, SR.Image_InvalidColorContext, exceptionForHR); 917return new System.InvalidOperationException(SR.Image_DisplayStateInvalid, exceptionForHR); 920return new System.ArithmeticException(SR.Image_SingularMatrix, exceptionForHR); 923return new System.Windows.Media.InvalidWmpVersionException(SR.Format(SR.Media_InvalidWmpVersion, null), exceptionForHR); 926return new System.NotSupportedException(SR.Format(SR.Media_InsufficientVideoResources, null), exceptionForHR); 929return new System.NotSupportedException(SR.Format(SR.Media_HardwareVideoAccelerationNotAvailable, null), exceptionForHR); 932return new System.NotSupportedException(SR.Format(SR.Media_PlayerIsClosed, null), exceptionForHR); 935return new System.IO.FileNotFoundException(SR.Format(SR.Media_DownloadFailed, null), exceptionForHR); 938return new System.Security.SecurityException(SR.Media_LogonFailure, exceptionForHR); 941return new System.IO.FileNotFoundException(SR.Media_FileNotFound, exceptionForHR); 945return new System.IO.FileFormatException(SR.Media_FileFormatNotSupported, exceptionForHR); 948return new System.IO.FileFormatException(SR.Media_PlaylistFormatNotSupported, exceptionForHR); 951return new System.ArithmeticException(SR.Geometry_BadNumber, exceptionForHR); 954return new System.ArgumentException(SR.D3DImage_InvalidUsage, exceptionForHR); 956return new System.ArgumentException(SR.D3DImage_SurfaceTooBig, exceptionForHR); 958return new System.ArgumentException(SR.D3DImage_InvalidPool, exceptionForHR); 960return new System.ArgumentException(SR.D3DImage_InvalidDevice, exceptionForHR); 962return new System.ArgumentException(SR.D3DImage_AARequires9Ex, exceptionForHR);
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\CharacterBuffer.cs (1)
27using SR=MS.Internal.PresentationCore.SR;
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\Generated\AlignmentXValidation.cs (1)
20using SR=MS.Internal.PresentationCore.SR;
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\Generated\AlignmentYValidation.cs (1)
20using SR=MS.Internal.PresentationCore.SR;
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\Generated\BitmapScalingModeValidation.cs (1)
20using SR=MS.Internal.PresentationCore.SR;
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\Generated\BrushMappingModeValidation.cs (1)
20using SR=MS.Internal.PresentationCore.SR;
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\Generated\CachingHintValidation.cs (1)
20using SR=MS.Internal.PresentationCore.SR;
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\Generated\ClearTypeHintValidation.cs (1)
20using SR=MS.Internal.PresentationCore.SR;
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\Generated\ColorInterpolationModeValidation.cs (1)
20using SR=MS.Internal.PresentationCore.SR;
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\Generated\EdgeModeValidation.cs (1)
20using SR=MS.Internal.PresentationCore.SR;
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\Generated\EdgeProfileValidation.cs (1)
16using SR=MS.Internal.PresentationCore.SR;
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\Generated\FillRuleValidation.cs (1)
20using SR=MS.Internal.PresentationCore.SR;
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\Generated\GeometryCombineModeValidation.cs (1)
20using SR=MS.Internal.PresentationCore.SR;
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\Generated\GradientSpreadMethodValidation.cs (1)
20using SR=MS.Internal.PresentationCore.SR;
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\Generated\KernelTypeValidation.cs (1)
16using SR=MS.Internal.PresentationCore.SR;
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\Generated\PenLineCapValidation.cs (1)
20using SR=MS.Internal.PresentationCore.SR;
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\Generated\PenLineJoinValidation.cs (1)
20using SR=MS.Internal.PresentationCore.SR;
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\Generated\RenderingBiasValidation.cs (1)
16using SR=MS.Internal.PresentationCore.SR;
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\Generated\RotationValidation.cs (1)
20using SR=MS.Internal.PresentationCore.SR;
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\Generated\ShaderRenderModeValidation.cs (1)
16using SR=MS.Internal.PresentationCore.SR;
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\Generated\StretchValidation.cs (1)
20using SR=MS.Internal.PresentationCore.SR;
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\Generated\SweepDirectionValidation.cs (1)
20using SR=MS.Internal.PresentationCore.SR;
src\Microsoft.DotNet.Wpf\src\Shared\ms\internal\generated\TextDecorationLocationValidation.cs (1)
20using SR=MS.Internal.PresentationCore.SR;
src\Microsoft.DotNet.Wpf\src\Shared\ms\internal\generated\TextDecorationUnitValidation.cs (1)
20using SR=MS.Internal.PresentationCore.SR;
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\Generated\TextHintingModeValidation.cs (1)
20using SR=MS.Internal.PresentationCore.SR;
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\Generated\TextRenderingModeValidation.cs (1)
20using SR=MS.Internal.PresentationCore.SR;
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\Generated\TileModeValidation.cs (1)
20using SR=MS.Internal.PresentationCore.SR;
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\GenericEnumerator.cs (4)
19using SR=MS.Internal.PresentationCore.SR; 61throw new InvalidOperationException(SR.Enumerator_VerifyContext); 92throw new InvalidOperationException(SR.Enumerator_CollectionChanged); 120throw new InvalidOperationException(SR.Enumerator_CollectionChanged);
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\Ink\BitStream.cs (13)
13using SR=MS.Internal.PresentationCore.SR; 67throw new ArgumentOutOfRangeException("bufferLengthInBits", SR.InvalidBufferLength); 81throw new ArgumentOutOfRangeException("countOfBits", countOfBits, SR.CountOfBitsOutOfRange); 110throw new ArgumentOutOfRangeException("countOfBits", countOfBits, SR.CountOfBitsOutOfRange); 138throw new ArgumentOutOfRangeException("countOfBits", countOfBits, SR.CountOfBitsOutOfRange); 168throw new ArgumentOutOfRangeException("countOfBits", countOfBits, SR.CountOfBitsOutOfRange); 196throw new ArgumentOutOfRangeException("countOfBits", countOfBits, SR.CountOfBitsOutOfRange); 241throw new System.IO.EndOfStreamException(SR.EndOfStreamReached); 247throw new ArgumentOutOfRangeException("countOfBits", countOfBits, SR.CountOfBitsOutOfRange); 252throw new ArgumentOutOfRangeException("countOfBits", countOfBits, SR.CountOfBitsGreatThanRemainingBits); 381throw new ArgumentOutOfRangeException("countOfBits", countOfBits, SR.CountOfBitsOutOfRange); 420throw new ArgumentOutOfRangeException("countOfBits", countOfBits, SR.CountOfBitsOutOfRange); 449throw new ArgumentOutOfRangeException("countOfBits", countOfBits, SR.CountOfBitsOutOfRange);
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\SecurityHelper.cs (1)
114throw new SecurityException( SR.Invalid_URI );
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\SequentialUshortCollection.cs (2)
26using SR=MS.Internal.PresentationCore.SR; 60throw new ArgumentException(SR.Collection_BadRank);
System\IO\Packaging\PackageStore.cs (3)
102throw new ArgumentException(SR.NotAllowedPackageUri, nameof(uri)); 116throw new InvalidOperationException(SR.PackageAlreadyExists); 154throw new ArgumentException(SR.UriMustBeAbsolute, "uri");
System\IO\Packaging\PackWebRequest.cs (4)
140throw new WebException(SR.ResourceNotFoundUnderCacheOnlyPolicy); 150throw new WebException(SR.PackWebRequestCachePolicyIllegal); 171throw new InvalidOperationException(SR.SchemaInvalidForTransport); 216throw new WebException(SR.PackWebRequestCachePolicyIllegal);
System\IO\Packaging\PackWebRequestFactory.cs (3)
59throw new ArgumentException(SR.UriMustBeAbsolute, "uri"); 64throw new ArgumentException(SR.Format(SR.UriSchemeMismatch, PackUriHelper.UriSchemePack), "uri");
System\IO\Packaging\PackWebResponse.cs (4)
243throw new WebException(SR.WebResponsePartNotFound); 863throw new WebException(SR.WebResponseFailure); 901_responseException = new WebException(SR.Format(SR.WebRequestTimeout, null), WebExceptionStatus.Timeout);
System\Windows\Automation\Peers\AutomationPeer.cs (31)
25using SR=MS.Internal.PresentationCore.SR; 755throw new InvalidOperationException(SR.Automation_RecursivePublicCall); 773throw new InvalidOperationException(SR.Automation_RecursivePublicCall); 793throw new InvalidOperationException(SR.Automation_RecursivePublicCall); 813throw new InvalidOperationException(SR.Automation_RecursivePublicCall); 833throw new InvalidOperationException(SR.Automation_RecursivePublicCall); 851throw new InvalidOperationException(SR.Automation_RecursivePublicCall); 871throw new InvalidOperationException(SR.Automation_RecursivePublicCall); 891throw new InvalidOperationException(SR.Automation_RecursivePublicCall); 910throw new InvalidOperationException(SR.Automation_RecursivePublicCall); 928throw new InvalidOperationException(SR.Automation_RecursivePublicCall); 948throw new InvalidOperationException(SR.Automation_RecursivePublicCall); 968throw new InvalidOperationException(SR.Automation_RecursivePublicCall); 986throw new InvalidOperationException(SR.Automation_RecursivePublicCall); 1006throw new InvalidOperationException(SR.Automation_RecursivePublicCall); 1026throw new InvalidOperationException(SR.Automation_RecursivePublicCall); 1046throw new InvalidOperationException(SR.Automation_RecursivePublicCall); 1070throw new InvalidOperationException(SR.Automation_RecursivePublicCall); 1095throw new InvalidOperationException(SR.Automation_RecursivePublicCall); 1115throw new InvalidOperationException(SR.Automation_RecursivePublicCall); 1135throw new InvalidOperationException(SR.Automation_RecursivePublicCall); 1155throw new InvalidOperationException(SR.Automation_RecursivePublicCall); 1175throw new InvalidOperationException(SR.Automation_RecursivePublicCall); 1200throw new InvalidOperationException(SR.Automation_RecursivePublicCall); 1218throw new InvalidOperationException(SR.Automation_RecursivePublicCall); 1242throw new InvalidOperationException(SR.Automation_RecursivePublicCall); 1294throw new InvalidOperationException(SR.Automation_RecursivePublicCall); 1322throw new InvalidOperationException(SR.Automation_RecursivePublicCall); 1392throw new InvalidOperationException(SR.Automation_RecursivePublicCall); 1420throw new InvalidOperationException(SR.Automation_RecursivePublicCall); 1444throw new InvalidOperationException(SR.Automation_RecursivePublicCall);
System\Windows\Automation\Peers\ContentElementAutomationPeer.cs (1)
312throw new InvalidOperationException(SR.SetFocusFailed);
System\Windows\Automation\Peers\UIElement3DAutomationPeer.cs (2)
14using SR=MS.Internal.PresentationCore.SR; 418throw new InvalidOperationException(SR.SetFocusFailed);
System\Windows\Automation\Peers\UIElementAutomationPeer.cs (2)
17using SR=MS.Internal.PresentationCore.SR; 530throw new InvalidOperationException(SR.SetFocusFailed);
System\Windows\clipboard.cs (8)
27using SR = MS.Internal.PresentationCore.SR; 94throw new ArgumentException(SR.DataObject_EmptyFormatNotAllowed); 183throw new ArgumentException(SR.DataObject_EmptyFormatNotAllowed); 275throw new ArgumentException(SR.DataObject_EmptyFormatNotAllowed); 292throw new ArgumentException(SR.Format(SR.DataObject_FileDropListIsEmpty, fileDropList)); 303throw new ArgumentException(SR.Format(SR.DataObject_FileDropListHasInvalidFileDropPath, fileDropList));
System\Windows\ContentElement.cs (1)
24using SR=MS.Internal.PresentationCore.SR;
System\Windows\CoreCompatibilityPreferences.cs (6)
70throw new InvalidOperationException(SR.Format(SR.CompatibilityPreferencesSealed, "IsAltKeyRequiredInAccessKeyDefaultScope", "CoreCompatibilityPreferences")); 110throw new InvalidOperationException(SR.Format(SR.CompatibilityPreferencesSealed, "IncludeAllInkInBoundingBox", "CoreCompatibilityPreferences")); 151throw new InvalidOperationException(SR.Format(SR.CompatibilityPreferencesSealed, "DisableMultimonDisplayClipping", "CoreCompatibilityPreferences"));
System\Windows\DataFormat.cs (1)
41throw new ArgumentException(SR.DataObject_EmptyFormatNotAllowed);
System\Windows\DataFormats.cs (1)
61throw new ArgumentException(SR.DataObject_EmptyFormatNotAllowed);
System\Windows\dataobject.cs (16)
35using SR=MS.Internal.PresentationCore.SR; 104throw new ArgumentException(SR.DataObject_EmptyFormatNotAllowed); 135throw new ArgumentException(SR.DataObject_EmptyFormatNotAllowed); 185throw new ArgumentException(SR.DataObject_EmptyFormatNotAllowed); 201throw new ArgumentException(SR.DataObject_EmptyFormatNotAllowed); 243throw new ArgumentException(SR.DataObject_EmptyFormatNotAllowed); 261throw new ArgumentException(SR.DataObject_EmptyFormatNotAllowed); 308throw new ArgumentException(SR.DataObject_EmptyFormatNotAllowed); 341throw new ArgumentException(SR.DataObject_EmptyFormatNotAllowed); 489throw new ArgumentException(SR.Format(SR.DataObject_FileDropListIsEmpty, fileDropList)); 500throw new ArgumentException(SR.Format(SR.DataObject_FileDropListHasInvalidFileDropPath, e)); 608throw new ExternalException(SR.Format(SR.DataObject_NotImplementedEnumFormatEtc, dwDirection), NativeMethods.E_NOTIMPL); 2674throw new InvalidOperationException(SR.DataObject_CannotSetDataOnAFozenOLEDataDbject);
System\Windows\DataObjectPastingEventArgs.cs (7)
12using SR=MS.Internal.PresentationCore.SR; 65throw new ArgumentException(SR.DataObject_EmptyFormatNotAllowed); 70throw new ArgumentException(SR.Format(SR.DataObject_DataFormatNotPresentOnDataObject, formatToApply)); 138throw new ArgumentException(SR.DataObject_DataObjectMustHaveAtLeastOneFormat); 167throw new ArgumentException(SR.Format(SR.DataObject_DataFormatNotPresentOnDataObject, value));
System\Windows\Diagnostics\VisualDiagnostics.cs (7)
17using SR=MS.Internal.PresentationCore.SR; 219throw new InvalidOperationException(SR.Format(SR.ReentrantVisualTreeChangeError, nameof(VisualTreeChanged))); 260throw new InvalidOperationException(SR.Format(SR.MethodCallNotAllowed, nameof(VisualDiagnostics.EnableVisualTreeChanged))); 294System.Diagnostics.Debug.WriteLine(SR.Format(SR.ReentrantVisualTreeChangeWarning, nameof(VisualTreeChanged)));
System\Windows\Documents\DocumentPaginator.cs (1)
79throw new ArgumentOutOfRangeException("pageNumber", SR.PaginatorNegativePageNumber);
System\Windows\Documents\DynamicDocumentPaginator.cs (1)
78throw new ArgumentException(SR.PaginatorMissingContentPosition, "contentPosition");
System\Windows\DragDrop.cs (9)
27using SR=MS.Internal.PresentationCore.SR; 401throw new ArgumentException(SR.ScopeMustBeUIElementOrContent, "dragSource"); 432throw new ArgumentException(SR.ScopeMustBeUIElementOrContent, "dragSource"); 717throw new ArgumentException(SR.ScopeMustBeUIElementOrContent, "scope"); 740throw new ArgumentException(SR.ScopeMustBeUIElementOrContent, "scope"); 774throw new ArgumentException(SR.ScopeMustBeUIElementOrContent, "scope"); 797throw new ArgumentException(SR.ScopeMustBeUIElementOrContent, "scope"); 1176throw new ArgumentException(SR.ScopeMustBeUIElementOrContent, "scope"); 1200throw new ArgumentException(SR.ScopeMustBeUIElementOrContent, "scope");
System\Windows\DragEventArgs.cs (3)
18using SR=MS.Internal.PresentationCore.SR; 161throw new ArgumentException(SR.Format(SR.DragDrop_DragDropEffectsInvalid, "value"));
System\Windows\Duration.cs (5)
12using SR=MS.Internal.PresentationCore.SR; 34throw new ArgumentException(SR.Timing_InvalidArgNonNegative, "timeSpan"); 60throw new ArgumentException(SR.Timing_InvalidArgNonNegative, "timeSpan"); 406throw new InvalidOperationException(SR.Format(SR.Timing_NotTimeSpan, this));
System\Windows\EventHandlersStore.cs (3)
13using SR=MS.Internal.PresentationCore.SR; 157throw new ArgumentException(SR.HandlerTypeIllegal); 191throw new ArgumentException(SR.HandlerTypeIllegal);
System\Windows\EventManager.cs (5)
9using SR=MS.Internal.PresentationCore.SR; 77throw new ArgumentException(SR.Format(SR.DuplicateEventName, name, ownerType)); 166throw new ArgumentException(SR.ClassTypeIllegal); 171throw new ArgumentException(SR.HandlerTypeIllegal);
System\Windows\EventRoute.cs (3)
11using SR=MS.Internal.PresentationCore.SR; 135throw new ArgumentException(SR.SourceNotSet); 140throw new ArgumentException(SR.Mismatched_RoutedEvent);
System\Windows\FontStretch.cs (1)
16using SR=MS.Internal.PresentationCore.SR;
System\Windows\FontStretchConverter.cs (4)
23using SR=MS.Internal.PresentationCore.SR; 81throw new ArgumentException(SR.Format(SR.General_BadType, "ConvertFrom"), "value"); 86throw new FormatException(SR.Parsers_IllegalToken);
System\Windows\FontStyleConverter.cs (4)
23using SR=MS.Internal.PresentationCore.SR; 81throw new ArgumentException(SR.Format(SR.General_BadType, "ConvertFrom"), "value"); 86throw new FormatException(SR.Parsers_IllegalToken);
System\Windows\FontWeight.cs (1)
15using SR=MS.Internal.PresentationCore.SR;
System\Windows\FontWeightConverter.cs (4)
23using SR=MS.Internal.PresentationCore.SR; 81throw new ArgumentException(SR.Format(SR.General_BadType, "ConvertFrom"), "value"); 86throw new FormatException(SR.Parsers_IllegalToken);
System\Windows\FreezableCollection.cs (18)
39using SR=MS.Internal.PresentationCore.SR; 109throw new System.ArgumentException(SR.Collection_NoNull); 221throw new System.ArgumentException(SR.Collection_NoNull); 338throw new System.ArgumentException(SR.Collection_NoNull); 509throw new ArgumentException(SR.Collection_BadRank); 524throw new ArgumentException(SR.Format(SR.Collection_BadDestArray, this.GetType().Name), e); 667throw new System.ArgumentException(SR.Format(SR.Collection_BadType, this.GetType().Name, value.GetType().Name, "T")); 723throw new System.ArgumentException(SR.Collection_NoNull); 782throw new InvalidOperationException(SR.Freezable_UnexpectedChange); 854throw new InvalidOperationException(SR.Format(SR.Freezable_CloneInvalidType, typeof(T).Name)); 961throw new InvalidOperationException(SR.Freezable_Reentrant); 1050throw new InvalidOperationException(SR.Enumerator_CollectionChanged); 1068throw new InvalidOperationException(SR.Enumerator_CollectionChanged); 1102throw new InvalidOperationException(SR.Enumerator_NotStarted); 1107throw new InvalidOperationException(SR.Enumerator_ReachedEnd);
System\Windows\Generated\ContentElement.cs (26)
80throw new ArgumentException(SR.Format(SR.Animation_DependencyPropertyIsNotAnimatable, dp.Name, this.GetType()), "dp"); 88throw new ArgumentException(SR.Format(SR.Animation_AnimationTimelineTypeMismatch, clock.Timeline.GetType(), dp.Name, dp.PropertyType), "clock"); 94throw new ArgumentException(SR.Animation_UnrecognizedHandoffBehavior); 99throw new InvalidOperationException(SR.Format(SR.IAnimatable_CantAnimateSealedDO, dp, this.GetType())); 149throw new ArgumentException(SR.Format(SR.Animation_DependencyPropertyIsNotAnimatable, dp.Name, this.GetType()), "dp"); 156throw new ArgumentException(SR.Format(SR.Animation_AnimationTimelineTypeMismatch, animation.GetType(), dp.Name, dp.PropertyType), "animation"); 161throw new ArgumentException(SR.Animation_UnrecognizedHandoffBehavior); 166throw new InvalidOperationException(SR.Format(SR.IAnimatable_CantAnimateSealedDO, dp, this.GetType())); 538throw new ArgumentException(SR.HandlerTypeIllegal); 593throw new ArgumentException(SR.HandlerTypeIllegal); 2062[CustomCategory(nameof(SR.Touch_Category))] 2082[CustomCategory(nameof(SR.Touch_Category))] 2102[CustomCategory(nameof(SR.Touch_Category))] 2122[CustomCategory(nameof(SR.Touch_Category))] 2142[CustomCategory(nameof(SR.Touch_Category))] 2162[CustomCategory(nameof(SR.Touch_Category))] 2182[CustomCategory(nameof(SR.Touch_Category))] 2202[CustomCategory(nameof(SR.Touch_Category))] 2222[CustomCategory(nameof(SR.Touch_Category))] 2242[CustomCategory(nameof(SR.Touch_Category))]
System\Windows\Generated\TextDecoration.cs (1)
29using SR=MS.Internal.PresentationCore.SR;
System\Windows\Generated\TextDecorationCollection.cs (15)
29using SR = MS.Internal.PresentationCore.SR; 139throw new System.ArgumentException(SR.Collection_NoNull); 247throw new System.ArgumentException(SR.Collection_NoNull); 410throw new ArgumentException(SR.Collection_BadRank); 425throw new ArgumentException(SR.Format(SR.Collection_BadDestArray, this.GetType().Name), e); 514throw new System.ArgumentException(SR.Format(SR.Collection_BadType, this.GetType().Name, value.GetType().Name, "TextDecoration")); 540throw new System.ArgumentException(SR.Collection_NoNull); 796throw new InvalidOperationException(SR.Enumerator_CollectionChanged); 814throw new InvalidOperationException(SR.Enumerator_CollectionChanged); 848throw new InvalidOperationException(SR.Enumerator_NotStarted); 853throw new InvalidOperationException(SR.Enumerator_ReachedEnd); 931throw new System.ArgumentException(SR.Collection_NoNull); 948throw new System.ArgumentException(SR.Collection_NoNull);
System\Windows\Generated\TextDecorationLocation.cs (1)
17using SR=MS.Internal.PresentationCore.SR;
System\Windows\Generated\TextDecorationUnit.cs (1)
17using SR=MS.Internal.PresentationCore.SR;
System\Windows\Generated\UIElement.cs (26)
80throw new ArgumentException(SR.Format(SR.Animation_DependencyPropertyIsNotAnimatable, dp.Name, this.GetType()), "dp"); 88throw new ArgumentException(SR.Format(SR.Animation_AnimationTimelineTypeMismatch, clock.Timeline.GetType(), dp.Name, dp.PropertyType), "clock"); 94throw new ArgumentException(SR.Animation_UnrecognizedHandoffBehavior); 99throw new InvalidOperationException(SR.Format(SR.IAnimatable_CantAnimateSealedDO, dp, this.GetType())); 149throw new ArgumentException(SR.Format(SR.Animation_DependencyPropertyIsNotAnimatable, dp.Name, this.GetType()), "dp"); 156throw new ArgumentException(SR.Format(SR.Animation_AnimationTimelineTypeMismatch, animation.GetType(), dp.Name, dp.PropertyType), "animation"); 161throw new ArgumentException(SR.Animation_UnrecognizedHandoffBehavior); 166throw new InvalidOperationException(SR.Format(SR.IAnimatable_CantAnimateSealedDO, dp, this.GetType())); 538throw new ArgumentException(SR.HandlerTypeIllegal); 593throw new ArgumentException(SR.HandlerTypeIllegal); 4015[CustomCategory(nameof(SR.Touch_Category))] 4035[CustomCategory(nameof(SR.Touch_Category))] 4055[CustomCategory(nameof(SR.Touch_Category))] 4075[CustomCategory(nameof(SR.Touch_Category))] 4095[CustomCategory(nameof(SR.Touch_Category))] 4115[CustomCategory(nameof(SR.Touch_Category))] 4135[CustomCategory(nameof(SR.Touch_Category))] 4155[CustomCategory(nameof(SR.Touch_Category))] 4175[CustomCategory(nameof(SR.Touch_Category))] 4195[CustomCategory(nameof(SR.Touch_Category))]
System\Windows\Generated\UIElement3D.cs (12)
335throw new ArgumentException(SR.HandlerTypeIllegal); 390throw new ArgumentException(SR.HandlerTypeIllegal); 1783[CustomCategory(nameof(SR.Touch_Category))] 1803[CustomCategory(nameof(SR.Touch_Category))] 1823[CustomCategory(nameof(SR.Touch_Category))] 1843[CustomCategory(nameof(SR.Touch_Category))] 1863[CustomCategory(nameof(SR.Touch_Category))] 1883[CustomCategory(nameof(SR.Touch_Category))] 1903[CustomCategory(nameof(SR.Touch_Category))] 1923[CustomCategory(nameof(SR.Touch_Category))] 1943[CustomCategory(nameof(SR.Touch_Category))] 1963[CustomCategory(nameof(SR.Touch_Category))]
System\Windows\GlobalEventManager.cs (2)
10using SR=MS.Internal.PresentationCore.SR; 440throw new InvalidOperationException(SR.TooManyRoutedEvents);
System\Windows\Ink\DrawingAttributes.cs (9)
19using SR=MS.Internal.PresentationCore.SR; 145throw new ArgumentException(SR.InvalidSttValue, "value"); 173throw new ArgumentOutOfRangeException("Height", SR.InvalidDrawingAttributesHeight); 200throw new ArgumentOutOfRangeException("Width", SR.InvalidDrawingAttributesWidth); 602throw new ArgumentNullException("e", SR.EventArgIsNull); 631throw new ArgumentNullException("e", SR.EventArgIsNull); 720throw new ArgumentException(SR.Format(SR.InvalidValueType, typeof(Matrix)), "propertyData"); 955throw new ArgumentException(SR.EPGuidNotFound, "id");
System\Windows\Ink\Events.cs (5)
11using SR = MS.Internal.PresentationCore.SR; 44throw new ArgumentException(SR.Format(SR.CannotBothBeNull, "added", "removed")); 110throw new ArgumentException(SR.Format(SR.CannotBothBeNull, "newValue", "previousValue"));
System\Windows\Ink\GestureRecognizer.cs (3)
19using SR=MS.Internal.PresentationCore.SR; 178throw new ArgumentException(SR.StrokeCollectionCountTooBig, "strokes"); 267throw new InvalidOperationException(SR.GestureRecognizerNotAvailable);
System\Windows\Ink\IncrementalHitTester.cs (5)
18using SR=MS.Internal.PresentationCore.SR; 51throw new System.ArgumentException(SR.EmptyArrayNotAllowedAsArgument, "points"); 56throw new System.InvalidOperationException(SR.EndHitTestingCalled); 74throw new System.ArgumentException(SR.EmptyArrayNotAllowedAsArgument, "stylusPoints"); 79throw new System.InvalidOperationException(SR.EndHitTestingCalled);
System\Windows\Ink\Stroke.cs (11)
25using SR=MS.Internal.PresentationCore.SR; 66throw new ArgumentException(SR.InvalidStylusPointCollectionZeroCount, "stylusPoints"); 160throw new ArgumentException(SR.MatrixNotInvertible, "transformMatrix"); 164throw new ArgumentException(SR.InvalidMatrixContainsNaN, "transformMatrix"); 168throw new ArgumentException(SR.InvalidMatrixContainsInfinity, "transformMatrix"); 522throw new ArgumentException(SR.InvalidStylusPointCollectionZeroCount); 602throw new ArgumentNullException("e", SR.EventArgIsNull); 633throw new ArgumentNullException("e", SR.EventArgIsNull); 648throw new ArgumentNullException("e", SR.EventArgIsNull); 665throw new ArgumentNullException("e", SR.EventArgIsNull); 683throw new ArgumentNullException("e", SR.EventArgIsNull);
System\Windows\Ink\Stroke2.cs (4)
19using SR=MS.Internal.PresentationCore.SR; 130throw new ArgumentException(SR.EmptyArray); 161throw new ArgumentException(SR.EmptyArray); 205throw new ArgumentOutOfRangeException("diameter", SR.InvalidDiameter);
System\Windows\Ink\StrokeCollection.cs (20)
23using SR = MS.Internal.PresentationCore.SR; 60throw new ArgumentException(SR.StrokeIsDuplicated, "strokes"); 73throw new ArgumentException(SR.Image_StreamRead, "stream"); 79throw new ArgumentException(SR.Invalid_isfData_Length, "stream"); 97throw new ArgumentException(SR.Image_StreamWrite, "stream"); 198throw new ArgumentException(SR.InvalidGuid, "propertyDataId"); 236throw new ArgumentException(SR.MatrixNotInvertible, "transformMatrix"); 328throw new ArgumentException(SR.StrokeIsDuplicated, "stroke"); 346throw new ArgumentException(SR.StrokeIsDuplicated, "stroke"); 402ArgumentException ae = new ArgumentException(SR.InvalidRemovedStroke, "strokes"); 446throw new ArgumentException(SR.StrokeIsDuplicated, "strokes"); 467throw new ArgumentNullException(SR.EmptyScToReplace); 484throw new ArgumentNullException(SR.EmptyScToReplace); 488throw new ArgumentNullException(SR.EmptyScToReplaceWith); 494ArgumentException ae = new ArgumentException(SR.EmptyScToReplace, "strokesToReplace"); 507ArgumentException ae = new ArgumentException(SR.InvalidRemovedStroke, "strokesToReplace"); 523throw new ArgumentException(SR.StrokeIsDuplicated, "strokesToReplaceWith"); 636throw new ArgumentNullException("e", SR.EventArgIsNull); 693throw new ArgumentNullException("e", SR.EventArgIsNull); 877throw new NotSupportedException(SR.StrokeCollectionIsReadOnly);
System\Windows\Ink\StrokeCollection2.cs (6)
18using SR=MS.Internal.PresentationCore.SR; 78throw new ArgumentOutOfRangeException("diameter", SR.InvalidDiameter); 248throw new ArgumentException(SR.EmptyArray); 298throw new ArgumentException(SR.EmptyArray); 341throw new System.ArgumentNullException(SR.SCEraseShape); 345throw new System.ArgumentNullException(SR.SCErasePath);
System\Windows\Ink\StrokeCollectionConverter.cs (1)
22using SR=MS.Internal.PresentationCore.SR;
System\Windows\Input\AccessKeyManager.cs (3)
20using SR=MS.Internal.PresentationCore.SR; 138throw new ArgumentException(SR.Format(SR.AccessKeyManager_NotAUnicodeCharacter, "key"));
System\Windows\Input\Command\ApplicationCommands.cs (44)
23using SR=MS.Internal.PresentationCore.SR; 277case CommandId.Cut: uiText = SR.CutText; break; 278case CommandId.Copy: uiText = SR.CopyText;break; 279case CommandId.Paste: uiText = SR.PasteText;break; 280case CommandId.Undo: uiText = SR.UndoText;break; 281case CommandId.Redo: uiText = SR.RedoText; break; 282case CommandId.Delete: uiText = SR.DeleteText; break; 283case CommandId.Find: uiText = SR.FindText; break; 284case CommandId.Replace: uiText = SR.ReplaceText; break; 285case CommandId.SelectAll: uiText = SR.SelectAllText; break; 286case CommandId.Help: uiText = SR.HelpText; break; 287case CommandId.New: uiText = SR.NewText; break; 288case CommandId.Open: uiText = SR.OpenText; break; 289case CommandId.Save: uiText = SR.SaveText; break; 290case CommandId.SaveAs: uiText = SR.SaveAsText; break; 291case CommandId.Print: uiText = SR.PrintText; break; 292case CommandId.CancelPrint: uiText = SR.CancelPrintText; break; 293case CommandId.PrintPreview: uiText = SR.PrintPreviewText; break; 294case CommandId.Close: uiText = SR.CloseText; break; 295case CommandId.ContextMenu: uiText = SR.ContextMenuText; break; 296case CommandId.CorrectionList: uiText = SR.CorrectionListText; break; 297case CommandId.Properties: uiText = SR.PropertiesText; break; 298case CommandId.Stop: uiText = SR.StopText; break; 299case CommandId.NotACommand: uiText = SR.NotACommandText; break; 315SR.CutKeyDisplayString, 321SR.CopyKeyDisplayString, 327SR.PasteKeyDisplayString, 333SR.UndoKeyDisplayString, 339SR.RedoKeyDisplayString, 345SR.DeleteKeyDisplayString, 351SR.FindKeyDisplayString, 357SR.ReplaceKeyDisplayString, 363SR.SelectAllKeyDisplayString, 369SR.HelpKeyDisplayString, 375SR.NewKeyDisplayString, 381SR.OpenKeyDisplayString, 387SR.SaveKeyDisplayString, 395SR.PrintKeyDisplayString, 403SR.PrintPreviewKeyDisplayString, 411SR.ContextMenuKeyDisplayString, 416SR.CorrectionListKey, 417SR.CorrectionListKeyDisplayString, 423SR.PropertiesKeyDisplayString, 429SR.StopKeyDisplayString,
System\Windows\Input\Command\CommandBindingCollection.cs (5)
23using SR=MS.Internal.PresentationCore.SR; 144throw new NotSupportedException(SR.CollectionOnlyAcceptsCommandBindings); 183throw new NotSupportedException(SR.CollectionOnlyAcceptsCommandBindings); 209throw new NotSupportedException(SR.CollectionOnlyAcceptsCommandBindings); 227throw new NotSupportedException(SR.CollectionOnlyAcceptsCommandBindings);
System\Windows\Input\Command\CommandManager.cs (1)
20using SR=MS.Internal.PresentationCore.SR;
System\Windows\Input\Command\ComponentCommands.cs (58)
21using SR=MS.Internal.PresentationCore.SR; 306case CommandId.ScrollPageUp: uiText = SR.ScrollPageUpText; break; 307case CommandId.ScrollPageDown: uiText = SR.ScrollPageDownText; break; 308case CommandId.ScrollPageLeft: uiText = SR.ScrollPageLeftText; break; 309case CommandId.ScrollPageRight: uiText = SR.ScrollPageRightText; break; 310case CommandId.ScrollByLine: uiText = SR.ScrollByLineText; break; 311case CommandId.MoveLeft:uiText = SR.MoveLeftText;break; 312case CommandId.MoveRight:uiText = SR.MoveRightText;break; 313case CommandId.MoveUp: uiText = SR.MoveUpText; break; 314case CommandId.MoveDown: uiText = SR.MoveDownText; break; 315case CommandId.ExtendSelectionUp: uiText = SR.ExtendSelectionUpText; break; 316case CommandId.ExtendSelectionDown: uiText = SR.ExtendSelectionDownText; break; 317case CommandId.ExtendSelectionLeft: uiText = SR.ExtendSelectionLeftText; break; 318case CommandId.ExtendSelectionRight: uiText = SR.ExtendSelectionRightText; break; 319case CommandId.MoveToHome: uiText = SR.MoveToHomeText; break; 320case CommandId.MoveToEnd: uiText = SR.MoveToEndText; break; 321case CommandId.MoveToPageUp: uiText = SR.MoveToPageUpText; break; 322case CommandId.MoveToPageDown: uiText = SR.MoveToPageDownText; break; 323case CommandId.SelectToHome: uiText = SR.SelectToHomeText; break; 324case CommandId.SelectToEnd: uiText = SR.SelectToEndText; break; 325case CommandId.SelectToPageDown: uiText = SR.SelectToPageDownText; break; 326case CommandId.SelectToPageUp: uiText = SR.SelectToPageUpText; break; 327case CommandId.MoveFocusUp: uiText = SR.MoveFocusUpText; break; 328case CommandId.MoveFocusDown: uiText = SR.MoveFocusDownText; break; 329case CommandId.MoveFocusBack: uiText = SR.MoveFocusBackText; break; 330case CommandId.MoveFocusForward: uiText = SR.MoveFocusForwardText; break; 331case CommandId.MoveFocusPageUp: uiText = SR.MoveFocusPageUpText; break; 332case CommandId.MoveFocusPageDown: uiText = SR.MoveFocusPageDownText; break; 348SR.ScrollPageUpKeyDisplayString, 354SR.ScrollPageDownKeyDisplayString, 359SR.ScrollPageLeftKey, 360SR.ScrollPageLeftKeyDisplayString, 365SR.ScrollPageRightKey, 366SR.ScrollPageRightKeyDisplayString, 371SR.ScrollByLineKey, 372SR.ScrollByLineKeyDisplayString, 378SR.MoveLeftKeyDisplayString, 384SR.MoveRightKeyDisplayString, 390SR.MoveUpKeyDisplayString, 396SR.MoveDownKeyDisplayString, 402SR.ExtendSelectionUpKeyDisplayString, 408SR.ExtendSelectionDownKeyDisplayString, 414SR.ExtendSelectionLeftKeyDisplayString, 420SR.ExtendSelectionRightKeyDisplayString, 426SR.MoveToHomeKeyDisplayString, 432SR.MoveToEndKeyDisplayString, 438SR.MoveToPageUpKeyDisplayString, 444SR.MoveToPageDownKeyDisplayString, 450SR.SelectToHomeKeyDisplayString, 456SR.SelectToEndKeyDisplayString, 462SR.SelectToPageDownKeyDisplayString, 468SR.SelectToPageUpKeyDisplayString, 474SR.MoveFocusUpKeyDisplayString, 480SR.MoveFocusDownKeyDisplayString, 486SR.MoveFocusBackKeyDisplayString, 492SR.MoveFocusForwardKeyDisplayString, 498SR.MoveFocusPageUpKeyDisplayString, 504SR.MoveFocusPageDownKeyDisplayString,
System\Windows\Input\Command\InputBindingCollection.cs (5)
25using SR=MS.Internal.PresentationCore.SR; 160throw new NotSupportedException(SR.CollectionOnlyAcceptsInputBindings); 232throw new NotSupportedException(SR.CollectionOnlyAcceptsInputBindings); 286throw new NotSupportedException(SR.CollectionOnlyAcceptsInputBindings); 301throw new NotSupportedException(SR.CollectionOnlyAcceptsInputBindings);
System\Windows\Input\Command\InputGestureCollection.cs (14)
20using SR=MS.Internal.PresentationCore.SR; 111throw new NotSupportedException(SR.ReadOnlyInputGesturesCollection); 123throw new NotSupportedException(SR.ReadOnlyInputGesturesCollection); 135throw new NotSupportedException(SR.ReadOnlyInputGesturesCollection); 153throw new NotSupportedException(SR.CollectionOnlyAcceptsInputGestures); 186throw new NotSupportedException(SR.ReadOnlyInputGesturesCollection); 239throw new NotSupportedException(SR.ReadOnlyInputGesturesCollection); 264throw new NotSupportedException(SR.ReadOnlyInputGesturesCollection); 284throw new NotSupportedException(SR.ReadOnlyInputGesturesCollection); 304throw new NotSupportedException(SR.CollectionOnlyAcceptsInputGestures); 318throw new NotSupportedException(SR.ReadOnlyInputGesturesCollection); 321throw new NotSupportedException(SR.CollectionOnlyAcceptsInputGestures); 346throw new NotSupportedException(SR.ReadOnlyInputGesturesCollection); 375throw new NotSupportedException(SR.ReadOnlyInputGesturesCollection);
System\Windows\Input\Command\KeyBinding.cs (3)
19using SR=MS.Internal.PresentationCore.SR; 97throw new ArgumentException(SR.Format(SR.InputBinding_ExpectedInputGesture, typeof(KeyGesture)));
System\Windows\Input\Command\KeyGesture.cs (2)
104throw new NotSupportedException(SR.Format(SR.KeyGesture_Invalid, modifiers, key));
System\Windows\Input\Command\MediaCommands.cs (73)
21using SR=MS.Internal.PresentationCore.SR; 267case CommandId.Play: uiText = SR.MediaPlayText; break; 268case CommandId.Pause: uiText = SR.MediaPauseText; break; 269case CommandId.Stop: uiText = SR.MediaStopText; break; 270case CommandId.Record: uiText = SR.MediaRecordText; break; 271case CommandId.NextTrack: uiText = SR.MediaNextTrackText; break; 272case CommandId.PreviousTrack: uiText = SR.MediaPreviousTrackText; break; 273case CommandId.FastForward: uiText = SR.MediaFastForwardText; break; 274case CommandId.Rewind: uiText = SR.MediaRewindText; break; 275case CommandId.ChannelUp: uiText = SR.MediaChannelUpText; break; 276case CommandId.ChannelDown: uiText = SR.MediaChannelDownText; break; 277case CommandId.TogglePlayPause: uiText = SR.MediaTogglePlayPauseText; break; 278case CommandId.IncreaseVolume: uiText = SR.MediaIncreaseVolumeText; break; 279case CommandId.DecreaseVolume: uiText = SR.MediaDecreaseVolumeText; break; 280case CommandId.MuteVolume: uiText = SR.MediaMuteVolumeText; break; 281case CommandId.IncreaseTreble: uiText = SR.MediaIncreaseTrebleText; break; 282case CommandId.DecreaseTreble: uiText = SR.MediaDecreaseTrebleText; break; 283case CommandId.IncreaseBass: uiText = SR.MediaIncreaseBassText; break; 284case CommandId.DecreaseBass: uiText = SR.MediaDecreaseBassText; break; 285case CommandId.BoostBass: uiText = SR.MediaBoostBassText; break; 286case CommandId.IncreaseMicrophoneVolume: uiText = SR.MediaIncreaseMicrophoneVolumeText; break; 287case CommandId.DecreaseMicrophoneVolume: uiText = SR.MediaDecreaseMicrophoneVolumeText; break; 288case CommandId.MuteMicrophoneVolume: uiText = SR.MediaMuteMicrophoneVolumeText; break; 289case CommandId.ToggleMicrophoneOnOff: uiText = SR.MediaToggleMicrophoneOnOffText; break; 290case CommandId.Select:uiText = SR.MediaSelectText;break; 304SR.MediaPlayKey, 305SR.MediaPlayKeyDisplayString, 310SR.MediaPauseKey, 311SR.MediaPauseKeyDisplayString, 316SR.MediaStopKey, 317SR.MediaStopKeyDisplayString, 322SR.MediaRecordKey, 323SR.MediaRecordKeyDisplayString, 328SR.MediaNextTrackKey, 329SR.MediaNextTrackKeyDisplayString, 334SR.MediaPreviousTrackKey, 335SR.MediaPreviousTrackKeyDisplayString, 340SR.MediaFastForwardKey, 341SR.MediaFastForwardKeyDisplayString, 346SR.MediaRewindKey, 347SR.MediaRewindKeyDisplayString, 352SR.MediaChannelUpKey, 353SR.MediaChannelUpKeyDisplayString, 358SR.MediaChannelDownKey, 359SR.MediaChannelDownKeyDisplayString, 364SR.MediaTogglePlayPauseKey, 365SR.MediaTogglePlayPauseKeyDisplayString, 370SR.MediaIncreaseVolumeKey, 371SR.MediaIncreaseVolumeKeyDisplayString, 376SR.MediaDecreaseVolumeKey, 377SR.MediaDecreaseVolumeKeyDisplayString, 382SR.MediaMuteVolumeKey, 383SR.MediaMuteVolumeKeyDisplayString, 388SR.MediaIncreaseTrebleKey, 389SR.MediaIncreaseTrebleKeyDisplayString, 394SR.MediaDecreaseTrebleKey, 395SR.MediaDecreaseTrebleKeyDisplayString, 400SR.MediaIncreaseBassKey, 401SR.MediaIncreaseBassKeyDisplayString, 406SR.MediaDecreaseBassKey, 407SR.MediaDecreaseBassKeyDisplayString, 412SR.MediaBoostBassKey, 413SR.MediaBoostBassKeyDisplayString, 418SR.MediaIncreaseMicrophoneVolumeKey, 419SR.MediaIncreaseMicrophoneVolumeKeyDisplayString, 424SR.MediaDecreaseMicrophoneVolumeKey, 425SR.MediaDecreaseMicrophoneVolumeKeyDisplayString, 430SR.MediaMuteMicrophoneVolumeKey, 431SR.MediaMuteMicrophoneVolumeKeyDisplayString, 436SR.MediaToggleMicrophoneOnOffKey, 437SR.MediaToggleMicrophoneOnOffKeyDisplayString, 442SR.MediaSelectKey, 443SR.MediaSelectKeyDisplayString,
System\Windows\Input\Command\MouseActionConverter.cs (3)
21using SR=MS.Internal.PresentationCore.SR; 97throw new NotSupportedException(SR.Format(SR.Unsupported_MouseAction, mouseActionToken));
System\Windows\Input\Command\MouseBinding.cs (3)
21using SR=MS.Internal.PresentationCore.SR; 114throw new ArgumentException(SR.Format(SR.InputBinding_ExpectedInputGesture, typeof(MouseGesture)));
System\Windows\Input\Command\NavigationCommands.cs (42)
22using SR = MS.Internal.PresentationCore.SR; 210case CommandId.BrowseBack: uiText = SR.BrowseBackText; break; 211case CommandId.BrowseForward: uiText = SR.BrowseForwardText; break; 212case CommandId.BrowseHome: uiText = SR.BrowseHomeText; break; 213case CommandId.BrowseStop: uiText = SR.BrowseStopText; break; 214case CommandId.Refresh: uiText = SR.RefreshText; break; 215case CommandId.Favorites: uiText = SR.FavoritesText; break; 216case CommandId.Search: uiText = SR.SearchText; break; 217case CommandId.IncreaseZoom: uiText = SR.IncreaseZoomText; break; 218case CommandId.DecreaseZoom: uiText = SR.DecreaseZoomText; break; 219case CommandId.Zoom: uiText = SR.ZoomText; break; 220case CommandId.NextPage: uiText = SR.NextPageText; break; 221case CommandId.PreviousPage: uiText = SR.PreviousPageText; break; 222case CommandId.FirstPage: uiText = SR.FirstPageText; break; 223case CommandId.LastPage: uiText = SR.LastPageText; break; 224case CommandId.GoToPage: uiText = SR.GoToPageText; break; 225case CommandId.NavigateJournal: uiText = SR.NavigateJournalText; break; 240SR.BrowseBackKeyDisplayString, 246SR.BrowseForwardKeyDisplayString, 252SR.BrowseHomeKeyDisplayString, 258SR.BrowseStopKeyDisplayString, 264SR.RefreshKeyDisplayString, 270SR.FavoritesKeyDisplayString, 276SR.SearchKeyDisplayString, 281SR.IncreaseZoomKey, 282SR.IncreaseZoomKeyDisplayString, 287SR.DecreaseZoomKey, 288SR.DecreaseZoomKeyDisplayString, 293SR.ZoomKey, 294SR.ZoomKeyDisplayString, 299SR.NextPageKey, 300SR.NextPageKeyDisplayString, 305SR.PreviousPageKey, 306SR.PreviousPageKeyDisplayString, 311SR.FirstPageKey, 312SR.FirstPageKeyDisplayString, 317SR.LastPageKey, 318SR.LastPageKeyDisplayString, 323SR.GoToPageKey, 324SR.GoToPageKeyDisplayString, 329SR.NavigateJournalKey, 330SR.NavigateJournalKeyDisplayString,
System\Windows\Input\Command\RoutedCommand.cs (6)
18using SR = MS.Internal.PresentationCore.SR; 62throw new ArgumentException(SR.StringEmpty, "name"); 134throw new InvalidOperationException(SR.Format(SR.Invalid_IInputElement, target.GetType())); 170throw new InvalidOperationException(SR.Format(SR.Invalid_IInputElement, target.GetType()));
System\Windows\Input\Cursor.cs (11)
15using SR=MS.Internal.PresentationCore.SR; 41throw new ArgumentException(SR.Format(SR.InvalidCursorType, cursorType)); 72throw new ArgumentException(SR.Format(SR.Cursor_UnsupportedFormat , cursorFile)); 201throw new Win32Exception(errorCode, SR.Format(SR.Cursor_LoadImageFailure, fileName)); 210throw new ArgumentException(SR.Format(SR.Cursor_LoadImageFailure, fileName)); 264throw new ArgumentException(SR.Cursor_InvalidStream); 310throw new ArgumentException(SR.Cursor_InvalidStream);
System\Windows\Input\FocusChangedEventArgs.cs (5)
8using SR=MS.Internal.PresentationCore.SR; 35throw new InvalidOperationException(SR.Format(SR.Invalid_IInputElement, oldFocus.GetType())); 38throw new InvalidOperationException(SR.Format(SR.Invalid_IInputElement, newFocus.GetType()));
System\Windows\Input\InputLanguageManager.cs (2)
22using SR=MS.Internal.PresentationCore.SR; 473throw new InvalidOperationException(SR.InputLanguageManager_NotReadyToChangeCurrentLanguage);
System\Windows\Input\InputManager.cs (2)
18using SR=MS.Internal.PresentationCore.SR; 156throw new InvalidOperationException(SR.RequiresSTA);
System\Windows\Input\InputMethod.cs (5)
27using SR=MS.Internal.PresentationCore.SR; 826throw new ArgumentException(SR.Format(SR.InputMethod_InvalidConversionMode, value)); 1077throw new ArgumentException(SR.Format(SR.InputMethod_InvalidSentenceMode, value));
System\Windows\Input\InputProviderSite.cs (2)
12using SR=MS.Internal.PresentationCore.SR; 95throw new ObjectDisposedException(SR.InputProviderSiteDisposed);
System\Windows\Input\InputScope.cs (3)
21using SR=MS.Internal.PresentationCore.SR; 182throw new ArgumentException(SR.Format(SR.InputScope_InvalidInputScopeName, "value"));
System\Windows\Input\KeyboardDevice.cs (7)
16using SR=MS.Internal.PresentationCore.SR; 147throw new InvalidOperationException(SR.Format(SR.Invalid_IInputElement, element.GetType())); 442throw new InvalidOperationException(SR.Format(SR.Invalid_IInputElement, o.GetType())); 468throw new InvalidOperationException(SR.Format(SR.Invalid_IInputElement, o.GetType()));
System\Windows\Input\Manipulation.cs (7)
80throw new InvalidOperationException(SR.Manipulation_ManipulationNotActive); 112throw new InvalidOperationException(SR.Manipulation_ManipulationNotActive); 153throw new InvalidOperationException(SR.Manipulation_ManipulationNotActive); 192throw new InvalidOperationException(SR.Manipulation_ManipulationNotActive); 226throw new InvalidOperationException(SR.Manipulation_ManipulationNotEnabled); 246throw new InvalidOperationException(SR.Manipulation_ManipulationNotActive); 280throw new InvalidOperationException(SR.Manipulation_ManipulationNotActive);
System\Windows\Input\ManipulationStartingEventArgs.cs (1)
39throw new ArgumentException(SR.Manipulation_InvalidManipulationMode, "value");
System\Windows\Input\MouseDevice.cs (5)
20using SR = MS.Internal.PresentationCore.SR; 334throw new InvalidOperationException(SR.Format(SR.Invalid_IInputElement, eltDO.GetType())); 584throw new InvalidOperationException(SR.Format(SR.Invalid_IInputElement, relativeTo.GetType()));
System\Windows\Input\ProcessInputEventArgs.cs (5)
9using SR=MS.Internal.PresentationCore.SR; 57throw new InvalidOperationException(SR.NotAllowedToAccessStagingArea); 77throw new InvalidOperationException(SR.NotAllowedToAccessStagingArea); 95throw new InvalidOperationException(SR.NotAllowedToAccessStagingArea); 113throw new InvalidOperationException(SR.NotAllowedToAccessStagingArea);
System\Windows\Input\Stylus\Common\DynamicRenderer.cs (2)
27using SR=MS.Internal.PresentationCore.SR; 262throw new ArgumentException(SR.Stylus_MustBeDownToCallReset, "stylusDevice");
System\Windows\Input\Stylus\Common\RawStylusInput.cs (5)
12using SR=MS.Internal.PresentationCore.SR; 37throw new ArgumentException(SR.Stylus_MatrixNotInvertable, "tabletToElementTransform"); 111throw new ArgumentException(SR.IncompatibleStylusPointDescriptions, "stylusPoints"); 115throw new ArgumentException(SR.Stylus_StylusPointsCantBeEmpty, "stylusPoints"); 129throw new InvalidOperationException(SR.Stylus_CanOnlyCallForDownMoveOrUp);
System\Windows\Input\Stylus\Common\RawStylusInputCustomData.cs (1)
9using SR=MS.Internal.PresentationCore.SR;
System\Windows\Input\Stylus\Common\RawStylusInputCustomDataList.cs (1)
13using SR=MS.Internal.PresentationCore.SR;
System\Windows\Input\Stylus\Common\RawStylusInputReport.cs (5)
15using SR = MS.Internal.PresentationCore.SR; 192throw new InvalidEnumArgumentException(SR.Format(SR.Enum_Invalid, nameof(actions))); 248throw new InvalidEnumArgumentException(SR.Format(SR.Enum_Invalid, nameof(actions)));
System\Windows\Input\Stylus\Common\RawStylusSystemGestureInputReport.cs (3)
9using SR = MS.Internal.PresentationCore.SR; 162throw new InvalidEnumArgumentException(SR.Format(SR.Enum_Invalid, nameof(systemGesture)));
System\Windows\Input\Stylus\Common\StylusButtonCollection.cs (1)
15using SR = MS.Internal.PresentationCore.SR;
System\Windows\Input\Stylus\Common\StylusDevice.cs (1)
20using SR = MS.Internal.PresentationCore.SR;
System\Windows\Input\Stylus\Common\StylusDeviceBase.cs (1)
21using SR = MS.Internal.PresentationCore.SR;
System\Windows\Input\Stylus\Common\StylusDeviceCollection.cs (1)
14using SR = MS.Internal.PresentationCore.SR;
System\Windows\Input\Stylus\Common\StylusLogic.cs (1)
26using SR = MS.Internal.PresentationCore.SR;
System\Windows\Input\Stylus\Common\StylusPlugInCollection.cs (5)
15using SR = MS.Internal.PresentationCore.SR; 48throw new ArgumentNullException(nameof(plugIn), SR.Stylus_PlugInIsNull); 53throw new ArgumentException(SR.Stylus_PlugInIsDuplicated, nameof(plugIn)); 181throw new ArgumentNullException("plugIn", SR.Stylus_PlugInIsNull); 186throw new ArgumentException(SR.Stylus_PlugInIsDuplicated, "plugIn");
System\Windows\Input\Stylus\Common\StylusPlugInCollectionBase.cs (1)
17using SR = MS.Internal.PresentationCore.SR;
System\Windows\Input\Stylus\Common\StylusPoint.cs (11)
15using SR = MS.Internal.PresentationCore.SR; 83throw new ArgumentOutOfRangeException("x", SR.InvalidStylusPointXYNaN); 87throw new ArgumentOutOfRangeException("y", SR.InvalidStylusPointXYNaN); 95throw new ArgumentOutOfRangeException("pressureFactor", SR.InvalidPressureValue); 130throw new ArgumentException(SR.InvalidAdditionalDataForStylusPoint, "additionalValues"); 177throw new ArgumentOutOfRangeException("X", SR.InvalidStylusPointXYNaN); 197throw new ArgumentOutOfRangeException("Y", SR.InvalidStylusPointXYNaN); 232throw new ArgumentOutOfRangeException("PressureFactor", SR.InvalidPressureValue); 303throw new ArgumentException(SR.InvalidStylusPointProperty, "stylusPointProperty"); 386throw new ArgumentException(SR.InvalidStylusPointProperty, "propertyId"); 392throw new ArgumentOutOfRangeException("value", SR.InvalidMinMaxForButton);
System\Windows\Input\Stylus\Common\StylusPointCollection.cs (11)
16using SR = MS.Internal.PresentationCore.SR; 54throw new ArgumentException(SR.InvalidStylusPointConstructionZeroLengthCollection, "initialCapacity"); 79throw new ArgumentException(SR.InvalidStylusPointConstructionZeroLengthCollection, "initialCapacity"); 97throw new ArgumentException(SR.InvalidStylusPointConstructionZeroLengthCollection, "stylusPoints"); 132throw new ArgumentException(SR.InvalidStylusPointConstructionZeroLengthCollection, "points"); 213throw new ArgumentException(SR.IncompatibleStylusPointDescriptions, "stylusPoints"); 261throw new InvalidOperationException(SR.InvalidStylusPointCollectionZeroCount); 278throw new InvalidOperationException(SR.InvalidStylusPointCollectionZeroCount); 291throw new ArgumentException(SR.IncompatibleStylusPointDescriptions, "stylusPoint"); 309throw new ArgumentException(SR.IncompatibleStylusPointDescriptions, "stylusPoint"); 457throw new ArgumentException(SR.InvalidStylusPointDescriptionSubset, "subsetToReformatTo");
System\Windows\Input\Stylus\Common\StylusPointDescription.cs (5)
13using SR = MS.Internal.PresentationCore.SR; 66throw new ArgumentException(SR.InvalidStylusPointDescription, "stylusPointPropertyInfos"); 82throw new ArgumentException(SR.InvalidStylusPointDescriptionDuplicatesFound, "stylusPointPropertyInfos"); 93throw new ArgumentException(SR.InvalidStylusPointDescriptionButtonsMustBeLast, "stylusPointPropertyInfos"); 100throw new ArgumentException(SR.InvalidStylusPointDescriptionTooManyButtons, "stylusPointPropertyInfos");
System\Windows\Input\Stylus\Common\StylusPointProperties.cs (1)
11using SR = MS.Internal.PresentationCore.SR;
System\Windows\Input\Stylus\Common\StylusPointProperty.cs (3)
12using SR = MS.Internal.PresentationCore.SR; 63throw new ArgumentException(SR.InvalidIsButtonForId, "isButton"); 71throw new ArgumentException(SR.InvalidIsButtonForId2, "isButton");
System\Windows\Input\Stylus\Common\StylusPointPropertyInfo.cs (3)
14using SR = MS.Internal.PresentationCore.SR; 66throw new ArgumentException(SR.Stylus_InvalidMax, "maximum"); 72throw new ArgumentException(SR.InvalidStylusPointPropertyInfoResolution, "resolution");
System\Windows\Input\Stylus\Common\StylusSystemGestureEventArgs.cs (5)
10using SR=MS.Internal.PresentationCore.SR; 41throw new InvalidEnumArgumentException(SR.Format(SR.Enum_Invalid, "systemGesture")); 83throw new InvalidEnumArgumentException(SR.Format(SR.Enum_Invalid, "systemGesture"));
System\Windows\Input\Stylus\Common\TabletDeviceCollection.cs (3)
8using SR = MS.Internal.PresentationCore.SR; 77throw new ArgumentException(SR.Format(SR.Stylus_IndexOutOfRange, index.ToString(System.Globalization.CultureInfo.InvariantCulture)), "index");
System\Windows\Input\Stylus\Pointer\PointerFlickEngine.cs (1)
23using SR = MS.Internal.PresentationCore.SR;
System\Windows\Input\Stylus\Pointer\PointerInteractionEngine.cs (1)
23using SR = MS.Internal.PresentationCore.SR;
System\Windows\Input\Stylus\Pointer\PointerLogic.cs (11)
25using SR = MS.Internal.PresentationCore.SR; 551throw new InvalidOperationException(SR.Format(SR.Invalid_IInputElement, oldCapture.GetType())); 577throw new InvalidOperationException(SR.Format(SR.Invalid_IInputElement, _stylusCapture.GetType())); 642throw new InvalidOperationException(SR.Format(SR.Invalid_IInputElement, oldOver.GetType())); 671throw new InvalidOperationException(SR.Format(SR.Invalid_IInputElement, _stylusOver.GetType())); 807throw new InvalidOperationException(SR.Format(SR.Invalid_IInputElement, _stylusCapture.GetType()));
System\Windows\Input\Stylus\Pointer\PointerStylusDevice.cs (3)
17using SR = MS.Internal.PresentationCore.SR; 577throw new InvalidOperationException(SR.Format(SR.Invalid_IInputElement, doStylusCapture.GetType()));
System\Windows\Input\Stylus\Pointer\PointerStylusPlugInCollection.cs (1)
16using SR = MS.Internal.PresentationCore.SR;
System\Windows\Input\Stylus\Pointer\PointerStylusPlugInManager.cs (1)
21using SR = MS.Internal.PresentationCore.SR;
System\Windows\Input\Stylus\Pointer\PointerStylusPointPropertyInfoHelper.cs (1)
15using SR = MS.Internal.PresentationCore.SR;
System\Windows\Input\Stylus\Wisp\PenContext.cs (1)
18using SR=MS.Internal.PresentationCore.SR;
System\Windows\Input\Stylus\Wisp\PenContexts.cs (2)
24using SR=MS.Internal.PresentationCore.SR; 41throw new InvalidOperationException(SR.Stylus_PenContextFailure);
System\Windows\Input\Stylus\Wisp\PenThread.cs (1)
19using SR=MS.Internal.PresentationCore.SR;
System\Windows\Input\Stylus\Wisp\PenThreadWorker.cs (3)
22using SR=MS.Internal.PresentationCore.SR; 522throw new ObjectDisposedException(null, SR.Penservice_Disposed); 794throw new InvalidOperationException(SR.PenService_InvalidPacketData);
System\Windows\Input\Stylus\Wisp\WispLogic.cs (13)
23using SR = MS.Internal.PresentationCore.SR; 2084throw new InvalidOperationException(SR.Format(SR.Invalid_IInputElement, oldCapture.GetType())); 2113throw new InvalidOperationException(SR.Format(SR.Invalid_IInputElement, _stylusCapture.GetType())); 2172throw new InvalidOperationException(SR.Format(SR.Invalid_IInputElement, oldOver.GetType())); 2201throw new InvalidOperationException(SR.Format(SR.Invalid_IInputElement, _stylusOver.GetType())); 2441throw new InvalidOperationException(SR.Format(SR.Invalid_IInputElement, _stylusCapture.GetType())); 3144throw new InvalidOperationException(SR.PenService_WindowAlreadyRegistered); 3213throw new InvalidOperationException(SR.PenService_WindowNotRegistered);
System\Windows\Input\Stylus\Wisp\WispStylusDevice.cs (5)
14using SR = MS.Internal.PresentationCore.SR; 279throw new InvalidOperationException(SR.Format(SR.Invalid_IInputElement, doStylusCapture.GetType())); 1194throw new InvalidOperationException(SR.Format(SR.Invalid_IInputElement, relativeTo.GetType()));
System\Windows\Input\Stylus\Wisp\WispStylusPlugInCollection.cs (1)
16using SR = MS.Internal.PresentationCore.SR;
System\Windows\Input\Stylus\Wisp\WispTabletDeviceCollection.cs (1)
15using SR = MS.Internal.PresentationCore.SR;
System\Windows\Input\TextComposition.cs (2)
24using SR=MS.Internal.PresentationCore.SR; 116throw new ArgumentException(SR.TextComposition_NullResultText);
System\Windows\Input\TextCompositionManager.cs (17)
25using SR=MS.Internal.PresentationCore.SR; 320throw new ArgumentException(SR.Format(SR.TextCompositionManager_NoInputManager, "composition")); 325throw new ArgumentException(SR.Format(SR.TextCompositionManager_TextCompositionHasStarted, "composition")); 341throw new ArgumentException(SR.Format(SR.TextCompositionManager_NoInputManager, "composition")); 346throw new ArgumentException(SR.Format(SR.TextCompositionManager_TextCompositionNotStarted, "composition")); 351throw new ArgumentException(SR.Format(SR.TextCompositionManager_TextCompositionHasDone, "composition")); 366throw new ArgumentException(SR.Format(SR.TextCompositionManager_NoInputManager, "composition")); 371throw new ArgumentException(SR.Format(SR.TextCompositionManager_TextCompositionNotStarted, "composition")); 376throw new ArgumentException(SR.Format(SR.TextCompositionManager_TextCompositionHasDone, "composition"));
System\Windows\Input\TouchDevice.cs (5)
22using SR = MS.Internal.PresentationCore.SR; 344throw new ArgumentException(SR.Format(SR.Invalid_IInputElement, element.GetType()), "element"); 707throw new InvalidOperationException(SR.Touch_DeviceAlreadyActivated); 732throw new InvalidOperationException(SR.Touch_DeviceNotActivated);
System\Windows\Input\Win32KeyboardDevice.cs (1)
15using SR=MS.Internal.PresentationCore.SR;
System\Windows\Input\Win32MouseDevice.cs (1)
18using SR=MS.Internal.PresentationCore.SR;
System\Windows\InterOp\D3DImage.cs (6)
28using SR = MS.Internal.PresentationCore.SR; 142throw new InvalidOperationException(SR.Image_MustBeLocked); 271throw new InvalidOperationException(SR.Image_MustBeLocked); 306throw new InvalidOperationException(SR.Image_MustBeLocked); 311throw new InvalidOperationException(SR.D3DImage_MustHaveBackBuffer); 600throw new InvalidOperationException(SR.Image_LockCountLimit);
System\Windows\InterOp\HwndKeyboardInputProvider.cs (2)
17using SR=MS.Internal.PresentationCore.SR; 712throw new ArgumentException(SR.OnlyAcceptsKeyMessages);
System\Windows\InterOp\HwndMouseInputProvider.cs (1)
18using SR=MS.Internal.PresentationCore.SR;
System\Windows\InterOp\HwndSource.cs (7)
27using SR = MS.Internal.PresentationCore.SR; 684throw new ArgumentException(SR.NullHwnd); 1934throw new ArgumentException(SR.KeyboardSinkAlreadyOwned); 2113throw new ArgumentException(SR.OnlyAcceptsKeyMessages); 2259throw new InvalidOperationException(SR.KeyboardSinkNotAChild); 2301throw new ArgumentException(SR.OnlyAcceptsKeyMessages); 2667throw new ObjectDisposedException(null, SR.HwndSourceDisposed);
System\Windows\InterOp\HwndSourceKeyboardInputSite.cs (2)
12using SR=MS.Internal.PresentationCore.SR; 26throw new ArgumentException(SR.KeyboardSinkMustBeAnElement, "sink");
System\Windows\InterOp\HwndSourceParameters.cs (2)
11using SR = MS.Internal.PresentationCore.SR; 305throw new InvalidOperationException(SR.UsesPerPixelOpacityIsObsolete);
System\Windows\InterOp\HwndStylusInputProvider.cs (1)
19using SR=MS.Internal.PresentationCore.SR;
System\Windows\InterOp\HwndTarget.cs (6)
31using SR=MS.Internal.PresentationCore.SR; 532SR.HwndTarget_InvalidWindowHandle, 539SR.HwndTarget_InvalidWindowProcess, 546SR.HwndTarget_InvalidWindowThread, 558SR.HwndTarget_WindowAlreadyHasContent 598throw new InvalidOperationException(SR.HwndTarget_HardwareNotSupportDueToProtocolMismatch);
System\Windows\LayoutManager.cs (5)
24using SR=MS.Internal.PresentationCore.SR; 149throw new InvalidOperationException(SR.Format(SR.LayoutManager_DeepRecursion, s_LayoutRecursionLimit)); 166throw new InvalidOperationException(SR.Format(SR.LayoutManager_DeepRecursion, s_LayoutRecursionLimit));
System\Windows\Markup\XamlSerializerUtil.cs (2)
58throw new ArgumentException(SR.Format(SR.NonWhiteSpaceInAddText, s));
System\Windows\Markup\XmlLanguage.cs (10)
205throw new InvalidOperationException(SR.Format(SR.XmlLangGetCultureFailure, lowerCaseTag), e); 241throw new InvalidOperationException(SR.Format(SR.XmlLangGetSpecificCulture, _lowerCaseTag)); 258throw new InvalidOperationException(SR.Format(SR.XmlLangGetSpecificCulture, _lowerCaseTag), e); 528throw new InvalidOperationException(SR.Enumerator_NotStarted); 532throw new InvalidOperationException(SR.Enumerator_ReachedEnd); 801throw new ArgumentException(SR.Format(SR.XmlLangMalformed, ietfLanguageTag), "ietfLanguageTag");
System\Windows\Media\Animation\Animatable.cs (1)
19using SR = MS.Internal.PresentationCore.SR;
System\Windows\Media\Animation\AnimationStorage.cs (8)
347SR.Format( 348SR.Animation_CalculatedValueIsInvalidForProperty, 497SR.Format( 498SR.Animation_Exception, 995throw new InvalidOperationException(SR.Format( 996SR.Animation_ReturnedUnsetValueInstance, 1022SR.Format( 1023SR.Animation_CalculatedValueIsInvalidForProperty,
System\Windows\Media\Animation\AnimationTimeline.cs (1)
10using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Animation\Clock.cs (7)
23using SR=MS.Internal.PresentationCore.SR; 597SR.Format( 598SR.Timing_CreateClockMustReturnNewClock, 627throw new NotSupportedException(SR.Timing_CanSlipOnlyOnSimpleTimelines); 640throw new System.InvalidOperationException(SR.Timing_SlipBehavior_SyncOnlyWithSimpleParents); 983throw new InvalidOperationException(SR.Timing_SkipToFillDestinationIndefinite); 3238throw new InvalidOperationException(SR.Timing_SeekDestinationAmbiguousDueToSlip);
System\Windows\Media\Animation\ClockController.cs (10)
20using SR=MS.Internal.PresentationCore.SR; 170throw new InvalidEnumArgumentException(SR.Format(SR.Enum_Invalid, "TimeSeekOrigin")); 181throw new InvalidOperationException(SR.Timing_SeekDestinationIndefinite); 193throw new InvalidOperationException(SR.Timing_SeekDestinationNegative); 212throw new InvalidEnumArgumentException(SR.Format(SR.Enum_Invalid, "TimeSeekOrigin")); 223throw new InvalidOperationException(SR.Timing_SeekDestinationIndefinite); 235throw new InvalidOperationException(SR.Timing_SeekDestinationNegative); 293throw new ArgumentException(SR.Timing_InvalidArgFinitePositive, "value");
System\Windows\Media\Animation\ClockGroup.cs (2)
8using SR = MS.Internal.PresentationCore.SR; 133throw new NotSupportedException(SR.Timing_SlipBehavior_SlipOnlyOnSimpleTimelines);
System\Windows\Media\Animation\DoubleAnimationUsingPath.cs (1)
14using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Animation\Generated\Animatable.cs (15)
29using SR = MS.Internal.PresentationCore.SR; 86throw new ArgumentException(SR.Format(SR.Animation_DependencyPropertyIsNotAnimatable, dp.Name, this.GetType()), "dp"); 94throw new ArgumentException(SR.Format(SR.Animation_AnimationTimelineTypeMismatch, clock.Timeline.GetType(), dp.Name, dp.PropertyType), "clock"); 100throw new ArgumentException(SR.Animation_UnrecognizedHandoffBehavior); 105throw new InvalidOperationException(SR.Format(SR.IAnimatable_CantAnimateSealedDO, dp, this.GetType())); 155throw new ArgumentException(SR.Format(SR.Animation_DependencyPropertyIsNotAnimatable, dp.Name, this.GetType()), "dp"); 162throw new ArgumentException(SR.Format(SR.Animation_AnimationTimelineTypeMismatch, animation.GetType(), dp.Name, dp.PropertyType), "animation"); 167throw new ArgumentException(SR.Animation_UnrecognizedHandoffBehavior); 172throw new InvalidOperationException(SR.Format(SR.IAnimatable_CantAnimateSealedDO, dp, this.GetType()));
System\Windows\Media\Animation\Generated\BooleanAnimationBase.cs (1)
26using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Animation\Generated\BooleanAnimationUsingKeyFrames.cs (3)
25using SR=MS.Internal.PresentationCore.SR; 238throw new ArgumentException(SR.Animation_ChildMustBeKeyFrame, "child"); 288throw new InvalidOperationException(SR.Animation_NoTextChildren);
System\Windows\Media\Animation\Generated\ByteAnimation.cs (4)
325SR.Format( 326SR.Animation_Invalid_DefaultValue, 336SR.Format( 337SR.Animation_Invalid_DefaultValue,
System\Windows\Media\Animation\Generated\ByteAnimationBase.cs (1)
26using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Animation\Generated\ByteAnimationUsingKeyFrames.cs (3)
25using SR=MS.Internal.PresentationCore.SR; 238throw new ArgumentException(SR.Animation_ChildMustBeKeyFrame, "child"); 288throw new InvalidOperationException(SR.Animation_NoTextChildren);
System\Windows\Media\Animation\Generated\CharAnimationBase.cs (1)
26using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Animation\Generated\CharAnimationUsingKeyFrames.cs (3)
25using SR=MS.Internal.PresentationCore.SR; 238throw new ArgumentException(SR.Animation_ChildMustBeKeyFrame, "child"); 288throw new InvalidOperationException(SR.Animation_NoTextChildren);
System\Windows\Media\Animation\Generated\ColorAnimation.cs (4)
325SR.Format( 326SR.Animation_Invalid_DefaultValue, 336SR.Format( 337SR.Animation_Invalid_DefaultValue,
System\Windows\Media\Animation\Generated\ColorAnimationBase.cs (1)
26using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Animation\Generated\ColorAnimationUsingKeyFrames.cs (3)
25using SR=MS.Internal.PresentationCore.SR; 238throw new ArgumentException(SR.Animation_ChildMustBeKeyFrame, "child"); 288throw new InvalidOperationException(SR.Animation_NoTextChildren);
System\Windows\Media\Animation\Generated\DecimalAnimation.cs (4)
325SR.Format( 326SR.Animation_Invalid_DefaultValue, 336SR.Format( 337SR.Animation_Invalid_DefaultValue,
System\Windows\Media\Animation\Generated\DecimalAnimationBase.cs (1)
26using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Animation\Generated\DecimalAnimationUsingKeyFrames.cs (3)
25using SR=MS.Internal.PresentationCore.SR; 238throw new ArgumentException(SR.Animation_ChildMustBeKeyFrame, "child"); 288throw new InvalidOperationException(SR.Animation_NoTextChildren);
System\Windows\Media\Animation\Generated\DoubleAnimation.cs (4)
325SR.Format( 326SR.Animation_Invalid_DefaultValue, 336SR.Format( 337SR.Animation_Invalid_DefaultValue,
System\Windows\Media\Animation\Generated\DoubleAnimationBase.cs (1)
26using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Animation\Generated\DoubleAnimationUsingKeyFrames.cs (3)
25using SR=MS.Internal.PresentationCore.SR; 238throw new ArgumentException(SR.Animation_ChildMustBeKeyFrame, "child"); 288throw new InvalidOperationException(SR.Animation_NoTextChildren);
System\Windows\Media\Animation\Generated\Int16Animation.cs (4)
325SR.Format( 326SR.Animation_Invalid_DefaultValue, 336SR.Format( 337SR.Animation_Invalid_DefaultValue,
System\Windows\Media\Animation\Generated\Int16AnimationBase.cs (1)
26using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Animation\Generated\Int16AnimationUsingKeyFrames.cs (3)
25using SR=MS.Internal.PresentationCore.SR; 238throw new ArgumentException(SR.Animation_ChildMustBeKeyFrame, "child"); 288throw new InvalidOperationException(SR.Animation_NoTextChildren);
System\Windows\Media\Animation\Generated\Int32Animation.cs (4)
325SR.Format( 326SR.Animation_Invalid_DefaultValue, 336SR.Format( 337SR.Animation_Invalid_DefaultValue,
System\Windows\Media\Animation\Generated\Int32AnimationBase.cs (1)
26using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Animation\Generated\Int32AnimationUsingKeyFrames.cs (3)
25using SR=MS.Internal.PresentationCore.SR; 238throw new ArgumentException(SR.Animation_ChildMustBeKeyFrame, "child"); 288throw new InvalidOperationException(SR.Animation_NoTextChildren);
System\Windows\Media\Animation\Generated\Int64Animation.cs (4)
325SR.Format( 326SR.Animation_Invalid_DefaultValue, 336SR.Format( 337SR.Animation_Invalid_DefaultValue,
System\Windows\Media\Animation\Generated\Int64AnimationBase.cs (1)
26using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Animation\Generated\Int64AnimationUsingKeyFrames.cs (3)
25using SR=MS.Internal.PresentationCore.SR; 238throw new ArgumentException(SR.Animation_ChildMustBeKeyFrame, "child"); 288throw new InvalidOperationException(SR.Animation_NoTextChildren);
System\Windows\Media\Animation\Generated\MatrixAnimationBase.cs (1)
26using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Animation\Generated\MatrixAnimationUsingKeyFrames.cs (3)
25using SR=MS.Internal.PresentationCore.SR; 238throw new ArgumentException(SR.Animation_ChildMustBeKeyFrame, "child"); 288throw new InvalidOperationException(SR.Animation_NoTextChildren);
System\Windows\Media\Animation\Generated\ObjectAnimationBase.cs (1)
26using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Animation\Generated\ObjectAnimationUsingKeyFrames.cs (3)
25using SR=MS.Internal.PresentationCore.SR; 238throw new ArgumentException(SR.Animation_ChildMustBeKeyFrame, "child"); 288throw new InvalidOperationException(SR.Animation_NoTextChildren);
System\Windows\Media\Animation\Generated\ParallelTimeline.cs (1)
36using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Animation\Generated\Point3DAnimation.cs (4)
325SR.Format( 326SR.Animation_Invalid_DefaultValue, 336SR.Format( 337SR.Animation_Invalid_DefaultValue,
System\Windows\Media\Animation\Generated\Point3DAnimationBase.cs (1)
26using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Animation\Generated\Point3DAnimationUsingKeyFrames.cs (3)
25using SR=MS.Internal.PresentationCore.SR; 238throw new ArgumentException(SR.Animation_ChildMustBeKeyFrame, "child"); 288throw new InvalidOperationException(SR.Animation_NoTextChildren);
System\Windows\Media\Animation\Generated\PointAnimation.cs (4)
325SR.Format( 326SR.Animation_Invalid_DefaultValue, 336SR.Format( 337SR.Animation_Invalid_DefaultValue,
System\Windows\Media\Animation\Generated\PointAnimationBase.cs (1)
26using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Animation\Generated\PointAnimationUsingKeyFrames.cs (3)
25using SR=MS.Internal.PresentationCore.SR; 238throw new ArgumentException(SR.Animation_ChildMustBeKeyFrame, "child"); 288throw new InvalidOperationException(SR.Animation_NoTextChildren);
System\Windows\Media\Animation\Generated\QuaternionAnimation.cs (4)
325SR.Format( 326SR.Animation_Invalid_DefaultValue, 336SR.Format( 337SR.Animation_Invalid_DefaultValue,
System\Windows\Media\Animation\Generated\QuaternionAnimationBase.cs (1)
26using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Animation\Generated\QuaternionAnimationUsingKeyFrames.cs (3)
25using SR=MS.Internal.PresentationCore.SR; 238throw new ArgumentException(SR.Animation_ChildMustBeKeyFrame, "child"); 288throw new InvalidOperationException(SR.Animation_NoTextChildren);
System\Windows\Media\Animation\Generated\RectAnimation.cs (4)
325SR.Format( 326SR.Animation_Invalid_DefaultValue, 336SR.Format( 337SR.Animation_Invalid_DefaultValue,
System\Windows\Media\Animation\Generated\RectAnimationBase.cs (1)
26using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Animation\Generated\RectAnimationUsingKeyFrames.cs (3)
25using SR=MS.Internal.PresentationCore.SR; 238throw new ArgumentException(SR.Animation_ChildMustBeKeyFrame, "child"); 288throw new InvalidOperationException(SR.Animation_NoTextChildren);
System\Windows\Media\Animation\Generated\Rotation3DAnimation.cs (4)
325SR.Format( 326SR.Animation_Invalid_DefaultValue, 336SR.Format( 337SR.Animation_Invalid_DefaultValue,
System\Windows\Media\Animation\Generated\Rotation3DAnimationBase.cs (1)
26using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Animation\Generated\Rotation3DAnimationUsingKeyFrames.cs (3)
25using SR=MS.Internal.PresentationCore.SR; 238throw new ArgumentException(SR.Animation_ChildMustBeKeyFrame, "child"); 288throw new InvalidOperationException(SR.Animation_NoTextChildren);
System\Windows\Media\Animation\Generated\SingleAnimation.cs (4)
325SR.Format( 326SR.Animation_Invalid_DefaultValue, 336SR.Format( 337SR.Animation_Invalid_DefaultValue,
System\Windows\Media\Animation\Generated\SingleAnimationBase.cs (1)
26using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Animation\Generated\SingleAnimationUsingKeyFrames.cs (3)
25using SR=MS.Internal.PresentationCore.SR; 238throw new ArgumentException(SR.Animation_ChildMustBeKeyFrame, "child"); 288throw new InvalidOperationException(SR.Animation_NoTextChildren);
System\Windows\Media\Animation\Generated\SizeAnimation.cs (4)
325SR.Format( 326SR.Animation_Invalid_DefaultValue, 336SR.Format( 337SR.Animation_Invalid_DefaultValue,
System\Windows\Media\Animation\Generated\SizeAnimationBase.cs (1)
26using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Animation\Generated\SizeAnimationUsingKeyFrames.cs (3)
25using SR=MS.Internal.PresentationCore.SR; 238throw new ArgumentException(SR.Animation_ChildMustBeKeyFrame, "child"); 288throw new InvalidOperationException(SR.Animation_NoTextChildren);
System\Windows\Media\Animation\Generated\StringAnimationBase.cs (1)
26using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Animation\Generated\StringAnimationUsingKeyFrames.cs (3)
25using SR=MS.Internal.PresentationCore.SR; 238throw new ArgumentException(SR.Animation_ChildMustBeKeyFrame, "child"); 288throw new InvalidOperationException(SR.Animation_NoTextChildren);
System\Windows\Media\Animation\Generated\Timeline.cs (1)
36using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Animation\Generated\TimelineCollection.cs (15)
36using SR=MS.Internal.PresentationCore.SR; 146throw new System.ArgumentException(SR.Collection_NoNull); 254throw new System.ArgumentException(SR.Collection_NoNull); 420throw new ArgumentException(SR.Collection_BadRank); 435throw new ArgumentException(SR.Format(SR.Collection_BadDestArray, this.GetType().Name), e); 524throw new System.ArgumentException(SR.Format(SR.Collection_BadType, this.GetType().Name, value.GetType().Name, "Timeline")); 550throw new System.ArgumentException(SR.Collection_NoNull); 815throw new InvalidOperationException(SR.Enumerator_CollectionChanged); 833throw new InvalidOperationException(SR.Enumerator_CollectionChanged); 867throw new InvalidOperationException(SR.Enumerator_NotStarted); 872throw new InvalidOperationException(SR.Enumerator_ReachedEnd); 950throw new System.ArgumentException(SR.Collection_NoNull); 968throw new System.ArgumentException(SR.Collection_NoNull);
System\Windows\Media\Animation\Generated\TimelineGroup.cs (1)
36using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Animation\Generated\Vector3DAnimation.cs (4)
325SR.Format( 326SR.Animation_Invalid_DefaultValue, 336SR.Format( 337SR.Animation_Invalid_DefaultValue,
System\Windows\Media\Animation\Generated\Vector3DAnimationBase.cs (1)
26using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Animation\Generated\Vector3DAnimationUsingKeyFrames.cs (3)
25using SR=MS.Internal.PresentationCore.SR; 238throw new ArgumentException(SR.Animation_ChildMustBeKeyFrame, "child"); 288throw new InvalidOperationException(SR.Animation_NoTextChildren);
System\Windows\Media\Animation\Generated\VectorAnimation.cs (4)
325SR.Format( 326SR.Animation_Invalid_DefaultValue, 336SR.Format( 337SR.Animation_Invalid_DefaultValue,
System\Windows\Media\Animation\Generated\VectorAnimationBase.cs (1)
26using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Animation\Generated\VectorAnimationUsingKeyFrames.cs (3)
25using SR=MS.Internal.PresentationCore.SR; 238throw new ArgumentException(SR.Animation_ChildMustBeKeyFrame, "child"); 288throw new InvalidOperationException(SR.Animation_NoTextChildren);
System\Windows\Media\Animation\KeySpline.cs (9)
16using SR=MS.Internal.PresentationCore.SR; 69throw new ArgumentException(SR.Format( 70SR.Animation_KeySpline_InvalidValue, 77throw new ArgumentException(SR.Format( 78SR.Animation_KeySpline_InvalidValue, 179throw new ArgumentException(SR.Format( 180SR.Animation_KeySpline_InvalidValue, 211throw new ArgumentException(SR.Format( 212SR.Animation_KeySpline_InvalidValue,
System\Windows\Media\Animation\KeySplineConverter.cs (2)
19using SR=MS.Internal.PresentationCore.SR; 77throw new NotSupportedException(SR.Converter_ConvertFromNotSupported);
System\Windows\Media\Animation\KeyTime.cs (5)
14using SR=MS.Internal.PresentationCore.SR; 40throw new ArgumentOutOfRangeException("percent", SR.Format(SR.Animation_KeyTime_InvalidPercentValue, percent)); 59throw new ArgumentOutOfRangeException("timeSpan", SR.Format(SR.Animation_KeyTime_LessThanZero, timeSpan));
System\Windows\Media\Animation\RepeatBehavior.cs (9)
16using SR=MS.Internal.PresentationCore.SR; 53throw new ArgumentOutOfRangeException("count", SR.Format(SR.Timing_RepeatBehaviorInvalidIterationCount, count)); 70throw new ArgumentOutOfRangeException("duration", SR.Format(SR.Timing_RepeatBehaviorInvalidRepeatDuration, duration)); 135throw new InvalidOperationException(SR.Format(SR.Timing_RepeatBehaviorNotIterationCount, this)); 154throw new InvalidOperationException(SR.Format(SR.Timing_RepeatBehaviorNotRepeatDuration, this));
System\Windows\Media\Animation\Timeline.cs (4)
22using SR=MS.Internal.PresentationCore.SR; 223throw new ArgumentException(SR.Timing_InvalidArgAccelAndDecel, "value"); 612throw new ArgumentException(SR.Timing_InvalidArgFinitePositive, "value"); 731throw new InvalidOperationException(SR.Timing_AccelAndDecelGreaterThanOne);
System\Windows\Media\Animation\TimelineClockCollection.cs (3)
11using SR=MS.Internal.PresentationCore.SR; 360throw new InvalidOperationException(SR.Timing_EnumeratorOutOfRange); 402throw new InvalidOperationException(SR.Timing_EnumeratorInvalidated);
System\Windows\Media\Animation\TimelineGroup.cs (3)
12using SR=MS.Internal.PresentationCore.SR; 152throw new ArgumentException(SR.Timing_ChildMustBeTimeline, nameof(child)); 210throw new InvalidOperationException(SR.Timing_NoTextChildren);
System\Windows\Media\Animation\TimeManager.cs (3)
25using SR=MS.Internal.PresentationCore.SR; 272throw new InvalidEnumArgumentException(SR.Format(SR.Enum_Invalid, "TimeSeekOrigin"));
System\Windows\Media\ArcSegment.cs (1)
28using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\BezierSegment.cs (1)
24using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\BitmapCacheBrush.cs (4)
16using SR=MS.Internal.PresentationCore.SR; 368throw new InvalidOperationException(SR.BitmapCacheBrush_OpacityChanged); 377throw new InvalidOperationException(SR.BitmapCacheBrush_TransformChanged); 386throw new InvalidOperationException(SR.BitmapCacheBrush_RelativeTransformChanged);
System\Windows\Media\Brush.cs (1)
28using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\ByteStreamGeometryContext.cs (5)
27using SR=MS.Internal.PresentationCore.SR; 221throw new InvalidOperationException(SR.StreamGeometry_NeedBeginFigure); 280throw new InvalidOperationException(SR.StreamGeometry_NeedBeginFigure); 643throw new InvalidOperationException(SR.StreamGeometry_NeedBeginFigure); 686throw new InvalidOperationException(SR.StreamGeometry_NeedBeginFigure);
System\Windows\Media\CacheMode.cs (2)
9using SR=MS.Internal.PresentationCore.SR; 36throw new FormatException(SR.Parsers_IllegalToken);
System\Windows\Media\CapacityStreamGeometryContext.cs (1)
26using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\ChannelManager.cs (1)
33using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\CharacterMetrics.cs (8)
17using SR = MS.Internal.PresentationCore.SR; 116throw new ArgumentException(SR.CharacterMetrics_NegativeHorizontalAdvance); 122throw new ArgumentException(SR.CharacterMetrics_NegativeVerticalAdvance); 177throw new ArgumentException(SR.Format(SR.CannotConvertStringToType, field.ToString(), "double")); 183throw new ArgumentException(SR.CharacterMetrics_MissingRequiredField); 192throw new ArgumentException(SR.CharacterMetrics_TooManyFields); 202throw new ArgumentException(SR.CharacterMetrics_MissingRequiredField);
System\Windows\Media\CharacterMetricsDictionary.cs (25)
16using SR=MS.Internal.PresentationCore.SR; 139throw new ArgumentException(SR.Format(SR.Collection_CopyTo_IndexGreaterThanOrEqualToArrayLength, "index", "array")); 157throw new ArgumentException(SR.Format(SR.Collection_CopyTo_NumberOfElementsExceedsArrayLength, index, "array")); 196throw new ArgumentException(SR.Format(SR.Collection_CopyTo_IndexGreaterThanOrEqualToArrayLength, "index", "array")); 199throw new ArgumentException(SR.Format(SR.Collection_CopyTo_NumberOfElementsExceedsArrayLength, index, "array")); 214throw new ArgumentException(SR.Collection_CopyTo_ArrayCannotBeMultidimensional); 219throw new ArgumentException(SR.Format(SR.CannotConvertType, typeof(SC.DictionaryEntry), elementType)); 373throw new ArgumentOutOfRangeException(SR.Format(SR.CodePointOutOfRange, key)); 381throw new ArgumentException(SR.Format(SR.CollectionDuplicateKey, key)); 510throw new ArgumentException(SR.Format(SR.CannotConvertStringToType, s, "int"), "key"); 518throw new ArgumentException(SR.Format(SR.CannotConvertType, key.GetType(), "int"), "key"); 522throw new ArgumentException(SR.Format(SR.CodePointOutOfRange, value), "key"); 535throw new ArgumentException(SR.Format(SR.CannotConvertType, typeof(CharacterMetrics), value.GetType())); 594throw new InvalidOperationException(SR.Enumerator_VerifyContext);
System\Windows\Media\Color.cs (25)
16using SR=MS.Internal.PresentationCore.SR; 80throw new ArgumentException(SR.Format(SR.Color_DimensionMismatch, null)); 85throw new ArgumentException(SR.Format(SR.Color_DimensionMismatch, null)); 390throw new InvalidOperationException(SR.Format(SR.Color_NullColorContext, null)); 500throw new ArgumentException(SR.Format(SR.Color_ColorContextTypeMismatch, null)); 534throw new ArgumentException(SR.Format(SR.Color_ColorContextTypeMismatch, null)); 619throw new ArgumentException(SR.Format(SR.Color_ColorContextTypeMismatch, null)); 841throw new InvalidOperationException(SR.Format(SR.Color_ColorContextNotsRGB_or_scRGB, null)); 865throw new InvalidOperationException(SR.Format(SR.Color_ColorContextNotsRGB_or_scRGB, null)); 889throw new InvalidOperationException(SR.Format(SR.Color_ColorContextNotsRGB_or_scRGB, null)); 943throw new InvalidOperationException(SR.Format(SR.Color_ColorContextNotsRGB_or_scRGB, null)); 968throw new InvalidOperationException(SR.Format(SR.Color_ColorContextNotsRGB_or_scRGB, null)); 993throw new InvalidOperationException(SR.Format(SR.Color_ColorContextNotsRGB_or_scRGB, null));
System\Windows\Media\ColorContext.cs (5)
30using SR = MS.Internal.PresentationCore.SR; 510throw new ArgumentException(SR.UriNotAbsolute, "profileUri"); 552throw new FileNotFoundException(SR.Format(SR.FileNotFoundExceptionWithFileName, profileUri.AbsolutePath), profileUri.AbsolutePath); 636throw new ArgumentException(SR.ColorContext_FileTooLarge, filename);
System\Windows\Media\ColorContextHelper.cs (3)
22using SR=MS.Internal.PresentationCore.SR; 87throw new InvalidOperationException(SR.Image_ColorContextInvalid); 100throw new InvalidOperationException(SR.Image_ColorContextInvalid);
System\Windows\Media\ColorConverter.cs (3)
20using SR=MS.Internal.PresentationCore.SR; 91throw new ArgumentException(SR.Format(SR.General_BadType, "ConvertFrom"), "value");
System\Windows\Media\ColorTransformHelper.cs (2)
22using SR=MS.Internal.PresentationCore.SR; 125throw new InvalidOperationException(SR.Image_ColorTransformInvalid);
System\Windows\Media\CombinedGeometry.cs (1)
30using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\CompositionTarget.cs (2)
27using SR=MS.Internal.PresentationCore.SR; 484throw new System.ArgumentException(SR.CompositionTarget_RootVisual_HasParent);
System\Windows\Media\ContainerVisual.cs (1)
19using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Converters\Generated\BrushValueSerializer.cs (1)
37using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Converters\Generated\CacheModeValueSerializer.cs (1)
37using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Converters\Generated\DoubleCollectionValueSerializer.cs (1)
37using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Converters\Generated\GeometryValueSerializer.cs (1)
37using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Converters\Generated\Int32CollectionValueSerializer.cs (1)
37using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Converters\Generated\PathFigureCollectionValueSerializer.cs (1)
37using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Converters\Generated\PointCollectionValueSerializer.cs (1)
37using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Converters\Generated\TransformValueSerializer.cs (1)
37using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Converters\Generated\VectorCollectionValueSerializer.cs (1)
37using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\CultureSpecificStringDictionary.cs (17)
20using SR=MS.Internal.PresentationCore.SR; 128throw new ArgumentException(SR.Format(SR.Collection_CopyTo_IndexGreaterThanOrEqualToArrayLength, "index", "array")); 131throw new ArgumentException(SR.Format(SR.Collection_CopyTo_NumberOfElementsExceedsArrayLength, index, "array")); 162throw new ArgumentException(SR.Format(SR.Collection_CopyTo_IndexGreaterThanOrEqualToArrayLength, "index", "array")); 165throw new ArgumentException(SR.Format(SR.Collection_CopyTo_NumberOfElementsExceedsArrayLength, index, "array")); 180throw new ArgumentException(SR.Collection_CopyTo_ArrayCannotBeMultidimensional); 185throw new ArgumentException(SR.Format(SR.CannotConvertType, typeof(SC.DictionaryEntry), elementType)); 327throw new ArgumentException(SR.Format(SR.UnexpectedParameterType, value.GetType(), typeof(string)), "value"); 340throw new ArgumentException(SR.Format(SR.CannotConvertType, key.GetType(), typeof(XmlLanguage)), "key"); 408throw new InvalidOperationException(SR.Enumerator_VerifyContext);
System\Windows\Media\DashStyle.cs (1)
28using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\DrawingDrawingContext.cs (2)
25using SR=MS.Internal.PresentationCore.SR; 1066throw new InvalidOperationException(SR.DrawingContext_TooManyPops);
System\Windows\Media\DrawingGroup.cs (4)
35using SR = MS.Internal.PresentationCore.SR; 147throw new InvalidOperationException(SR.DrawingGroup_CannotAppendToNullCollection); 152throw new InvalidOperationException(SR.DrawingGroup_CannotAppendToFrozenCollection); 317throw new InvalidOperationException(SR.DrawingGroup_AlreadyOpen);
System\Windows\Media\Effects\BitmapEffect.cs (5)
26using SR = MS.Internal.PresentationCore.SR; 48throw new InvalidOperationException(SR.RequiresSTA); 117throw new ArgumentException(SR.Effect_No_InputSource, "input"); 122throw new InvalidOperationException(SR.Format(SR.Effect_No_ContextInputSource, null));
System\Windows\Media\Effects\BitmapEffectGroup.cs (1)
25using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Effects\BitmapEffectState.cs (1)
31using SR = MS.Internal.PresentationCore.SR;
System\Windows\Media\Effects\Generated\BevelBitmapEffect.cs (1)
35using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Effects\Generated\BitmapEffect.cs (1)
35using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Effects\Generated\BitmapEffectCollection.cs (15)
35using SR=MS.Internal.PresentationCore.SR; 145throw new System.ArgumentException(SR.Collection_NoNull); 253throw new System.ArgumentException(SR.Collection_NoNull); 416throw new ArgumentException(SR.Collection_BadRank); 431throw new ArgumentException(SR.Format(SR.Collection_BadDestArray, this.GetType().Name), e); 520throw new System.ArgumentException(SR.Format(SR.Collection_BadType, this.GetType().Name, value.GetType().Name, "BitmapEffect")); 546throw new System.ArgumentException(SR.Collection_NoNull); 802throw new InvalidOperationException(SR.Enumerator_CollectionChanged); 820throw new InvalidOperationException(SR.Enumerator_CollectionChanged); 854throw new InvalidOperationException(SR.Enumerator_NotStarted); 859throw new InvalidOperationException(SR.Enumerator_ReachedEnd); 937throw new System.ArgumentException(SR.Collection_NoNull); 954throw new System.ArgumentException(SR.Collection_NoNull);
System\Windows\Media\Effects\Generated\BitmapEffectGroup.cs (1)
35using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Effects\Generated\BitmapEffectInput.cs (1)
35using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Effects\Generated\BlurBitmapEffect.cs (1)
35using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Effects\Generated\BlurEffect.cs (1)
35using SR = MS.Internal.PresentationCore.SR;
System\Windows\Media\Effects\Generated\DropShadowBitmapEffect.cs (1)
35using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Effects\Generated\DropShadowEffect.cs (1)
35using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Effects\Generated\EdgeProfile.cs (1)
13using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Effects\Generated\Effect.cs (1)
35using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Effects\Generated\EmbossBitmapEffect.cs (1)
35using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Effects\Generated\ImplicitInputBrush.cs (1)
35using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Effects\Generated\KernelType.cs (1)
13using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Effects\Generated\OuterGlowBitmapEffect.cs (1)
35using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Effects\Generated\PixelShader.cs (1)
35using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Effects\Generated\RenderingBias.cs (1)
13using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Effects\Generated\ShaderEffect.cs (1)
35using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Effects\Generated\ShaderRenderMode.cs (1)
13using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Effects\PixelShader.cs (4)
26using SR=MS.Internal.PresentationCore.SR; 113throw new ArgumentException(SR.Effect_SourceUriMustBeFileOrPack); 143throw new InvalidOperationException(SR.Effect_ShaderSeekableStream); 150throw new InvalidOperationException(SR.Effect_ShaderBytecodeSize);
System\Windows\Media\Effects\ShaderEffect.cs (18)
19using SR = MS.Internal.PresentationCore.SR; 58throw new ArgumentOutOfRangeException("value", value, SR.Effect_ShaderEffectPadding); 85throw new ArgumentOutOfRangeException("value", value, SR.Effect_ShaderEffectPadding); 112throw new ArgumentOutOfRangeException("value", value, SR.Effect_ShaderEffectPadding); 139throw new ArgumentOutOfRangeException("value", value, SR.Effect_ShaderEffectPadding); 206throw new InvalidOperationException(SR.Effect_20ShaderUsing30Registers); 361throw new InvalidOperationException(SR.Format(SR.Effect_ShaderConstantType, dp.PropertyType.Name)); 369string srid = nameof(SR.Effect_Shader20ConstantRegisterLimit); 379srid = nameof(SR.Effect_Shader30FloatConstantRegisterLimit); 384srid = nameof(SR.Effect_Shader30IntConstantRegisterLimit); 389srid = nameof(SR.Effect_Shader30BoolConstantRegisterLimit); 395throw new ArgumentException(SR.GetResourceString(srid), "dp"); 446throw new ArgumentException(SR.Effect_ShaderSamplerType, "dp"); 454string srid = nameof(SR.Effect_Shader20SamplerRegisterLimit); 459srid = nameof(SR.Effect_Shader30SamplerRegisterLimit); 464throw new ArgumentException(SR.GetResourceString(srid)); 577throw new InvalidOperationException(SR.Effect_ShaderPixelShaderSet);
System\Windows\Media\EllipseGeometry.cs (3)
23using SR=MS.Internal.PresentationCore.SR; 48throw new System.ArgumentException(SR.Format(SR.Rect_Empty, "rect"));
System\Windows\Media\FactoryMaker.cs (1)
15using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\FamilyMap.cs (2)
25using SR=MS.Internal.PresentationCore.SR; 240throw new FormatException(SR.CompositeFontInvalidUnicodeRange);
System\Windows\Media\FamilyMapCollection.cs (17)
18using SR=MS.Internal.PresentationCore.SR; 90throw new ArgumentException(SR.Format(SR.Collection_CopyTo_IndexGreaterThanOrEqualToArrayLength, "index", "array")); 93throw new ArgumentException(SR.Format(SR.Collection_CopyTo_NumberOfElementsExceedsArrayLength, index, "array")); 104throw new ArgumentException(SR.Collection_CopyTo_ArrayCannotBeMultidimensional); 108throw new ArgumentException(SR.Format(SR.CannotConvertType, typeof(FamilyTypeface), elementType)); 111throw new ArgumentException(SR.Format(SR.Collection_CopyTo_IndexGreaterThanOrEqualToArrayLength, "index", "array")); 114throw new ArgumentException(SR.Format(SR.Collection_CopyTo_NumberOfElementsExceedsArrayLength, index, "array")); 268throw new InvalidOperationException(SR.CompositeFont_TooManyFamilyMaps); 371throw new NotSupportedException(SR.General_ObjectIsReadOnly); 380throw new ArgumentException(SR.Format(SR.CannotConvertType, obj.GetType(), typeof(FontFamilyMap))); 432throw new InvalidOperationException(SR.Enumerator_VerifyContext);
System\Windows\Media\FamilyTypeface.cs (2)
23using SR=MS.Internal.PresentationCore.SR; 287throw new NotSupportedException(SR.General_ObjectIsReadOnly);
System\Windows\Media\FamilyTypefaceCollection.cs (13)
18using SR=MS.Internal.PresentationCore.SR; 255throw new ArgumentException(SR.CompositeFont_DuplicateTypeface); 364throw new NotSupportedException(SR.General_ObjectIsReadOnly); 373throw new ArgumentException(SR.Format(SR.CannotConvertType, obj.GetType(), typeof(FamilyTypeface))); 383throw new ArgumentException(SR.Collection_CopyTo_ArrayCannotBeMultidimensional); 387throw new ArgumentException(SR.Format(SR.CannotConvertType, typeof(FamilyTypeface[]), elementType)); 390throw new ArgumentException(SR.Format(SR.Collection_CopyTo_IndexGreaterThanOrEqualToArrayLength, "index", "array")); 393throw new ArgumentException(SR.Format(SR.Collection_CopyTo_NumberOfElementsExceedsArrayLength, index, "array")); 449throw new InvalidOperationException(SR.Enumerator_VerifyContext);
System\Windows\Media\FontEmbeddingManager.cs (2)
29using SR=MS.Internal.PresentationCore.SR; 120throw new ArgumentException(SR.GlyphTypefaceNotRecorded, "glyphTypeface");
System\Windows\Media\FontFamily.cs (3)
30using SR = MS.Internal.PresentationCore.SR; 94throw new ArgumentException(SR.UriNotAbsolute, "baseUri"); 324throw new NotSupportedException(SR.FontFamily_ReadOnly);
System\Windows\Media\FontFamilyConverter.cs (3)
23using SR=MS.Internal.PresentationCore.SR; 142throw new ArgumentException(SR.Format(SR.General_Expected_Type, "FontFamily"), "value");
System\Windows\Media\Fonts.cs (5)
98throw new ArgumentException(SR.UriNotAbsolute, "baseUri"); 106throw new ArgumentException(SR.InvalidAbsoluteUriInFontFamilyName, "location"); 116throw new ArgumentNullException("baseUri", SR.Format(SR.NullBaseUriParam, "baseUri", "location")); 329throw new ArgumentException(SR.Collection_BadRank);
System\Windows\Media\FormattedText.cs (5)
26using SR=MS.Internal.PresentationCore.SR; 1347throw new ArgumentOutOfRangeException("value", SR.Format(SR.PropertyMustBeGreaterThanZero, "MaxTextHeight")); 1350throw new ArgumentOutOfRangeException("value", SR.Format(SR.PropertyValueCannotBeNaN, "MaxTextHeight"));
System\Windows\Media\GeneralTransform.cs (2)
60throw new InvalidOperationException(SR.Format(SR.GeneralTransform_TransformFailed, null));
System\Windows\Media\GeneralTransformGroup.cs (1)
25using SR = MS.Internal.PresentationCore.SR;
System\Windows\Media\Generated\AlignmentX.cs (1)
17using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Generated\AlignmentY.cs (1)
17using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Generated\ArcSegment.cs (1)
37using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Generated\BezierSegment.cs (1)
37using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Generated\BitmapCache.cs (1)
37using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Generated\BitmapCacheBrush.cs (1)
37using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Generated\BitmapScalingMode.cs (1)
17using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Generated\Brush.cs (1)
37using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Generated\BrushConverter.cs (4)
37using SR=MS.Internal.PresentationCore.SR; 83throw new ArgumentException(SR.Format(SR.General_Expected_Type, "Brush"), "context"); 156throw new NotSupportedException(SR.Converter_ConvertToNotSupported);
System\Windows\Media\Generated\BrushMappingMode.cs (1)
17using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Generated\CacheMode.cs (1)
37using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Generated\CacheModeConverter.cs (4)
37using SR=MS.Internal.PresentationCore.SR; 83throw new ArgumentException(SR.Format(SR.General_Expected_Type, "CacheMode"), "context"); 156throw new NotSupportedException(SR.Converter_ConvertToNotSupported);
System\Windows\Media\Generated\CachingHint.cs (1)
17using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Generated\ClearTypeHint.cs (1)
17using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Generated\ColorInterpolationMode.cs (1)
17using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Generated\CombinedGeometry.cs (1)
37using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Generated\DashStyle.cs (1)
37using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Generated\DoubleCollection.cs (10)
37using SR=MS.Internal.PresentationCore.SR; 382throw new ArgumentException(SR.Collection_BadRank); 397throw new ArgumentException(SR.Format(SR.Collection_BadDestArray, this.GetType().Name), e); 470throw new System.ArgumentException(SR.Format(SR.Collection_BadType, this.GetType().Name, value.GetType().Name, "double")); 825throw new InvalidOperationException(SR.Enumerator_CollectionChanged); 843throw new InvalidOperationException(SR.Enumerator_CollectionChanged); 877throw new InvalidOperationException(SR.Enumerator_NotStarted); 882throw new InvalidOperationException(SR.Enumerator_ReachedEnd);
System\Windows\Media\Generated\DoubleCollectionConverter.cs (1)
37using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Generated\Drawing.cs (1)
37using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Generated\DrawingBrush.cs (1)
37using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Generated\DrawingCollection.cs (15)
37using SR=MS.Internal.PresentationCore.SR; 159throw new System.ArgumentException(SR.Collection_NoNull); 267throw new System.ArgumentException(SR.Collection_NoNull); 432throw new ArgumentException(SR.Collection_BadRank); 447throw new ArgumentException(SR.Format(SR.Collection_BadDestArray, this.GetType().Name), e); 536throw new System.ArgumentException(SR.Format(SR.Collection_BadType, this.GetType().Name, value.GetType().Name, "Drawing")); 562throw new System.ArgumentException(SR.Collection_NoNull); 845throw new InvalidOperationException(SR.Enumerator_CollectionChanged); 863throw new InvalidOperationException(SR.Enumerator_CollectionChanged); 897throw new InvalidOperationException(SR.Enumerator_NotStarted); 902throw new InvalidOperationException(SR.Enumerator_ReachedEnd); 980throw new System.ArgumentException(SR.Collection_NoNull); 998throw new System.ArgumentException(SR.Collection_NoNull);
System\Windows\Media\Generated\DrawingContext.cs (1)
27using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Generated\DrawingContextDrawingContextWalker.cs (1)
27using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Generated\DrawingContextWalker.cs (1)
27using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Generated\DrawingGroup.cs (1)
37using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Generated\DrawingImage.cs (1)
37using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Generated\EdgeMode.cs (1)
17using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Generated\EllipseGeometry.cs (1)
37using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Generated\FillRule.cs (1)
17using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Generated\GeneralTransform.cs (1)
37using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Generated\GeneralTransformCollection.cs (15)
37using SR=MS.Internal.PresentationCore.SR; 147throw new System.ArgumentException(SR.Collection_NoNull); 255throw new System.ArgumentException(SR.Collection_NoNull); 418throw new ArgumentException(SR.Collection_BadRank); 433throw new ArgumentException(SR.Format(SR.Collection_BadDestArray, this.GetType().Name), e); 522throw new System.ArgumentException(SR.Format(SR.Collection_BadType, this.GetType().Name, value.GetType().Name, "GeneralTransform")); 548throw new System.ArgumentException(SR.Collection_NoNull); 804throw new InvalidOperationException(SR.Enumerator_CollectionChanged); 822throw new InvalidOperationException(SR.Enumerator_CollectionChanged); 856throw new InvalidOperationException(SR.Enumerator_NotStarted); 861throw new InvalidOperationException(SR.Enumerator_ReachedEnd); 939throw new System.ArgumentException(SR.Collection_NoNull); 956throw new System.ArgumentException(SR.Collection_NoNull);
System\Windows\Media\Generated\GeneralTransformGroup.cs (1)
37using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Generated\Geometry.cs (1)
37using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Generated\GeometryCollection.cs (15)
37using SR=MS.Internal.PresentationCore.SR; 159throw new System.ArgumentException(SR.Collection_NoNull); 267throw new System.ArgumentException(SR.Collection_NoNull); 432throw new ArgumentException(SR.Collection_BadRank); 447throw new ArgumentException(SR.Format(SR.Collection_BadDestArray, this.GetType().Name), e); 536throw new System.ArgumentException(SR.Format(SR.Collection_BadType, this.GetType().Name, value.GetType().Name, "Geometry")); 562throw new System.ArgumentException(SR.Collection_NoNull); 845throw new InvalidOperationException(SR.Enumerator_CollectionChanged); 863throw new InvalidOperationException(SR.Enumerator_CollectionChanged); 897throw new InvalidOperationException(SR.Enumerator_NotStarted); 902throw new InvalidOperationException(SR.Enumerator_ReachedEnd); 980throw new System.ArgumentException(SR.Collection_NoNull); 998throw new System.ArgumentException(SR.Collection_NoNull);
System\Windows\Media\Generated\GeometryCombineMode.cs (1)
17using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Generated\GeometryConverter.cs (4)
37using SR=MS.Internal.PresentationCore.SR; 83throw new ArgumentException(SR.Format(SR.General_Expected_Type, "Geometry"), "context"); 156throw new NotSupportedException(SR.Converter_ConvertToNotSupported);
System\Windows\Media\Generated\GeometryDrawing.cs (1)
37using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Generated\GeometryGroup.cs (1)
37using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Generated\GlyphRunDrawing.cs (1)
37using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Generated\GradientBrush.cs (1)
37using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Generated\GradientSpreadMethod.cs (1)
17using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Generated\GradientStop.cs (1)
37using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Generated\GradientStopCollection.cs (15)
37using SR=MS.Internal.PresentationCore.SR; 147throw new System.ArgumentException(SR.Collection_NoNull); 255throw new System.ArgumentException(SR.Collection_NoNull); 418throw new ArgumentException(SR.Collection_BadRank); 433throw new ArgumentException(SR.Format(SR.Collection_BadDestArray, this.GetType().Name), e); 522throw new System.ArgumentException(SR.Format(SR.Collection_BadType, this.GetType().Name, value.GetType().Name, "GradientStop")); 548throw new System.ArgumentException(SR.Collection_NoNull); 907throw new InvalidOperationException(SR.Enumerator_CollectionChanged); 925throw new InvalidOperationException(SR.Enumerator_CollectionChanged); 959throw new InvalidOperationException(SR.Enumerator_NotStarted); 964throw new InvalidOperationException(SR.Enumerator_ReachedEnd); 1042throw new System.ArgumentException(SR.Collection_NoNull); 1059throw new System.ArgumentException(SR.Collection_NoNull);
System\Windows\Media\Generated\GuidelineSet.cs (1)
37using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Generated\ImageBrush.cs (1)
37using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Generated\ImageDrawing.cs (1)
37using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Generated\ImageSource.cs (1)
37using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Generated\Int32Collection.cs (10)
37using SR=MS.Internal.PresentationCore.SR; 382throw new ArgumentException(SR.Collection_BadRank); 397throw new ArgumentException(SR.Format(SR.Collection_BadDestArray, this.GetType().Name), e); 470throw new System.ArgumentException(SR.Format(SR.Collection_BadType, this.GetType().Name, value.GetType().Name, "int")); 825throw new InvalidOperationException(SR.Enumerator_CollectionChanged); 843throw new InvalidOperationException(SR.Enumerator_CollectionChanged); 877throw new InvalidOperationException(SR.Enumerator_NotStarted); 882throw new InvalidOperationException(SR.Enumerator_ReachedEnd);
System\Windows\Media\Generated\Int32CollectionConverter.cs (1)
37using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Generated\LinearGradientBrush.cs (1)
37using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Generated\LineGeometry.cs (1)
37using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Generated\LineSegment.cs (1)
37using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Generated\MatrixTransform.cs (1)
37using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Generated\MediaTimeline.cs (1)
37using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Generated\PathFigure.cs (1)
37using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Generated\PathFigureCollection.cs (15)
37using SR=MS.Internal.PresentationCore.SR; 148throw new System.ArgumentException(SR.Collection_NoNull); 256throw new System.ArgumentException(SR.Collection_NoNull); 419throw new ArgumentException(SR.Collection_BadRank); 434throw new ArgumentException(SR.Format(SR.Collection_BadDestArray, this.GetType().Name), e); 523throw new System.ArgumentException(SR.Format(SR.Collection_BadType, this.GetType().Name, value.GetType().Name, "PathFigure")); 549throw new System.ArgumentException(SR.Collection_NoNull); 894throw new InvalidOperationException(SR.Enumerator_CollectionChanged); 912throw new InvalidOperationException(SR.Enumerator_CollectionChanged); 946throw new InvalidOperationException(SR.Enumerator_NotStarted); 951throw new InvalidOperationException(SR.Enumerator_ReachedEnd); 1029throw new System.ArgumentException(SR.Collection_NoNull); 1046throw new System.ArgumentException(SR.Collection_NoNull);
System\Windows\Media\Generated\PathFigureCollectionConverter.cs (4)
37using SR=MS.Internal.PresentationCore.SR; 83throw new ArgumentException(SR.Format(SR.General_Expected_Type, "PathFigureCollection"), "context"); 156throw new NotSupportedException(SR.Converter_ConvertToNotSupported);
System\Windows\Media\Generated\PathGeometry.cs (1)
37using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Generated\PathSegment.cs (1)
37using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Generated\PathSegmentCollection.cs (15)
37using SR=MS.Internal.PresentationCore.SR; 147throw new System.ArgumentException(SR.Collection_NoNull); 255throw new System.ArgumentException(SR.Collection_NoNull); 418throw new ArgumentException(SR.Collection_BadRank); 433throw new ArgumentException(SR.Format(SR.Collection_BadDestArray, this.GetType().Name), e); 522throw new System.ArgumentException(SR.Format(SR.Collection_BadType, this.GetType().Name, value.GetType().Name, "PathSegment")); 548throw new System.ArgumentException(SR.Collection_NoNull); 804throw new InvalidOperationException(SR.Enumerator_CollectionChanged); 822throw new InvalidOperationException(SR.Enumerator_CollectionChanged); 856throw new InvalidOperationException(SR.Enumerator_NotStarted); 861throw new InvalidOperationException(SR.Enumerator_ReachedEnd); 939throw new System.ArgumentException(SR.Collection_NoNull); 956throw new System.ArgumentException(SR.Collection_NoNull);
System\Windows\Media\Generated\Pen.cs (1)
37using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Generated\PenLineCap.cs (1)
17using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Generated\PenLineJoin.cs (1)
17using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Generated\PointCollection.cs (10)
37using SR=MS.Internal.PresentationCore.SR; 382throw new ArgumentException(SR.Collection_BadRank); 397throw new ArgumentException(SR.Format(SR.Collection_BadDestArray, this.GetType().Name), e); 470throw new System.ArgumentException(SR.Format(SR.Collection_BadType, this.GetType().Name, value.GetType().Name, "Point")); 827throw new InvalidOperationException(SR.Enumerator_CollectionChanged); 845throw new InvalidOperationException(SR.Enumerator_CollectionChanged); 879throw new InvalidOperationException(SR.Enumerator_NotStarted); 884throw new InvalidOperationException(SR.Enumerator_ReachedEnd);
System\Windows\Media\Generated\PointCollectionConverter.cs (1)
37using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Generated\PolyBezierSegment.cs (1)
37using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Generated\PolyBezierSegmentFigureLogic.cs (1)
28using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Generated\PolyLineSegment.cs (1)
37using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Generated\PolyLineSegmentFigureLogic.cs (1)
28using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Generated\PolyQuadraticBezierSegment.cs (1)
37using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Generated\PolyQuadraticBezierSegmentFigureLogic.cs (1)
28using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Generated\QuadraticBezierSegment.cs (1)
37using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Generated\RadialGradientBrush.cs (1)
37using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Generated\RectangleGeometry.cs (1)
37using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Generated\RenderData.cs (1)
27using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Generated\RenderDataDrawingContext.cs (2)
27using SR=MS.Internal.PresentationCore.SR; 1305throw new InvalidOperationException(SR.DrawingContext_TooManyPops);
System\Windows\Media\Generated\RotateTransform.cs (1)
37using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Generated\Rotation.cs (1)
17using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Generated\ScaleTransform.cs (1)
37using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Generated\SkewTransform.cs (1)
37using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Generated\SolidColorBrush.cs (1)
37using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Generated\StreamGeometry.cs (1)
37using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Generated\Stretch.cs (1)
17using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Generated\SweepDirection.cs (1)
17using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Generated\TextEffect.cs (1)
37using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Generated\TextEffectCollection.cs (15)
37using SR=MS.Internal.PresentationCore.SR; 147throw new System.ArgumentException(SR.Collection_NoNull); 255throw new System.ArgumentException(SR.Collection_NoNull); 418throw new ArgumentException(SR.Collection_BadRank); 433throw new ArgumentException(SR.Format(SR.Collection_BadDestArray, this.GetType().Name), e); 522throw new System.ArgumentException(SR.Format(SR.Collection_BadType, this.GetType().Name, value.GetType().Name, "TextEffect")); 548throw new System.ArgumentException(SR.Collection_NoNull); 804throw new InvalidOperationException(SR.Enumerator_CollectionChanged); 822throw new InvalidOperationException(SR.Enumerator_CollectionChanged); 856throw new InvalidOperationException(SR.Enumerator_NotStarted); 861throw new InvalidOperationException(SR.Enumerator_ReachedEnd); 939throw new System.ArgumentException(SR.Collection_NoNull); 956throw new System.ArgumentException(SR.Collection_NoNull);
System\Windows\Media\Generated\TextHintingMode.cs (1)
17using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Generated\TextRenderingMode.cs (1)
17using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Generated\TileBrush.cs (1)
37using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Generated\TileMode.cs (1)
17using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Generated\ToleranceType.cs (1)
17using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Generated\Transform.cs (1)
37using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Generated\TransformCollection.cs (15)
37using SR=MS.Internal.PresentationCore.SR; 159throw new System.ArgumentException(SR.Collection_NoNull); 267throw new System.ArgumentException(SR.Collection_NoNull); 432throw new ArgumentException(SR.Collection_BadRank); 447throw new ArgumentException(SR.Format(SR.Collection_BadDestArray, this.GetType().Name), e); 536throw new System.ArgumentException(SR.Format(SR.Collection_BadType, this.GetType().Name, value.GetType().Name, "Transform")); 562throw new System.ArgumentException(SR.Collection_NoNull); 845throw new InvalidOperationException(SR.Enumerator_CollectionChanged); 863throw new InvalidOperationException(SR.Enumerator_CollectionChanged); 897throw new InvalidOperationException(SR.Enumerator_NotStarted); 902throw new InvalidOperationException(SR.Enumerator_ReachedEnd); 980throw new System.ArgumentException(SR.Collection_NoNull); 998throw new System.ArgumentException(SR.Collection_NoNull);
System\Windows\Media\Generated\TransformConverter.cs (4)
37using SR=MS.Internal.PresentationCore.SR; 83throw new ArgumentException(SR.Format(SR.General_Expected_Type, "Transform"), "context"); 156throw new NotSupportedException(SR.Converter_ConvertToNotSupported);
System\Windows\Media\Generated\TransformGroup.cs (1)
37using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Generated\TranslateTransform.cs (1)
37using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Generated\VectorCollection.cs (10)
37using SR=MS.Internal.PresentationCore.SR; 382throw new ArgumentException(SR.Collection_BadRank); 397throw new ArgumentException(SR.Format(SR.Collection_BadDestArray, this.GetType().Name), e); 470throw new System.ArgumentException(SR.Format(SR.Collection_BadType, this.GetType().Name, value.GetType().Name, "Vector")); 827throw new InvalidOperationException(SR.Enumerator_CollectionChanged); 845throw new InvalidOperationException(SR.Enumerator_CollectionChanged); 879throw new InvalidOperationException(SR.Enumerator_NotStarted); 884throw new InvalidOperationException(SR.Enumerator_ReachedEnd);
System\Windows\Media\Generated\VectorCollectionConverter.cs (1)
37using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Generated\VideoDrawing.cs (1)
37using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Generated\VisualBrush.cs (1)
37using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Geometry.cs (1)
28using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\GeometryGroup.cs (1)
27using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\GlyphRun.cs (25)
42using SR=MS.Internal.PresentationCore.SR; 413throw new ArgumentException(SR.ClusterMapEntriesShouldNotDecrease, "clusterMap"); 416throw new ArgumentException(SR.ClusterMapEntryShouldPointWithinGlyphIndices, "clusterMap"); 422throw new ArgumentException(SR.ClusterMapFirstEntryMustBeZero, "clusterMap"); 427throw new ArgumentException(SR.Format(SR.CollectionNumberOfElementsShouldBeEqualTo, characters.Count), "clusterMap"); 433throw new ArgumentException(SR.Format(SR.CollectionNumberOfElementsShouldBeEqualTo, GlyphCount), "clusterMap"); 440throw new ArgumentException(SR.Format(SR.CollectionNumberOfElementsShouldBeEqualTo, CodepointCount + 1), "caretStops"); 444throw new ArgumentException(SR.SidewaysRTLTextIsNotSupported); 462throw new ArgumentException(SR.CollectionNumberOfElementsMustBeGreaterThanZero, "glyphIndices"); 466throw new ArgumentException(SR.Format(SR.CollectionNumberOfElementsMustBeLessOrEqualTo, MaxGlyphCount), "glyphIndices"); 472throw new ArgumentException(SR.Format(SR.CollectionNumberOfElementsShouldBeEqualTo, glyphIndices.Count), "advanceWidths"); 475throw new ArgumentException(SR.Format(SR.CollectionNumberOfElementsShouldBeEqualTo, glyphIndices.Count), "glyphOffsets"); 1113throw new ArgumentException(SR.CollectionNumberOfElementsMustBeGreaterThanZero, "value"); 1143throw new ArgumentException(SR.CollectionNumberOfElementsMustBeGreaterThanZero, "value"); 2318throw new InvalidOperationException(SR.OnlyOneInitialization); 2324throw new InvalidOperationException(SR.InInitialization); 2335throw new InvalidOperationException(SR.NotInInitialization); 2371throw new InvalidOperationException(SR.InitializationIncomplete); 2382throw new InvalidOperationException(SR.NotInInitialization);
System\Windows\Media\GlyphTypeface.cs (14)
125throw new ArgumentException(SR.UriNotAbsolute, "typefaceSource"); 238throw new ArgumentException(SR.CollectionNumberOfElementsMustBeGreaterThanZero, "glyphs"); 241throw new ArgumentException(SR.Format(SR.CollectionNumberOfElementsMustBeLessOrEqualTo, ushort.MaxValue), "glyphs"); 303throw new ArgumentException(SR.UriNotAbsolute, "value"); 1071throw new ArgumentOutOfRangeException("glyphIndex", SR.Format(SR.GlyphIndexOutOfRange, glyphIndex)); 1660throw new InvalidOperationException(SR.OnlyOneInitialization); 1666throw new InvalidOperationException(SR.InInitialization); 1677throw new InvalidOperationException(SR.NotInInitialization); 1690throw new InvalidOperationException(SR.InitializationIncomplete); 1698throw new InvalidOperationException(SR.NotInInitialization); 1826throw new ArgumentException(SR.Collection_BadRank); 1911throw new ArgumentException(SR.Collection_BadRank);
System\Windows\Media\HostVisual.cs (2)
26using SR=MS.Internal.PresentationCore.SR; 163SR.VisualTarget_AnotherTargetAlreadyConnected
System\Windows\Media\ImageBrush.cs (1)
26using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\ImageSourceConverter.cs (4)
23using SR=MS.Internal.PresentationCore.SR; 71throw new ArgumentException(SR.Format(SR.General_Expected_Type, "ImageSource"), "context"); 220throw new NotSupportedException(SR.Converter_ConvertToNotSupported);
System\Windows\Media\Imaging\BitmapDecoder.cs (7)
32using SR=MS.Internal.PresentationCore.SR; 114throw new FileFormatException(bitmapUri, SR.Image_CantDealWithUri); 158throw new FileFormatException(null, SR.Image_CantDealWithStream); 1003throw new System.InvalidOperationException(SR.Image_OriginalStreamReadOnly); 1554SR.Image_CantDealWithStream); 1573SR.Image_CantDealWithStream); 1581SR.Image_CantDealWithStream);
System\Windows\Media\Imaging\BitmapDownload.cs (2)
30using SR=MS.Internal.PresentationCore.SR; 173throw new IOException(SR.Image_CannotCreateTempFile);
System\Windows\Media\Imaging\BitmapEncoder.cs (13)
24using SR=MS.Internal.PresentationCore.SR; 95SR.Format(SR.Image_GuidEmpty, "containerFormat"), 153throw new InvalidOperationException(SR.Image_EncoderNoColorContext); 180throw new InvalidOperationException(SR.Image_EncoderNoGlobalThumbnail); 209throw new InvalidOperationException(SR.Image_MetadataNotCompatible); 214throw new InvalidOperationException(SR.Image_EncoderNoGlobalMetadata); 241throw new InvalidOperationException(SR.Image_EncoderNoPreview); 346throw new InvalidOperationException(SR.Image_OnlyOneSave); 351throw new System.NotSupportedException(SR.Format(SR.Image_NoFrames, null)); 357throw new System.NotSupportedException(SR.Format(SR.Image_NoFrames, null));
System\Windows\Media\Imaging\BitmapFrame.cs (3)
26using SR=MS.Internal.PresentationCore.SR; 85throw new System.ArgumentException(SR.Image_NoDecodeFrames, "uri"); 102throw new System.ArgumentException(SR.Image_NoDecodeFrames, "stream");
System\Windows\Media\Imaging\BitmapImage.cs (5)
26using SR=MS.Internal.PresentationCore.SR; 93throw new InvalidOperationException(SR.Format(SR.Image_NeitherArgument, "UriSource", "StreamSource")); 154throw new System.NotSupportedException(SR.Image_MetadataNotSupported); 387throw new System.ArgumentException(SR.Image_NoDecodeFrames);
System\Windows\Media\Imaging\BitmapInitialize.cs (13)
25using SR=MS.Internal.PresentationCore.SR; 42throw new InvalidOperationException(SR.Format(SR.Image_OnlyOneInit, null)); 45throw new InvalidOperationException(SR.Format(SR.Image_InInitialize, null)); 53throw new InvalidOperationException(SR.Format(SR.Image_EndInitWithoutBeginInit, null)); 63throw new InvalidOperationException(SR.Format(SR.Image_SetPropertyOutsideBeginEndInit, null)); 86throw new InvalidOperationException(SR.Format(SR.Image_InitializationIncomplete, null)); 89throw new InvalidOperationException(SR.Format(SR.Image_NotInitialized, null));
System\Windows\Media\Imaging\BitmapMetadata.cs (3)
1039throw new System.InvalidOperationException(SR.Image_MetadataReadOnly); 1161throw new System.InvalidOperationException(SR.Image_MetadataReadOnly); 1530throw new System.InvalidOperationException(SR.Image_MetadataInitializationIncomplete);
System\Windows\Media\Imaging\BitmapMetadataEnumerator.cs (3)
20using SR=MS.Internal.PresentationCore.SR; 140throw new InvalidOperationException(SR.Enumerator_NotStarted); 145throw new InvalidOperationException(SR.Enumerator_ReachedEnd);
System\Windows\Media\Imaging\BitmapPalette.cs (7)
25using SR=MS.Internal.PresentationCore.SR; 54throw new InvalidOperationException(SR.Format(SR.Image_PaletteZeroColors, null)); 132throw new System.ArgumentException(SR.Format(SR.Image_PaletteFixedType, paletteType)); 323throw new InvalidOperationException(SR.Format(SR.Image_PaletteZeroColors, null));
System\Windows\Media\Imaging\BitmapSizeOptions.cs (2)
18using SR=MS.Internal.PresentationCore.SR; 186throw new ArgumentException(SR.Image_SizeOptionsAngle, "rotation");
System\Windows\Media\Imaging\BitmapSource.cs (3)
26using SR = MS.Internal.PresentationCore.SR; 660throw new ArgumentException(SR.Collection_BadRank, "pixels"); 679throw new ArgumentException(SR.Image_InvalidArrayForPixel);
System\Windows\Media\Imaging\BitmapVisualManager.cs (4)
20using SR=MS.Internal.PresentationCore.SR; 46throw new ArgumentException(SR.Format(SR.Image_CantBeFrozen, null)); 83throw new ArgumentException(SR.Image_CantBeFrozen);
System\Windows\Media\Imaging\CachedBitmap.cs (6)
27using SR=MS.Internal.PresentationCore.SR; 137throw new ArgumentException(SR.Collection_BadRank, "pixels"); 151throw new ArgumentException(SR.Image_InvalidArrayForPixel); 412throw new InvalidOperationException(SR.Image_IndexedPixelFormatRequiresPalette); 417SR.Format(SR.Effect_PixelFormat, pixelFormat),
System\Windows\Media\Imaging\ColorConvertedBitmap.cs (6)
26using SR=MS.Internal.PresentationCore.SR; 158throw new InvalidOperationException(SR.Format(SR.Image_NoArgument, "Source")); 167throw new InvalidOperationException(SR.Color_NullColorContext); 176throw new InvalidOperationException(SR.Format(SR.Image_NoArgument, "DestinationColorContext"));
System\Windows\Media\Imaging\CroppedBitmap.cs (3)
26using SR=MS.Internal.PresentationCore.SR; 177throw new InvalidOperationException(SR.Format(SR.Image_NoArgument, "Source"));
System\Windows\Media\Imaging\FormatConvertedBitmap.cs (6)
26using SR=MS.Internal.PresentationCore.SR; 57throw new ArgumentException(SR.Image_AlphaThresholdOutOfRange); 192throw new InvalidOperationException(SR.Format(SR.Image_NoArgument, "Source")); 202throw new InvalidOperationException(SR.Image_IndexedPixelFormatRequiresPalette); 210throw new InvalidOperationException(SR.Image_PaletteColorsDoNotMatchFormat);
System\Windows\Media\Imaging\ImagingCache.cs (1)
24using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Imaging\InplaceBitmapMetadataWriter.cs (5)
149throw new InvalidOperationException(SR.Image_InplaceMetadataNoCopy); 157throw new InvalidOperationException(SR.Image_InplaceMetadataNoCopy); 165throw new InvalidOperationException(SR.Image_InplaceMetadataNoCopy); 173throw new InvalidOperationException(SR.Image_InplaceMetadataNoCopy); 181throw new InvalidOperationException(SR.Image_InplaceMetadataNoCopy);
System\Windows\Media\Imaging\InteropBitmapSource.cs (1)
26using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Imaging\JpegBitmapEncoder.cs (1)
22using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Imaging\LateBoundBitmapDecoder.cs (1)
29using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Imaging\PropVariant.cs (4)
127throw new InvalidOperationException(SR.Image_InsufficientBufferSize); 337throw new System.InvalidOperationException(SR.Image_PropertyNotSupported); 448throw new System.InvalidOperationException(SR.Image_PropertyNotSupported); 769throw new System.NotSupportedException(SR.Image_PropertyNotSupported);
System\Windows\Media\Imaging\RenderTargetBitmap.cs (3)
26using SR=MS.Internal.PresentationCore.SR; 59SR.Format(SR.Effect_PixelFormat, pixelFormat),
System\Windows\Media\Imaging\TransformedBitmap.cs (9)
26using SR=MS.Internal.PresentationCore.SR; 56throw new InvalidOperationException(SR.Format(SR.Image_NoArgument, "Transform")); 61throw new InvalidOperationException(SR.Image_OnlyOrthogonal); 297throw new InvalidOperationException(SR.Format(SR.Image_NoArgument, "Source")); 307throw new InvalidOperationException(SR.Format(SR.Image_NoArgument, "Transform")); 316throw new InvalidOperationException(SR.Image_OnlyOrthogonal);
System\Windows\Media\Imaging\UnmanagedBitmapWrapper.cs (1)
27using SR = MS.Internal.PresentationCore.SR;
System\Windows\Media\Imaging\WmpBitmapEncoder.cs (1)
22using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Imaging\WriteableBitmap.cs (12)
25using SR=MS.Internal.PresentationCore.SR; 89throw new InvalidOperationException(SR.Image_IndexedPixelFormatRequiresPalette); 95throw new ArgumentException(SR.Effect_PixelFormat, "pixelFormat"); 178throw new InvalidOperationException(SR.Image_MustBeLocked); 261throw new InvalidOperationException(SR.Image_LockCountLimit); 325throw new InvalidOperationException(SR.Image_MustBeLocked); 413throw new ArgumentException(SR.Image_InvalidArrayForPixel); 520throw new ArgumentException(SR.Image_InvalidArrayForPixel); 895throw new ArgumentException(SR.Image_InsufficientBufferSize, "sourceBufferSize"); 1098throw new ArgumentException(SR.Image_InsufficientBuffer, "sourceBuffer"); 1124throw new ArgumentException(SR.Image_InsufficientBuffer, "sourceBuffer"); 1140throw new ArgumentException(SR.Collection_BadRank, backwardsCompat ? "pixels" : "sourceBuffer");
System\Windows\Media\LinearGradientBrush.cs (1)
26using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\LineGeometry.cs (1)
24using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\LineSegment.cs (1)
24using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\MatrixTransform.cs (1)
24using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\mediaclock.cs (1)
24using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\MediaContext.cs (7)
35using SR=MS.Internal.PresentationCore.SR; 429throw new InvalidOperationException(SR.MediaContext_NoBadShaderHandler); 452throw new System.OutOfMemoryException(SR.MediaContext_OutOfVideoMemory); 454throw new System.InvalidOperationException(SR.MediaContext_RenderThreadError); 1823throw new InvalidOperationException(SR.MediaContext_InfiniteTickLoop); 1962throw new InvalidOperationException(SR.MediaContext_InfiniteLayoutLoop); 2335throw new InvalidOperationException(SR.MediaContext_APINotAllowed);
System\Windows\Media\MediaContextNotificationWindow.cs (1)
30using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\mediaeventshelper.cs (1)
22using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\MediaPlayer.cs (2)
26using SR=MS.Internal.PresentationCore.SR; 830throw new System.NotSupportedException(SR.Media_UnknownChannelType);
System\Windows\Media\MediaPlayerState.cs (5)
28using SR=MS.Internal.PresentationCore.SR; 848_mediaEventsHelper.RaiseMediaFailed(new System.NotSupportedException(SR.Format(SR.Media_PackURIsAreNotSupported, null))); 996throw new System.NotSupportedException(SR.Image_BadVersion); 1010throw new InvalidOperationException(SR.Media_NotAllowedWhileTimingEngineInControl);
System\Windows\Media\MediaSystem.cs (3)
26using SR=MS.Internal.PresentationCore.SR; 202throw new System.InvalidOperationException(SR.MediaSystem_OutOfOrderConnectOrDisconnect); 292throw new ArgumentException(SR.MediaSystem_ApiInvalidContext);
System\Windows\Media\MediaTimeline.cs (3)
22using SR=MS.Internal.PresentationCore.SR; 141throw new InvalidOperationException(SR.Media_UriNotSpecified); 262throw new InvalidOperationException(SR.Media_UriNotSpecified);
System\Windows\Media\Parsers.cs (11)
22using SR=MS.Internal.PresentationCore.SR; 50throw new FormatException(SR.Parsers_IllegalToken); 102throw new FormatException(SR.Parsers_IllegalToken); 110throw new FormatException(SR.Parsers_IllegalToken); 148throw new FormatException(SR.Parsers_IllegalToken); 158throw new FormatException(SR.Parsers_IllegalToken); 179throw new FormatException(SR.Parsers_IllegalToken); 219throw new FormatException(SR.Parsers_IllegalToken); 241throw new FormatException(SR.Parsers_IllegalToken); 264throw new FormatException(SR.Parser_Empty); 297throw new FormatException(SR.Parsers_IllegalToken);
System\Windows\Media\ParsersCommon.cs (6)
31using SR=MS.Internal.PresentationCore.SR; 151throw new FormatException(SR.Parsers_IllegalToken); 208throw new System.FormatException(SR.Format(SR.Parser_UnexpectedToken, _pathString, _curIndex - 1)); 447throw new System.FormatException(SR.Format(SR.Parser_UnexpectedToken, _pathString, start), except);
System\Windows\Media\PathFigure.cs (2)
25using SR=MS.Internal.PresentationCore.SR; 94throw new InvalidOperationException(SR.PathGeometry_InternalReadBackError);
System\Windows\Media\PathGeometry.cs (4)
32using SR=MS.Internal.PresentationCore.SR; 484throw new System.InvalidOperationException(SR.PathGeometry_InternalReadBackError); 515throw new System.InvalidOperationException(SR.PathGeometry_InternalReadBackError); 548throw new System.InvalidOperationException(SR.PathGeometry_InternalReadBackError);
System\Windows\Media\PathStreamGeometryContext.cs (1)
27using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\PixelFormat.cs (6)
23using SR=MS.Internal.PresentationCore.SR; 336throw new System.ArgumentException (SR.Format(SR.Image_BadPixelFormat, pixelFormatString), 430throw new System.ArgumentException (SR.Format(SR.Image_BadPixelFormat, format), "format"); 584throw new System.NotSupportedException(SR.Image_NoPixelFormatFound);
System\Windows\Media\PixelFormatConverter.cs (3)
22using SR=MS.Internal.PresentationCore.SR; 109throw new ArgumentException(SR.Format(SR.General_Expected_Type,"PixelFormat"));
System\Windows\Media\PolyBezierSegment.cs (1)
24using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\PolyLineSegment.cs (1)
24using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\PolyQuadraticBezierSegment.cs (1)
24using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\QuadraticBezierSegment.cs (1)
24using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\RadialGradientBrush.cs (1)
26using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\RectangleGeometry.cs (1)
23using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\RequestCachePolicyConverter.cs (3)
21using SR=MS.Internal.PresentationCore.SR; 85throw new ArgumentException(SR.Format(SR.General_BadType, "ConvertFrom"), "value");
System\Windows\Media\RotateTransform.cs (1)
23using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\ScaleTransform.cs (1)
24using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\SkewTransform.cs (1)
23using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\SolidColorBrush.cs (2)
30using SR=MS.Internal.PresentationCore.SR; 180throw new Exception(SR.BrushUnknownBamlType);
System\Windows\Media\StreamAsIStream.cs (2)
20using SR=MS.Internal.PresentationCore.SR; 567throw new System.ObjectDisposedException(SR.Media_StreamClosed);
System\Windows\Media\StreamGeometry.cs (1)
32using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\StreamGeometryContext.cs (1)
29using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\TextEffect.cs (1)
23using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\textformatting\CharacterBufferReference.cs (1)
19using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\textformatting\CharacterString.cs (1)
19using SR = MS.Internal.PresentationCore.SR;
System\Windows\Media\textformatting\CultureSpecificCharacterBufferRange.cs (1)
14using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\textformatting\NumberSubstitution.cs (2)
21using SR = MS.Internal.PresentationCore.SR; 101throw new ArgumentException(SR.SpecificNumberCultureRequired);
System\Windows\Media\textformatting\TextCharacters.cs (1)
26using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\textformatting\TextEndOfLine.cs (1)
19using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\textformatting\TextEndOfSegment.cs (1)
20using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\textformatting\TextFormatter.cs (1)
129throw new ArgumentException(SR.CurrentDispatcherNotFound);
System\Windows\Media\textformatting\TextFormatterContext.cs (9)
30using SR=MS.Internal.PresentationCore.SR; 148ThrowExceptionFromLsError(SR.Format(SR.CreateContextFailure, lserr), lserr); 288ThrowExceptionFromLsError(SR.Format(SR.SetBreakingFailure, lserr), lserr); 390ThrowExceptionFromLsError(SR.Format(SR.SetDocFailure, lserr), lserr); 410ThrowExceptionFromLsError(SR.Format(SR.SetTabsFailure, lserr), lserr);
System\Windows\Media\textformatting\TextHidden.cs (1)
19using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\textformatting\TextLineBreak.cs (3)
25using SR = MS.Internal.PresentationCore.SR; 95TextFormatterContext.ThrowExceptionFromLsError(SR.Format(SR.CloneBreakRecordFailure, lserr), lserr);
System\Windows\Media\textformatting\TextParagraphCache.cs (5)
26using SR = MS.Internal.PresentationCore.SR; 94throw new InvalidOperationException(SR.Format(SR.CreateParaBreakingSessionFailure, lserr), callbackException); 99TextFormatterContext.ThrowExceptionFromLsError(SR.Format(SR.CreateParaBreakingSessionFailure, lserr), lserr);
System\Windows\Media\textformatting\TextSimpleMarkerProperties.cs (3)
20using SR=MS.Internal.PresentationCore.SR; 65throw new ArgumentException(SR.Format(SR.Enum_Invalid, typeof(TextMarkerStyle)), "style");
System\Windows\Media\TransformGroup.cs (1)
24using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\TranslateTransform.cs (1)
24using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\Visual.cs (17)
33using SR=MS.Internal.PresentationCore.SR; 2536throw new ArgumentOutOfRangeException("index", index, SR.Visual_ArgumentOutOfRange); 2601throw new ArgumentException(SR.Visual_HasParent); 2670throw new ArgumentException(SR.Visual_NotChild); 2756throw new InvalidOperationException(SR.Format(SR.LayoutManager_DeepRecursion, TreeLevelLimit)); 2903throw new Exception(SR.Effect_CombinedLegacyAndNew); 3035throw new Exception(SR.Effect_CombinedLegacyAndNew); 3132throw new Exception(SR.Effect_CombinedLegacyAndNew); 4389throw new System.InvalidOperationException(SR.Visual_NoCommonAncestor); 4598throw new System.InvalidOperationException(inverse ? SR.Visual_NotADescendant : SR.Visual_NotAnAncestor); 4694throw new System.InvalidOperationException(SR.Visual_NotAnAncestor); 4751throw new InvalidOperationException(SR.Visual_NoPresentationSource); 4758throw new InvalidOperationException(SR.Visual_CannotTransformPoint); 4780throw new InvalidOperationException(SR.Visual_NoPresentationSource); 4791throw new InvalidOperationException(SR.Visual_CannotTransformPoint);
System\Windows\Media\VisualCollection.cs (14)
24using SR=MS.Internal.PresentationCore.SR; 118throw new InvalidOperationException(SR.VisualCollection_ReadOnly); 194throw new ArgumentException(SR.Collection_BadRank); 266throw new ArgumentOutOfRangeException(nameof(value), SR.VisualCollection_NotEnoughCapacity); 362throw new System.ArgumentException(SR.VisualCollection_EntryInUse); 367throw new System.ArgumentException(SR.VisualCollection_VisualHasParent); 400throw new InvalidOperationException(SR.CannotModifyVisualChildrenDuringTreeWalk); 440throw new InvalidOperationException(SR.CannotModifyVisualChildrenDuringTreeWalk); 468throw new System.ArgumentException(SR.VisualCollection_VisualHasParent); 715throw new System.ArgumentException(SR.VisualCollection_VisualHasParent); 960throw new InvalidOperationException(SR.Enumerator_CollectionChanged); 992throw new InvalidOperationException(SR.Enumerator_NotStarted); 998throw new InvalidOperationException(SR.Enumerator_ReachedEnd); 1016throw new InvalidOperationException(SR.Enumerator_CollectionChanged);
System\Windows\Media\VisualTarget.cs (1)
16using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media\VisualTreeHelper.cs (1)
20using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media3D\ContainerUIElement3D.cs (1)
22using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media3D\Converters\Generated\Matrix3DValueSerializer.cs (1)
32using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media3D\Converters\Generated\Point3DCollectionValueSerializer.cs (1)
32using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media3D\Converters\Generated\Point3DValueSerializer.cs (1)
32using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media3D\Converters\Generated\Point4DValueSerializer.cs (1)
32using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media3D\Converters\Generated\QuaternionValueSerializer.cs (1)
32using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media3D\Converters\Generated\Rect3DValueSerializer.cs (1)
32using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media3D\Converters\Generated\Size3DValueSerializer.cs (1)
32using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media3D\Converters\Generated\Vector3DCollectionValueSerializer.cs (1)
32using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media3D\Converters\Generated\Vector3DValueSerializer.cs (1)
32using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media3D\GeneralTransform2DTo3D.cs (3)
16using SR = MS.Internal.PresentationCore.SR; 110throw new InvalidOperationException(SR.Format(SR.GeneralTransform_TransformFailed, null));
System\Windows\Media3D\GeneralTransform3D.cs (2)
66throw new InvalidOperationException(SR.Format(SR.GeneralTransform_TransformFailed, null));
System\Windows\Media3D\GeneralTransform3DGroup.cs (1)
25using SR = MS.Internal.PresentationCore.SR;
System\Windows\Media3D\GeneralTransform3DTo2D.cs (3)
14using SR = MS.Internal.PresentationCore.SR; 73throw new InvalidOperationException(SR.Format(SR.GeneralTransform_TransformFailed, null));
System\Windows\Media3D\Generated\AffineTransform3D.cs (1)
32using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media3D\Generated\AmbientLight.cs (1)
32using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media3D\Generated\AxisAngleRotation3D.cs (1)
32using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media3D\Generated\Camera.cs (1)
32using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media3D\Generated\DiffuseMaterial.cs (1)
32using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media3D\Generated\DirectionalLight.cs (1)
32using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media3D\Generated\EmissiveMaterial.cs (1)
32using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media3D\Generated\GeneralTransform3D.cs (1)
32using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media3D\Generated\GeneralTransform3DCollection.cs (15)
32using SR=MS.Internal.PresentationCore.SR; 143throw new System.ArgumentException(SR.Collection_NoNull); 251throw new System.ArgumentException(SR.Collection_NoNull); 414throw new ArgumentException(SR.Collection_BadRank); 429throw new ArgumentException(SR.Format(SR.Collection_BadDestArray, this.GetType().Name), e); 518throw new System.ArgumentException(SR.Format(SR.Collection_BadType, this.GetType().Name, value.GetType().Name, "GeneralTransform3D")); 544throw new System.ArgumentException(SR.Collection_NoNull); 800throw new InvalidOperationException(SR.Enumerator_CollectionChanged); 818throw new InvalidOperationException(SR.Enumerator_CollectionChanged); 852throw new InvalidOperationException(SR.Enumerator_NotStarted); 857throw new InvalidOperationException(SR.Enumerator_ReachedEnd); 935throw new System.ArgumentException(SR.Collection_NoNull); 952throw new System.ArgumentException(SR.Collection_NoNull);
System\Windows\Media3D\Generated\GeneralTransform3DGroup.cs (1)
32using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media3D\Generated\Geometry3D.cs (1)
32using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media3D\Generated\GeometryModel3D.cs (1)
32using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media3D\Generated\Light.cs (1)
32using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media3D\Generated\Material.cs (1)
32using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media3D\Generated\MaterialCollection.cs (15)
32using SR=MS.Internal.PresentationCore.SR; 155throw new System.ArgumentException(SR.Collection_NoNull); 263throw new System.ArgumentException(SR.Collection_NoNull); 428throw new ArgumentException(SR.Collection_BadRank); 443throw new ArgumentException(SR.Format(SR.Collection_BadDestArray, this.GetType().Name), e); 532throw new System.ArgumentException(SR.Format(SR.Collection_BadType, this.GetType().Name, value.GetType().Name, "Material")); 558throw new System.ArgumentException(SR.Collection_NoNull); 841throw new InvalidOperationException(SR.Enumerator_CollectionChanged); 859throw new InvalidOperationException(SR.Enumerator_CollectionChanged); 893throw new InvalidOperationException(SR.Enumerator_NotStarted); 898throw new InvalidOperationException(SR.Enumerator_ReachedEnd); 976throw new System.ArgumentException(SR.Collection_NoNull); 994throw new System.ArgumentException(SR.Collection_NoNull);
System\Windows\Media3D\Generated\MaterialGroup.cs (1)
32using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media3D\Generated\Matrix3D.cs (1)
32using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media3D\Generated\Matrix3DConverter.cs (1)
32using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media3D\Generated\MatrixCamera.cs (1)
32using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media3D\Generated\MatrixTransform3D.cs (1)
32using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media3D\Generated\MeshGeometry3D.cs (1)
32using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media3D\Generated\Model3D.cs (1)
32using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media3D\Generated\Model3DCollection.cs (15)
32using SR=MS.Internal.PresentationCore.SR; 155throw new System.ArgumentException(SR.Collection_NoNull); 263throw new System.ArgumentException(SR.Collection_NoNull); 428throw new ArgumentException(SR.Collection_BadRank); 443throw new ArgumentException(SR.Format(SR.Collection_BadDestArray, this.GetType().Name), e); 532throw new System.ArgumentException(SR.Format(SR.Collection_BadType, this.GetType().Name, value.GetType().Name, "Model3D")); 558throw new System.ArgumentException(SR.Collection_NoNull); 841throw new InvalidOperationException(SR.Enumerator_CollectionChanged); 859throw new InvalidOperationException(SR.Enumerator_CollectionChanged); 893throw new InvalidOperationException(SR.Enumerator_NotStarted); 898throw new InvalidOperationException(SR.Enumerator_ReachedEnd); 976throw new System.ArgumentException(SR.Collection_NoNull); 994throw new System.ArgumentException(SR.Collection_NoNull);
System\Windows\Media3D\Generated\Model3DGroup.cs (1)
32using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media3D\Generated\OrthographicCamera.cs (1)
32using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media3D\Generated\PerspectiveCamera.cs (1)
32using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media3D\Generated\Point3D.cs (1)
32using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media3D\Generated\Point3DCollection.cs (10)
32using SR=MS.Internal.PresentationCore.SR; 378throw new ArgumentException(SR.Collection_BadRank); 393throw new ArgumentException(SR.Format(SR.Collection_BadDestArray, this.GetType().Name), e); 466throw new System.ArgumentException(SR.Format(SR.Collection_BadType, this.GetType().Name, value.GetType().Name, "Point3D")); 824throw new InvalidOperationException(SR.Enumerator_CollectionChanged); 842throw new InvalidOperationException(SR.Enumerator_CollectionChanged); 876throw new InvalidOperationException(SR.Enumerator_NotStarted); 881throw new InvalidOperationException(SR.Enumerator_ReachedEnd);
System\Windows\Media3D\Generated\Point3DCollectionConverter.cs (1)
32using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media3D\Generated\Point3DConverter.cs (1)
32using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media3D\Generated\Point4D.cs (1)
32using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media3D\Generated\Point4DConverter.cs (1)
32using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media3D\Generated\PointLight.cs (1)
32using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media3D\Generated\PointLightBase.cs (1)
32using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media3D\Generated\ProjectionCamera.cs (1)
32using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media3D\Generated\Quaternion.cs (1)
32using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media3D\Generated\QuaternionConverter.cs (1)
32using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media3D\Generated\QuaternionRotation3D.cs (1)
32using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media3D\Generated\Rect3D.cs (1)
32using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media3D\Generated\Rect3DConverter.cs (1)
32using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media3D\Generated\RotateTransform3D.cs (1)
32using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media3D\Generated\Rotation3D.cs (1)
32using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media3D\Generated\ScaleTransform3D.cs (1)
32using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media3D\Generated\Size3D.cs (1)
32using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media3D\Generated\Size3DConverter.cs (1)
32using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media3D\Generated\SpecularMaterial.cs (1)
32using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media3D\Generated\SpotLight.cs (1)
32using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media3D\Generated\Transform3D.cs (1)
32using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media3D\Generated\Transform3DCollection.cs (15)
32using SR=MS.Internal.PresentationCore.SR; 155throw new System.ArgumentException(SR.Collection_NoNull); 263throw new System.ArgumentException(SR.Collection_NoNull); 428throw new ArgumentException(SR.Collection_BadRank); 443throw new ArgumentException(SR.Format(SR.Collection_BadDestArray, this.GetType().Name), e); 532throw new System.ArgumentException(SR.Format(SR.Collection_BadType, this.GetType().Name, value.GetType().Name, "Transform3D")); 558throw new System.ArgumentException(SR.Collection_NoNull); 841throw new InvalidOperationException(SR.Enumerator_CollectionChanged); 859throw new InvalidOperationException(SR.Enumerator_CollectionChanged); 893throw new InvalidOperationException(SR.Enumerator_NotStarted); 898throw new InvalidOperationException(SR.Enumerator_ReachedEnd); 976throw new System.ArgumentException(SR.Collection_NoNull); 994throw new System.ArgumentException(SR.Collection_NoNull);
System\Windows\Media3D\Generated\Transform3DGroup.cs (1)
32using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media3D\Generated\TranslateTransform3D.cs (1)
32using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media3D\Generated\Vector3D.cs (1)
32using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media3D\Generated\Vector3DCollection.cs (10)
32using SR=MS.Internal.PresentationCore.SR; 378throw new ArgumentException(SR.Collection_BadRank); 393throw new ArgumentException(SR.Format(SR.Collection_BadDestArray, this.GetType().Name), e); 466throw new System.ArgumentException(SR.Format(SR.Collection_BadType, this.GetType().Name, value.GetType().Name, "Vector3D")); 824throw new InvalidOperationException(SR.Enumerator_CollectionChanged); 842throw new InvalidOperationException(SR.Enumerator_CollectionChanged); 876throw new InvalidOperationException(SR.Enumerator_NotStarted); 881throw new InvalidOperationException(SR.Enumerator_ReachedEnd);
System\Windows\Media3D\Generated\Vector3DCollectionConverter.cs (1)
32using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media3D\Generated\Vector3DConverter.cs (1)
32using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media3D\Generated\Visual3D.cs (15)
29using SR = MS.Internal.PresentationCore.SR; 86throw new ArgumentException(SR.Format(SR.Animation_DependencyPropertyIsNotAnimatable, dp.Name, this.GetType()), "dp"); 94throw new ArgumentException(SR.Format(SR.Animation_AnimationTimelineTypeMismatch, clock.Timeline.GetType(), dp.Name, dp.PropertyType), "clock"); 100throw new ArgumentException(SR.Animation_UnrecognizedHandoffBehavior); 105throw new InvalidOperationException(SR.Format(SR.IAnimatable_CantAnimateSealedDO, dp, this.GetType())); 155throw new ArgumentException(SR.Format(SR.Animation_DependencyPropertyIsNotAnimatable, dp.Name, this.GetType()), "dp"); 162throw new ArgumentException(SR.Format(SR.Animation_AnimationTimelineTypeMismatch, animation.GetType(), dp.Name, dp.PropertyType), "animation"); 167throw new ArgumentException(SR.Animation_UnrecognizedHandoffBehavior); 172throw new InvalidOperationException(SR.Format(SR.IAnimatable_CantAnimateSealedDO, dp, this.GetType()));
System\Windows\Media3D\MaterialGroup.cs (1)
21using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media3D\Matrix3D.cs (3)
35using SR=MS.Internal.PresentationCore.SR; 666throw new InvalidOperationException(SR.Format(SR.Matrix3D_NotInvertible, null));
System\Windows\Media3D\MatrixCamera.cs (2)
16using SR=MS.Internal.PresentationCore.SR; 115throw new NotSupportedException(SR.HitTest_Singular);
System\Windows\Media3D\Model3DGroup.cs (1)
24using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media3D\ModelUIElement3D.cs (1)
22using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media3D\ModelVisual3D.cs (5)
22using SR=MS.Internal.PresentationCore.SR; 96throw new System.ArgumentException(SR.Format(SR.Collection_BadType, this.GetType().Name, value.GetType().Name, typeof(Visual3D).Name)); 109throw new System.InvalidOperationException(SR.Format(SR.AddText_Invalid, this.GetType().Name));
System\Windows\Media3D\Quaternion.cs (2)
43using SR=MS.Internal.PresentationCore.SR; 92throw new System.InvalidOperationException(SR.Quaternion_ZeroAxisSpecified);
System\Windows\Media3D\Rect3D.cs (14)
23using SR=MS.Internal.PresentationCore.SR; 79throw new System.ArgumentException(SR.Size3D_DimensionCannotBeNegative); 164throw new System.InvalidOperationException(SR.Rect3D_CannotModifyEmptyRect); 195throw new System.InvalidOperationException(SR.Rect3D_CannotModifyEmptyRect); 218throw new System.InvalidOperationException(SR.Rect3D_CannotModifyEmptyRect); 223throw new System.ArgumentException(SR.Size3D_DimensionCannotBeNegative); 243throw new System.InvalidOperationException(SR.Rect3D_CannotModifyEmptyRect); 248throw new System.ArgumentException(SR.Size3D_DimensionCannotBeNegative); 268throw new System.InvalidOperationException(SR.Rect3D_CannotModifyEmptyRect); 273throw new System.ArgumentException(SR.Size3D_DimensionCannotBeNegative); 293throw new System.InvalidOperationException(SR.Rect3D_CannotModifyEmptyRect); 313throw new System.InvalidOperationException(SR.Rect3D_CannotModifyEmptyRect); 333throw new System.InvalidOperationException(SR.Rect3D_CannotModifyEmptyRect); 542throw new System.InvalidOperationException(SR.Rect3D_CannotCallMethod);
System\Windows\Media3D\Size3D.cs (8)
19using SR=MS.Internal.PresentationCore.SR; 41throw new System.ArgumentException(SR.Size3D_DimensionCannotBeNegative); 97throw new System.InvalidOperationException(SR.Size3D_CannotModifyEmptySize); 102throw new System.ArgumentException(SR.Size3D_DimensionCannotBeNegative); 122throw new System.InvalidOperationException(SR.Size3D_CannotModifyEmptySize); 127throw new System.ArgumentException(SR.Size3D_DimensionCannotBeNegative); 148throw new System.InvalidOperationException(SR.Size3D_CannotModifyEmptySize); 153throw new System.ArgumentException(SR.Size3D_DimensionCannotBeNegative);
System\Windows\Media3D\Transform3DGroup.cs (1)
32using SR=MS.Internal.PresentationCore.SR;
System\Windows\Media3D\Viewport2DVisual3D.cs (7)
25using SR=MS.Internal.PresentationCore.SR; 380throw new ArgumentException(SR.Visual_HasParent); 411throw new ArgumentException(SR.Visual_NotChild); 522throw new ArgumentException(SR.Viewport2DVisual3D_MaterialGroupIsInteractiveMaterial, "material"); 546throw new ArgumentException(SR.Viewport2DVisual3D_MultipleInteractiveMaterials, "material"); 847throw new ArgumentOutOfRangeException("index", index, SR.Visual_ArgumentOutOfRange); 879throw new ArgumentOutOfRangeException("index", index, SR.Visual_ArgumentOutOfRange);
System\Windows\Media3D\Viewport3DVisual.cs (5)
24using SR=MS.Internal.PresentationCore.SR; 336throw new InvalidOperationException(SR.CannotModifyVisualChildrenDuringTreeWalk); 387throw new InvalidOperationException(SR.CannotModifyVisualChildrenDuringTreeWalk); 515throw new NotSupportedException(SR.Format(SR.HitTest_Invalid, typeof(GeometryHitTestParameters).Name, this.GetType().Name));
System\Windows\Media3D\Visual3D.cs (6)
18using SR=MS.Internal.PresentationCore.SR; 240throw new InvalidOperationException(SR.CannotModifyVisualChildrenDuringTreeWalk); 291throw new InvalidOperationException(SR.CannotModifyVisualChildrenDuringTreeWalk); 1000throw new ArgumentOutOfRangeException("index", index, SR.Visual_ArgumentOutOfRange); 1743throw new System.InvalidOperationException(inverse ? SR.Visual_NotADescendant : SR.Visual_NotAnAncestor);
System\Windows\Media3D\Visual3DCollection.cs (11)
21using SR=MS.Internal.PresentationCore.SR; 173throw new ArgumentException(SR.Collection_BadRank); 188throw new ArgumentException(SR.Format(SR.Collection_BadDestArray, "Visual3DCollection"), e); 466throw new System.ArgumentException(SR.Format(SR.Collection_BadType, this.GetType().Name, value.GetType().Name, "Visual3D")); 476throw new System.ArgumentException(SR.Collection_NoNull); 483throw new System.ArgumentException(SR.VisualCollection_VisualHasParent); 634throw new InvalidOperationException(SR.Enumerator_CollectionChanged); 654throw new InvalidOperationException(SR.Enumerator_CollectionChanged); 688throw new InvalidOperationException(SR.Enumerator_VerifyContext);
System\Windows\Navigation\BaseUriHelper.cs (5)
294throw new UriFormatException(SR.WrongFirstSegment); 315throw new UriFormatException(SR.WrongFirstSegment); 326throw new UriFormatException(SR.WrongFirstSegment); 395throw new InvalidOperationException(SR.Format(SR.CannotNavigateToApplicationResourcesInWebBrowser, packUri));
System\Windows\OleServicesContext.cs (12)
20using SR=MS.Internal.PresentationCore.SR; 114throw new ThreadStateException(SR.OleServicesContext_ThreadMustBeSTA); 127throw new ThreadStateException(SR.OleServicesContext_ThreadMustBeSTA); 140throw new ThreadStateException(SR.OleServicesContext_ThreadMustBeSTA); 156throw new ThreadStateException(SR.OleServicesContext_ThreadMustBeSTA); 170throw new ThreadStateException(SR.OleServicesContext_ThreadMustBeSTA); 198throw new ThreadStateException(SR.OleServicesContext_ThreadMustBeSTA); 211throw new ThreadStateException(SR.OleServicesContext_ThreadMustBeSTA); 237throw new ThreadStateException(SR.OleServicesContext_ThreadMustBeSTA); 246throw new SystemException(SR.Format(SR.OleServicesContext_oleInitializeFailure, hr)); 267throw new ThreadStateException(SR.OleServicesContext_ThreadMustBeSTA);
System\Windows\PresentationSource.cs (11)
21using SR=MS.Internal.PresentationCore.SR; 131throw new ArgumentException(SR.Format(SR.Invalid_IInputElement, element.GetType()), nameof(element)); 175throw new InvalidOperationException(SR.Format(SR.Invalid_IInputElement, o.GetType())); 197throw new ArgumentException(SR.Format(SR.Invalid_IInputElement, e.GetType()), nameof(e)); 256throw new InvalidOperationException(SR.Format(SR.Invalid_IInputElement, o.GetType())); 733throw new InvalidOperationException(SR.Format(SR.Invalid_IInputElement, doTarget.GetType()));
System\Windows\QueryContinueDragEventArgs.cs (3)
15using SR=MS.Internal.PresentationCore.SR; 94throw new ArgumentException(SR.Format(SR.DragDrop_DragActionInvalid, "value"));
System\Windows\RoutedEventArgs.cs (6)
8using SR=MS.Internal.PresentationCore.SR; 98throw new InvalidOperationException(SR.RoutedEventCannotChangeWhileRouting); 138throw new InvalidOperationException(SR.RoutedEventArgsMustHaveRoutedEvent); 190throw new InvalidOperationException(SR.RoutedEventCannotChangeWhileRouting); 194throw new InvalidOperationException(SR.RoutedEventArgsMustHaveRoutedEvent); 288throw new InvalidOperationException(SR.RoutedEventArgsMustHaveRoutedEvent);
System\Windows\TextDecorationCollectionConverter.cs (5)
21using SR=MS.Internal.PresentationCore.SR; 83throw new ArgumentException(SR.Format(SR.General_BadType, "ConvertFrom"), "input"); 166throw new ArgumentException(SR.Format(SR.InvalidTextDecorationCollectionString, text));
System\Windows\UIElement.cs (21)
589throw new InvalidOperationException(SR.UIElement_Layout_NaNMeasure); 682throw new InvalidOperationException(SR.Format(SR.UIElement_Layout_PositiveInfinityReturned, this.GetType().FullName)); 686throw new InvalidOperationException(SR.Format(SR.UIElement_Layout_NaNReturned, this.GetType().FullName)); 810SR.Format( 811SR.UIElement_Layout_InfinityArrange, 1658throw new ArgumentException(SR.SourceNotSet); 1663throw new ArgumentException(SR.Mismatched_RoutedEvent); 1721throw new InvalidOperationException(SR.TreeLoop); 1916throw new ArgumentException(SR.Format(SR.Invalid_IInputElement, d.GetType())); 1953throw new ArgumentException(SR.Format(SR.Invalid_IInputElement, d.GetType())); 4339[CustomCategory(nameof(SR.Touch_Category))] 4393[CustomCategory(nameof(SR.Touch_Category))] 4418[CustomCategory(nameof(SR.Touch_Category))] 4443[CustomCategory(nameof(SR.Touch_Category))] 4468[CustomCategory(nameof(SR.Touch_Category))] 4493[CustomCategory(nameof(SR.Touch_Category))] 4518[CustomCategory(nameof(SR.Touch_Category))]
System\Windows\UIPropertyMetadata.cs (2)
9using SR=MS.Internal.PresentationCore.SR; 113throw new InvalidOperationException(SR.TypeMetadataCannotChangeAfterUse);