443 references to PlatformNotSupportedException
aspire (2)
Utils\CliDownloader.cs (2)
178throw new PlatformNotSupportedException($"Unsupported operating system: {RuntimeInformation.OSDescription}"); 190_ => throw new PlatformNotSupportedException($"Unsupported architecture: {arch}")
Aspire.Cli.Tests (2)
Acquisition\PeerInstallProbeTests.cs (1)
684throw new PlatformNotSupportedException("POSIX pid-file sleeper is not supported on Windows.");
Commands\StopCommandTests.cs (1)
1034EnsureExtractedException = new PlatformNotSupportedException("Platform denied cleanup.")
dotnet (2)
Commands\DotNetCommandFactory.cs (1)
82throw new PlatformNotSupportedException("Dynamic code generation is not supported on this platform.");
Commands\Test\MTP\MicrosoftTestingPlatformTestCommand.cs (1)
109: throw new PlatformNotSupportedException("Dynamic code is not supported on this platform.");
dotnet-svcutil-lib (10)
FrameworkFork\System.ServiceModel\ExceptionHelper.cs (1)
26return new PlatformNotSupportedException(message);
FrameworkFork\System.ServiceModel\System\ServiceModel\ClientBase.cs (4)
27throw new PlatformNotSupportedException(SRServiceModel.ConfigurationFilesNotSupported); 32throw new PlatformNotSupportedException(SRServiceModel.ConfigurationFilesNotSupported); 37throw new PlatformNotSupportedException(SRServiceModel.ConfigurationFilesNotSupported); 42throw new PlatformNotSupportedException(SRServiceModel.ConfigurationFilesNotSupported);
FrameworkFork\System.ServiceModel\System\ServiceModel\DuplexClientBase.cs (4)
14throw new PlatformNotSupportedException(SRServiceModel.ConfigurationFilesNotSupported); 18throw new PlatformNotSupportedException(SRServiceModel.ConfigurationFilesNotSupported); 22throw new PlatformNotSupportedException(SRServiceModel.ConfigurationFilesNotSupported); 26throw new PlatformNotSupportedException(SRServiceModel.ConfigurationFilesNotSupported);
FrameworkFork\System.ServiceModel\System\ServiceModel\HttpTransportSecurity.cs (1)
63new PlatformNotSupportedException(SRServiceModel.ExtendedProtectionNotSupported));
Microsoft.AspNetCore.Components.Server (1)
ProtectedBrowserStorage\ProtectedBrowserStorage.cs (1)
43throw new PlatformNotSupportedException($"{GetType()} cannot be used when running in a browser.");
Microsoft.AspNetCore.Components.WebAssembly (1)
Hosting\WebAssemblyCultureProvider.cs (1)
58throw new PlatformNotSupportedException("This method is only supported in the browser.");
Microsoft.AspNetCore.Cryptography.Internal (2)
CryptoUtil.cs (2)
40throw new PlatformNotSupportedException(Resources.Platform_Windows7Required); 49throw new PlatformNotSupportedException(Resources.Platform_Windows8Required);
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\Infrastructure\TransportManager.cs (1)
58throw new PlatformNotSupportedException("Named pipes transport requires a Windows operating system.");
Microsoft.AspNetCore.Server.Kestrel.Transport.DirectTls (2)
DirectTlsTransportFactory.cs (1)
61throw new PlatformNotSupportedException("The DirectTls transport requires a Linux operating system.");
WebHostBuilderDirectTlsExtensions.cs (1)
41throw new PlatformNotSupportedException("The DirectTls transport requires a Linux operating system.");
Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes (1)
WebHostBuilderNamedPipeExtensions.cs (1)
29throw new PlatformNotSupportedException("Named pipes transport requires a Windows operating system.");
Microsoft.Build (1)
BackEnd\Components\RequestBuilder\TaskBuilder.cs (1)
472throw new PlatformNotSupportedException(TaskRequirements.RequireSTAThread.ToString());
Microsoft.Build.Tasks.Core (2)
system.design\stronglytypedresourcebuilder.cs (1)
325throw new PlatformNotSupportedException("Creating strongly-typed resources directly from a resx file is not currently supported on .NET Core");
XslTransformation.cs (1)
590throw new PlatformNotSupportedException("Precompiled XSLTs are not supported in .NET Core");
Microsoft.Diagnostics.DataContractReader.Contracts (1)
Contracts\StackWalk\FrameHandling\WasmFrameHandler.cs (1)
47=> throw new PlatformNotSupportedException("HijackFrame handling is not supported on WASM.");
Microsoft.Diagnostics.NETCore.Client (2)
DiagnosticsIpc\IpcEndpointConfig.cs (2)
56throw new PlatformNotSupportedException($"{NamedPipeSchema} is only supported on Windows."); 65throw new PlatformNotSupportedException($"{UnixDomainSocketSchema} is not supported on Windows, use {NamedPipeSchema}.");
Microsoft.DotNet.Cli.Utils (1)
MSBuildForwardingAppWithoutLogging.cs (1)
197throw new PlatformNotSupportedException("Can't invoke MSBuild in-process because this runtime doesn't support dynamic code generation.");
Microsoft.Extensions.FileProviders.Physical (1)
PhysicalFilesWatcher.cs (1)
116throw new PlatformNotSupportedException(SR.Format(SR.FileSystemWatcher_PlatformNotSupported, typeof(FileSystemWatcher)));
Microsoft.Maui.Essentials (4)
AppActions\AppActions.shared.cs (1)
135 throw new PlatformNotSupportedException("This implementation of IAppActions does not implement IPlatformAppActions.");
FilePicker\FilePicker.shared.cs (1)
169 throw new PlatformNotSupportedException("This platform does not support this file type.");
Screenshot\Screenshot.shared.cs (1)
176 throw new PlatformNotSupportedException("This implementation of IScreenshot does not implement IPlatformScreenshot.");
WebAuthenticator\WebAuthenticator.shared.cs (1)
115 throw new PlatformNotSupportedException("This implementation of IWebAuthenticator does not implement IPlatformWebAuthenticatorCallback.");
Microsoft.Maui.Graphics.Skia (1)
SkiaImage.cs (1)
132 ImageFormat.Bmp or ImageFormat.Gif or ImageFormat.Tiff => throw new PlatformNotSupportedException($"Skia does not support {format} format."),
Microsoft.ML.TestFrameworkCommon (1)
Utility\LibraryLoader.cs (1)
180throw new PlatformNotSupportedException("This platform cannot load native libraries.");
Microsoft.TestPlatform.Extensions.BlameDataCollector (2)
CrashDumperFactory.cs (1)
61throw new PlatformNotSupportedException($"Unsupported operating system: {RuntimeInformation.OSDescription}, and framework: {targetFramework}.");
HangDumperFactory.cs (1)
64throw new PlatformNotSupportedException($"Unsupported operating system: {RuntimeInformation.OSDescription}");
System.Diagnostics.Process (17)
Microsoft\Win32\SafeHandles\SafeProcessHandle.Unix.cs (1)
185throw new PlatformNotSupportedException(SR.NotSupportedForNonChildProcess);
System\Diagnostics\Process.Linux.cs (1)
200throw new PlatformNotSupportedException(SR.MinimumWorkingSetNotSupported);
System\Diagnostics\Process.Unix.cs (2)
42throw new PlatformNotSupportedException(SR.ProcessStartWithPasswordAndDomainNotSupported); 49throw new PlatformNotSupportedException(SR.ProcessStartWithPasswordAndDomainNotSupported);
System\Diagnostics\ProcessManager.Unix.cs (1)
57throw new PlatformNotSupportedException(SR.RemoteMachinesNotSupported);
System\Diagnostics\ProcessStartInfo.Unix.cs (12)
18get { throw new PlatformNotSupportedException(SR.Format(SR.ProcessStartSingleFeatureNotSupported, nameof(PasswordInClearText))); } 19set { throw new PlatformNotSupportedException(SR.Format(SR.ProcessStartSingleFeatureNotSupported, nameof(PasswordInClearText))); } 26get { throw new PlatformNotSupportedException(SR.Format(SR.ProcessStartSingleFeatureNotSupported, nameof(Domain))); } 27set { throw new PlatformNotSupportedException(SR.Format(SR.ProcessStartSingleFeatureNotSupported, nameof(Domain))); } 33get { throw new PlatformNotSupportedException(SR.Format(SR.ProcessStartSingleFeatureNotSupported, nameof(LoadUserProfile))); } 34set { throw new PlatformNotSupportedException(SR.Format(SR.ProcessStartSingleFeatureNotSupported, nameof(LoadUserProfile))); } 40get { throw new PlatformNotSupportedException(SR.Format(SR.ProcessStartSingleFeatureNotSupported, nameof(UseCredentialsForNetworkingOnly))); } 41set { throw new PlatformNotSupportedException(SR.Format(SR.ProcessStartSingleFeatureNotSupported, nameof(UseCredentialsForNetworkingOnly))); } 50get { throw new PlatformNotSupportedException(SR.Format(SR.ProcessStartSingleFeatureNotSupported, nameof(Password))); } 51set { throw new PlatformNotSupportedException(SR.Format(SR.ProcessStartSingleFeatureNotSupported, nameof(Password))); } 57get { throw new PlatformNotSupportedException(SR.Format(SR.ProcessStartSingleFeatureNotSupported, nameof(CreateNewProcessGroup))); } 58set { throw new PlatformNotSupportedException(SR.Format(SR.ProcessStartSingleFeatureNotSupported, nameof(CreateNewProcessGroup))); }
System.DirectoryServices (2)
System\DirectoryServices\ActiveDirectory\ReplicationCursor.cs (2)
75throw new PlatformNotSupportedException(SR.DSNotSupportOnClient); 77throw new PlatformNotSupportedException(SR.DSNotSupportOnDC);
System.DirectoryServices.Protocols (3)
System\DirectoryServices\Protocols\common\QuotaControl.Linux.cs (2)
12get => _sid == null ? null : throw new System.PlatformNotSupportedException(SR.QuotaControlNotSupported); 21throw new System.PlatformNotSupportedException(SR.QuotaControlNotSupported);
System\DirectoryServices\Protocols\ldap\LdapSessionOptions.Linux.cs (1)
76throw new PlatformNotSupportedException(SR.ReferralChasingOptionsNotSupported);
System.IO.Compression (12)
System\IO\Compression\WinZipAesKeyMaterial.cs (2)
29throw new PlatformNotSupportedException(SR.WinZipEncryptionNotSupportedOnPlatform); 46throw new PlatformNotSupportedException(SR.WinZipEncryptionNotSupportedOnPlatform);
System\IO\Compression\WinZipAesStream.cs (6)
46throw new PlatformNotSupportedException(SR.WinZipEncryptionNotSupportedOnPlatform); 59throw new PlatformNotSupportedException(SR.WinZipEncryptionNotSupportedOnPlatform); 71throw new PlatformNotSupportedException(SR.WinZipEncryptionNotSupportedOnPlatform); 91throw new PlatformNotSupportedException(SR.WinZipEncryptionNotSupportedOnPlatform); 111throw new PlatformNotSupportedException(SR.WinZipEncryptionNotSupportedOnPlatform); 160throw new PlatformNotSupportedException(SR.WinZipEncryptionNotSupportedOnPlatform);
System\IO\Compression\ZipArchiveEntry.Async.cs (4)
243throw new PlatformNotSupportedException(SR.WinZipEncryptionNotSupportedOnPlatform); 542throw new PlatformNotSupportedException(SR.WinZipEncryptionNotSupportedOnPlatform); 586throw new PlatformNotSupportedException(SR.WinZipEncryptionNotSupportedOnPlatform); 796throw new PlatformNotSupportedException(SR.WinZipEncryptionNotSupportedOnPlatform);
System.IO.IsolatedStorage (4)
System\IO\IsolatedStorage\IsolatedStorageFile.cs (4)
518return (applicationEvidenceType == null) ? GetStore(scope) : throw new PlatformNotSupportedException(SR.PlatformNotSupported_CAS); // https://github.com/dotnet/runtime/issues/18208 524return (applicationIdentity == null) ? GetStore(scope) : throw new PlatformNotSupportedException(SR.PlatformNotSupported_CAS); // https://github.com/dotnet/runtime/issues/18208 530return (domainEvidenceType == null && assemblyEvidenceType == null) ? GetStore(scope) : throw new PlatformNotSupportedException(SR.PlatformNotSupported_CAS); // https://github.com/dotnet/runtime/issues/18208 536return (domainIdentity == null && assemblyIdentity == null) ? GetStore(scope) : throw new PlatformNotSupportedException(SR.PlatformNotSupported_CAS); // https://github.com/dotnet/runtime/issues/18208
System.IO.MemoryMappedFiles (1)
System\IO\MemoryMappedFiles\MemoryMappedFile.Unix.cs (1)
146return new PlatformNotSupportedException(SR.PlatformNotSupported_NamedMaps);
System.IO.Pipes (7)
System\IO\Pipes\NamedPipeClientStream.Unix.cs (1)
27throw new PlatformNotSupportedException(SR.PlatformNotSupported_PipeAccessRights);
System\IO\Pipes\NamedPipeServerStream.Unix.cs (1)
37throw new PlatformNotSupportedException(SR.PlatformNotSupported_MessageTransmissionMode);
System\IO\Pipes\PipeStream.Unix.cs (5)
190throw new PlatformNotSupportedException(SR.PlatformNotSupported_RemotePipes); 206throw new PlatformNotSupportedException(SR.PlatformNotSupported_InvalidPipeNameChars); 214throw new PlatformNotSupportedException(SR.PlatformNotSupported_InvalidPipeNameChars); 418throw new PlatformNotSupportedException(SR.PlatformNotSupported_MessageTransmissionMode); 524new PlatformNotSupportedException(SR.Format(SR.PlatformNotSupported_OperatingSystemError, nameof(Interop.Error.ENOTSUP))) :
System.IO.Ports (1)
System\IO\Ports\SerialPort.Unix.cs (1)
29: throw new PlatformNotSupportedException(SR.PlatformNotSupported_SerialPort_GetPortNames);
System.Linq.Expressions (2)
System\Linq\Expressions\Interpreter\LightCompiler.cs (2)
957throw new PlatformNotSupportedException(SR.Format(SR.UnsupportedExpressionType, node.NodeType)); 1272throw new PlatformNotSupportedException(SR.Format(SR.UnsupportedExpressionType, node.NodeType));
System.Management (51)
System\Management\ManagementScope.cs (51)
388ResetSecurity_f = (_) => throw new PlatformNotSupportedException(exceptionMessage); 389SetSecurity_f = (ref bool _, ref IntPtr __) => throw new PlatformNotSupportedException(exceptionMessage); 390BlessIWbemServices_f = (_, __, ___, ____, _____, ______) => throw new PlatformNotSupportedException(exceptionMessage); 391BlessIWbemServicesObject_f = (_, __, ___, ____, _____, ______) => throw new PlatformNotSupportedException(exceptionMessage); 392GetPropertyHandle_f27 = (int _, IntPtr __, string ___, out int ____, out int _____) => throw new PlatformNotSupportedException(exceptionMessage); 393WritePropertyValue_f28 = (_, __, ___, ____, _____) => throw new PlatformNotSupportedException(exceptionMessage); 394Clone_f12 = (int _, IntPtr __, out IntPtr ___) => throw new PlatformNotSupportedException(exceptionMessage); 395VerifyClientKey_f = () => throw new PlatformNotSupportedException(exceptionMessage); 396GetQualifierSet_f = (int _, IntPtr __, out IntPtr ___) => throw new PlatformNotSupportedException(exceptionMessage); 397Get_f = (int _, IntPtr __, string ___, int ____, ref object _____, ref int ______, ref int _______) => throw new PlatformNotSupportedException(exceptionMessage); 398Put_f = (int _, IntPtr __, string ___, int ____, ref object _____, int ______) => throw new PlatformNotSupportedException(exceptionMessage); 399Delete_f = (_, __, ___) => throw new PlatformNotSupportedException(exceptionMessage); 400GetNames_f = (int _, IntPtr __, string ___, int ____, ref object _____, out string[] ______) => throw new PlatformNotSupportedException(exceptionMessage); 401BeginEnumeration_f = (_, __, ___) => throw new PlatformNotSupportedException(exceptionMessage); 402Next_f = (int _, IntPtr __, int ___, ref string ____, ref object _____, ref int ______, ref int _______) => throw new PlatformNotSupportedException(exceptionMessage); 403EndEnumeration_f = (_, __) => throw new PlatformNotSupportedException(exceptionMessage); 404GetPropertyQualifierSet_f = (int _, IntPtr __, string ___, out IntPtr ____) => throw new PlatformNotSupportedException(exceptionMessage); 405Clone_f = (int _, IntPtr __, out IntPtr ___) => throw new PlatformNotSupportedException(exceptionMessage); 406GetObjectText_f = (int _, IntPtr __, int ___, out string ____) => throw new PlatformNotSupportedException(exceptionMessage); 407SpawnDerivedClass_f = (int _, IntPtr __, int ___, out IntPtr ____) => throw new PlatformNotSupportedException(exceptionMessage); 408SpawnInstance_f = (int _, IntPtr __, int ___, out IntPtr ____) => throw new PlatformNotSupportedException(exceptionMessage); 409CompareTo_f = (_, __, ___, ____) => throw new PlatformNotSupportedException(exceptionMessage); 410GetPropertyOrigin_f = (int _, IntPtr __, string ___, out string ____) => throw new PlatformNotSupportedException(exceptionMessage); 411InheritsFrom_f = (int _, IntPtr __, string ___) => throw new PlatformNotSupportedException(exceptionMessage); 412GetMethod_f = (int _, IntPtr __, string ___, int ____, out IntPtr _____, out IntPtr ______) => throw new PlatformNotSupportedException(exceptionMessage); 413PutMethod_f = (_, __, ___, ____, _____, ______) => throw new PlatformNotSupportedException(exceptionMessage); 414DeleteMethod_f = (_, __, ___) => throw new PlatformNotSupportedException(exceptionMessage); 415BeginMethodEnumeration_f = (_, __, ___) => throw new PlatformNotSupportedException(exceptionMessage); 416NextMethod_f = (int _, IntPtr __, int ___, out string ____, out IntPtr _____, out IntPtr ______) => throw new PlatformNotSupportedException(exceptionMessage); 417EndMethodEnumeration_f = (_, __) => throw new PlatformNotSupportedException(exceptionMessage); 418GetMethodQualifierSet_f = (int _, IntPtr __, string ___, out IntPtr ____) => throw new PlatformNotSupportedException(exceptionMessage); 419GetMethodOrigin_f = (int _, IntPtr __, string ___, out string ____) => throw new PlatformNotSupportedException(exceptionMessage); 420QualifierGet_f = (int _, IntPtr __, string ___, int ____, ref object _____, ref int ______) => throw new PlatformNotSupportedException(exceptionMessage); 421QualifierPut_f = (int _, IntPtr __, string ___, ref object ____, int _____) => throw new PlatformNotSupportedException(exceptionMessage); 422QualifierDelete_f = (_, __, ___) => throw new PlatformNotSupportedException(exceptionMessage); 423QualifierGetNames_f = (int _, IntPtr __, int ___, out string[] ____) => throw new PlatformNotSupportedException(exceptionMessage); 424QualifierBeginEnumeration_f = (_, __, ___) => throw new PlatformNotSupportedException(exceptionMessage); 425QualifierNext_f = (int _, IntPtr __, int ___, out string ____, out object _____, out int ______) => throw new PlatformNotSupportedException(exceptionMessage); 426QualifierEndEnumeration_f = (_, __) => throw new PlatformNotSupportedException(exceptionMessage); 427GetCurrentApartmentType_f = (int _, IntPtr __, out APTTYPE ___) => throw new PlatformNotSupportedException(exceptionMessage); 428GetDemultiplexedStub_f = (object _, bool __, out object ___) => throw new PlatformNotSupportedException(exceptionMessage); 429CreateInstanceEnumWmi_f = (string _, int __, IWbemContext ___, out IEnumWbemClassObject ____, int _____, int ______, IWbemServices _______, string ________, IntPtr _________, string __________) => throw new PlatformNotSupportedException(exceptionMessage); 430CreateClassEnumWmi_f = (string _, int __, IWbemContext ___, out IEnumWbemClassObject ____, int _____, int ______, IWbemServices _______, string ________, IntPtr _________, string __________) => throw new PlatformNotSupportedException(exceptionMessage); 431ExecQueryWmi_f = (string _, string __, int ___, IWbemContext ____, out IEnumWbemClassObject _____, int ______, int _______, IWbemServices ________, string _________, IntPtr __________, string ___________) => throw new PlatformNotSupportedException(exceptionMessage); 432ExecNotificationQueryWmi_f = (string _, string __, int ___, IWbemContext ____, out IEnumWbemClassObject _____, int ______, int _______, IWbemServices ________, string _________, IntPtr __________, string ___________) => throw new PlatformNotSupportedException(exceptionMessage); 433PutInstanceWmi_f = (_, __, ___, ____, _____, ______, _______, ________, _________, __________) => throw new PlatformNotSupportedException(exceptionMessage); 434PutClassWmi_f = (_, __, ___, ____, _____, ______, _______, ________, _________, __________) => throw new PlatformNotSupportedException(exceptionMessage); 435CloneEnumWbemClassObject_f = (out IEnumWbemClassObject _, int __, int ____, IEnumWbemClassObject _____, string ______, IntPtr _______, string ________) => throw new PlatformNotSupportedException(exceptionMessage); 436ConnectServerWmi_f = (string _, string __, IntPtr ___, string ____, int _____, string ______, IWbemContext _______, out IWbemServices ________, int _________, int __________) => throw new PlatformNotSupportedException(exceptionMessage); 437GetErrorInfo_f = () => throw new PlatformNotSupportedException(exceptionMessage); 438Initialize_f = (_) => throw new PlatformNotSupportedException(exceptionMessage);
System.Net.HttpListener (1)
System\Net\WebSockets\HttpWebSocket.cs (1)
103throw new PlatformNotSupportedException(SR.net_WebSockets_UnsupportedPlatform);
System.Net.NameResolution (1)
System\Net\DnsResolverPal.Managed.cs (1)
61throw new PlatformNotSupportedException(SR.net_dns_system_servers_not_supported);
System.Net.NetworkInformation (36)
System\Net\NetworkInformation\LinuxIPAddressInformation.cs (2)
20public override bool IsDnsEligible { get { throw new PlatformNotSupportedException(SR.net_InformationUnavailableOnPlatform); } } 23public override bool IsTransient { get { throw new PlatformNotSupportedException(SR.net_InformationUnavailableOnPlatform); } }
System\Net\NetworkInformation\LinuxIPGlobalStatistics.cs (1)
61public override long OutputPacketRoutingDiscards { get { throw new PlatformNotSupportedException(SR.net_InformationUnavailableOnPlatform); } }
System\Net\NetworkInformation\LinuxIPInterfaceProperties.cs (2)
33public override bool IsDynamicDnsEnabled { get { throw new PlatformNotSupportedException(SR.net_InformationUnavailableOnPlatform); } } 36public override IPAddressInformationCollection AnycastAddresses { get { throw new PlatformNotSupportedException(SR.net_InformationUnavailableOnPlatform); } }
System\Net\NetworkInformation\LinuxIPInterfaceStatistics.cs (2)
40public override long IncomingUnknownProtocolPackets { get { throw new PlatformNotSupportedException(SR.net_InformationUnavailableOnPlatform); } } 45public override long NonUnicastPacketsSent { get { throw new PlatformNotSupportedException(SR.net_InformationUnavailableOnPlatform); } }
System\Net\NetworkInformation\LinuxIPv4InterfaceProperties.cs (3)
22public override bool IsAutomaticPrivateAddressingActive { get { throw new PlatformNotSupportedException(SR.net_InformationUnavailableOnPlatform); } } 25public override bool IsAutomaticPrivateAddressingEnabled { get { throw new PlatformNotSupportedException(SR.net_InformationUnavailableOnPlatform); } } 28public override bool IsDhcpEnabled { get { throw new PlatformNotSupportedException(SR.net_InformationUnavailableOnPlatform); } }
System\Net\NetworkInformation\LinuxTcpStatistics.cs (6)
23public override long ConnectionsAccepted { get { throw new PlatformNotSupportedException(SR.net_InformationUnavailableOnPlatform); } } 26public override long ConnectionsInitiated { get { throw new PlatformNotSupportedException(SR.net_InformationUnavailableOnPlatform); } } 29public override long CumulativeConnections { get { throw new PlatformNotSupportedException(SR.net_InformationUnavailableOnPlatform); } } 40public override long MaximumTransmissionTimeout { get { throw new PlatformNotSupportedException(SR.net_InformationUnavailableOnPlatform); } } 43public override long MinimumTransmissionTimeout { get { throw new PlatformNotSupportedException(SR.net_InformationUnavailableOnPlatform); } } 48public override long ResetsSent { get { throw new PlatformNotSupportedException(SR.net_InformationUnavailableOnPlatform); } }
System\Net\NetworkInformation\LinuxUdpStatistics.cs (1)
33public override long IncomingDatagramsDiscarded { get { throw new PlatformNotSupportedException(SR.net_InformationUnavailableOnPlatform); } }
System\Net\NetworkInformation\UnixIPGlobalProperties.cs (2)
24public override string DhcpScopeName { get { throw new PlatformNotSupportedException(SR.net_InformationUnavailableOnPlatform); } } 39public override bool IsWinsProxy { get { throw new PlatformNotSupportedException(SR.net_InformationUnavailableOnPlatform); } }
System\Net\NetworkInformation\UnixIPInterfaceProperties.cs (1)
49throw new PlatformNotSupportedException(SR.net_InformationUnavailableOnPlatform);
System\Net\NetworkInformation\UnixMulticastIPAddressInformation.cs (8)
27public override bool IsDnsEligible { get { throw new PlatformNotSupportedException(SR.net_InformationUnavailableOnPlatform); } } 37public override bool IsTransient { get { throw new PlatformNotSupportedException(SR.net_InformationUnavailableOnPlatform); } } 47public override long AddressPreferredLifetime { get { throw new PlatformNotSupportedException(SR.net_InformationUnavailableOnPlatform); } } 57public override long AddressValidLifetime { get { throw new PlatformNotSupportedException(SR.net_InformationUnavailableOnPlatform); } } 67public override long DhcpLeaseLifetime { get { throw new PlatformNotSupportedException(SR.net_InformationUnavailableOnPlatform); } } 77public override DuplicateAddressDetectionState DuplicateAddressDetectionState { get { throw new PlatformNotSupportedException(SR.net_InformationUnavailableOnPlatform); } } 87public override PrefixOrigin PrefixOrigin { get { throw new PlatformNotSupportedException(SR.net_InformationUnavailableOnPlatform); } } 97public override SuffixOrigin SuffixOrigin { get { throw new PlatformNotSupportedException(SR.net_InformationUnavailableOnPlatform); } }
System\Net\NetworkInformation\UnixUnicastIPAddressInformation.cs (8)
32public override bool IsDnsEligible { get { throw new PlatformNotSupportedException(SR.net_InformationUnavailableOnPlatform); } } 43public override bool IsTransient { get { throw new PlatformNotSupportedException(SR.net_InformationUnavailableOnPlatform); } } 54public override long AddressPreferredLifetime { get { throw new PlatformNotSupportedException(SR.net_InformationUnavailableOnPlatform); } } 65public override long AddressValidLifetime { get { throw new PlatformNotSupportedException(SR.net_InformationUnavailableOnPlatform); } } 76public override long DhcpLeaseLifetime { get { throw new PlatformNotSupportedException(SR.net_InformationUnavailableOnPlatform); } } 87public override DuplicateAddressDetectionState DuplicateAddressDetectionState { get { throw new PlatformNotSupportedException(SR.net_InformationUnavailableOnPlatform); } } 98public override PrefixOrigin PrefixOrigin { get { throw new PlatformNotSupportedException(SR.net_InformationUnavailableOnPlatform); } } 109public override SuffixOrigin SuffixOrigin { get { throw new PlatformNotSupportedException(SR.net_InformationUnavailableOnPlatform); } }
System.Net.Ping (2)
System\Net\NetworkInformation\Ping.PingUtility.cs (2)
24throw new PlatformNotSupportedException(SR.net_ping_utility_not_found); 32throw new PlatformNotSupportedException(SR.net_ping_utility_custom_payload);
System.Net.Quic (3)
System\Net\Quic\Internal\MsQuicConfiguration.cs (1)
135throw new PlatformNotSupportedException(SR.Format(SR.net_quic_ssl_option, encryptionPolicy));
System\Net\Quic\QuicConnection.cs (1)
66throw new PlatformNotSupportedException(SR.Format(SR.SystemNetQuic_PlatformNotSupported, MsQuicApi.NotSupportedReason ?? "General loading failure."));
System\Net\Quic\QuicListener.cs (1)
57throw new PlatformNotSupportedException(SR.Format(SR.SystemNetQuic_PlatformNotSupported, MsQuicApi.NotSupportedReason ?? "General loading failure."));
System.Net.Security (11)
src\runtime\src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.OpenSsl.cs (1)
255throw new PlatformNotSupportedException(SR.Format(SR.net_ssl_encryptionpolicy_notsupported, sslAuthenticationOptions.EncryptionPolicy));
System\Net\NegotiateAuthenticationPal.Unix.cs (1)
117throw new PlatformNotSupportedException(SR.net_nego_server_not_supported);
System\Net\Security\CipherSuitesPolicyPal.Linux.cs (3)
27throw new PlatformNotSupportedException(SR.net_ssl_ciphersuites_policy_not_supported); 145throw new PlatformNotSupportedException(SR.net_ssl_ciphersuites_policy_not_supported); 166throw new PlatformNotSupportedException(SR.net_ssl_ciphersuites_policy_not_supported);
System\Net\Security\NegotiateAuthentication.cs (1)
64throw new PlatformNotSupportedException(SR.net_extprotection_not_supported);
System\Net\Security\SslAuthenticationOptions.cs (2)
79throw new PlatformNotSupportedException(SR.net_ssl_allow_rsa_padding_not_supported); 149throw new PlatformNotSupportedException(SR.net_ssl_allow_rsa_padding_not_supported);
System\Net\Security\SslCertificateTrust.cs (2)
26throw new PlatformNotSupportedException(SR.net_ssl_trust_handshake); 50throw new PlatformNotSupportedException(SR.net_ssl_trust_handshake);
System\Net\Security\SslStreamPal.Unix.cs (1)
40throw new PlatformNotSupportedException(nameof(SelectApplicationProtocol));
System.Net.Sockets (10)
System\Net\Sockets\Socket.Unix.cs (4)
22throw new PlatformNotSupportedException(SR.net_sockets_duplicateandclose_notsupported); 31throw new PlatformNotSupportedException(SR.net_sockets_duplicateandclose_notsupported); 182throw new PlatformNotSupportedException(SR.net_sockets_connect_multiconnect_notsupported); 212throw new PlatformNotSupportedException(SR.net_sockets_transmitfileoptions_notsupported);
System\Net\Sockets\SocketAsyncEventArgs.Unix.cs (1)
50throw new PlatformNotSupportedException(SR.net_sockets_accept_receive_notsupported);
System\Net\Sockets\SocketPal.Unix.cs (3)
39throw new PlatformNotSupportedException(SR.net_sockets_dualmode_receivefrom_notsupported); 1417throw new PlatformNotSupportedException(SR.PlatformNotSupported_IOControl); 1596throw new PlatformNotSupportedException(SR.PlatformNotSupported_IPProtectionLevel);
System\Net\Sockets\TCPListener.cs (2)
191if (OperatingSystem.IsWasi() && _serverSocket!.Blocking) throw new PlatformNotSupportedException("Only use with Socket.Blocking=false on WASI"); 203if (OperatingSystem.IsWasi() && _serverSocket!.Blocking) throw new PlatformNotSupportedException("Only use with Socket.Blocking=false on WASI");
System.Private.CoreLib (109)
Internal\Runtime\Augments\RuntimeAugments.cs (1)
123throw new PlatformNotSupportedException(SR.PlatformNotSupported_NonZeroLowerBound);
Internal\Runtime\CompilerHelpers\InteropHelpers.cs (6)
473throw new PlatformNotSupportedException(SR.PlatformNotSupported_ComInterop); 489throw new PlatformNotSupportedException(SR.PlatformNotSupported_ComInterop); 505throw new PlatformNotSupportedException(SR.PlatformNotSupported_ComInterop); 580throw new PlatformNotSupportedException(SR.PlatformNotSupported_ComInterop); 591throw new PlatformNotSupportedException(SR.PlatformNotSupported_ComInterop); 603throw new PlatformNotSupportedException(SR.PlatformNotSupported_ComInterop);
src\runtime\src\libraries\System.Private.CoreLib\src\System\AppDomain.cs (3)
120throw new PlatformNotSupportedException(SR.PlatformNotSupported_AppDomains); 140throw new PlatformNotSupportedException(SR.PlatformNotSupported_CAS); // This api is only meaningful for very specific partial trust/CAS scenarios 423throw new PlatformNotSupportedException(SR.PlatformNotSupported_Principal);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Exception.cs (2)
190add { throw new PlatformNotSupportedException(SR.PlatformNotSupported_SecureBinarySerialization); } 191remove { throw new PlatformNotSupportedException(SR.PlatformNotSupported_SecureBinarySerialization); }
src\runtime\src\libraries\System.Private.CoreLib\src\System\Globalization\Normalization.cs (1)
104throw new PlatformNotSupportedException(SR.Argument_UnsupportedNormalizationFormInBrowser);
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\FileStreamOptions.cs (1)
139throw new PlatformNotSupportedException(SR.PlatformNotSupported_UnixFileMode);
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\FileSystem.Unix.cs (2)
67throw new PlatformNotSupportedException(SR.PlatformNotSupported_FileEncryption); 72throw new PlatformNotSupportedException(SR.PlatformNotSupported_FileEncryption);
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\Strategies\FileStreamHelpers.Unix.cs (2)
63throw new PlatformNotSupportedException(SR.PlatformNotSupported_OSXFileLocking); 73throw new PlatformNotSupportedException(SR.PlatformNotSupported_OSXFileLocking);
src\runtime\src\libraries\System.Private.CoreLib\src\System\MarshalByRefObject.cs (2)
19throw new PlatformNotSupportedException(SR.PlatformNotSupported_Remoting); 25throw new PlatformNotSupportedException(SR.PlatformNotSupported_Remoting);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\Assembly.cs (3)
423public static Assembly ReflectionOnlyLoad(byte[] rawAssembly) { throw new PlatformNotSupportedException(SR.PlatformNotSupported_ReflectionOnly); } 426public static Assembly ReflectionOnlyLoad(string assemblyString) { throw new PlatformNotSupportedException(SR.PlatformNotSupported_ReflectionOnly); } 429public static Assembly ReflectionOnlyLoadFrom(string assemblyFile) { throw new PlatformNotSupportedException(SR.PlatformNotSupported_ReflectionOnly); }
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\AssemblyName.cs (2)
242get => throw new PlatformNotSupportedException(SR.PlatformNotSupported_StrongNameSigning); 243set => throw new PlatformNotSupportedException(SR.PlatformNotSupported_StrongNameSigning);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\AssemblyBuilder.cs (1)
123throw new PlatformNotSupportedException(SR.PlatformNotSupported_ReflectionEmit);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\StrongNameKeyPair.cs (4)
14throw new PlatformNotSupportedException(SR.PlatformNotSupported_StrongNameSigning); 17throw new PlatformNotSupportedException(SR.PlatformNotSupported_StrongNameSigning); 25throw new PlatformNotSupportedException(SR.PlatformNotSupported_StrongNameSigning); 28throw new PlatformNotSupportedException(SR.PlatformNotSupported_StrongNameSigning);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\ComEventsHelpers.NoCom.cs (2)
15throw new PlatformNotSupportedException(SR.PlatformNotSupported_ComInterop); 20throw new PlatformNotSupportedException(SR.PlatformNotSupported_ComInterop);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\Marshal.NoCom.cs (28)
27throw new PlatformNotSupportedException(SR.PlatformNotSupported_ComInterop); 34throw new PlatformNotSupportedException(SR.PlatformNotSupported_ComInterop); 44throw new PlatformNotSupportedException(SR.PlatformNotSupported_ComInterop); 52throw new PlatformNotSupportedException(SR.PlatformNotSupported_ComInterop); 58throw new PlatformNotSupportedException(SR.PlatformNotSupported_ComInterop); 64throw new PlatformNotSupportedException(SR.PlatformNotSupported_ComInterop); 70throw new PlatformNotSupportedException(SR.PlatformNotSupported_ComInterop); 77throw new PlatformNotSupportedException(SR.PlatformNotSupported_ComInterop); 84throw new PlatformNotSupportedException(SR.PlatformNotSupported_ComInterop); 90throw new PlatformNotSupportedException(SR.PlatformNotSupported_ComInterop); 96throw new PlatformNotSupportedException(SR.PlatformNotSupported_ComInterop); 102throw new PlatformNotSupportedException(SR.PlatformNotSupported_ComInterop); 108throw new PlatformNotSupportedException(SR.PlatformNotSupported_ComInterop); 115throw new PlatformNotSupportedException(SR.PlatformNotSupported_ComInterop); 122throw new PlatformNotSupportedException(SR.PlatformNotSupported_ComInterop); 128throw new PlatformNotSupportedException(SR.PlatformNotSupported_ComInterop); 134throw new PlatformNotSupportedException(SR.PlatformNotSupported_ComInterop); 141throw new PlatformNotSupportedException(SR.PlatformNotSupported_ComInterop); 148throw new PlatformNotSupportedException(SR.PlatformNotSupported_ComInterop); 155throw new PlatformNotSupportedException(SR.PlatformNotSupported_ComInterop); 162throw new PlatformNotSupportedException(SR.PlatformNotSupported_ComInterop); 168throw new PlatformNotSupportedException(SR.PlatformNotSupported_ComInterop); 174throw new PlatformNotSupportedException(SR.PlatformNotSupported_ComInterop); 181throw new PlatformNotSupportedException(SR.PlatformNotSupported_ComInterop); 190throw new PlatformNotSupportedException(SR.PlatformNotSupported_ComInterop); 196throw new PlatformNotSupportedException(SR.PlatformNotSupported_ComInterop); 216throw new PlatformNotSupportedException(SR.PlatformNotSupported_ComInterop); 222throw new PlatformNotSupportedException(SR.PlatformNotSupported_ComInterop);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\Marshal.Unix.cs (1)
164throw new PlatformNotSupportedException(SR.PlatformNotSupported_ComInterop);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\Marshalling\ComVariant.cs (2)
154throw new PlatformNotSupportedException(SR.ComVariant_SafeArray_PlatformNotSupported); 393throw new PlatformNotSupportedException(SR.ComVariant_SafeArray_PlatformNotSupported);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Security\PermissionSet.cs (3)
26public static byte[] ConvertPermissionSet(string inFormat, byte[] inData, string outFormat) { throw new PlatformNotSupportedException(SR.PlatformNotSupported_CAS); } 31public void Deny() { throw new PlatformNotSupportedException(SR.PlatformNotSupported_CAS); } 43public void PermitOnly() { throw new PlatformNotSupportedException(SR.PlatformNotSupported_CAS); }
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\EventWaitHandle.Unix.cs (2)
31throw new PlatformNotSupportedException(SR.PlatformNotSupported_NamedSynchronizationPrimitives); 44throw new PlatformNotSupportedException(SR.PlatformNotSupported_NamedSynchronizationPrimitives);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\PreAllocatedOverlapped.PlatformNotSupported.cs (2)
12throw new PlatformNotSupportedException(SR.PlatformNotSupported_OverlappedIO); 19throw new PlatformNotSupportedException(SR.PlatformNotSupported_OverlappedIO);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Semaphore.Unix.cs (2)
31throw new PlatformNotSupportedException(SR.PlatformNotSupported_NamedSynchronizationPrimitives); 44throw new PlatformNotSupportedException(SR.PlatformNotSupported_NamedSynchronizationPrimitives);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Thread.cs (5)
468throw new PlatformNotSupportedException(SR.PlatformNotSupported_ThreadAbort); 474throw new PlatformNotSupportedException(SR.PlatformNotSupported_ThreadAbort); 480throw new PlatformNotSupportedException(SR.PlatformNotSupported_ThreadAbort); 486throw new PlatformNotSupportedException(SR.PlatformNotSupported_ThreadSuspend); 492throw new PlatformNotSupportedException(SR.PlatformNotSupported_ThreadSuspend);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\ThreadPool.Unix.cs (3)
100throw new PlatformNotSupportedException(SR.PlatformNotSupported_OverlappedIO); 105throw new PlatformNotSupportedException(SR.PlatformNotSupported_OverlappedIO); 109throw new PlatformNotSupportedException(SR.PlatformNotSupported_OverlappedIO);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\ThreadPoolBoundHandle.PlatformNotSupported.cs (5)
25throw new PlatformNotSupportedException(SR.PlatformNotSupported_OverlappedIO); 33throw new PlatformNotSupportedException(SR.PlatformNotSupported_OverlappedIO); 45throw new PlatformNotSupportedException(SR.PlatformNotSupported_OverlappedIO); 53throw new PlatformNotSupportedException(SR.PlatformNotSupported_OverlappedIO); 61throw new PlatformNotSupportedException(SR.PlatformNotSupported_OverlappedIO);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\WaitSubsystem.Unix.cs (1)
403throw new PlatformNotSupportedException(SR.PlatformNotSupported_NamedSyncObjectWaitAnyWaitAll);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Type.cs (1)
883public static Type? ReflectionOnlyGetType(string typeName, bool throwIfNotFound, bool ignoreCase) => throw new PlatformNotSupportedException(SR.PlatformNotSupported_ReflectionOnly);
System\ActivatorImplementation.cs (1)
63throw new PlatformNotSupportedException(SR.NotSupported_ActivAttr);
System\ArgIterator.cs (9)
14throw new PlatformNotSupportedException(SR.PlatformNotSupported_ArgIterator); 20throw new PlatformNotSupportedException(SR.PlatformNotSupported_ArgIterator); 25throw new PlatformNotSupportedException(SR.PlatformNotSupported_ArgIterator); 30throw new PlatformNotSupportedException(SR.PlatformNotSupported_ArgIterator); 35throw new PlatformNotSupportedException(SR.PlatformNotSupported_ArgIterator); 41throw new PlatformNotSupportedException(SR.PlatformNotSupported_ArgIterator); 47throw new PlatformNotSupportedException(SR.PlatformNotSupported_ArgIterator); 52throw new PlatformNotSupportedException(SR.PlatformNotSupported_ArgIterator); 57throw new PlatformNotSupportedException(SR.PlatformNotSupported_ArgIterator);
System\Array.NativeAot.cs (4)
67throw new PlatformNotSupportedException(SR.PlatformNotSupported_NonZeroLowerBound); 103throw new PlatformNotSupportedException(SR.PlatformNotSupported_NonZeroLowerBound); 195throw new PlatformNotSupportedException(SR.PlatformNotSupported_NonZeroLowerBound); 244throw new PlatformNotSupportedException(SR.PlatformNotSupported_NonZeroLowerBound);
System\Reflection\Emit\ReflectionEmitThrower.cs (1)
10throw new PlatformNotSupportedException(SR.PlatformNotSupported_ReflectionEmit);
System\Reflection\Runtime\MethodInfos\RuntimeConstructorInfo.cs (1)
86throw new PlatformNotSupportedException(SR.Acc_NotClassInit);
System\Reflection\Runtime\MethodInfos\RuntimeNamedMethodInfo.cs (1)
137throw new PlatformNotSupportedException(SR.Format(SR.Reflection_CustomReflectionObjectsNotSupported, typeArguments[i]));
System\Reflection\Runtime\TypeInfos\RuntimeTypeInfo.cs (2)
490throw new PlatformNotSupportedException(SR.Format(SR.Reflection_CustomReflectionObjectsNotSupported, typeArguments[i])); 539throw new PlatformNotSupportedException(SR.PlatformNotSupported_NoTypeHandleForOpenTypes);
System\Reflection\Runtime\TypeInfos\RuntimeTypeInfo.InvokeMember.cs (1)
65throw new PlatformNotSupportedException(SR.PlatformNotSupported_ComInterop);
System\Runtime\ThunkPool.cs (1)
322throw new PlatformNotSupportedException(SR.PlatformNotSupported_DynamicEntrypoint);
System\Threading\Thread.NativeAot.Unix.cs (1)
106throw new PlatformNotSupportedException(SR.PlatformNotSupported_ComInterop);
System.Private.DataContractSerialization (3)
System\Xml\XmlDictionaryReader.cs (2)
144throw new PlatformNotSupportedException(SR.PlatformNotSupported_MtomEncoding); 167throw new PlatformNotSupportedException(SR.PlatformNotSupported_MtomEncoding);
System\Xml\XmlDictionaryWriter.cs (1)
67throw new PlatformNotSupportedException(SR.PlatformNotSupported_MtomEncoding);
System.Private.Reflection.Execution (2)
Internal\Reflection\Execution\ExecutionEnvironmentImplementation.Runtime.cs (2)
52throw new PlatformNotSupportedException(SR.Format(SR.Arg_InterfaceMapMustNotBeAbstract, interfaceType.FullName, instanceType.FullName)); 109throw new PlatformNotSupportedException(SR.PlatformNotSupported_CannotInvokeDelegateCtor);
System.Private.Windows.GdiPlus (1)
Windows\Win32\PInvokeGdiPlus.cs (1)
20throw new PlatformNotSupportedException(SR.PlatformNotSupported_Unix));
System.Private.Xml (4)
System\Xml\Serialization\Compilation.cs (1)
84throw new PlatformNotSupportedException(SR.CompilingScriptsNotSupported);
System\Xml\Xsl\Xslt\XsltLoader.cs (1)
1321throw new PlatformNotSupportedException(SR.CompilingScriptsNotSupported); // Not adding any scripts as script compilation is not available
System\Xml\Xsl\XsltOld\Compiler.cs (1)
761throw new PlatformNotSupportedException(SR.CompilingScriptsNotSupported);
System\Xml\Xsl\XsltOld\Processor.cs (1)
371throw new PlatformNotSupportedException(SR.CompilingScriptsNotSupported);
System.Resources.Extensions (2)
src\runtime\src\libraries\Common\src\System\Resources\ResourceWriter.cs (2)
484throw new PlatformNotSupportedException(SR.NotSupported_BinarySerializedResources); 618throw new PlatformNotSupportedException(SR.NotSupported_BinarySerializedResources);
System.Resources.Writer (2)
src\runtime\src\libraries\Common\src\System\Resources\ResourceWriter.cs (2)
484throw new PlatformNotSupportedException(SR.NotSupported_BinarySerializedResources); 618throw new PlatformNotSupportedException(SR.NotSupported_BinarySerializedResources);
System.Runtime.Serialization.Formatters (2)
System\Runtime\Serialization\Formatters\Binary\BinaryFormatter.Removed.cs (2)
14=> throw new PlatformNotSupportedException(SR.BinaryFormatter_Removed); 18=> throw new PlatformNotSupportedException(SR.BinaryFormatter_Removed);
System.Security.Claims (1)
System\Security\Claims\ClaimsPrincipal.cs (1)
552throw new PlatformNotSupportedException(SR.PlatformNotSupported_Serialization); // BinaryFormatter and WindowsIdentity would be needed
System.Security.Cryptography (74)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\AesGcm.cs (1)
330throw new PlatformNotSupportedException(SR.Format(SR.Cryptography_AlgorithmNotSupported, nameof(AesGcm)));
src\runtime\src\libraries\Common\src\System\Security\Cryptography\CompositeMLDsa.cs (2)
1982throw new PlatformNotSupportedException(SR.Format(SR.Cryptography_AlgorithmNotSupported, nameof(CompositeMLDsa))); 1990throw new PlatformNotSupportedException(SR.Format(SR.Cryptography_AlgorithmNotSupported, nameof(CompositeMLDsa)));
src\runtime\src\libraries\Common\src\System\Security\Cryptography\CompositeMLKem.cs (1)
2253throw new PlatformNotSupportedException(SR.Format(SR.Cryptography_AlgorithmNotSupported, nameof(CompositeMLKem)));
src\runtime\src\libraries\Common\src\System\Security\Cryptography\DSACng.ImportExport.cs (1)
271_ => throw new PlatformNotSupportedException(SR.Cryptography_InvalidDsaParameters_QRestriction_LargeKey),
src\runtime\src\libraries\Common\src\System\Security\Cryptography\ECCng.HashAlgorithm.cs (1)
82throw new PlatformNotSupportedException(SR.Format(SR.Cryptography_CurveNotSupported, algorithm));
src\runtime\src\libraries\Common\src\System\Security\Cryptography\ECDiffieHellmanCng.ImportExport.cs (2)
41throw new PlatformNotSupportedException( 62throw new PlatformNotSupportedException(
src\runtime\src\libraries\Common\src\System\Security\Cryptography\ECDsaCng.ImportExport.cs (2)
56throw new PlatformNotSupportedException(SR.Format(SR.Cryptography_InvalidCurveOid, curve.Oid.Value!.ToString())); 75throw new PlatformNotSupportedException(SR.Format(SR.Cryptography_CurveNotSupported, curve.CurveType.ToString()));
src\runtime\src\libraries\Common\src\System\Security\Cryptography\MLDsa.cs (1)
2263throw new PlatformNotSupportedException(SR.Format(SR.Cryptography_AlgorithmNotSupported, nameof(MLDsa)));
src\runtime\src\libraries\Common\src\System\Security\Cryptography\MLKem.cs (1)
1673throw new PlatformNotSupportedException(SR.Format(SR.Cryptography_AlgorithmNotSupported, nameof(MLKem)));
src\runtime\src\libraries\Common\src\System\Security\Cryptography\PasswordBasedEncryption.cs (1)
1148throw new PlatformNotSupportedException(SR.Format(SR.Cryptography_AlgorithmNotSupported, nameof(RC2)));
src\runtime\src\libraries\Common\src\System\Security\Cryptography\SlhDsa.cs (1)
2002throw new PlatformNotSupportedException(SR.Format(SR.Cryptography_AlgorithmNotSupported, nameof(SlhDsa)));
src\runtime\src\libraries\Common\src\System\Security\Cryptography\X25519DiffieHellman.cs (1)
1620throw new PlatformNotSupportedException(
System\Security\Cryptography\AesCcm.cs (1)
107throw new PlatformNotSupportedException(SR.Format(SR.Cryptography_AlgorithmNotSupported, nameof(AesCcm)));
System\Security\Cryptography\AsymmetricAlgorithm.cs (1)
18throw new PlatformNotSupportedException(SR.Cryptography_DefaultAlgorithm_NotSupported);
System\Security\Cryptography\ChaCha20Poly1305.cs (1)
112throw new PlatformNotSupportedException(SR.Format(SR.Cryptography_AlgorithmNotSupported, nameof(ChaCha20Poly1305)));
System\Security\Cryptography\CngAlgorithmCore.cs (1)
112throw new PlatformNotSupportedException(SR.Format(SR.Cryptography_CurveNotSupported, curve.Value.CurveType.ToString()));
System\Security\Cryptography\CngKey.EC.cs (1)
64throw new PlatformNotSupportedException(SR.Format(SR.Cryptography_CurveNotSupported, algorithm));
System\Security\Cryptography\ECDiffieHellmanCng.Key.cs (2)
59throw new PlatformNotSupportedException(SR.Format(SR.Cryptography_InvalidCurveOid, curve.Oid.Value)); 94throw new PlatformNotSupportedException(SR.Format(SR.Cryptography_CurveNotSupported, curve.CurveType.ToString()));
System\Security\Cryptography\ECDsaCng.Key.cs (2)
48throw new PlatformNotSupportedException(SR.Format(SR.Cryptography_InvalidCurveOid, curve.Oid.Value)); 83throw new PlatformNotSupportedException(SR.Format(SR.Cryptography_CurveNotSupported, curve.CurveType.ToString()));
System\Security\Cryptography\HashAlgorithm.cs (1)
23throw new PlatformNotSupportedException(SR.Cryptography_DefaultAlgorithm_NotSupported);
System\Security\Cryptography\HMAC.cs (7)
23throw new PlatformNotSupportedException(SR.Cryptography_DefaultAlgorithm_NotSupported); 46throw new PlatformNotSupportedException(SR.HashNameMultipleSetNotSupported); 63throw new PlatformNotSupportedException(SR.CryptoConfigNotSupported); 66throw new PlatformNotSupportedException(SR.CryptoConfigNotSupported); 69throw new PlatformNotSupportedException(SR.CryptoConfigNotSupported); 72throw new PlatformNotSupportedException(SR.CryptoConfigNotSupported); 75throw new PlatformNotSupportedException(SR.CryptoConfigNotSupported);
System\Security\Cryptography\KeyedHashAlgorithm.cs (1)
15throw new PlatformNotSupportedException(SR.Cryptography_DefaultAlgorithm_NotSupported);
System\Security\Cryptography\Oid.cs (3)
71throw new PlatformNotSupportedException(SR.Cryptography_Oid_SetOnceValue); 99throw new PlatformNotSupportedException(SR.Cryptography_Oid_SetOnceFriendlyName); 126throw new PlatformNotSupportedException(SR.Cryptography_Oid_SetOnceValue);
System\Security\Cryptography\OpenSsl.NotSupported.cs (27)
19throw new PlatformNotSupportedException(SR.PlatformNotSupported_CryptographyOpenSSL); 29throw new PlatformNotSupportedException(SR.PlatformNotSupported_CryptographyOpenSSL); 39throw new PlatformNotSupportedException(SR.PlatformNotSupported_CryptographyOpenSSL); 49throw new PlatformNotSupportedException(SR.PlatformNotSupported_CryptographyOpenSSL); 59throw new PlatformNotSupportedException(SR.PlatformNotSupported_CryptographyOpenSSL); 77throw new PlatformNotSupportedException(SR.PlatformNotSupported_CryptographyOpenSSL); 87throw new PlatformNotSupportedException(SR.PlatformNotSupported_CryptographyOpenSSL); 97throw new PlatformNotSupportedException(SR.PlatformNotSupported_CryptographyOpenSSL); 107throw new PlatformNotSupportedException(SR.PlatformNotSupported_CryptographyOpenSSL); 117throw new PlatformNotSupportedException(SR.PlatformNotSupported_CryptographyOpenSSL); 134throw new PlatformNotSupportedException(SR.PlatformNotSupported_CryptographyOpenSSL); 144throw new PlatformNotSupportedException(SR.PlatformNotSupported_CryptographyOpenSSL); 154throw new PlatformNotSupportedException(SR.PlatformNotSupported_CryptographyOpenSSL); 164throw new PlatformNotSupportedException(SR.PlatformNotSupported_CryptographyOpenSSL); 174throw new PlatformNotSupportedException(SR.PlatformNotSupported_CryptographyOpenSSL); 190throw new PlatformNotSupportedException(SR.PlatformNotSupported_CryptographyOpenSSL); 200throw new PlatformNotSupportedException(SR.PlatformNotSupported_CryptographyOpenSSL); 210throw new PlatformNotSupportedException(SR.PlatformNotSupported_CryptographyOpenSSL); 220throw new PlatformNotSupportedException(SR.PlatformNotSupported_CryptographyOpenSSL); 230throw new PlatformNotSupportedException(SR.PlatformNotSupported_CryptographyOpenSSL); 246throw new PlatformNotSupportedException(SR.PlatformNotSupported_CryptographyOpenSSL); 256throw new PlatformNotSupportedException(SR.PlatformNotSupported_CryptographyOpenSSL); 265throw new PlatformNotSupportedException(SR.PlatformNotSupported_CryptographyOpenSSL); 273throw new PlatformNotSupportedException(SR.PlatformNotSupported_CryptographyOpenSSL); 281throw new PlatformNotSupportedException(SR.PlatformNotSupported_CryptographyOpenSSL); 289throw new PlatformNotSupportedException(SR.PlatformNotSupported_CryptographyOpenSSL); 297throw new PlatformNotSupportedException(SR.PlatformNotSupported_CryptographyOpenSSL);
System\Security\Cryptography\RijndaelImplementation.cs (1)
39throw new PlatformNotSupportedException(SR.Cryptography_Rijndael_BlockSize);
System\Security\Cryptography\RijndaelManaged.cs (1)
35throw new PlatformNotSupportedException(SR.Cryptography_Rijndael_BlockSize);
System\Security\Cryptography\SymmetricAlgorithm.cs (1)
20throw new PlatformNotSupportedException(SR.Cryptography_DefaultAlgorithm_NotSupported);
System\Security\Cryptography\X509Certificates\CertificatePal.Windows.PrivateKey.cs (2)
199throw new PlatformNotSupportedException(SR.Format(SR.Cryptography_AlgorithmNotSupported, nameof(MLKem))); 204throw new PlatformNotSupportedException(SR.Format(SR.Cryptography_AlgorithmNotSupported, nameof(SlhDsa)));
System\Security\Cryptography\X509Certificates\X509Certificate.cs (6)
659throw new PlatformNotSupportedException(SR.NotSupported_ImmutableX509Certificate); 665throw new PlatformNotSupportedException(SR.NotSupported_ImmutableX509Certificate); 672throw new PlatformNotSupportedException(SR.NotSupported_ImmutableX509Certificate); 678throw new PlatformNotSupportedException(SR.NotSupported_ImmutableX509Certificate); 684throw new PlatformNotSupportedException(SR.NotSupported_ImmutableX509Certificate); 691throw new PlatformNotSupportedException(SR.NotSupported_ImmutableX509Certificate);
System.Security.Cryptography.Pkcs (7)
Internal\Cryptography\Pal\AnyOS\ManagedPal.cs (1)
172throw new PlatformNotSupportedException(SR.Format(SR.Cryptography_AlgorithmNotSupported, nameof(RC2)));
Internal\Cryptography\Pal\Windows\PkcsPalWindows.cs (1)
156throw new PlatformNotSupportedException(SR.Format(SR.Cryptography_AlgorithmNotSupported, nameof(SlhDsa)));
src\runtime\src\libraries\Common\src\System\Security\Cryptography\PasswordBasedEncryption.cs (1)
1148throw new PlatformNotSupportedException(SR.Format(SR.Cryptography_AlgorithmNotSupported, nameof(RC2)));
System\Security\Cryptography\Pkcs\CmsSigner.cs (1)
233throw new PlatformNotSupportedException(SR.Cryptography_Cms_NoSignerCert);
System\Security\Cryptography\Pkcs\EnvelopedCms.cs (1)
98throw new PlatformNotSupportedException(SR.Cryptography_Cms_NoRecipients);
System\Security\Cryptography\Pkcs\SignedCms.cs (1)
324throw new PlatformNotSupportedException(SR.Cryptography_Cms_NoSignerCert);
System\Security\Cryptography\Pkcs\SignerInfo.cs (1)
289throw new PlatformNotSupportedException(SR.Cryptography_Cms_NoSignerCert);
System.Security.Permissions (11)
System\Security\CodeAccessPermission.cs (2)
16public void Deny() { throw new PlatformNotSupportedException(SR.PlatformNotSupported_CAS); } 22public void PermitOnly() { throw new PlatformNotSupportedException(SR.PlatformNotSupported_CAS); }
System\Security\SecurityContext.cs (9)
14public static SecurityContext Capture() { throw new PlatformNotSupportedException(SR.PlatformNotSupported_CAS); } 15public SecurityContext CreateCopy() { throw new PlatformNotSupportedException(SR.PlatformNotSupported_CAS); } 16public void Dispose() { throw new PlatformNotSupportedException(SR.PlatformNotSupported_CAS); } 17public static bool IsFlowSuppressed() { throw new PlatformNotSupportedException(SR.PlatformNotSupported_CAS); } 18public static bool IsWindowsIdentityFlowSuppressed() { throw new PlatformNotSupportedException(SR.PlatformNotSupported_CAS); } 19public static void RestoreFlow() { throw new PlatformNotSupportedException(SR.PlatformNotSupported_CAS); } 20public static void Run(SecurityContext securityContext, ContextCallback callback, object state) { throw new PlatformNotSupportedException(SR.PlatformNotSupported_CAS); } 21public static AsyncFlowControl SuppressFlow() { throw new PlatformNotSupportedException(SR.PlatformNotSupported_CAS); } 22public static AsyncFlowControl SuppressFlowWindowsIdentity() { throw new PlatformNotSupportedException(SR.PlatformNotSupported_CAS); }
System.ServiceModel.Http (1)
System\ServiceModel\HttpTransportSecurity.cs (1)
73new PlatformNotSupportedException(SR.ExtendedProtectionNotSupported));
System.ServiceModel.NetTcp (7)
System\ServiceModel\Channels\TcpTransportBindingElement.cs (1)
47new PlatformNotSupportedException(SR.ExtendedProtectionNotSupported));
System\ServiceModel\MessageSecurityOverTcp.cs (4)
31throw new PlatformNotSupportedException($"MessageSecurityOverTcp.ClientCredentialType is not supported for value {_clientCredentialType}."); 45throw new PlatformNotSupportedException($"MessageSecurityOverTcp.ClientCredentialType is not supported for value {value}."); 80throw new PlatformNotSupportedException($"{nameof(MessageCredentialType)}.{nameof(MessageCredentialType.Windows)}"); 82throw new PlatformNotSupportedException($"{nameof(MessageCredentialType)}.{nameof(MessageCredentialType.IssuedToken)}");
System\ServiceModel\NetTcpBinding.cs (1)
173throw new PlatformNotSupportedException(nameof(SecurityMode.Message));
System\ServiceModel\TcpTransportSecurity.cs (1)
77new PlatformNotSupportedException(SR.ExtendedProtectionNotSupported));
System.ServiceModel.Primitives (4)
ExceptionHelper.cs (1)
24return new PlatformNotSupportedException(message);
System\ServiceModel\ClientBase.cs (1)
55throw new PlatformNotSupportedException(SRP.ConfigurationFilesNotSupported);
System\ServiceModel\Security\WSSecurityOneDotZeroSendSecurityHeader.cs (2)
112throw new PlatformNotSupportedException("StrTransform not supported yet"); 403throw new PlatformNotSupportedException(nameof(RequireMessageProtection));
System.ServiceModel.UnixDomainSocket (2)
System\ServiceModel\Channels\UnixDomainSocketTransportBindingElement.cs (1)
47new PlatformNotSupportedException(SR.ExtendedProtectionNotSupported));
System\ServiceModel\UnixDomainSocketTransportSecurity.cs (1)
78new PlatformNotSupportedException(SR.ExtendedProtectionNotSupported));
System.Speech (5)
Internal\SapiInterop\SapiRecognizer.cs (1)
93throw new PlatformNotSupportedException(SR.Get(SRID.NotSupportedWithThisVersionOfSAPI));
Internal\Synthesis\VoiceSynthesis.cs (1)
61throw new PlatformNotSupportedException(SR.Get(SRID.SynthesizerVoiceFailed));
Recognition\RecognizerBase.cs (3)
459throw new PlatformNotSupportedException(SR.Get(SRID.RecognitionNotSupported)); 889return new PlatformNotSupportedException(SR.Get(SRID.RecognitionNotSupported)); 895return new PlatformNotSupportedException(SR.Get(srid));
System.Transactions.Local (2)
System\Transactions\DtcProxyShim\DtcProxyShimFactory.cs (1)
71throw new PlatformNotSupportedException(SR.DistributedNotSupportedOn32Bits);
System\Transactions\EnterpriseServices.cs (1)
44throw new PlatformNotSupportedException(SR.EsNotSupported);