24 references to SR
System.Windows.Extensions (24)
System\Media\SoundPlayer.cs (20)
80
throw new ArgumentOutOfRangeException(nameof(LoadTimeout), value,
SR
.SoundAPILoadTimeout);
145
throw new FileNotFoundException(
SR
.SoundAPIFileDoesNotExist, _soundLocation);
195
throw new FileNotFoundException(
SR
.SoundAPIFileDoesNotExist, _soundLocation);
253
throw new TimeoutException(
SR
.SoundAPILoadTimedOut);
295
throw new TimeoutException(
SR
.SoundAPILoadTimedOut);
391
throw new UriFormatException(
SR
.SoundAPIBadSoundLocation);
544
throw new FileNotFoundException(
SR
.SoundAPIFileDoesNotExist, _soundLocation);
557
throw new InvalidOperationException(
SR
.Format(
SR
.SoundAPIInvalidWaveFile, _soundLocation));
564
throw new InvalidOperationException(
SR
.SoundAPIInvalidWaveHeader);
581
throw new InvalidOperationException(
SR
.Format(
SR
.SoundAPIReadError, _soundLocation));
599
throw new InvalidOperationException(
SR
.SoundAPIInvalidWaveHeader);
605
throw new InvalidOperationException(
SR
.SoundAPIFormatNotSupported);
625
throw new InvalidOperationException(
SR
.SoundAPIInvalidWaveHeader);
652
throw new InvalidOperationException(
SR
.SoundAPIInvalidWaveHeader);
659
throw new InvalidOperationException(
SR
.SoundAPIInvalidWaveHeader);
666
throw new InvalidOperationException(
SR
.SoundAPIInvalidWaveHeader);
680
throw new InvalidOperationException(
SR
.SoundAPIInvalidWaveHeader);
687
throw new InvalidOperationException(
SR
.SoundAPIFormatNotSupported);
System\Security\Cryptography\X509Certificates\X509Certificate2UI.cs (4)
50
throw new CryptographicException(
SR
.Format(
SR
.Cryptography_InvalidHandle, nameof(safeCertContext)));
95
throw new ArgumentException(
SR
.Format(
SR
.Enum_InvalidValue, nameof(selectionFlag)));