3 types derived from NotSupportedException
Microsoft.CodeAnalysis.Scripting (1)
Hosting\AssemblyLoader\InteractiveAssemblyLoaderException.cs (1)
11internal sealed class InteractiveAssemblyLoaderException : NotSupportedException
Microsoft.Maui.Essentials (1)
Types\Shared\Exceptions.shared.cs (1)
49 public class FeatureNotSupportedException : NotSupportedException
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\System\PlatformNotSupportedException.cs (1)
15public class PlatformNotSupportedException : NotSupportedException
5007 instantiations of NotSupportedException
Aspire.Confluent.Kafka (1)
src\Vendoring\OpenTelemetry.Instrumentation.ConfluentKafka\Shared\PropertyFetcher.AOT.cs (1)
115throw new NotSupportedException(
Aspire.Dashboard (1)
DashboardWebApplication.cs (1)
823throw new NotSupportedException($"Unexpected {nameof(FrontendAuthMode)} enum member: {dashboardOptions.Frontend.AuthMode}");
Aspire.Hosting (1)
Publishing\ResourceContainerImageBuilder.cs (1)
70throw new NotSupportedException($"The resource type '{resource.GetType().Name}' is not supported.");
Aspire.Hosting.Azure (6)
AzurePublishingContext.cs (1)
189_ => throw new NotSupportedException("Unsupported value type " + val.GetType())
AzureResourcePreparer.cs (1)
412throw new NotSupportedException("Unsupported value type " + value.GetType());
Provisioning\Provisioners\BicepProvisioner.cs (2)
489_ => throw new NotSupportedException($"The parameter value type {parameterValue.GetType()} is not supported.") 506_ => throw new NotSupportedException($"The scope value type {targetScope.GetType()} is not supported.")
src\Shared\BicepFunction2.cs (2)
28_ => throw new NotSupportedException($"{args[0]} is not supported") 64throw new NotSupportedException($"{argument} is not supported");
Aspire.Hosting.Azure.AppContainers (20)
AzdAzureContainerAppEnvironment.cs (1)
83_ => throw new NotSupportedException()
AzureContainerAppEnvironmentResource.cs (2)
92throw new NotSupportedException("Automatic Key vault generation is not supported in this environment. Please create a key vault resource directly."); 101_ => throw new NotSupportedException()
AzureContainerAppExtensions.cs (2)
67throw new NotSupportedException($"Only one container app environment is supported at this time. Found: {existingContainerAppEnvResource.Name}"); 234_ => throw new NotSupportedException()
AzureContainerAppsInfrastructure.cs (1)
38throw new NotSupportedException("Multiple container app environments are not supported.");
ContainerAppContext.cs (12)
208throw new NotSupportedException($"The endpoint(s) {string.Join(", ", unsupportedEndpoints.Select(e => $"'{e.Name}'"))} specify an unsupported scheme. The supported schemes are 'http', 'https', and 'tcp'."); 306throw new NotSupportedException("Multiple external endpoints are not supported"); 312throw new NotSupportedException("External non-HTTP(s) endpoints are not supported"); 322throw new NotSupportedException("HTTP(s) and TCP endpoints cannot be mixed"); 359throw new NotSupportedException($"The endpoint '{e.Name}' is an http endpoint and must use port 80"); 364throw new NotSupportedException($"The endpoint '{e.Name}' is an https endpoint and must use port 443"); 383throw new NotSupportedException("Container port is required for all endpoints"); 432_ => throw new NotSupportedException("Unsupported value type " + val.GetType()) 449_ => throw new NotSupportedException() 493_ => throw new NotSupportedException(), 600throw new NotSupportedException("Unsupported value type " + value.GetType()); 755_ => throw new NotSupportedException()
src\Shared\BicepFunction2.cs (2)
28_ => throw new NotSupportedException($"{args[0]} is not supported") 64throw new NotSupportedException($"{argument} is not supported");
Aspire.Hosting.Azure.AppService (7)
AzureAppServiceWebsiteContext.cs (5)
87throw new NotSupportedException($"The endpoint(s) {string.Join(", ", unsupportedEndpoints.Select(e => $"'{e.Name}'"))} on resource '{resource.Name}' specifies an unsupported scheme. Only http and https are supported in App Service."); 94throw new NotSupportedException($"The endpoint '{endpoint.Name}' on resource '{resource.Name}' is not external. App Service only supports external endpoints."); 184throw new NotSupportedException($"Unsupported value type {value.GetType()}"); 195_ => throw new NotSupportedException($"Unsupported value type {val.GetType()}") 312_ => throw new NotSupportedException($"Unsupported endpoint property {property}")
src\Shared\BicepFunction2.cs (2)
28_ => throw new NotSupportedException($"{args[0]} is not supported") 64throw new NotSupportedException($"{argument} is not supported");
Aspire.Hosting.Azure.CosmosDB (2)
AzureCosmosDBExtensions.cs (2)
211throw new NotSupportedException($"'{nameof(WithPartitionCount)}' does not work when using the preview version of the Azure Cosmos DB emulator."); 299throw new NotSupportedException($"The Data Explorer endpoint is only available when using the preview version of the Azure Cosmos DB emulator. Call '{nameof(RunAsPreviewEmulator)}' instead.");
Aspire.Hosting.Docker (3)
DockerComposeEnvironmentContext.cs (1)
137throw new NotSupportedException("Command line args must be strings");
DockerComposeInfrastructure.cs (1)
30throw new NotSupportedException("Multiple Docker Compose environments are not supported.");
DockerComposeServiceResourceExtensions.cs (1)
102_ => throw new NotSupportedException(),
Aspire.Hosting.Kubernetes (4)
KubernetesInfrastructure.cs (1)
30throw new NotSupportedException("Multiple Kubernetes environments are not supported.");
KubernetesResource.cs (1)
241throw new NotSupportedException("Command line args must be strings");
KubernetesServiceResourceExtensions.cs (2)
92throw new NotSupportedException($"Unsupported value type: {value.GetType().Name}"); 108_ => throw new NotSupportedException(),
Aspire.Microsoft.Data.SqlClient (1)
src\Vendoring\OpenTelemetry.Instrumentation.SqlClient\Shared\DiagnosticSourceInstrumentation\PropertyFetcher.cs (1)
111throw new NotSupportedException(
Aspire.Microsoft.EntityFrameworkCore.SqlServer (1)
src\Vendoring\OpenTelemetry.Instrumentation.SqlClient\Shared\DiagnosticSourceInstrumentation\PropertyFetcher.cs (1)
111throw new NotSupportedException(
Aspire.StackExchange.Redis (2)
src\Vendoring\OpenTelemetry.Instrumentation.StackExchangeRedis\Shared\PropertyFetcher.AOT.cs (1)
117throw new NotSupportedException(
src\Vendoring\OpenTelemetry.Instrumentation.StackExchangeRedis\TracerProviderBuilderExtensions.cs (1)
162throw new NotSupportedException("ConfigureRedisInstrumentation is not supported on the supplied builder type.");
AutobahnTestApp (1)
Program.cs (1)
51throw new NotSupportedException("This test app does not support multiple endpoints.");
BasicWebSite (6)
StartupWhereReadingRequestBodyThrows.cs (6)
39public override long Length => throw new NotSupportedException(); 44throw new NotSupportedException(); 49throw new NotSupportedException(); 64throw new NotSupportedException(); 69throw new NotSupportedException(); 74throw new NotSupportedException();
ConfigurationSchemaGenerator (1)
ConfigSchemaEmitter.cs (1)
778throw new NotSupportedException();
CSharpSyntaxGenerator (1)
SourceWriter.cs (1)
1784throw new NotSupportedException();
dotnet-svcutil-lib (173)
FrameworkFork\Microsoft.Xml\Xml\BinaryXml\XmlBinaryReader.cs (2)
933throw new NotSupportedException(); 4506return new NotSupportedException(res);
FrameworkFork\Microsoft.Xml\Xml\BinaryXml\XmlBinaryReaderAsync.cs (15)
24throw new NotSupportedException(); 29throw new NotSupportedException(); 34throw new NotSupportedException(); 39throw new NotSupportedException(); 44throw new NotSupportedException(); 49throw new NotSupportedException(); 54throw new NotSupportedException(); 59throw new NotSupportedException(); 64throw new NotSupportedException(); 69throw new NotSupportedException(); 74throw new NotSupportedException(); 79throw new NotSupportedException(); 84throw new NotSupportedException(); 89throw new NotSupportedException(); 94throw new NotSupportedException();
FrameworkFork\Microsoft.Xml\Xml\Core\XmlRawWriter.cs (2)
304throw new NotSupportedException(); 309throw new NotSupportedException();
FrameworkFork\Microsoft.Xml\Xml\Core\XmlReader.cs (5)
736throw new NotSupportedException(string.Format(ResXml.Xml_ReadBinaryContentNotSupported, "ReadContentAsBase64")); 742throw new NotSupportedException(string.Format(ResXml.Xml_ReadBinaryContentNotSupported, "ReadElementContentAsBase64")); 748throw new NotSupportedException(string.Format(ResXml.Xml_ReadBinaryContentNotSupported, "ReadContentAsBinHex")); 754throw new NotSupportedException(string.Format(ResXml.Xml_ReadBinaryContentNotSupported, "ReadElementContentAsBinHex")); 772throw new NotSupportedException(ResXml.Xml_ReadValueChunkNotSupported);
FrameworkFork\Microsoft.Xml\Xml\Core\XmlReaderAsync.cs (5)
143throw new NotSupportedException(string.Format(ResXml.Xml_ReadBinaryContentNotSupported, "ReadContentAsBase64")); 149throw new NotSupportedException(string.Format(ResXml.Xml_ReadBinaryContentNotSupported, "ReadElementContentAsBase64")); 155throw new NotSupportedException(string.Format(ResXml.Xml_ReadBinaryContentNotSupported, "ReadContentAsBinHex")); 161throw new NotSupportedException(string.Format(ResXml.Xml_ReadBinaryContentNotSupported, "ReadElementContentAsBinHex")); 168throw new NotSupportedException(ResXml.Xml_ReadValueChunkNotSupported);
FrameworkFork\Microsoft.Xml\Xml\Dom\DocumentXPathNavigator.cs (2)
1621throw new NotSupportedException(); 1679throw new NotSupportedException();
FrameworkFork\Microsoft.Xml\Xml\Serialization\CodeGenerator.cs (3)
124return new NotSupportedException(msg); 1142throw new NotSupportedException("Char is not a valid schema primitive and should be treated as int in DataContract"); 1193throw new NotSupportedException("UnknownConstantType"); //.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlObjectSerializer.CreateSerializationException(string.Format(SR.UnknownConstantType, DataContract.GetClrTypeFullName(valueType))));
FrameworkFork\Microsoft.Xml\Xml\Serialization\Models.cs (2)
63if (!typeDesc.IsSpecial) throw new NotSupportedException(string.Format(ResXml.XmlUnsupportedTypeKind, type.FullName)); 193typeDesc.Exception = new NotSupportedException(string.Format(ResXml.XmlSerializerUnsupportedType, typeDesc.FullName));
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapReflectionImporter.cs (4)
252throw new NotSupportedException(string.Format(ResXml.XmlUnsupportedSoapTypeKind, model.TypeDesc.FullName)); 430throw new NotSupportedException(string.Format(ResXml.XmlRpcRefsInValueType, model.TypeDesc.FullName)); 432throw new NotSupportedException(string.Format(ResXml.XmlRpcNestedValueType, member.TypeDesc.FullName)); 455throw new NotSupportedException(string.Format(ResXml.XmlRpcArrayOfValueTypes, model.TypeDesc.FullName));
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapSchemaImporter.cs (1)
273throw new NotSupportedException(string.Format(ResXml.XmlUnsupportedRedefine, type.Name, typeNs));
FrameworkFork\Microsoft.Xml\Xml\Serialization\Types.cs (9)
388throw new NotSupportedException(string.Format(ResXml.XmlSerializerUnsupportedType, FullName)); 823exception = new NotSupportedException(string.Format(ResXml.XmlSerializerUnsupportedType, type.FullName)); 845exception = new NotSupportedException(string.Format(ResXml.XmlUnsupportedRank, type.FullName)); 867exception = new NotSupportedException(string.Format(ResXml.XmlSerializerUnsupportedType, type.FullName)); 923exception = new NotSupportedException(string.Format(ResXml.XmlUnsupportedInterface, type.FullName)); 927exception = new NotSupportedException(string.Format(ResXml.XmlUnsupportedInterfaceDetails, memberInfo.DeclaringType.FullName + "." + memberInfo.Name, type.FullName)); 937exception = new NotSupportedException(string.Format(ResXml.XmlSerializerUnsupportedType, type.FullName)); 1346throw new NotSupportedException(string.Format(ResXml.XmlUnsupportedIDictionary, type.FullName)); 1350throw new NotSupportedException(string.Format(ResXml.XmlUnsupportedIDictionaryDetails, memberInfo, type.FullName));
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlReflectionImporter.cs (1)
802throw new NotSupportedException(string.Format(ResXml.XmlUnsupportedInheritance, model.Type.GetTypeInfo().BaseType.FullName));
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaImporter.cs (1)
558throw new NotSupportedException(string.Format(ResXml.XmlUnsupportedRedefine, type.Name, typeNs));
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationReader.cs (1)
1766throw new NotSupportedException(string.Format(ResXml.XmlRpcArrayOfValueTypes, elementType.FullName));
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializer.cs (7)
97public virtual XmlSerializationReader Reader { get { throw new NotSupportedException(); } } 99public virtual XmlSerializationWriter Writer { get { throw new NotSupportedException(); } } 101public virtual Hashtable ReadMethods { get { throw new NotSupportedException(); } } 103public virtual Hashtable WriteMethods { get { throw new NotSupportedException(); } } 105public virtual Hashtable TypedSerializers { get { throw new NotSupportedException(); } } 107public virtual bool CanSerialize(Type type) { throw new NotSupportedException(); } 109public virtual XmlSerializer GetSerializer(Type type) { throw new NotSupportedException(); }
FrameworkFork\Microsoft.Xml\Xml\XmlResolver.cs (1)
62throw new NotSupportedException(ResXml.Xml_RelativeUriNotSupported);
FrameworkFork\Microsoft.Xml\Xml\XPath\XPathNavigator.cs (8)
76throw new NotSupportedException(); 1331throw new NotSupportedException(); 1336throw new NotSupportedException(); 1341throw new NotSupportedException(); 1346throw new NotSupportedException(); 1351throw new NotSupportedException(); 1356throw new NotSupportedException(); 1645throw new NotSupportedException();
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\CodeGenerator.cs (1)
992throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException(string.Format(SRSerialization.CharIsInvalidPrimitive)));
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\CollectionDataContract.cs (1)
682throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException(string.Format(SRSerialization.SupportForMultidimensionalArraysNotPresent)));
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlObjectSerializer.cs (4)
107throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException()); 112throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException()); 117throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException()); 267throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException());
FrameworkFork\System.Runtime.Serialization\System\Xml\EncodingStreamWrapper.cs (4)
589throw new NotSupportedException(); 593throw new NotSupportedException(); 696throw new NotSupportedException(); 747throw new NotSupportedException();
FrameworkFork\System.Runtime.Serialization\System\Xml\XmlBaseWriter.cs (5)
465throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException(string.Format(SRSerialization.XmlMethodNotSupported, "WriteDocType"))); 909throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException(string.Format(SRSerialization.XmlMethodNotSupported, "WriteEntityRef"))); 922throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException(string.Format(SRSerialization.XmlMethodNotSupported, "WriteNmToken"))); 1497throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException()); 1502throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException());
FrameworkFork\System.Runtime.Serialization\System\Xml\XmlDictionaryReader.cs (3)
126throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException()); 131throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException()); 293throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException());
FrameworkFork\System.Runtime.Serialization\System\Xml\XmlDictionaryWriter.cs (2)
199throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException()); 204throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException());
FrameworkFork\System.ServiceModel\Internals\System\Runtime\BufferedOutputStream.cs (6)
82throw Fx.Exception.AsError(new NotSupportedException(InternalSR.SeekNotSupported)); 86throw Fx.Exception.AsError(new NotSupportedException(InternalSR.SeekNotSupported)); 160throw Fx.Exception.AsError(new NotSupportedException(InternalSR.ReadNotSupported)); 165throw Fx.Exception.AsError(new NotSupportedException(InternalSR.ReadNotSupported)); 170throw Fx.Exception.AsError(new NotSupportedException(InternalSR.SeekNotSupported)); 175throw Fx.Exception.AsError(new NotSupportedException(InternalSR.SeekNotSupported));
FrameworkFork\System.ServiceModel\System\IdentityModel\HashStream.cs (4)
55throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException()); 85throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException()); 107throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException()); 112throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException());
FrameworkFork\System.ServiceModel\System\IdentityModel\Selectors\SecurityTokenProvider.cs (2)
64throw Fx.Exception.AsError(new NotSupportedException(string.Format(SRServiceModel.TokenRenewalNotSupported, this))); 69throw Fx.Exception.AsError(new NotSupportedException(string.Format(SRServiceModel.TokenCancellationNotSupported, this)));
FrameworkFork\System.ServiceModel\System\IdentityModel\Tokens\SecurityKeyIdentifierClause.cs (1)
52throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException(SRServiceModel.KeyIdentifierClauseDoesNotSupportKeyCreation));
FrameworkFork\System.ServiceModel\System\IdentityModel\Tokens\SecurityToken.cs (1)
27throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException(
FrameworkFork\System.ServiceModel\System\ServiceModel\BasicHttpMessageSecurity.cs (1)
70throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException());
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\BinaryMessageEncodingBindingElement.cs (1)
173throw FxTrace.Exception.AsError(new NotSupportedException(string.Format(
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\BufferedWriteStream.cs (9)
66throw new NotSupportedException("write"); 113get { throw new NotSupportedException("Position"); } 118get { throw new NotSupportedException("Position"); } 119set { throw new NotSupportedException("Position"); } 222throw new NotSupportedException("Read"); 227throw new NotSupportedException("ReadAsync"); 232throw new NotSupportedException("ReadByte"); 545throw new NotSupportedException("seek"); 551throw new NotSupportedException("SetLength");
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\Connection.cs (5)
290throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException(SRServiceModel.SPS_SeekNotSupported)); 298throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException(SRServiceModel.SPS_SeekNotSupported)); 302throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException(SRServiceModel.SPS_SeekNotSupported)); 433throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException(SRServiceModel.SPS_SeekNotSupported)); 439throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException(SRServiceModel.SPS_SeekNotSupported));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpTransportBindingElement.cs (2)
528throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException( 552throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException(string.Format(
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ProducerConsumerStream.cs (5)
155throw new NotSupportedException(); 160throw new NotSupportedException(); 165get { throw new NotSupportedException(); } 170get { throw new NotSupportedException(); } 171set { throw new NotSupportedException(); }
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ServiceChannelProxy.cs (2)
82throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException(string.Format(SRServiceModel.SFxMethodNotSupported1, method.Name))); 84throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException(string.Format(SRServiceModel.SFxMethodNotSupportedOnCallback1, method.Name)));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\TransactionFlowBindingElementImporter.cs (2)
123throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException(SRServiceModel.SFxCannotHaveDifferentTransactionProtocolsInOneBinding)); 179throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException(
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\WebSocketTransportDuplexSessionChannel.cs (7)
961get { throw FxTrace.Exception.AsError(new NotSupportedException(InternalSR.SeekNotSupported)); } 968throw FxTrace.Exception.AsError(new NotSupportedException(InternalSR.SeekNotSupported)); 973throw FxTrace.Exception.AsError(new NotSupportedException(InternalSR.SeekNotSupported)); 1103throw FxTrace.Exception.AsError(new NotSupportedException("this method should never get called")); 1108throw FxTrace.Exception.AsError(new NotSupportedException()); 1113throw FxTrace.Exception.AsError(new NotSupportedException()); 1120throw FxTrace.Exception.AsError(new NotSupportedException("this method should never get called"));
FrameworkFork\System.ServiceModel\System\ServiceModel\ClientBase.cs (1)
577throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException(string.Format(SRServiceModel.SFxMethodNotSupported1, methodName)));
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\WsdlImporter.cs (1)
637throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException(
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\ImmutableClientRuntime.cs (1)
186throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\StreamFormatter.cs (6)
317set { throw TraceUtility.ThrowHelperError(new NotSupportedException(), _message); } 337throw TraceUtility.ThrowHelperError(new NotSupportedException(), _message); 340public override void Flush() { throw TraceUtility.ThrowHelperError(new NotSupportedException(), _message); } 341public override long Seek(long offset, SeekOrigin origin) { throw TraceUtility.ThrowHelperError(new NotSupportedException(), _message); } 342public override void SetLength(long value) { throw TraceUtility.ThrowHelperError(new NotSupportedException(), _message); } 343public override void Write(byte[] buffer, int offset, int count) { throw TraceUtility.ThrowHelperError(new NotSupportedException(), _message); }
FrameworkFork\System.ServiceModel\System\ServiceModel\HttpBindingBase.cs (2)
320throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException(string.Format(SRServiceModel.UnsupportedSecuritySetting, "Mode", mode))); 330throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException(string.Format(SRServiceModel.UnsupportedSecuritySetting, "Transport.ClientCredentialType", transport.ClientCredentialType)));
FrameworkFork\System.ServiceModel\System\ServiceModel\HttpClientCredentialType.cs (2)
61throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException()); 88throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException());
FrameworkFork\System.ServiceModel\System\ServiceModel\MessageSecurityOverHttp.cs (3)
108throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException()); 143throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException()); 169throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException());
FrameworkFork\System.ServiceModel\System\ServiceModel\MessageSecurityOverTcp.cs (2)
90throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException()); 117throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException());
FrameworkFork\System.ServiceModel\System\ServiceModel\NetHttpBinding.cs (1)
267throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException(string.Format(SRServiceModel.UnsupportedBindingProperty, "MessageEncoding", this.MessageEncoding)));
FrameworkFork\System.ServiceModel\System\ServiceModel\NetHttpsBinding.cs (1)
132throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException(string.Format(SRServiceModel.UnsupportedBindingProperty, "MessageEncoding", MessageEncoding)));
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\ClientCredentialsSecurityTokenManager.cs (2)
170throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException(string.Format(SRServiceModel.SecurityTokenManagerCannotCreateProviderForRequirement, tokenRequirement))); 256throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException(string.Format(SRServiceModel.SecurityTokenManagerCannotCreateAuthenticatorForRequirement, tokenRequirement)));
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\MessageSecurityTokenVersion.cs (2)
135throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException()); 146throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException());
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\ReferenceList.cs (1)
43throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException());
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\SecurityUtils.cs (2)
756throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException()); 876throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException());
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\WSKeyInfoSerializer.cs (1)
45throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException());
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\WSSecurityJan2004.cs (3)
179throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException()); 184throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException()); 362throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException(string.Format(SRServiceModel.UnsupportedPasswordType, type)));
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\WSSecurityPolicy.cs (1)
3119throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException());
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\WSSecurityTokenSerializer.cs (2)
113throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException()); 142throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException());
FrameworkFork\System.ServiceModel\System\ServiceModel\SynchronizedReadOnlyCollection.cs (2)
122throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException(SRServiceModel.SFxCollectionReadOnly)); 182throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException(SRServiceModel.SFxCopyToRequiresICollection));
GenerateDocumentationAndConfigFiles (2)
Program.cs (2)
400=> throw e.Exception ?? new NotSupportedException(e.Message); 1516throw new NotSupportedException();
GenerateRulesMissingDocumentation (1)
Program.cs (1)
154analyzerFileReference.AnalyzerLoadFailed += (sender, e) => throw e.Exception ?? new NotSupportedException(e.Message);
http2cat (6)
src\Shared\ServerInfrastructure\DuplexPipeStream.cs (5)
47throw new NotSupportedException(); 55throw new NotSupportedException(); 59throw new NotSupportedException(); 65throw new NotSupportedException(); 70throw new NotSupportedException();
src\Shared\ServerInfrastructure\DuplexPipeStreamAdapter.cs (1)
57throw new NotSupportedException();
Http2SampleApp (1)
Program.cs (1)
53throw new NotSupportedException("Prohibited cipher: " + tlsFeature.CipherAlgorithm);
IdeCoreBenchmarks (1)
ProjectOperationBenchmarks.cs (1)
48_ => throw new NotSupportedException($"'{nameof(DocumentCount)}' is out of range"),
IIS.FunctionalTests (7)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\Helpers.cs (1)
172throw new NotSupportedException();
src\Shared\ServerInfrastructure\DuplexPipeStream.cs (5)
47throw new NotSupportedException(); 55throw new NotSupportedException(); 59throw new NotSupportedException(); 65throw new NotSupportedException(); 70throw new NotSupportedException();
src\Shared\ServerInfrastructure\DuplexPipeStreamAdapter.cs (1)
57throw new NotSupportedException();
IIS.LongTests (7)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\Helpers.cs (1)
172throw new NotSupportedException();
src\Shared\ServerInfrastructure\DuplexPipeStream.cs (5)
47throw new NotSupportedException(); 55throw new NotSupportedException(); 59throw new NotSupportedException(); 65throw new NotSupportedException(); 70throw new NotSupportedException();
src\Shared\ServerInfrastructure\DuplexPipeStreamAdapter.cs (1)
57throw new NotSupportedException();
IIS.NewHandler.FunctionalTests (7)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\Helpers.cs (1)
172throw new NotSupportedException();
src\Shared\ServerInfrastructure\DuplexPipeStream.cs (5)
47throw new NotSupportedException(); 55throw new NotSupportedException(); 59throw new NotSupportedException(); 65throw new NotSupportedException(); 70throw new NotSupportedException();
src\Shared\ServerInfrastructure\DuplexPipeStreamAdapter.cs (1)
57throw new NotSupportedException();
IIS.NewShim.FunctionalTests (7)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\Helpers.cs (1)
172throw new NotSupportedException();
src\Shared\ServerInfrastructure\DuplexPipeStream.cs (5)
47throw new NotSupportedException(); 55throw new NotSupportedException(); 59throw new NotSupportedException(); 65throw new NotSupportedException(); 70throw new NotSupportedException();
src\Shared\ServerInfrastructure\DuplexPipeStreamAdapter.cs (1)
57throw new NotSupportedException();
IIS.ShadowCopy.Tests (7)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\Helpers.cs (1)
172throw new NotSupportedException();
src\Shared\ServerInfrastructure\DuplexPipeStream.cs (5)
47throw new NotSupportedException(); 55throw new NotSupportedException(); 59throw new NotSupportedException(); 65throw new NotSupportedException(); 70throw new NotSupportedException();
src\Shared\ServerInfrastructure\DuplexPipeStreamAdapter.cs (1)
57throw new NotSupportedException();
IISExpress.FunctionalTests (7)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\Helpers.cs (1)
172throw new NotSupportedException();
src\Shared\ServerInfrastructure\DuplexPipeStream.cs (5)
47throw new NotSupportedException(); 55throw new NotSupportedException(); 59throw new NotSupportedException(); 65throw new NotSupportedException(); 70throw new NotSupportedException();
src\Shared\ServerInfrastructure\DuplexPipeStreamAdapter.cs (1)
57throw new NotSupportedException();
illink (10)
ILLink.RoslynAnalyzer (1)
RequiresAnalyzerBase.cs (1)
141 _ => throw new NotSupportedException ()
InMemory.FunctionalTests (1)
Http2\PipeReaderFactory.cs (1)
21throw new NotSupportedException();
Interop.FunctionalTests (1)
Http3\Http3RequestTests.cs (1)
40throw new NotSupportedException();
Metrics (8)
Program.cs (2)
314throw new NotSupportedException("Project must support compilation."); 347throw new NotSupportedException("Project must support compilation.");
src\RoslynAnalyzers\Utilities\Compiler\CodeMetrics\CodeAnalysisMetricData.cs (2)
283_ => throw new NotSupportedException(), 321_ => throw new NotSupportedException(),
src\RoslynAnalyzers\Utilities\Compiler\Lightup\LightupHelpers.cs (1)
149throw new NotSupportedException();
src\RoslynAnalyzers\Utilities\Compiler\RoslynHashCode.cs (2)
435public override readonly int GetHashCode() => throw new NotSupportedException(SR.HashCode_HashCodeNotSupported); 439public override readonly bool Equals(object? obj) => throw new NotSupportedException(SR.HashCode_EqualityNotSupported);
src\RoslynAnalyzers\Utilities\Compiler\SmallDictionary.cs (1)
717throw new NotSupportedException();
Metrics.Legacy (8)
src\RoslynAnalyzers\Tools\Metrics\Program.cs (2)
314throw new NotSupportedException("Project must support compilation."); 347throw new NotSupportedException("Project must support compilation.");
src\RoslynAnalyzers\Utilities\Compiler\CodeMetrics\CodeAnalysisMetricData.cs (2)
283_ => throw new NotSupportedException(), 321_ => throw new NotSupportedException(),
src\RoslynAnalyzers\Utilities\Compiler\Lightup\LightupHelpers.cs (1)
149throw new NotSupportedException();
src\RoslynAnalyzers\Utilities\Compiler\RoslynHashCode.cs (2)
435public override readonly int GetHashCode() => throw new NotSupportedException(SR.HashCode_HashCodeNotSupported); 439public override readonly bool Equals(object? obj) => throw new NotSupportedException(SR.HashCode_EqualityNotSupported);
src\RoslynAnalyzers\Utilities\Compiler\SmallDictionary.cs (1)
717throw new NotSupportedException();
Microsoft.AspNetCore (23)
ConfigureHostBuilder.cs (5)
40throw new NotSupportedException($"Call {nameof(WebApplicationBuilder)}.{nameof(WebApplicationBuilder.Build)}() instead."); 77throw new NotSupportedException($"The application name changed from \"{previousApplicationName}\" to \"{_configuration[HostDefaults.ApplicationKey]}\". Changing the host configuration using WebApplicationBuilder.Host is not supported. Use WebApplication.CreateBuilder(WebApplicationOptions) instead."); 83throw new NotSupportedException($"The content root changed from \"{previousContentRoot}\" to \"{HostingPathResolver.ResolvePath(_configuration[HostDefaults.ContentRootKey])}\". Changing the host configuration using WebApplicationBuilder.Host is not supported. Use WebApplication.CreateBuilder(WebApplicationOptions) instead."); 88throw new NotSupportedException($"The environment changed from \"{previousEnvironment}\" to \"{_configuration[HostDefaults.EnvironmentKey]}\". Changing the host configuration using WebApplicationBuilder.Host is not supported. Use WebApplication.CreateBuilder(WebApplicationOptions) instead."); 119throw new NotSupportedException("ConfigureWebHost() is not supported by WebApplicationBuilder.Host. Use the WebApplication returned by WebApplicationBuilder.Build() instead.");
ConfigureWebHostBuilder.cs (17)
33throw new NotSupportedException($"Call {nameof(WebApplicationBuilder)}.{nameof(WebApplicationBuilder.Build)}() instead."); 55throw new NotSupportedException($"The web root changed from \"{HostingPathResolver.ResolvePath(previousWebRoot, previousContentRoot)}\" to \"{HostingPathResolver.ResolvePath(_configuration[WebHostDefaults.WebRootKey], previousContentRoot)}\". Changing the host configuration using WebApplicationBuilder.WebHost is not supported. Use WebApplication.CreateBuilder(WebApplicationOptions) instead."); 60throw new NotSupportedException($"The application name changed from \"{previousApplication}\" to \"{_configuration[WebHostDefaults.ApplicationKey]}\". Changing the host configuration using WebApplicationBuilder.WebHost is not supported. Use WebApplication.CreateBuilder(WebApplicationOptions) instead."); 66throw new NotSupportedException($"The content root changed from \"{previousContentRoot}\" to \"{HostingPathResolver.ResolvePath(_configuration[WebHostDefaults.ContentRootKey])}\". Changing the host configuration using WebApplicationBuilder.WebHost is not supported. Use WebApplication.CreateBuilder(WebApplicationOptions) instead."); 71throw new NotSupportedException($"The environment changed from \"{previousEnvironment}\" to \"{_configuration[WebHostDefaults.EnvironmentKey]}\". Changing the host configuration using WebApplicationBuilder.WebHost is not supported. Use WebApplication.CreateBuilder(WebApplicationOptions) instead."); 76throw new NotSupportedException($"The hosting startup assemblies changed from \"{previousHostingStartupAssemblies}\" to \"{_configuration[WebHostDefaults.HostingStartupAssembliesKey]}\". Changing the host configuration using WebApplicationBuilder.WebHost is not supported. Use WebApplication.CreateBuilder(WebApplicationOptions) instead."); 81throw new NotSupportedException($"The hosting startup assemblies exclude list changed from \"{previousHostingStartupAssembliesExclude}\" to \"{_configuration[WebHostDefaults.HostingStartupExcludeAssembliesKey]}\". Changing the host configuration using WebApplicationBuilder.WebHost is not supported. Use WebApplication.CreateBuilder(WebApplicationOptions) instead."); 127throw new NotSupportedException($"The web root changed from \"{HostingPathResolver.ResolvePath(previousWebRoot, previousContentRoot)}\" to \"{HostingPathResolver.ResolvePath(value, previousContentRoot)}\". Changing the host configuration using WebApplicationBuilder.WebHost is not supported. Use WebApplication.CreateBuilder(WebApplicationOptions) instead."); 133throw new NotSupportedException($"The application name changed from \"{previousApplication}\" to \"{value}\". Changing the host configuration using WebApplicationBuilder.WebHost is not supported. Use WebApplication.CreateBuilder(WebApplicationOptions) instead."); 139throw new NotSupportedException($"The content root changed from \"{previousContentRoot}\" to \"{HostingPathResolver.ResolvePath(value)}\". Changing the host configuration using WebApplicationBuilder.WebHost is not supported. Use WebApplication.CreateBuilder(WebApplicationOptions) instead."); 145throw new NotSupportedException($"The environment changed from \"{previousEnvironment}\" to \"{value}\". Changing the host configuration using WebApplicationBuilder.WebHost is not supported. Use WebApplication.CreateBuilder(WebApplicationOptions) instead."); 151throw new NotSupportedException($"The hosting startup assemblies changed from \"{previousHostingStartupAssemblies}\" to \"{value}\". Changing the host configuration using WebApplicationBuilder.WebHost is not supported. Use WebApplication.CreateBuilder(WebApplicationOptions) instead."); 157throw new NotSupportedException($"The hosting startup assemblies exclude list changed from \"{previousHostingStartupAssembliesExclude}\" to \"{value}\". Changing the host configuration using WebApplicationBuilder.WebHost is not supported. Use WebApplication.CreateBuilder(WebApplicationOptions) instead."); 168throw new NotSupportedException("Configure() is not supported by WebApplicationBuilder.WebHost. Use the WebApplication returned by WebApplicationBuilder.Build() instead."); 173throw new NotSupportedException("Configure() is not supported by WebApplicationBuilder.WebHost. Use the WebApplication returned by WebApplicationBuilder.Build() instead."); 178throw new NotSupportedException("UseStartup() is not supported by WebApplicationBuilder.WebHost. Use the WebApplication returned by WebApplicationBuilder.Build() instead."); 183throw new NotSupportedException("UseStartup() is not supported by WebApplicationBuilder.WebHost. Use the WebApplication returned by WebApplicationBuilder.Build() instead.");
WebApplication.cs (1)
306throw new NotSupportedException("Unable to get configured middleware.");
Microsoft.AspNetCore.App.Analyzers.Test (2)
RouteEmbeddedLanguage\Infrastructure\ExportProviderExtensions.cs (2)
85throw new NotSupportedException(); 89throw new NotSupportedException();
Microsoft.AspNetCore.App.CodeFixes (2)
src\Shared\HashCode.cs (2)
430public override int GetHashCode() => throw new NotSupportedException(SR.HashCode_HashCodeNotSupported); 434public override bool Equals(object? obj) => throw new NotSupportedException(SR.HashCode_EqualityNotSupported);
Microsoft.AspNetCore.Authentication.Negotiate (2)
NegotiateHandler.cs (2)
408?? throw new NotSupportedException($"Negotiate authentication requires a server that supports {nameof(IConnectionItemsFeature)} like Kestrel."); 414?? throw new NotSupportedException($"Negotiate authentication requires a server that supports {nameof(IConnectionCompleteFeature)} like Kestrel.");
Microsoft.AspNetCore.Components (4)
NavigationManager.cs (1)
512=> throw new NotSupportedException($"To support navigation locks, {GetType().Name} must override {nameof(SetNavigationLockState)}");
RenderTree\Renderer.cs (1)
1291throw new NotSupportedException($"Cannot supply a component of type '{componentType}' because the current platform does not support the render mode '{renderMode}'.");
src\Http\Routing\src\Template\RoutePrecedence.cs (2)
204throw new NotSupportedException(); 286throw new NotSupportedException();
Microsoft.AspNetCore.Components.Authorization (4)
AuthorizeDataAdapter.cs (3)
21set => throw new NotSupportedException(); 27set => throw new NotSupportedException(); 35set => throw new NotSupportedException();
AuthorizeViewCore.cs (1)
126throw new NotSupportedException($"The authorization data specifies an authentication scheme with value '{entry.AuthenticationSchemes}'. Authentication schemes cannot be specified for components.");
Microsoft.AspNetCore.Components.Endpoints (1)
Rendering\Buffering\BufferedTextWriter.cs (1)
43=> throw new NotSupportedException();
Microsoft.AspNetCore.Components.Endpoints.Tests (4)
Builder\TestFileProvider\TestDirectoryContent.cs (4)
20public long Length => throw new NotSupportedException(); 22public string PhysicalPath => throw new NotSupportedException(); 26public DateTimeOffset LastModified => throw new NotSupportedException(); 32throw new NotSupportedException();
Microsoft.AspNetCore.Components.QuickGrid (2)
Columns\PropertyColumn.cs (1)
36set => throw new NotSupportedException($"PropertyColumn generates this member internally. For custom sorting rules, see '{typeof(TemplateColumn<TGridItem>)}'.");
QuickGrid.razor.cs (1)
258_ => throw new NotSupportedException($"Unknown sort direction {direction}"),
Microsoft.AspNetCore.Components.Server (19)
Circuits\RemoteJSDataStream.cs (5)
160set => throw new NotSupportedException(); 171=> throw new NotSupportedException("Synchronous reads are not supported."); 174=> throw new NotSupportedException(); 177=> throw new NotSupportedException(); 180=> throw new NotSupportedException();
Circuits\RemoteRenderer.cs (1)
313_ => throw new NotSupportedException($"Cannot create a component of type '{componentType}' because its render mode '{renderMode}' is not supported by interactive server-side rendering."),
src\Components\Shared\src\ArrayBuilderMemoryStream.cs (6)
38set => throw new NotSupportedException(); 44public override long Seek(long offset, SeekOrigin origin) => throw new NotSupportedException(); 48=> throw new NotSupportedException(); 52=> throw new NotSupportedException(); 55=> throw new NotSupportedException(); 95public override void SetLength(long value) => throw new NotSupportedException();
src\SignalR\common\Shared\MemoryBufferWriter.cs (5)
44get => throw new NotSupportedException(); 45set => throw new NotSupportedException(); 278public override int Read(byte[] buffer, int offset, int count) => throw new NotSupportedException(); 279public override long Seek(long offset, SeekOrigin origin) => throw new NotSupportedException(); 280public override void SetLength(long value) => throw new NotSupportedException();
src\submodules\MessagePack-CSharp\src\MessagePack.UnityClient\Assets\Scripts\MessagePack\MessagePackWriter.cs (2)
625throw new NotSupportedException($"The MsgPack spec does not define a format for {nameof(DateTime)} in {nameof(this.OldSpec)} mode. Turn off {nameof(this.OldSpec)} mode or use NativeDateTimeFormatter."); 1119throw new NotSupportedException("This instance was not initialized to support this operation.");
Microsoft.AspNetCore.Components.Tests (1)
RendererTest.cs (1)
5147var other => throw new NotSupportedException($"{nameof(RendererWithRenderModeResolver)} should not have received rendermode {other}"),
Microsoft.AspNetCore.Components.Web (11)
Forms\InputCheckbox.cs (1)
53=> throw new NotSupportedException($"This component does not parse string inputs. Bind to the '{nameof(CurrentValue)}' property, not '{nameof(CurrentValueAsString)}'.");
Forms\InputFile\BrowserFileStream.cs (6)
49set => throw new NotSupportedException(); 53=> throw new NotSupportedException(); 56=> throw new NotSupportedException("Synchronous reads are not supported."); 59=> throw new NotSupportedException(); 62=> throw new NotSupportedException(); 65=> throw new NotSupportedException();
Forms\Mapping\FormMappingScope.cs (2)
90=> throw new NotSupportedException(); 93=> throw new NotSupportedException();
Forms\Mapping\SupplyParameterFromFormValueProvider.cs (2)
67=> throw new NotSupportedException(); // IsFixed = true, so the framework won't call this 70=> throw new NotSupportedException(); // IsFixed = true, so the framework won't call this
Microsoft.AspNetCore.Components.WebAssembly (6)
Rendering\WebAssemblyRenderer.cs (1)
191_ => throw new NotSupportedException($"Cannot create a component of type '{componentType}' because its render mode '{renderMode}' is not supported by WebAssembly rendering."),
src\Components\Shared\src\PullFromJSDataStream.cs (5)
54set => throw new NotSupportedException(); 65=> throw new NotSupportedException("Synchronous reads are not supported."); 68=> throw new NotSupportedException(); 71=> throw new NotSupportedException(); 74=> throw new NotSupportedException();
Microsoft.AspNetCore.Components.WebView (12)
src\Components\Shared\src\ArrayBuilderMemoryStream.cs (6)
38set => throw new NotSupportedException(); 44public override long Seek(long offset, SeekOrigin origin) => throw new NotSupportedException(); 48=> throw new NotSupportedException(); 52=> throw new NotSupportedException(); 55=> throw new NotSupportedException(); 95public override void SetLength(long value) => throw new NotSupportedException();
src\Components\Shared\src\PullFromJSDataStream.cs (5)
54set => throw new NotSupportedException(); 65=> throw new NotSupportedException("Synchronous reads are not supported."); 68=> throw new NotSupportedException(); 71=> throw new NotSupportedException(); 74=> throw new NotSupportedException();
src\Shared\StaticWebAssets\ManifestStaticWebAssetFileProvider.cs (1)
435throw new NotSupportedException();
Microsoft.AspNetCore.Components.WebView.Maui (3)
Standard\BlazorWebViewHandler.cs (3)
14 protected override object CreatePlatformView() => throw new NotSupportedException(); 17 public virtual IFileProvider CreateFileProvider(string contentRootDir) => throw new NotSupportedException(); 25 public virtual Task<bool> TryDispatchAsync(Action<IServiceProvider> workItem) => throw new NotSupportedException();
Microsoft.AspNetCore.Components.WebView.Test (2)
Infrastructure\ContainerNode.cs (1)
50throw new NotSupportedException("Not implemented: moving existing logical children");
Infrastructure\TestDocument.cs (1)
184throw new NotSupportedException();
Microsoft.AspNetCore.Components.WebView.WindowsForms (4)
BlazorWebView.cs (4)
331 public override void Add(Control? value) => throw new NotSupportedException(); 332 public override void Clear() => throw new NotSupportedException(); 333 public override void Remove(Control? value) => throw new NotSupportedException(); 334 public override void SetChildIndex(Control child, int newIndex) => throw new NotSupportedException();
Microsoft.AspNetCore.Connections.Abstractions (1)
FileHandleEndPoint.cs (1)
31throw new NotSupportedException();
Microsoft.AspNetCore.DataProtection (1)
Error.cs (1)
108return new NotSupportedException(Resources.XmlKeyManager_DoesNotSupportKeyDeletion);
Microsoft.AspNetCore.DataProtection.Tests (2)
HostingTests.cs (1)
78.Throws(new NotSupportedException("This mock doesn't actually work, but shouldn't kill the server"))
XmlAssert.cs (1)
124throw new NotSupportedException(string.Format(CultureInfo.InvariantCulture, "Node of type '{0}' is not supported.", node.GetType().Name));
Microsoft.AspNetCore.Diagnostics.Abstractions (1)
IExceptionHandlerFeature.cs (1)
23string Path => throw new NotSupportedException();
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (9)
Latency\AddServerTimingHeaderMiddlewareTests.cs (5)
72public void AddCheckpoint(CheckpointToken token) => throw new NotSupportedException(); 73public void AddMeasure(MeasureToken token, long value) => throw new NotSupportedException(); 79public void Freeze() => throw new NotSupportedException(); 80public void RecordMeasure(MeasureToken _0, long _1) => throw new NotSupportedException(); 81public void SetTag(TagToken _0, string _1) => throw new NotSupportedException();
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (3)
36set => throw new NotSupportedException(); 58void IDictionary<TKey, TValue>.Add(TKey key, TValue value) => throw new NotSupportedException(); 60void ICollection<KeyValuePair<TKey, TValue>>.Add(KeyValuePair<TKey, TValue> item) => throw new NotSupportedException();
src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
34void ICollection<T>.Add(T item) => throw new NotSupportedException();
Microsoft.AspNetCore.Hosting (8)
GenericHost\GenericWebHostBuilder.cs (2)
228throw new NotSupportedException($"{typeof(IStartup)} isn't supported"); 232throw new NotSupportedException($"ConfigureServices returning an {typeof(IServiceProvider)} isn't supported.");
GenericHost\HostingStartupWebHostBuilder.cs (1)
28throw new NotSupportedException($"Building this implementation of {nameof(IWebHostBuilder)} is not supported.");
GenericHost\SlimWebHostBuilder.cs (3)
64throw new NotSupportedException(); 69throw new NotSupportedException(); 74throw new NotSupportedException();
GenericHost\WebHostBuilderBase.cs (1)
31throw new NotSupportedException($"Building this implementation of {nameof(IWebHostBuilder)} is not supported.");
src\Shared\StaticWebAssets\ManifestStaticWebAssetFileProvider.cs (1)
435throw new NotSupportedException();
Microsoft.AspNetCore.Hosting.Tests (2)
WebHostTests.cs (2)
1309set { throw new NotSupportedException(); } 1338throw new NotSupportedException();
Microsoft.AspNetCore.Hosting.WindowsServices.Tests (1)
WebHostServiceTests.cs (1)
56RequestDelegate = ctx => throw new NotSupportedException();
Microsoft.AspNetCore.Http (6)
Builder\ApplicationBuilder.cs (1)
220throw new NotSupportedException("Unable to get configured middleware.");
Internal\DefaultWebSocketManager.cs (1)
72throw new NotSupportedException("WebSockets are not supported");
Internal\ReferenceReadStream.cs (4)
116throw new NotSupportedException(); 120throw new NotSupportedException(); 124=> throw new NotSupportedException(); 128throw new NotSupportedException();
Microsoft.AspNetCore.Http.Abstractions (54)
EndpointFilterInvocationContextOfT.Generated.cs (50)
54throw new NotSupportedException(); 59throw new NotSupportedException(); 115throw new NotSupportedException(); 120throw new NotSupportedException(); 125throw new NotSupportedException(); 182throw new NotSupportedException(); 187throw new NotSupportedException(); 244throw new NotSupportedException(); 249throw new NotSupportedException(); 254throw new NotSupportedException(); 317throw new NotSupportedException(); 322throw new NotSupportedException(); 380throw new NotSupportedException(); 385throw new NotSupportedException(); 390throw new NotSupportedException(); 459throw new NotSupportedException(); 464throw new NotSupportedException(); 523throw new NotSupportedException(); 528throw new NotSupportedException(); 533throw new NotSupportedException(); 608throw new NotSupportedException(); 613throw new NotSupportedException(); 673throw new NotSupportedException(); 678throw new NotSupportedException(); 683throw new NotSupportedException(); 764throw new NotSupportedException(); 769throw new NotSupportedException(); 830throw new NotSupportedException(); 835throw new NotSupportedException(); 840throw new NotSupportedException(); 927throw new NotSupportedException(); 932throw new NotSupportedException(); 994throw new NotSupportedException(); 999throw new NotSupportedException(); 1004throw new NotSupportedException(); 1097throw new NotSupportedException(); 1102throw new NotSupportedException(); 1165throw new NotSupportedException(); 1170throw new NotSupportedException(); 1175throw new NotSupportedException(); 1274throw new NotSupportedException(); 1279throw new NotSupportedException(); 1343throw new NotSupportedException(); 1348throw new NotSupportedException(); 1353throw new NotSupportedException(); 1458throw new NotSupportedException(); 1463throw new NotSupportedException(); 1528throw new NotSupportedException(); 1533throw new NotSupportedException(); 1538throw new NotSupportedException();
Extensions\RequestTrailerExtensions.cs (1)
58throw new NotSupportedException("This request does not support trailers.");
Extensions\UseMiddlewareExtensions.cs (3)
60throw new NotSupportedException(Resources.FormatException_UseMiddlewareExplicitArgumentsNotSupported(typeof(IMiddleware))); 209throw new NotSupportedException(Resources.FormatException_InvokeDoesNotSupportRefOrOutParams(InvokeMethodName)); 309throw new NotSupportedException(Resources.FormatException_InvokeDoesNotSupportRefOrOutParams(InvokeMethodName));
Microsoft.AspNetCore.Http.Connections (10)
src\SignalR\common\Shared\MemoryBufferWriter.cs (5)
44get => throw new NotSupportedException(); 45set => throw new NotSupportedException(); 278public override int Read(byte[] buffer, int offset, int count) => throw new NotSupportedException(); 279public override long Seek(long offset, SeekOrigin origin) => throw new NotSupportedException(); 280public override void SetLength(long value) => throw new NotSupportedException();
src\SignalR\common\Shared\PipeWriterStream.cs (5)
29public override long Position { get => throw new NotSupportedException(); set => throw new NotSupportedException(); } 37throw new NotSupportedException(); 42throw new NotSupportedException(); 47throw new NotSupportedException();
Microsoft.AspNetCore.Http.Connections.Client (7)
HttpConnection.cs (1)
67set => throw new NotSupportedException("The transport pipe isn't settable.");
HttpConnectionFactory.cs (1)
50throw new NotSupportedException($"The provided {nameof(EndPoint)} must be of type {nameof(UriEndPoint)}.");
src\SignalR\common\Shared\PipeWriterStream.cs (5)
29public override long Position { get => throw new NotSupportedException(); set => throw new NotSupportedException(); } 37throw new NotSupportedException(); 42throw new NotSupportedException(); 47throw new NotSupportedException();
Microsoft.AspNetCore.Http.Extensions (9)
HeaderDictionaryTypeExtensions.cs (2)
285throw new NotSupportedException( 319throw new NotSupportedException(string.Format(
RequestDelegateFactory.cs (7)
715throw new NotSupportedException($"The by reference parameter '{attribute} {TypeNameHelper.GetTypeDisplayName(parameter.ParameterType, fullName: false)} {parameter.Name}' is not supported."); 762throw new NotSupportedException( 776throw new NotSupportedException( 801throw new NotSupportedException( 821throw new NotSupportedException( 2624return new NotSupportedException($"Unsupported return type: {TypeNameHelper.GetTypeDisplayName(returnType)}"); 2895throw new NotSupportedException();
Microsoft.AspNetCore.Http.RequestDelegateGenerator (2)
src\Shared\HashCode.cs (2)
430public override int GetHashCode() => throw new NotSupportedException(SR.HashCode_HashCodeNotSupported); 434public override bool Equals(object? obj) => throw new NotSupportedException(SR.HashCode_EqualityNotSupported);
Microsoft.AspNetCore.Http.Results (1)
PhysicalFileHttpResult.cs (1)
145throw new NotSupportedException($"Path '{fileName}' was not rooted.");
Microsoft.AspNetCore.Http.Tests (7)
ApplicationBuilderTests.cs (1)
176_statusCode = HasStarted ? throw new NotSupportedException("The response has already started") : value;
Features\NonSeekableReadStream.cs (6)
28get { throw new NotSupportedException(); } 33get { throw new NotSupportedException(); } 34set { throw new NotSupportedException(); } 44throw new NotSupportedException(); 49throw new NotSupportedException(); 54throw new NotSupportedException();
Microsoft.AspNetCore.Http.ValidationsGenerator (2)
src\Shared\HashCode.cs (2)
430public override int GetHashCode() => throw new NotSupportedException(SR.HashCode_HashCodeNotSupported); 434public override bool Equals(object? obj) => throw new NotSupportedException(SR.HashCode_EqualityNotSupported);
Microsoft.AspNetCore.HttpLogging (2)
MediaTypeOptions.cs (2)
78throw new NotSupportedException(); 87throw new NotSupportedException();
Microsoft.AspNetCore.Identity (5)
IdentityApiEndpointRouteBuilderExtensions.cs (5)
64throw new NotSupportedException($"{nameof(MapIdentityApi)} requires a user store with email support."); 322throw new NotSupportedException("The user manager must produce an authenticator key after reset."); 394throw new NotSupportedException("No email confirmation endpoint was registered!"); 416?? throw new NotSupportedException($"Could not find endpoint named '{confirmEmailEndpointName}'."); 462Email = await userManager.GetEmailAsync(user) ?? throw new NotSupportedException("Users must have an email."),
Microsoft.AspNetCore.Identity.UI (4)
Areas\Identity\Pages\V4\Account\ExternalLogin.cshtml.cs (1)
249throw new NotSupportedException("The default UI requires a user store with email support.");
Areas\Identity\Pages\V4\Account\Register.cshtml.cs (1)
188throw new NotSupportedException("The default UI requires a user store with email support.");
Areas\Identity\Pages\V5\Account\ExternalLogin.cshtml.cs (1)
249throw new NotSupportedException("The default UI requires a user store with email support.");
Areas\Identity\Pages\V5\Account\Register.cshtml.cs (1)
188throw new NotSupportedException("The default UI requires a user store with email support.");
Microsoft.AspNetCore.InternalTesting (1)
HttpClientSlim.cs (1)
129throw new NotSupportedException();
Microsoft.AspNetCore.JsonPatch (1)
Operations\Operation.cs (1)
61throw new NotSupportedException(Resources.TestOperationNotSupported);
Microsoft.AspNetCore.JsonPatch.SystemTextJson (1)
Operations\Operation.cs (1)
62throw new NotSupportedException(Resources.TestOperationNotSupported);
Microsoft.AspNetCore.JsonPatch.Tests (1)
IntegrationTests\HeterogenousCollectionTests.cs (1)
100throw new NotSupportedException();
Microsoft.AspNetCore.Mvc.Abstractions (9)
ModelBinding\BindingInfo.cs (1)
184throw new NotSupportedException(
ModelBinding\ModelBinderProviderContext.cs (1)
28throw new NotSupportedException();
ModelBinding\ModelMetadata.cs (4)
460throw new NotSupportedException("ElementType is not initialized when `Microsoft.AspNetCore.Mvc.ApiExplorer.IsEnhancedModelMetadataSupported` is false."); 509throw new NotSupportedException("IsCollectionType is not initialized when `Microsoft.AspNetCore.Mvc.ApiExplorer.IsEnhancedModelMetadataSupported` is false."); 555throw new NotSupportedException("IsParseableType is not initialized when `Microsoft.AspNetCore.Mvc.ApiExplorer.IsEnhancedModelMetadataSupported` is false."); 578throw new NotSupportedException("IsConvertibleType is not initialized when `Microsoft.AspNetCore.Mvc.ApiExplorer.IsEnhancedModelMetadataSupported` is false.");
ModelBinding\ModelMetadataProvider.cs (3)
42throw new NotSupportedException(); 53throw new NotSupportedException(); 64throw new NotSupportedException();
Microsoft.AspNetCore.Mvc.Core (11)
Builder\MvcApplicationBuilderExtensions.cs (1)
113throw new NotSupportedException();
Diagnostics\EventData.cs (1)
78void IEnumerator.Reset() => throw new NotSupportedException();
Infrastructure\ActionMethodExecutor.cs (2)
83throw new NotSupportedException(); 89throw new NotSupportedException();
Infrastructure\PhysicalFileResultExecutor.cs (1)
81throw new NotSupportedException(Resources.FormatFileResult_PathNotRooted(result.FileName));
ModelBinding\Binders\DateTimeModelBinder.cs (1)
71throw new NotSupportedException();
ModelBinding\Binders\DecimalModelBinder.cs (1)
74throw new NotSupportedException();
ModelBinding\Binders\DoubleModelBinder.cs (1)
74throw new NotSupportedException();
ModelBinding\Binders\FloatModelBinder.cs (1)
74throw new NotSupportedException();
ModelBinding\ModelBindingHelper.cs (1)
236throw new NotSupportedException(Resources.FormatTryUpdateModel_RecordTypeNotSupported(nameof(TryUpdateModelAsync), modelType));
Routing\RoutePatternWriter.cs (1)
72throw new NotSupportedException();
Microsoft.AspNetCore.Mvc.Core.Test (3)
ApplicationParts\RelatedAssemblyPartTest.cs (1)
108public override Assembly LoadFromAssemblyPath(string assemblyPath) => throw new NotSupportedException();
Infrastructure\FileStreamResultExecutorTest.cs (2)
49public override int Read(byte[] buffer, int offset, int count) => throw new NotSupportedException("Must use ReadAsync"); 60protected override void Dispose(bool disposing) => throw new NotSupportedException("Must use DisposeAsync");
Microsoft.AspNetCore.Mvc.Core.TestCommon (6)
NonSeekableReadableStream.cs (6)
30get { throw new NotSupportedException(); } 35get { throw new NotSupportedException(); } 36set { throw new NotSupportedException(); } 48throw new NotSupportedException(); 53throw new NotSupportedException(); 58throw new NotSupportedException();
Microsoft.AspNetCore.Mvc.FunctionalTests (1)
Infrastructure\ResourceFile.cs (1)
211throw new NotSupportedException("Calling UpdateFile is not supported when GenerateBaselines=false");
Microsoft.AspNetCore.Mvc.IntegrationTests (6)
ActionParametersIntegrationTest.cs (3)
1026throw new NotSupportedException(); 1031throw new NotSupportedException(); 1046throw new NotSupportedException();
TryUpdateModelIntegrationTest.cs (3)
1317throw new NotSupportedException(); 1322throw new NotSupportedException(); 1337throw new NotSupportedException();
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation (2)
PageDirectiveFeature.cs (2)
108public override string PhysicalPath => throw new NotSupportedException(); 111public override Stream Read() => throw new NotSupportedException();
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.Test (2)
TestInfrastructure\NotFoundProjectItem.cs (2)
20public override string PhysicalPath => throw new NotSupportedException(); 22public override Stream Read() => throw new NotSupportedException();
Microsoft.AspNetCore.Mvc.RazorPages (2)
Infrastructure\PageLoader.cs (1)
30=> throw new NotSupportedException();
PageBase.cs (1)
108throw new NotSupportedException();
Microsoft.AspNetCore.Mvc.Testing (1)
WebApplicationFactory.cs (1)
88throw new NotSupportedException(Resources.TestServerNotSupportedWhenUsingKestrel);
Microsoft.AspNetCore.Mvc.ViewFeatures (6)
AttributeDictionary.cs (6)
381throw new NotSupportedException(); 386throw new NotSupportedException(); 426throw new NotSupportedException(); 488throw new NotSupportedException(); 493throw new NotSupportedException(); 531throw new NotSupportedException();
Microsoft.AspNetCore.Mvc.Views.TestCommon (5)
TestDirectoryContent.cs (4)
20public long Length => throw new NotSupportedException(); 22public string PhysicalPath => throw new NotSupportedException(); 26public DateTimeOffset LastModified => throw new NotSupportedException(); 32throw new NotSupportedException();
TestDirectoryFileInfo.cs (1)
22throw new NotSupportedException();
Microsoft.AspNetCore.OpenApi (6)
Schemas\OpenApiJsonSchema.cs (1)
50throw new NotSupportedException("OpenApiJsonSchema serialization is not supported.");
src\SignalR\common\Shared\MemoryBufferWriter.cs (5)
44get => throw new NotSupportedException(); 45set => throw new NotSupportedException(); 278public override int Read(byte[] buffer, int offset, int count) => throw new NotSupportedException(); 279public override long Seek(long offset, SeekOrigin origin) => throw new NotSupportedException(); 280public override void SetLength(long value) => throw new NotSupportedException();
Microsoft.AspNetCore.OpenApi.SourceGenerators (2)
src\Shared\HashCode.cs (2)
430public override int GetHashCode() => throw new NotSupportedException(SR.HashCode_HashCodeNotSupported); 434public override bool Equals(object? obj) => throw new NotSupportedException(SR.HashCode_EqualityNotSupported);
Microsoft.AspNetCore.Owin (8)
OwinFeatureCollection.cs (7)
114set { throw new NotSupportedException(); } 187throw new NotSupportedException(OwinConstants.CommonKeys.OnSendingHeaders); 196throw new NotSupportedException(); 237throw new NotSupportedException(OwinConstants.SendFiles.SendAsync); 316throw new NotSupportedException("WebSockets are not supported"); // TODO: LOC 340set { throw new NotSupportedException(); } 377throw new NotSupportedException();
WebSockets\WebSocketAdapter.cs (1)
136throw new NotSupportedException($"Unsupported {nameof(WebSocketState)} value: {_webSocket.State}.");
Microsoft.AspNetCore.ResponseCaching (4)
src\Shared\SegmentWriteStream.cs (4)
52throw new NotSupportedException("The stream does not support seeking."); 109throw new NotSupportedException("The stream does not support reading."); 114throw new NotSupportedException("The stream does not support seeking."); 119throw new NotSupportedException("The stream does not support seeking.");
Microsoft.AspNetCore.ResponseCompression (9)
CompressionProviderFactory.cs (3)
32get { throw new NotSupportedException(); } 37get { throw new NotSupportedException(); } 42throw new NotSupportedException();
ResponseCompressionBody.cs (6)
75get { throw new NotSupportedException(); } 80get { throw new NotSupportedException(); } 81set { throw new NotSupportedException(); } 140throw new NotSupportedException(); 145throw new NotSupportedException(); 150throw new NotSupportedException();
Microsoft.AspNetCore.Rewrite (28)
ApacheModRewrite\RuleBuilder.cs (3)
144throw new NotSupportedException("Existing Url lookups not supported because it requires a subrequest"); 146throw new NotSupportedException("Executable Property is not supported because Windows " + 185throw new NotSupportedException(Resources.Error_ChangeEnvironmentNotSupported);
ApacheModRewrite\ServerVariables.cs (16)
40throw new NotSupportedException(Resources.FormatError_UnsupportedServerVariable(serverVariable)); 44throw new NotSupportedException(Resources.FormatError_UnsupportedServerVariable(serverVariable)); 46throw new NotSupportedException(Resources.FormatError_UnsupportedServerVariable(serverVariable)); 56throw new NotSupportedException(Resources.FormatError_UnsupportedServerVariable(serverVariable)); 58throw new NotSupportedException(Resources.FormatError_UnsupportedServerVariable(serverVariable)); 62throw new NotSupportedException(Resources.FormatError_UnsupportedServerVariable(serverVariable)); 68throw new NotSupportedException(Resources.FormatError_UnsupportedServerVariable(serverVariable)); 70throw new NotSupportedException(Resources.FormatError_UnsupportedServerVariable(serverVariable)); 72throw new NotSupportedException(Resources.FormatError_UnsupportedServerVariable(serverVariable)); 76throw new NotSupportedException(Resources.FormatError_UnsupportedServerVariable(serverVariable)); 78throw new NotSupportedException(Resources.FormatError_UnsupportedServerVariable(serverVariable)); 84throw new NotSupportedException(Resources.FormatError_UnsupportedServerVariable(serverVariable)); 102throw new NotSupportedException(Resources.FormatError_UnsupportedServerVariable(serverVariable)); 106throw new NotSupportedException(Resources.FormatError_UnsupportedServerVariable(serverVariable)); 108throw new NotSupportedException(Resources.FormatError_UnsupportedServerVariable(serverVariable)); 116throw new NotSupportedException(Resources.FormatError_UnsupportedServerVariable(serverVariable));
IISUrlRewrite\ServerVariables.cs (4)
28managedVariableThunk = () => throw new NotSupportedException(Resources.FormatError_UnsupportedServerVariable(serverVariable)); 31managedVariableThunk = () => throw new NotSupportedException(Resources.FormatError_UnsupportedServerVariable(serverVariable)); 67managedVariableThunk = () => throw new NotSupportedException(Resources.FormatError_UnsupportedServerVariable(serverVariable)); 76managedVariableThunk = () => throw new NotSupportedException(Resources.FormatError_UnsupportedServerVariable(serverVariable));
IISUrlRewrite\UrlRewriteFileParser.cs (4)
173throw new NotSupportedException("Wildcard syntax is not supported"); 234throw new NotSupportedException("Status codes must be between 200 and 999 (inclusive)"); 239throw new NotSupportedException("Substatus codes are not supported"); 248throw new NotSupportedException($"The action type {actionType} wasn't recognized");
IISUrlRewrite\UrlRewriteRuleBuilder.cs (1)
60throw new NotSupportedException("Wildcard syntax is not supported");
Microsoft.AspNetCore.Routing (7)
EndpointDataSource.cs (1)
49throw new NotSupportedException(Resources.FormatMapGroup_CustomEndpointUnsupported(endpoint.GetType()));
Matching\DefaultEndpointSelector.cs (1)
96throw new NotSupportedException();
ParameterPolicyFactory.cs (1)
53throw new NotSupportedException();
Patterns\RoutePatternTransformer.cs (1)
62=> throw new NotSupportedException("This API is not supported.");
Template\RoutePrecedence.cs (2)
204throw new NotSupportedException(); 286throw new NotSupportedException();
Template\TemplatePart.cs (1)
54throw new NotSupportedException();
Microsoft.AspNetCore.Server.HttpSys (16)
RequestProcessing\OpaqueStream.cs (5)
43get { throw new NotSupportedException(Resources.Exception_NoSeek); } 48get { throw new NotSupportedException(Resources.Exception_NoSeek); } 49set { throw new NotSupportedException(Resources.Exception_NoSeek); } 68throw new NotSupportedException(Resources.Exception_NoSeek); 73throw new NotSupportedException(Resources.Exception_NoSeek);
RequestProcessing\RequestStream.cs (5)
67public override long Length => throw new NotSupportedException(Resources.Exception_NoSeek); 71get => throw new NotSupportedException(Resources.Exception_NoSeek); 72set => throw new NotSupportedException(Resources.Exception_NoSeek); 76=> throw new NotSupportedException(Resources.Exception_NoSeek); 78public override void SetLength(long value) => throw new NotSupportedException(Resources.Exception_NoSeek);
RequestProcessing\ResponseBody.cs (5)
74throw new NotSupportedException(Resources.Exception_NoSeek); 82throw new NotSupportedException(Resources.Exception_NoSeek); 86throw new NotSupportedException(Resources.Exception_NoSeek); 424throw new NotSupportedException(Resources.Exception_NoSeek); 429throw new NotSupportedException(Resources.Exception_NoSeek);
src\Shared\HttpSys\RequestProcessing\NativeRequestContext.cs (1)
848throw new NotSupportedException();
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (6)
src\Shared\ServerInfrastructure\DuplexPipeStream.cs (5)
47throw new NotSupportedException(); 55throw new NotSupportedException(); 59throw new NotSupportedException(); 65throw new NotSupportedException(); 70throw new NotSupportedException();
src\Shared\ServerInfrastructure\DuplexPipeStreamAdapter.cs (1)
57throw new NotSupportedException();
Microsoft.AspNetCore.Server.IIS (34)
Core\DuplexStream.cs (5)
24public override long Length => throw new NotSupportedException(); 26public override long Position { get => throw new NotSupportedException(); set => throw new NotSupportedException(); } 40throw new NotSupportedException(); 45throw new NotSupportedException();
Core\ReadOnlyStream.cs (10)
14get => throw new NotSupportedException(); 15set => throw new NotSupportedException(); 21=> throw new NotSupportedException(); 25get => throw new NotSupportedException(); 26set => throw new NotSupportedException(); 40throw new NotSupportedException(); 45throw new NotSupportedException(); 50throw new NotSupportedException(); 55throw new NotSupportedException(); 60throw new NotSupportedException();
Core\ThrowingWasUpgradedWriteOnlyStreamInternal.cs (2)
28=> throw new NotSupportedException(); 32=> throw new NotSupportedException();
Core\WriteOnlyStreamInternal.cs (10)
20get => throw new NotSupportedException(); 21set => throw new NotSupportedException(); 28public override long Length => throw new NotSupportedException(); 33get => throw new NotSupportedException(); 34set => throw new NotSupportedException(); 40throw new NotSupportedException(); 46throw new NotSupportedException(); 51throw new NotSupportedException(); 57throw new NotSupportedException(); 63throw new NotSupportedException();
src\Shared\HttpSys\RequestProcessing\NativeRequestContext.cs (1)
848throw new NotSupportedException();
src\Shared\ServerInfrastructure\DuplexPipeStream.cs (5)
47throw new NotSupportedException(); 55throw new NotSupportedException(); 59throw new NotSupportedException(); 65throw new NotSupportedException(); 70throw new NotSupportedException();
src\Shared\ServerInfrastructure\DuplexPipeStreamAdapter.cs (1)
57throw new NotSupportedException();
Microsoft.AspNetCore.Server.IntegrationTesting (2)
Deployers\ApplicationDeployerFactory.cs (2)
29throw new NotSupportedException("Use Microsoft.AspNetCore.Server.IntegrationTesting.IIS package and IISApplicationDeployerFactory for IIS support."); 36throw new NotSupportedException(
Microsoft.AspNetCore.Server.IntegrationTesting.IIS (1)
IISDeployer.cs (1)
220throw new NotSupportedException("Cannot set port 0 for IIS.");
Microsoft.AspNetCore.Server.Kestrel.Core (59)
HttpsConfigurationService.cs (2)
197get => throw new NotSupportedException("Not supported by HTTP/3 connections."); 198set => throw new NotSupportedException("Not supported by HTTP/3 connections.");
Internal\Http\HttpProtocol.FeatureCollection.cs (1)
351throw new NotSupportedException();
Internal\Http\HttpRequestHeaders.cs (1)
230public void Reset() => throw new NotSupportedException();
Internal\Http\HttpRequestStream.cs (10)
28public override long Length => throw new NotSupportedException(); 32get => throw new NotSupportedException(); 33set => throw new NotSupportedException(); 38get => throw new NotSupportedException(); 39set => throw new NotSupportedException(); 63=> throw new NotSupportedException(); 66=> throw new NotSupportedException(); 69=> throw new NotSupportedException(); 73throw new NotSupportedException(); 78throw new NotSupportedException();
Internal\Http\HttpResponseStream.cs (10)
26public override long Length => throw new NotSupportedException(); 30get => throw new NotSupportedException(); 31set => throw new NotSupportedException(); 36get => throw new NotSupportedException(); 37set => throw new NotSupportedException(); 41=> throw new NotSupportedException(); 44=> throw new NotSupportedException(); 47=> throw new NotSupportedException(); 66throw new NotSupportedException(); 71throw new NotSupportedException();
Internal\Http\HttpResponseTrailers.cs (2)
47public override StringValues HeaderConnection { get => throw new NotSupportedException(); set => throw new NotSupportedException(); }
Internal\Http2\Http2Stream.FeatureCollection.cs (2)
50get => throw new NotSupportedException(CoreStrings.HttpMinDataRateNotSupported); 55throw new NotSupportedException(CoreStrings.HttpMinDataRateNotSupported);
Internal\Http3\Http3Stream.FeatureCollection.cs (2)
43get => throw new NotSupportedException(CoreStrings.HttpMinDataRateNotSupported); 48throw new NotSupportedException(CoreStrings.HttpMinDataRateNotSupported);
Internal\HttpConnection.cs (1)
93throw new NotSupportedException($"{nameof(SelectProtocol)} returned something other than Http1, Http2 or None.");
Internal\Infrastructure\ReadOnlyStream.cs (5)
14get => throw new NotSupportedException(); 15set => throw new NotSupportedException(); 19=> throw new NotSupportedException(); 22=> throw new NotSupportedException(); 25=> throw new NotSupportedException();
Internal\Infrastructure\StatusCheckWriteStream.cs (2)
56throw new NotSupportedException(); 61throw new NotSupportedException();
Internal\Infrastructure\ThrowingWasUpgradedWriteOnlyStream.cs (5)
10public override long Length => throw new NotSupportedException(); 14get => throw new NotSupportedException(); 15set => throw new NotSupportedException(); 28=> throw new NotSupportedException(); 31=> throw new NotSupportedException();
Internal\Infrastructure\WriteOnlyStream.cs (5)
14get => throw new NotSupportedException(); 15set => throw new NotSupportedException(); 19=> throw new NotSupportedException(); 22=> throw new NotSupportedException(); 25=> throw new NotSupportedException();
Internal\WebTransport\WebTransportStream.cs (2)
28public override string ConnectionId { get => _streamId.ToString(NumberFormatInfo.InvariantInfo); set => throw new NotSupportedException(); } 30public override IDuplexPipe Transport { get => _duplexPipe; set => throw new NotSupportedException(); }
Middleware\HttpsConnectionMiddleware.cs (3)
502throw new NotSupportedException(CoreStrings.Http2NoTlsAlpn); 506throw new NotSupportedException(CoreStrings.Http2NoTlsWin81); 538throw new NotSupportedException($"The {nameof(HttpsConnectionAdapterOptions.OnAuthenticate)} callback is not supported with HTTP/3.");
src\Shared\ServerInfrastructure\DuplexPipeStream.cs (5)
47throw new NotSupportedException(); 55throw new NotSupportedException(); 59throw new NotSupportedException(); 65throw new NotSupportedException(); 70throw new NotSupportedException();
src\Shared\ServerInfrastructure\DuplexPipeStreamAdapter.cs (1)
57throw new NotSupportedException();
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (8)
CertificatePathWatcherTests.cs (8)
488IDirectoryContents IFileProvider.GetDirectoryContents(string subpath) => throw new NotSupportedException(); 489IFileInfo IFileProvider.GetFileInfo(string subpath) => throw new NotSupportedException(); 538throw new NotSupportedException(); 568long IFileInfo.Length => throw new NotSupportedException(); 569string IFileInfo.PhysicalPath => throw new NotSupportedException(); 570string IFileInfo.Name => throw new NotSupportedException(); 571bool IFileInfo.IsDirectory => throw new NotSupportedException(); 572Stream IFileInfo.CreateReadStream() => throw new NotSupportedException();
Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes (2)
Internal\NamedPipeTransportFactory.cs (2)
41throw new NotSupportedException($"{endpoint.GetType()} is not supported."); 45throw new NotSupportedException($@"Server name '{namedPipeEndPoint.ServerName}' is invalid. The server name must be ""{LocalComputerServerName}"".");
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (2)
Internal\QuicConnectionListener.cs (1)
40throw new NotSupportedException("QUIC is not supported or enabled on this platform. See https://aka.ms/aspnet/kestrel/http3reqs for details.");
Internal\QuicStreamContext.cs (1)
130set => throw new NotSupportedException();
Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets (1)
Client\SocketConnectionFactory.cs (1)
53throw new NotSupportedException("The SocketConnectionFactory only supports IPEndPoints for now.");
Microsoft.AspNetCore.Shared.Tests (12)
SingleThreadedSynchronizationContext.cs (1)
18throw new NotSupportedException($"{nameof(SingleThreadedSynchronizationContext)} does not support synchronous operations.");
src\Shared\HttpSys\RequestProcessing\NativeRequestContext.cs (1)
848throw new NotSupportedException();
src\Shared\SegmentWriteStream.cs (4)
52throw new NotSupportedException("The stream does not support seeking."); 109throw new NotSupportedException("The stream does not support reading."); 114throw new NotSupportedException("The stream does not support seeking."); 119throw new NotSupportedException("The stream does not support seeking.");
src\Shared\ServerInfrastructure\DuplexPipeStream.cs (5)
47throw new NotSupportedException(); 55throw new NotSupportedException(); 59throw new NotSupportedException(); 65throw new NotSupportedException(); 70throw new NotSupportedException();
src\Shared\ServerInfrastructure\DuplexPipeStreamAdapter.cs (1)
57throw new NotSupportedException();
Microsoft.AspNetCore.SignalR.Client.Core (5)
src\SignalR\common\Shared\PipeWriterStream.cs (5)
29public override long Position { get => throw new NotSupportedException(); set => throw new NotSupportedException(); } 37throw new NotSupportedException(); 42throw new NotSupportedException(); 47throw new NotSupportedException();
Microsoft.AspNetCore.SignalR.Client.Tests (5)
src\SignalR\common\Shared\MemoryBufferWriter.cs (5)
44get => throw new NotSupportedException(); 45set => throw new NotSupportedException(); 278public override int Read(byte[] buffer, int offset, int count) => throw new NotSupportedException(); 279public override long Seek(long offset, SeekOrigin origin) => throw new NotSupportedException(); 280public override void SetLength(long value) => throw new NotSupportedException();
Microsoft.AspNetCore.SignalR.Common (5)
src\SignalR\common\Shared\MemoryBufferWriter.cs (5)
44get => throw new NotSupportedException(); 45set => throw new NotSupportedException(); 278public override int Read(byte[] buffer, int offset, int count) => throw new NotSupportedException(); 279public override long Seek(long offset, SeekOrigin origin) => throw new NotSupportedException(); 280public override void SetLength(long value) => throw new NotSupportedException();
Microsoft.AspNetCore.SignalR.Core (3)
Internal\DefaultHubDispatcher.cs (3)
239throw new NotSupportedException($"Received unsupported message: {hubMessage}"); 782throw new NotSupportedException($"Method '{methodInfo.Name}' is a generic method which is not supported on a Hub."); 791throw new NotSupportedException($"Duplicate definitions of '{methodName}'. Overloading is not supported.");
Microsoft.AspNetCore.SignalR.Microbenchmarks (1)
RedisProtocolBenchmark.cs (1)
142throw new NotSupportedException();
Microsoft.AspNetCore.SignalR.Protocols.MessagePack (5)
src\SignalR\common\Shared\MemoryBufferWriter.cs (5)
44get => throw new NotSupportedException(); 45set => throw new NotSupportedException(); 278public override int Read(byte[] buffer, int offset, int count) => throw new NotSupportedException(); 279public override long Seek(long offset, SeekOrigin origin) => throw new NotSupportedException(); 280public override void SetLength(long value) => throw new NotSupportedException();
Microsoft.AspNetCore.SignalR.Protocols.NewtonsoftJson (5)
src\SignalR\common\Shared\MemoryBufferWriter.cs (5)
44get => throw new NotSupportedException(); 45set => throw new NotSupportedException(); 278public override int Read(byte[] buffer, int offset, int count) => throw new NotSupportedException(); 279public override long Seek(long offset, SeekOrigin origin) => throw new NotSupportedException(); 280public override void SetLength(long value) => throw new NotSupportedException();
Microsoft.AspNetCore.SignalR.Specification.Tests (10)
src\SignalR\common\Shared\MemoryBufferWriter.cs (5)
44get => throw new NotSupportedException(); 45set => throw new NotSupportedException(); 278public override int Read(byte[] buffer, int offset, int count) => throw new NotSupportedException(); 279public override long Seek(long offset, SeekOrigin origin) => throw new NotSupportedException(); 280public override void SetLength(long value) => throw new NotSupportedException();
src\SignalR\common\testassets\Tests.Utils\TestClient.cs (5)
131throw new NotSupportedException("TestClient does not support multiple outgoing invocations!"); 144throw new NotSupportedException($"TestClient recieved an unexpected message: {message}."); 164throw new NotSupportedException("TestClient does not support multiple outgoing invocations!"); 170throw new NotSupportedException("Use 'StreamAsync' to call a streaming method"); 184throw new NotSupportedException($"TestClient recieved an unexpected message: {message}.");
Microsoft.AspNetCore.SignalR.StackExchangeRedis (5)
src\SignalR\common\Shared\MemoryBufferWriter.cs (5)
44get => throw new NotSupportedException(); 45set => throw new NotSupportedException(); 278public override int Read(byte[] buffer, int offset, int count) => throw new NotSupportedException(); 279public override long Seek(long offset, SeekOrigin origin) => throw new NotSupportedException(); 280public override void SetLength(long value) => throw new NotSupportedException();
Microsoft.AspNetCore.SignalR.Tests.Utils (7)
DummyHubProtocol.cs (2)
39throw new NotSupportedException(); 60throw new NotSupportedException();
TestClient.cs (5)
131throw new NotSupportedException("TestClient does not support multiple outgoing invocations!"); 144throw new NotSupportedException($"TestClient recieved an unexpected message: {message}."); 164throw new NotSupportedException("TestClient does not support multiple outgoing invocations!"); 170throw new NotSupportedException("Use 'StreamAsync' to call a streaming method"); 184throw new NotSupportedException($"TestClient recieved an unexpected message: {message}.");
Microsoft.AspNetCore.StaticFiles.Tests (1)
StaticFileContextTest.cs (1)
174throw new NotSupportedException();
Microsoft.AspNetCore.TestHost (21)
AsyncStreamWrapper.cs (5)
23public override long Length => throw new NotSupportedException("The stream is not seekable."); 27get => throw new NotSupportedException("The stream is not seekable."); 28set => throw new NotSupportedException("The stream is not seekable."); 74throw new NotSupportedException("The stream is not seekable."); 79throw new NotSupportedException("The stream is not seekable.");
ClientHandler.cs (1)
62throw new NotSupportedException(
ResponseBodyReaderStream.cs (8)
39public override long Length => throw new NotSupportedException(); 43get => throw new NotSupportedException(); 44set => throw new NotSupportedException(); 47public override long Seek(long offset, SeekOrigin origin) => throw new NotSupportedException(); 49public override void SetLength(long value) => throw new NotSupportedException(); 59public override void Write(byte[] buffer, int offset, int count) => throw new NotSupportedException(); 61public override Task WriteAsync(byte[] buffer, int offset, int count, CancellationToken cancellationToken) => throw new NotSupportedException(); 63public override ValueTask WriteAsync(ReadOnlyMemory<byte> buffer, CancellationToken cancellationToken) => throw new NotSupportedException();
ResponseBodyWriterStream.cs (6)
23public override long Length => throw new NotSupportedException(); 25public override long Position { get => throw new NotSupportedException(); set => throw new NotSupportedException(); } 29throw new NotSupportedException(); 34throw new NotSupportedException(); 39throw new NotSupportedException();
UpgradeFeature.cs (1)
15throw new NotSupportedException();
Microsoft.AspNetCore.WebSockets.Tests (10)
BufferStream.cs (5)
51get { throw new NotSupportedException(); } 56get { throw new NotSupportedException(); } 57set { throw new NotSupportedException(); } 62throw new NotSupportedException(); 67throw new NotSupportedException();
DuplexStream.cs (5)
52get { throw new NotSupportedException(); } 57get { throw new NotSupportedException(); } 58set { throw new NotSupportedException(); } 77throw new NotSupportedException(); 82throw new NotSupportedException();
Microsoft.AspNetCore.WebUtilities (20)
FileBufferingReadStream.cs (8)
219throw new NotSupportedException("The content has not been fully buffered yet."); 224throw new NotSupportedException("The content has not been fully buffered yet."); 229throw new NotSupportedException("The content has not been fully buffered yet."); 399throw new NotSupportedException(); 405throw new NotSupportedException(); 411throw new NotSupportedException(); 417throw new NotSupportedException(); 423throw new NotSupportedException();
FileBufferingWriteStream.cs (7)
81get => throw new NotSupportedException(); 82set => throw new NotSupportedException(); 92public override long Seek(long offset, SeekOrigin origin) => throw new NotSupportedException(); 96=> throw new NotSupportedException(); 100=> throw new NotSupportedException(); 104=> throw new NotSupportedException(); 187public override void SetLength(long value) => throw new NotSupportedException();
MultipartReaderStream.cs (5)
111throw new NotSupportedException(); 116throw new NotSupportedException(); 121throw new NotSupportedException(); 126throw new NotSupportedException(); 131throw new NotSupportedException();
Microsoft.AspNetCore.WebUtilities.Tests (6)
NonSeekableReadStream.cs (6)
28get { throw new NotSupportedException(); } 33get { throw new NotSupportedException(); } 34set { throw new NotSupportedException(); } 44throw new NotSupportedException(); 49throw new NotSupportedException(); 54throw new NotSupportedException();
Microsoft.Build (89)
BackEnd\Components\Communications\TaskHostNodeManager.cs (7)
50=> throw new NotSupportedException("not used"); 59throw new NotSupportedException("not used"); 129throw new NotSupportedException("not used"); 138throw new NotSupportedException("not used"); 149throw new NotSupportedException("not used"); 159throw new NotSupportedException("not used"); 169throw new NotSupportedException("not used");
BufferedReadStream.cs (4)
45get { throw new NotSupportedException(); } 46set { throw new NotSupportedException(); } 187throw new NotSupportedException(); 192throw new NotSupportedException();
Collections\ArrayDictionary.cs (1)
215throw new NotSupportedException();
Evaluation\LazyItemEvaluator.EvaluatorData.cs (9)
226throw new NotSupportedException(); 231throw new NotSupportedException(); 236throw new NotSupportedException(); 241throw new NotSupportedException(); 246throw new NotSupportedException(); 251throw new NotSupportedException(); 256throw new NotSupportedException(); 261throw new NotSupportedException(); 266throw new NotSupportedException();
Evaluation\LazyItemEvaluator.ItemFactoryWrapper.cs (1)
49throw new NotSupportedException();
FileMatcher.cs (2)
2382throw new NotSupportedException(action.ToString()); 2432throw new NotSupportedException(excludeAction.ToString());
Instance\ImmutableProjectCollections\ImmutableElementCollectionConverter.cs (14)
36set => throw new NotSupportedException(); 47public void Add(T item) => throw new NotSupportedException(); 49public void Add(string key, T value) => throw new NotSupportedException(); 51public void Add(KeyValuePair<string, T> item) => throw new NotSupportedException(); 53public void Clear() => throw new NotSupportedException(); 80public void GetObjectData(SerializationInfo info, StreamingContext context) => throw new NotSupportedException(); 82public void OnDeserialization(object sender) => throw new NotSupportedException(); 84public bool Remove(T item) => throw new NotSupportedException(); 86public bool Remove(string key) => throw new NotSupportedException(); 88public bool Remove(KeyValuePair<string, T> item) => throw new NotSupportedException(); 96public void UnionWith(IEnumerable<T> other) => throw new NotSupportedException(); 125public void Add(T item) => throw new NotSupportedException(); 127public void Clear() => throw new NotSupportedException(); 196public bool Remove(T item) => throw new NotSupportedException();
Instance\ImmutableProjectCollections\ImmutableGlobalPropertiesCollectionConverter.cs (14)
44set => throw new NotSupportedException(); 64public void Add(ProjectPropertyInstance item) => throw new NotSupportedException(); 66public void Add(string key, ProjectPropertyInstance value) => throw new NotSupportedException(); 68public void Add(KeyValuePair<string, ProjectPropertyInstance> item) => throw new NotSupportedException(); 70public void Clear() => throw new NotSupportedException(); 121public void GetObjectData(SerializationInfo info, StreamingContext context) => throw new NotSupportedException(); 123public void OnDeserialization(object sender) => throw new NotSupportedException(); 125public bool Remove(ProjectPropertyInstance item) => throw new NotSupportedException(); 127public bool Remove(string key) => throw new NotSupportedException(); 129public bool Remove(KeyValuePair<string, ProjectPropertyInstance> item) => throw new NotSupportedException(); 142public void UnionWith(IEnumerable<ProjectPropertyInstance> other) => throw new NotSupportedException(); 171public void Add(ProjectPropertyInstance item) => throw new NotSupportedException(); 173public void Clear() => throw new NotSupportedException(); 175public bool Remove(ProjectPropertyInstance item) => throw new NotSupportedException();
Instance\ImmutableProjectCollections\ImmutableItemDefinitionsListConverter.cs (6)
34set => throw new NotSupportedException(); 70public void Add(T item) => throw new NotSupportedException(); 72public void Clear() => throw new NotSupportedException(); 74public void Insert(int index, T item) => throw new NotSupportedException(); 76public bool Remove(T item) => throw new NotSupportedException(); 78public void RemoveAt(int index) => throw new NotSupportedException();
Instance\ImmutableProjectCollections\ImmutableItemDictionary.cs (12)
64public void Add(T projectItem) => throw new NotSupportedException(); 67public void AddEmptyMarker(string itemType) => throw new NotSupportedException(); 70public void AddRange(IEnumerable<T> projectItems) => throw new NotSupportedException(); 73public void Clear() => throw new NotSupportedException(); 162public void ImportItems(IEnumerable<T> other) => throw new NotSupportedException(); 165public void ImportItemsOfType(string itemType, IEnumerable<T> items) => throw new NotSupportedException(); 168public bool Remove(T projectItem) => throw new NotSupportedException(); 171public void RemoveItems(IEnumerable<T> other) => throw new NotSupportedException(); 174public void Replace(T existingItem, T newItem) => throw new NotSupportedException(); 191public void Add(T item) => throw new NotSupportedException(); 193public void Clear() => throw new NotSupportedException(); 195public bool Remove(T item) => throw new NotSupportedException();
Instance\ImmutableProjectCollections\ImmutablePropertyCollectionConverter.cs (2)
33public void ImportProperties(IEnumerable<T> other) => throw new NotSupportedException(); 35public void Set(T projectProperty) => throw new NotSupportedException();
Instance\ImmutableProjectCollections\ImmutableStringValuedListConverter.cs (6)
25set => throw new NotSupportedException(); 33public void Add(string item) => throw new NotSupportedException(); 35public void Clear() => throw new NotSupportedException(); 37public void Insert(int index, string item) => throw new NotSupportedException(); 39public bool Remove(string item) => throw new NotSupportedException(); 41public void RemoveAt(int index) => throw new NotSupportedException();
Logging\BinaryLogger\BinaryLogReplayEventSource.cs (3)
173throw new NotSupportedException(text); 253throw new NotSupportedException( 274throw new NotSupportedException(
Logging\BinaryLogger\Postprocessing\SubStream.cs (1)
29throw new NotSupportedException(ResourceUtilities.GetResourceString("Binlog_StreamUtils_MustBeReadable"));
Logging\BinaryLogger\Postprocessing\TransparentReadStream.cs (3)
160throw new NotSupportedException(ResourceUtilities.GetResourceString("Binlog_StreamUtils_SeekNonOrigin")); 170throw new NotSupportedException(ResourceUtilities.GetResourceString("Binlog_StreamUtils_SetLengthUnsupported")); 175throw new NotSupportedException(ResourceUtilities.GetResourceString("Binlog_StreamUtils_WriteUnsupported"));
Logging\ParallelLogger\ParallelConsoleLogger.cs (1)
611_ => throw new NotSupportedException(Convert.ToString(item.Value))
ProcessExtensions.cs (1)
32throw new System.NotSupportedException();
TelemetryInfra\TelemetryDataUtils.cs (2)
88throw new NotSupportedException("TaskOrTargetTelemetryKey cannot be null in telemetry data"); 130throw new NotSupportedException("TaskOrTargetTelemetryKey cannot be null in telemetry data");
Microsoft.Build.Engine.UnitTests (1)
BackEnd\TaskThatReturnsDictionaryTaskItem.cs (1)
110public object SyncRoot => throw new NotSupportedException();
Microsoft.Build.Framework (45)
ImmutableSegmentedDictionary`2.cs (10)
123set => throw new NotSupportedException(); 129set => throw new NotSupportedException(); 358=> throw new NotSupportedException(); 361=> throw new NotSupportedException(); 364=> throw new NotSupportedException(); 367=> throw new NotSupportedException(); 370=> throw new NotSupportedException(); 373=> throw new NotSupportedException(); 376=> throw new NotSupportedException(); 379=> throw new NotSupportedException();
ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
35=> throw new NotSupportedException();
ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (2)
35=> throw new NotSupportedException(); 50=> throw new NotSupportedException();
ImmutableSegmentedDictionary`2+KeyCollection.cs (3)
49=> throw new NotSupportedException(); 52=> throw new NotSupportedException(); 55=> throw new NotSupportedException();
ImmutableSegmentedDictionary`2+ValueCollection.cs (3)
49=> throw new NotSupportedException(); 52=> throw new NotSupportedException(); 55=> throw new NotSupportedException();
ImmutableSegmentedList`1.cs (12)
103set => throw new NotSupportedException(); 109set => throw new NotSupportedException(); 644=> throw new NotSupportedException(); 647=> throw new NotSupportedException(); 650=> throw new NotSupportedException(); 653=> throw new NotSupportedException(); 656=> throw new NotSupportedException(); 659=> throw new NotSupportedException(); 662=> throw new NotSupportedException(); 677=> throw new NotSupportedException(); 680=> throw new NotSupportedException(); 683=> throw new NotSupportedException();
ImmutableSegmentedList`1+ValueBuilder.cs (1)
45object ICollection.SyncRoot => throw new NotSupportedException();
SegmentedArray.cs (3)
63throw new NotSupportedException(); 158throw new NotSupportedException(); 225throw new NotSupportedException();
SegmentedArray`1.cs (9)
194throw new NotSupportedException(SR.NotSupported_FixedSizeCollection); 199throw new NotSupportedException(SR.NotSupported_FixedSizeCollection); 215throw new NotSupportedException(SR.NotSupported_FixedSizeCollection); 272throw new NotSupportedException(SR.NotSupported_FixedSizeCollection); 277throw new NotSupportedException(SR.NotSupported_FixedSizeCollection); 282throw new NotSupportedException(SR.NotSupported_FixedSizeCollection); 287throw new NotSupportedException(SR.NotSupported_FixedSizeCollection); 292throw new NotSupportedException(SR.NotSupported_FixedSizeCollection); 297throw new NotSupportedException(SR.NotSupported_FixedSizeCollection);
ThrowHelper.cs (1)
171throw new NotSupportedException(GetResourceString(resource));
Microsoft.Build.Tasks.Core (13)
CodeTaskFactory.cs (3)
1046throw new NotSupportedException(); 1051throw new NotSupportedException(); 1056throw new NotSupportedException();
FileMatcher.cs (2)
2382throw new NotSupportedException(action.ToString()); 2432throw new NotSupportedException(excludeAction.ToString());
ManifestUtil\mansign2.cs (4)
672throw new NotSupportedException(); 913throw new NotSupportedException(); 929throw new NotSupportedException(); 1154throw new NotSupportedException();
ResourceHandling\MSBuildResXReader.cs (1)
215throw new NotSupportedException(ResourceUtilities.FormatResourceStringIgnoreCodeAndKeyword("GenerateResource.MimeTypeNotSupportedOnCore", name, resxFilename, mimetype));
XamlTaskFactory\XamlTaskFactory.cs (3)
263throw new NotSupportedException(); 268throw new NotSupportedException(); 273throw new NotSupportedException();
Microsoft.Build.Utilities.Core (3)
FileMatcher.cs (2)
2382throw new NotSupportedException(action.ToString()); 2432throw new NotSupportedException(excludeAction.ToString());
ProcessExtensions.cs (1)
32throw new System.NotSupportedException();
Microsoft.Cci.Extensions (10)
Comparers\CciComparers.cs (2)
57throw new NotSupportedException("Comparer not supported for type " + typeof(T).FullName); 77throw new NotSupportedException("Comparer not supported for type " + typeof(T).FullName);
Extensions\TypeExtensions.cs (1)
151throw new NotSupportedException(string.Format("Unknown IReference '{0}' so we cannot get assembly reference!", reference.GetType().FullName));
Mappings\ElementMapping.cs (1)
91throw new NotSupportedException("Diffing is not supported without a IDifferFactory!");
Writers\CSharp\CSDeclarationWriter.Attributes.cs (1)
238throw new NotSupportedException("IMetadataExpression type not supported");
Writers\CSharp\CSDeclarationWriter.Types.cs (2)
199throw new NotSupportedException("This method doesn't support delegates!"); 221throw new NotSupportedException("Don't understand what kind of type this is!");
Writers\Syntax\HtmlSyntaxWriter.cs (1)
53throw new NotSupportedException("Style not supported!");
Writers\Syntax\OpenXmlSyntaxWriter.cs (1)
56throw new NotSupportedException("Style not supported!");
Writers\Syntax\TextSyntaxWriter.cs (1)
41throw new NotSupportedException("Style not supported!");
Microsoft.CodeAnalysis (155)
Collections\IdentifierCollection.Collection.cs (3)
81throw new NotSupportedException(); 86throw new NotSupportedException(); 91throw new NotSupportedException();
Collections\ImmutableMemoryStream.cs (2)
116throw new NotSupportedException(); 121throw new NotSupportedException();
Collections\SmallDictionary.cs (1)
604throw new NotSupportedException();
Collections\UnionCollection.cs (3)
73throw new NotSupportedException(); 78throw new NotSupportedException(); 129throw new NotSupportedException();
CommandLine\CommonCompiler.SuppressionDiagnostic.cs (3)
96throw new NotSupportedException(); 101throw new NotSupportedException(); 106throw new NotSupportedException();
DiaSymReader\SymUnmanagedFactory.cs (2)
41_ => throw new NotSupportedException() 199throw new NotSupportedException();
DiaSymReader\Utilities\ComMemoryStream.cs (5)
247throw new NotSupportedException(); 252throw new NotSupportedException(); 257throw new NotSupportedException(); 262throw new NotSupportedException(); 267throw new NotSupportedException();
DiaSymReader\Writer\SymUnmanagedWriter.cs (1)
226=> throw new NotSupportedException();
DiaSymReader\Writer\SymUnmanagedWriterFactory.cs (2)
62throw new SymUnmanagedWriterException(new NotSupportedException(), implModuleName); 78throw new NotSupportedException();
DiaSymReader\Writer\SymUnmanagedWriterImpl.cs (1)
48=> GetSymWriter() is ISymUnmanagedWriter8 symWriter8 ? symWriter8 : throw PdbWritingException(new NotSupportedException());
DocumentationCommentId.cs (1)
37throw new NotSupportedException();
Emit\EditAndContinue\EmitBaseline.cs (2)
85=> throw new NotSupportedException(); 94=> throw new NotSupportedException();
Hashing\NonCryptographicHashAlgorithm.cs (1)
348throw new NotSupportedException("GetHashCode not supported");
InternalUtilities\BlobBuildingStream.cs (5)
106throw new NotSupportedException(); 111throw new NotSupportedException(); 116throw new NotSupportedException(); 121get { throw new NotSupportedException(); } 122set { throw new NotSupportedException(); }
InternalUtilities\ConsList`1.cs (1)
77throw new NotSupportedException();
InternalUtilities\MultiDictionary.cs (1)
62throw new NotSupportedException();
InternalUtilities\ReadOnlyUnmanagedMemoryStream.cs (2)
131throw new NotSupportedException(); 136throw new NotSupportedException();
MetadataReference\CompilationReference.cs (3)
36throw new NotSupportedException(CodeAnalysisResources.CannotCreateReferenceToSubmission); 41throw new NotSupportedException(CodeAnalysisResources.CannotCreateReferenceToModule); 101throw new NotSupportedException(CodeAnalysisResources.CannotCreateReferenceToModule);
MetadataReference\MetadataReference.cs (2)
346throw new NotSupportedException(CodeAnalysisResources.CantCreateReferenceToDynamicAssembly); 357throw new NotSupportedException(CodeAnalysisResources.CantCreateReferenceToAssemblyWithoutLocation);
ReferenceManager\CommonReferenceManager.Resolution.cs (1)
885throw new NotSupportedException();
ReferenceManager\CommonReferenceManager.State.cs (1)
564throw new NotSupportedException(CodeAnalysisResources.CompilationReferencesAssembliesWithDifferentAutoGeneratedVersion);
src\Dependencies\Collections\Internal\ThrowHelper.cs (1)
185throw new NotSupportedException(GetResourceString(resource));
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (10)
123set => throw new NotSupportedException(); 129set => throw new NotSupportedException(); 349=> throw new NotSupportedException(); 352=> throw new NotSupportedException(); 355=> throw new NotSupportedException(); 358=> throw new NotSupportedException(); 361=> throw new NotSupportedException(); 364=> throw new NotSupportedException(); 367=> throw new NotSupportedException(); 370=> throw new NotSupportedException();
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
35=> throw new NotSupportedException();
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (2)
35=> throw new NotSupportedException(); 50=> throw new NotSupportedException();
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection.cs (3)
49=> throw new NotSupportedException(); 52=> throw new NotSupportedException(); 55=> throw new NotSupportedException();
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (7)
60readonly IEnumerable<TKey> IReadOnlyDictionary<TKey, TValue>.Keys => throw new NotSupportedException(); 62readonly IEnumerable<TValue> IReadOnlyDictionary<TKey, TValue>.Values => throw new NotSupportedException(); 64readonly ICollection<TKey> IDictionary<TKey, TValue>.Keys => throw new NotSupportedException(); 66readonly ICollection<TValue> IDictionary<TKey, TValue>.Values => throw new NotSupportedException(); 70readonly ICollection IDictionary.Keys => throw new NotSupportedException(); 72readonly ICollection IDictionary.Values => throw new NotSupportedException(); 78readonly object ICollection.SyncRoot => throw new NotSupportedException();
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection.cs (3)
49=> throw new NotSupportedException(); 52=> throw new NotSupportedException(); 55=> throw new NotSupportedException();
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (8)
369=> throw new NotSupportedException(); 372=> throw new NotSupportedException(); 375=> throw new NotSupportedException(); 378=> throw new NotSupportedException(); 381=> throw new NotSupportedException(); 384=> throw new NotSupportedException(); 387=> throw new NotSupportedException(); 390=> throw new NotSupportedException();
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (12)
103set => throw new NotSupportedException(); 109set => throw new NotSupportedException(); 644=> throw new NotSupportedException(); 647=> throw new NotSupportedException(); 650=> throw new NotSupportedException(); 653=> throw new NotSupportedException(); 656=> throw new NotSupportedException(); 659=> throw new NotSupportedException(); 662=> throw new NotSupportedException(); 677=> throw new NotSupportedException(); 680=> throw new NotSupportedException(); 683=> throw new NotSupportedException();
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
45readonly object ICollection.SyncRoot => throw new NotSupportedException();
src\Dependencies\Collections\Segmented\SegmentedArray.cs (3)
69throw new NotSupportedException(); 164throw new NotSupportedException(); 231throw new NotSupportedException();
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (9)
191throw new NotSupportedException(SR.NotSupported_FixedSizeCollection); 196throw new NotSupportedException(SR.NotSupported_FixedSizeCollection); 212throw new NotSupportedException(SR.NotSupported_FixedSizeCollection); 269throw new NotSupportedException(SR.NotSupported_FixedSizeCollection); 274throw new NotSupportedException(SR.NotSupported_FixedSizeCollection); 279throw new NotSupportedException(SR.NotSupported_FixedSizeCollection); 284throw new NotSupportedException(SR.NotSupported_FixedSizeCollection); 289throw new NotSupportedException(SR.NotSupported_FixedSizeCollection); 294throw new NotSupportedException(SR.NotSupported_FixedSizeCollection);
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Collection.cs (3)
24throw new NotSupportedException(); 29throw new NotSupportedException(); 47throw new NotSupportedException();
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Dictionary.cs (4)
31throw new NotSupportedException(); 52throw new NotSupportedException(); 73throw new NotSupportedException(); 78throw new NotSupportedException();
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.List.cs (3)
36throw new NotSupportedException(); 41throw new NotSupportedException(); 53throw new NotSupportedException();
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Set.cs (5)
24throw new NotSupportedException(); 29throw new NotSupportedException(); 34throw new NotSupportedException(); 69throw new NotSupportedException(); 74throw new NotSupportedException();
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Collection.cs (3)
24throw new NotSupportedException(); 29throw new NotSupportedException(); 54throw new NotSupportedException();
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Set.cs (5)
24throw new NotSupportedException(); 29throw new NotSupportedException(); 34throw new NotSupportedException(); 69throw new NotSupportedException(); 74throw new NotSupportedException();
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (6)
26throw new NotSupportedException(); 31throw new NotSupportedException(); 50throw new NotSupportedException(); 77throw new NotSupportedException(); 93throw new NotSupportedException(); 98throw new NotSupportedException();
Syntax\SeparatedSyntaxList.Enumerator.cs (2)
56throw new NotSupportedException(); 61throw new NotSupportedException();
Syntax\SyntaxList`1.Enumerator.cs (2)
53throw new NotSupportedException(); 58throw new NotSupportedException();
Syntax\SyntaxNodeOrTokenList.cs (3)
582throw new NotSupportedException(); 594throw new NotSupportedException(); 599throw new NotSupportedException();
Syntax\SyntaxTokenList.Enumerator.cs (3)
122throw new NotSupportedException(); 127throw new NotSupportedException(); 152throw new NotSupportedException();
Syntax\SyntaxTokenList.Reversed.cs (3)
133throw new NotSupportedException(); 138throw new NotSupportedException(); 163throw new NotSupportedException();
Syntax\SyntaxTriviaList.Enumerator.cs (1)
156throw new NotSupportedException();
Syntax\SyntaxTriviaList.Reversed.cs (1)
152throw new NotSupportedException();
Text\SourceTextStream.cs (6)
64throw new NotSupportedException(); 69get { throw new NotSupportedException(); } 75set { throw new NotSupportedException(); } 143throw new NotSupportedException(); 148throw new NotSupportedException(); 153throw new NotSupportedException();
Text\TextLineCollection.cs (2)
155throw new NotSupportedException(); 160throw new NotSupportedException();
Microsoft.CodeAnalysis.Analyzers (6)
src\RoslynAnalyzers\Utilities\Compiler\CodeMetrics\CodeAnalysisMetricData.cs (2)
283_ => throw new NotSupportedException(), 321_ => throw new NotSupportedException(),
src\RoslynAnalyzers\Utilities\Compiler\Lightup\LightupHelpers.cs (1)
149throw new NotSupportedException();
src\RoslynAnalyzers\Utilities\Compiler\RoslynHashCode.cs (2)
435public override readonly int GetHashCode() => throw new NotSupportedException(SR.HashCode_HashCodeNotSupported); 439public override readonly bool Equals(object? obj) => throw new NotSupportedException(SR.HashCode_EqualityNotSupported);
src\RoslynAnalyzers\Utilities\Compiler\SmallDictionary.cs (1)
717throw new NotSupportedException();
Microsoft.CodeAnalysis.AnalyzerUtilities (47)
src\RoslynAnalyzers\Utilities\Compiler\CodeMetrics\CodeAnalysisMetricData.cs (2)
283_ => throw new NotSupportedException(), 321_ => throw new NotSupportedException(),
src\RoslynAnalyzers\Utilities\Compiler\Lightup\LightupHelpers.cs (1)
149throw new NotSupportedException();
src\RoslynAnalyzers\Utilities\Compiler\RoslynHashCode.cs (2)
435public override readonly int GetHashCode() => throw new NotSupportedException(SR.HashCode_HashCodeNotSupported); 439public override readonly bool Equals(object? obj) => throw new NotSupportedException(SR.HashCode_EqualityNotSupported);
src\RoslynAnalyzers\Utilities\Compiler\SmallDictionary.cs (1)
717throw new NotSupportedException();
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Analysis\CopyAnalysis\CopyAnalysisData.cs (1)
88throw new NotSupportedException("Use SetAbstactValueForEntities API");
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Analysis\PropertySetAnalysis\HazardousUsageEvaluatorCollection.cs (1)
46throw new NotSupportedException();
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Analysis\PropertySetAnalysis\PropertyMapper.cs (1)
95throw new NotSupportedException();
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Analysis\PropertySetAnalysis\PropertyMapperCollection.cs (1)
77throw new NotSupportedException();
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\DataFlowOperationVisitor.cs (37)
3877throw new NotSupportedException($"'{nameof(IUsingOperation)}' must have been lowered in the CFG"); 3883throw new NotSupportedException($"'{nameof(IWhileLoopOperation)}' must have been lowered in the CFG"); 3889throw new NotSupportedException($"'{nameof(IForEachLoopOperation)}' must have been lowered in the CFG"); 3895throw new NotSupportedException($"'{nameof(IForLoopOperation)}' must have been lowered in the CFG"); 3901throw new NotSupportedException($"'{nameof(IForToLoopOperation)}' must have been lowered in the CFG"); 3907throw new NotSupportedException($"'{nameof(ICoalesceOperation)}' must have been lowered in the CFG"); 3913throw new NotSupportedException($"'{nameof(IConditionalOperation)}' must have been lowered in the CFG"); 3919throw new NotSupportedException($"'{nameof(IConditionalAccessOperation)}' must have been lowered in the CFG"); 3925throw new NotSupportedException($"'{nameof(IConditionalAccessInstanceOperation)}' must have been lowered in the CFG"); 3931throw new NotSupportedException($"'{nameof(IThrowOperation)}' must have been lowered in the CFG"); 3937throw new NotSupportedException($"'{nameof(IVariableDeclarationOperation)}' must have been lowered in the CFG"); 3943throw new NotSupportedException($"'{nameof(IVariableDeclarationOperation)}' must have been lowered in the CFG"); 3949throw new NotSupportedException($"'{nameof(IVariableDeclaratorOperation)}' must have been lowered in the CFG"); 3955throw new NotSupportedException($"'{nameof(ITryOperation)}' must have been lowered in the CFG"); 3961throw new NotSupportedException($"'{nameof(ICatchClauseOperation)}' must have been lowered in the CFG"); 3967throw new NotSupportedException($"'{nameof(ILockOperation)}' must have been lowered in the CFG"); 3973throw new NotSupportedException($"'{nameof(IBranchOperation)}' must have been lowered in the CFG"); 3979throw new NotSupportedException($"'{nameof(ILabeledOperation)}' must have been lowered in the CFG"); 3985throw new NotSupportedException($"'{nameof(ISwitchOperation)}' must have been lowered in the CFG"); 3991throw new NotSupportedException($"'{nameof(ISwitchCaseOperation)}' must have been lowered in the CFG"); 3997throw new NotSupportedException($"'{nameof(IDefaultCaseClauseOperation)}' must have been lowered in the CFG"); 4003throw new NotSupportedException($"'{nameof(IPatternCaseClauseOperation)}' must have been lowered in the CFG"); 4009throw new NotSupportedException($"'{nameof(IRangeCaseClauseOperation)}' must have been lowered in the CFG"); 4015throw new NotSupportedException($"'{nameof(IRelationalCaseClauseOperation)}' must have been lowered in the CFG"); 4021throw new NotSupportedException($"'{nameof(ISingleValueCaseClauseOperation)}' must have been lowered in the CFG"); 4027throw new NotSupportedException($"'{nameof(IObjectOrCollectionInitializerOperation)}' must have been lowered in the CFG"); 4033throw new NotSupportedException($"'{nameof(IMemberInitializerOperation)}' must have been lowered in the CFG"); 4039throw new NotSupportedException($"'{nameof(IBlockOperation)}' must have been lowered in the CFG"); 4045throw new NotSupportedException($"'{nameof(IVariableInitializerOperation)}' must have been lowered in the CFG"); 4051throw new NotSupportedException($"'{nameof(IFieldInitializerOperation)}' must have been lowered in the CFG"); 4057throw new NotSupportedException($"'{nameof(IParameterInitializerOperation)}' must have been lowered in the CFG"); 4063throw new NotSupportedException($"'{nameof(IPropertyInitializerOperation)}' must have been lowered in the CFG"); 4069throw new NotSupportedException($"'{nameof(IEndOperation)}' must have been lowered in the CFG"); 4075throw new NotSupportedException($"'{nameof(IEmptyOperation)}' must have been lowered in the CFG"); 4081throw new NotSupportedException($"'{nameof(INameOfOperation)}' must have been lowered in the CFG"); 4086throw new NotSupportedException($"'{nameof(IAnonymousFunctionOperation)}' must have been lowered in the CFG"); 4092throw new NotSupportedException($"'{nameof(ILocalFunctionOperation)}' must have been lowered in the CFG");
Microsoft.CodeAnalysis.BannedApiAnalyzers (6)
src\RoslynAnalyzers\Utilities\Compiler\CodeMetrics\CodeAnalysisMetricData.cs (2)
283_ => throw new NotSupportedException(), 321_ => throw new NotSupportedException(),
src\RoslynAnalyzers\Utilities\Compiler\Lightup\LightupHelpers.cs (1)
149throw new NotSupportedException();
src\RoslynAnalyzers\Utilities\Compiler\RoslynHashCode.cs (2)
435public override readonly int GetHashCode() => throw new NotSupportedException(SR.HashCode_HashCodeNotSupported); 439public override readonly bool Equals(object? obj) => throw new NotSupportedException(SR.HashCode_EqualityNotSupported);
src\RoslynAnalyzers\Utilities\Compiler\SmallDictionary.cs (1)
717throw new NotSupportedException();
Microsoft.CodeAnalysis.CodeStyle (97)
src\Compilers\Core\Portable\Hashing\NonCryptographicHashAlgorithm.cs (1)
348throw new NotSupportedException("GetHashCode not supported");
src\Compilers\Core\Portable\InternalUtilities\ConsList`1.cs (1)
77throw new NotSupportedException();
src\Compilers\Core\Portable\InternalUtilities\MultiDictionary.cs (1)
62throw new NotSupportedException();
src\Dependencies\Collections\Internal\ThrowHelper.cs (1)
185throw new NotSupportedException(GetResourceString(resource));
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (10)
123set => throw new NotSupportedException(); 129set => throw new NotSupportedException(); 349=> throw new NotSupportedException(); 352=> throw new NotSupportedException(); 355=> throw new NotSupportedException(); 358=> throw new NotSupportedException(); 361=> throw new NotSupportedException(); 364=> throw new NotSupportedException(); 367=> throw new NotSupportedException(); 370=> throw new NotSupportedException();
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
35=> throw new NotSupportedException();
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (2)
35=> throw new NotSupportedException(); 50=> throw new NotSupportedException();
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection.cs (3)
49=> throw new NotSupportedException(); 52=> throw new NotSupportedException(); 55=> throw new NotSupportedException();
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (7)
60readonly IEnumerable<TKey> IReadOnlyDictionary<TKey, TValue>.Keys => throw new NotSupportedException(); 62readonly IEnumerable<TValue> IReadOnlyDictionary<TKey, TValue>.Values => throw new NotSupportedException(); 64readonly ICollection<TKey> IDictionary<TKey, TValue>.Keys => throw new NotSupportedException(); 66readonly ICollection<TValue> IDictionary<TKey, TValue>.Values => throw new NotSupportedException(); 70readonly ICollection IDictionary.Keys => throw new NotSupportedException(); 72readonly ICollection IDictionary.Values => throw new NotSupportedException(); 78readonly object ICollection.SyncRoot => throw new NotSupportedException();
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection.cs (3)
49=> throw new NotSupportedException(); 52=> throw new NotSupportedException(); 55=> throw new NotSupportedException();
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (8)
369=> throw new NotSupportedException(); 372=> throw new NotSupportedException(); 375=> throw new NotSupportedException(); 378=> throw new NotSupportedException(); 381=> throw new NotSupportedException(); 384=> throw new NotSupportedException(); 387=> throw new NotSupportedException(); 390=> throw new NotSupportedException();
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (12)
103set => throw new NotSupportedException(); 109set => throw new NotSupportedException(); 644=> throw new NotSupportedException(); 647=> throw new NotSupportedException(); 650=> throw new NotSupportedException(); 653=> throw new NotSupportedException(); 656=> throw new NotSupportedException(); 659=> throw new NotSupportedException(); 662=> throw new NotSupportedException(); 677=> throw new NotSupportedException(); 680=> throw new NotSupportedException(); 683=> throw new NotSupportedException();
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
45readonly object ICollection.SyncRoot => throw new NotSupportedException();
src\Dependencies\Collections\Segmented\SegmentedArray.cs (3)
69throw new NotSupportedException(); 164throw new NotSupportedException(); 231throw new NotSupportedException();
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (9)
191throw new NotSupportedException(SR.NotSupported_FixedSizeCollection); 196throw new NotSupportedException(SR.NotSupported_FixedSizeCollection); 212throw new NotSupportedException(SR.NotSupported_FixedSizeCollection); 269throw new NotSupportedException(SR.NotSupported_FixedSizeCollection); 274throw new NotSupportedException(SR.NotSupported_FixedSizeCollection); 279throw new NotSupportedException(SR.NotSupported_FixedSizeCollection); 284throw new NotSupportedException(SR.NotSupported_FixedSizeCollection); 289throw new NotSupportedException(SR.NotSupported_FixedSizeCollection); 294throw new NotSupportedException(SR.NotSupported_FixedSizeCollection);
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Collection.cs (3)
24throw new NotSupportedException(); 29throw new NotSupportedException(); 47throw new NotSupportedException();
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Dictionary.cs (4)
31throw new NotSupportedException(); 52throw new NotSupportedException(); 73throw new NotSupportedException(); 78throw new NotSupportedException();
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.List.cs (3)
36throw new NotSupportedException(); 41throw new NotSupportedException(); 53throw new NotSupportedException();
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Set.cs (5)
24throw new NotSupportedException(); 29throw new NotSupportedException(); 34throw new NotSupportedException(); 69throw new NotSupportedException(); 74throw new NotSupportedException();
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Collection.cs (3)
24throw new NotSupportedException(); 29throw new NotSupportedException(); 54throw new NotSupportedException();
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Set.cs (5)
24throw new NotSupportedException(); 29throw new NotSupportedException(); 34throw new NotSupportedException(); 69throw new NotSupportedException(); 74throw new NotSupportedException();
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (6)
26throw new NotSupportedException(); 31throw new NotSupportedException(); 50throw new NotSupportedException(); 77throw new NotSupportedException(); 93throw new NotSupportedException(); 98throw new NotSupportedException();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\EditorConfigValueSerializer`1.cs (2)
20parseValue: _ => throw new NotSupportedException("Option does not support serialization to editorconfig format"), 21serializeValue: _ => throw new NotSupportedException("Option does not support serialization to editorconfig format"));
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\ConcatImmutableArray`1.cs (1)
58=> throw new NotSupportedException();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SerializableBytes.cs (2)
269=> throw new NotSupportedException(); 272=> throw new NotSupportedException();
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeRefactorings\AbstractRefactoringHelpersService.cs (1)
526throw new NotSupportedException(WorkspaceExtensionsResources.Document_does_not_support_syntax_trees);
Microsoft.CodeAnalysis.Collections.Package (89)
Internal\ThrowHelper.cs (1)
185throw new NotSupportedException(GetResourceString(resource));
Segmented\ImmutableSegmentedDictionary`2.cs (10)
123set => throw new NotSupportedException(); 129set => throw new NotSupportedException(); 349=> throw new NotSupportedException(); 352=> throw new NotSupportedException(); 355=> throw new NotSupportedException(); 358=> throw new NotSupportedException(); 361=> throw new NotSupportedException(); 364=> throw new NotSupportedException(); 367=> throw new NotSupportedException(); 370=> throw new NotSupportedException();
Segmented\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
35=> throw new NotSupportedException();
Segmented\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (2)
35=> throw new NotSupportedException(); 50=> throw new NotSupportedException();
Segmented\ImmutableSegmentedDictionary`2+KeyCollection.cs (3)
49=> throw new NotSupportedException(); 52=> throw new NotSupportedException(); 55=> throw new NotSupportedException();
Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (7)
60readonly IEnumerable<TKey> IReadOnlyDictionary<TKey, TValue>.Keys => throw new NotSupportedException(); 62readonly IEnumerable<TValue> IReadOnlyDictionary<TKey, TValue>.Values => throw new NotSupportedException(); 64readonly ICollection<TKey> IDictionary<TKey, TValue>.Keys => throw new NotSupportedException(); 66readonly ICollection<TValue> IDictionary<TKey, TValue>.Values => throw new NotSupportedException(); 70readonly ICollection IDictionary.Keys => throw new NotSupportedException(); 72readonly ICollection IDictionary.Values => throw new NotSupportedException(); 78readonly object ICollection.SyncRoot => throw new NotSupportedException();
Segmented\ImmutableSegmentedDictionary`2+ValueCollection.cs (3)
49=> throw new NotSupportedException(); 52=> throw new NotSupportedException(); 55=> throw new NotSupportedException();
Segmented\ImmutableSegmentedHashSet`1.cs (8)
369=> throw new NotSupportedException(); 372=> throw new NotSupportedException(); 375=> throw new NotSupportedException(); 378=> throw new NotSupportedException(); 381=> throw new NotSupportedException(); 384=> throw new NotSupportedException(); 387=> throw new NotSupportedException(); 390=> throw new NotSupportedException();
Segmented\ImmutableSegmentedList`1.cs (12)
103set => throw new NotSupportedException(); 109set => throw new NotSupportedException(); 644=> throw new NotSupportedException(); 647=> throw new NotSupportedException(); 650=> throw new NotSupportedException(); 653=> throw new NotSupportedException(); 656=> throw new NotSupportedException(); 659=> throw new NotSupportedException(); 662=> throw new NotSupportedException(); 677=> throw new NotSupportedException(); 680=> throw new NotSupportedException(); 683=> throw new NotSupportedException();
Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
45readonly object ICollection.SyncRoot => throw new NotSupportedException();
Segmented\SegmentedArray.cs (3)
69throw new NotSupportedException(); 164throw new NotSupportedException(); 231throw new NotSupportedException();
Segmented\SegmentedArray`1.cs (9)
191throw new NotSupportedException(SR.NotSupported_FixedSizeCollection); 196throw new NotSupportedException(SR.NotSupported_FixedSizeCollection); 212throw new NotSupportedException(SR.NotSupported_FixedSizeCollection); 269throw new NotSupportedException(SR.NotSupported_FixedSizeCollection); 274throw new NotSupportedException(SR.NotSupported_FixedSizeCollection); 279throw new NotSupportedException(SR.NotSupported_FixedSizeCollection); 284throw new NotSupportedException(SR.NotSupported_FixedSizeCollection); 289throw new NotSupportedException(SR.NotSupported_FixedSizeCollection); 294throw new NotSupportedException(SR.NotSupported_FixedSizeCollection);
Specialized\SpecializedCollections.Empty.Collection.cs (3)
24throw new NotSupportedException(); 29throw new NotSupportedException(); 47throw new NotSupportedException();
Specialized\SpecializedCollections.Empty.Dictionary.cs (4)
31throw new NotSupportedException(); 52throw new NotSupportedException(); 73throw new NotSupportedException(); 78throw new NotSupportedException();
Specialized\SpecializedCollections.Empty.List.cs (3)
36throw new NotSupportedException(); 41throw new NotSupportedException(); 53throw new NotSupportedException();
Specialized\SpecializedCollections.Empty.Set.cs (5)
24throw new NotSupportedException(); 29throw new NotSupportedException(); 34throw new NotSupportedException(); 69throw new NotSupportedException(); 74throw new NotSupportedException();
Specialized\SpecializedCollections.ReadOnly.Collection.cs (3)
24throw new NotSupportedException(); 29throw new NotSupportedException(); 54throw new NotSupportedException();
Specialized\SpecializedCollections.ReadOnly.Set.cs (5)
24throw new NotSupportedException(); 29throw new NotSupportedException(); 34throw new NotSupportedException(); 69throw new NotSupportedException(); 74throw new NotSupportedException();
Specialized\SpecializedCollections.Singleton.Collection`1.cs (6)
26throw new NotSupportedException(); 31throw new NotSupportedException(); 50throw new NotSupportedException(); 77throw new NotSupportedException(); 93throw new NotSupportedException(); 98throw new NotSupportedException();
Microsoft.CodeAnalysis.CSharp (25)
Binder\BinderFactory.cs (1)
43throw new NotSupportedException();
Binder\Semantics\OverloadResolution\MemberResolutionResult.cs (2)
129throw new NotSupportedException(); 134throw new NotSupportedException();
Compilation\CSharpSemanticModel.cs (5)
2430throw new NotSupportedException(); 2451throw new NotSupportedException(); 2462throw new NotSupportedException(); 2473throw new NotSupportedException(); 2486throw new NotSupportedException();
Compilation\MemberSemanticModel.cs (4)
573throw new NotSupportedException(); 578throw new NotSupportedException(); 583throw new NotSupportedException(); 588throw new NotSupportedException();
Compilation\SpeculativeSemanticModelWithMemberModel.cs (4)
237throw new NotSupportedException(); 242throw new NotSupportedException(); 247throw new NotSupportedException(); 252throw new NotSupportedException();
Symbols\LabelSymbol.cs (3)
113throw new NotSupportedException(); 145throw new NotSupportedException(); 157throw new NotSupportedException();
Symbols\PublicModel\TypeSymbol.cs (1)
31throw new System.NotSupportedException();
Symbols\ReferenceManager.cs (2)
90throw new NotSupportedException(string.Format(CSharpResources.CantReferenceCompilationOf, compilationReference.GetType(), "C#")); 292throw new NotSupportedException(string.Format(CodeAnalysisResources.ChangingVersionOfAssemblyReferenceIsNotAllowedDuringDebugging, identity, symbol.Identity.Version));
Syntax\ExtensionDeclarationSyntax.cs (3)
12=> throw new System.NotSupportedException(); 17=> throw new System.NotSupportedException(); 20=> throw new System.NotSupportedException();
Microsoft.CodeAnalysis.CSharp.CodeStyle (5)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\CodeStyle\CSharpCodeStyleOptions_Parsing.cs (5)
44_ => throw new NotSupportedException(), 59_ => throw new NotSupportedException(), 74_ => throw new NotSupportedException(), 88_ => throw new NotSupportedException(string.Format(CSharpCompilerExtensionsResources.EditorConfig_option_0_contains_unrecognized_value_1, "csharp_style_namespace_declarations", value)), 102_ => throw new NotSupportedException(),
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (5)
Emit\DeterministicTests.cs (4)
520set { throw new NotSupportedException(); } 523public override int Read(byte[] buffer, int offset, int count) { throw new NotSupportedException(); } 524public override long Seek(long offset, SeekOrigin origin) { throw new NotSupportedException(); } 525public override void SetLength(long value) { throw new NotSupportedException(); }
Emit\ResourceTests.cs (1)
777new ResourceDescription(r2Name, "nonExistent", () => { throw new NotSupportedException("error in data provider"); }, false)
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (2)
Semantics\ExperimentalAttributeTests.cs (2)
2857_ => throw new NotSupportedException() 2867_ => throw new NotSupportedException()
Microsoft.CodeAnalysis.CSharp.Features (2)
ExtractMethod\CSharpMethodExtractor.CSharpCodeGenerator.cs (1)
1014_ => throw new NotSupportedException("SyntaxNode expected to be MethodDeclarationSyntax or LocalFunctionStatementSyntax."),
ExtractMethod\CSharpMethodExtractor.CSharpCodeGenerator.ExpressionCodeGenerator.cs (1)
77throw new System.NotSupportedException("Unexpected name kind: " + expression.Kind().ToString());
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (3)
Parsing\CrefParsingTests.cs (1)
23throw new NotSupportedException();
Parsing\NameAttributeValueParsingTests.cs (1)
24throw new NotSupportedException();
Parsing\VerbatimCrefParsingTests.cs (1)
23throw new NotSupportedException();
Microsoft.CodeAnalysis.CSharp.Test.Utilities (2)
CompilationTestUtils.cs (1)
326throw new NotSupportedException("Type of syntax node is not supported by GetSemanticInfoSummary");
Extensions.cs (1)
663throw new NotSupportedException("This node type is not supported.");
Microsoft.CodeAnalysis.CSharp.Workspaces (6)
CodeGeneration\CSharpSyntaxGenerator.cs (1)
3364_ => throw new NotSupportedException("Unsupported SpecialType"),
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\CodeStyle\CSharpCodeStyleOptions_Parsing.cs (5)
44_ => throw new NotSupportedException(), 59_ => throw new NotSupportedException(), 74_ => throw new NotSupportedException(), 88_ => throw new NotSupportedException(string.Format(CSharpCompilerExtensionsResources.EditorConfig_option_0_contains_unrecognized_value_1, "csharp_style_namespace_declarations", value)), 102_ => throw new NotSupportedException(),
Microsoft.CodeAnalysis.EditorFeatures (2)
Interactive\InteractiveEvaluator.cs (1)
128throw new NotSupportedException(EditorFeaturesWpfResources.The_CurrentWindow_property_may_only_be_assigned_once);
Shared\Utilities\HACK_TextUndoTransactionThatRollsBackProperly.cs (1)
132=> throw new NotSupportedException();
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (3)
CommentSelection\CommentUncommentSelectionCommandHandlerTests.cs (2)
47throw new NotSupportedException(); 60throw new NotSupportedException();
LinkedFiles\LinkedFileDiffMergingEditorTests.cs (1)
96=> throw new NotSupportedException();
Microsoft.CodeAnalysis.ExpressionEvaluator.FunctionResolver (1)
MetadataDecoder.cs (1)
302return new NotSupportedException();
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider (1)
src\ExpressionEvaluator\Core\Source\ResultProvider\Helpers\TypeWalker.cs (1)
75throw new NotSupportedException();
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider.Utilities (1)
src\ExpressionEvaluator\Core\Source\ResultProvider\Helpers\TypeWalker.cs (1)
75throw new NotSupportedException();
Microsoft.CodeAnalysis.Features (4)
ChangeSignature\AbstractChangeSignatureService.cs (1)
384throw new NotSupportedException(WorkspaceExtensionsResources.Document_does_not_support_syntax_trees);
CodeFixes\Service\CodeFixService.cs (1)
364return (TDocument)(solution.GetTextDocument(document.Id) ?? throw new NotSupportedException(FeaturesResources.Removal_of_document_not_supported));
Structure\Syntax\AbstractSyntaxNodeStructureProvider.cs (1)
20throw new NotSupportedException();
Structure\Syntax\AbstractSyntaxTriviaStructureProvider.cs (1)
20throw new NotSupportedException();
Microsoft.CodeAnalysis.InteractiveHost (89)
src\Dependencies\Collections\Internal\ThrowHelper.cs (1)
185throw new NotSupportedException(GetResourceString(resource));
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (10)
123set => throw new NotSupportedException(); 129set => throw new NotSupportedException(); 349=> throw new NotSupportedException(); 352=> throw new NotSupportedException(); 355=> throw new NotSupportedException(); 358=> throw new NotSupportedException(); 361=> throw new NotSupportedException(); 364=> throw new NotSupportedException(); 367=> throw new NotSupportedException(); 370=> throw new NotSupportedException();
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
35=> throw new NotSupportedException();
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (2)
35=> throw new NotSupportedException(); 50=> throw new NotSupportedException();
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection.cs (3)
49=> throw new NotSupportedException(); 52=> throw new NotSupportedException(); 55=> throw new NotSupportedException();
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (7)
60readonly IEnumerable<TKey> IReadOnlyDictionary<TKey, TValue>.Keys => throw new NotSupportedException(); 62readonly IEnumerable<TValue> IReadOnlyDictionary<TKey, TValue>.Values => throw new NotSupportedException(); 64readonly ICollection<TKey> IDictionary<TKey, TValue>.Keys => throw new NotSupportedException(); 66readonly ICollection<TValue> IDictionary<TKey, TValue>.Values => throw new NotSupportedException(); 70readonly ICollection IDictionary.Keys => throw new NotSupportedException(); 72readonly ICollection IDictionary.Values => throw new NotSupportedException(); 78readonly object ICollection.SyncRoot => throw new NotSupportedException();
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection.cs (3)
49=> throw new NotSupportedException(); 52=> throw new NotSupportedException(); 55=> throw new NotSupportedException();
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (8)
369=> throw new NotSupportedException(); 372=> throw new NotSupportedException(); 375=> throw new NotSupportedException(); 378=> throw new NotSupportedException(); 381=> throw new NotSupportedException(); 384=> throw new NotSupportedException(); 387=> throw new NotSupportedException(); 390=> throw new NotSupportedException();
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (12)
103set => throw new NotSupportedException(); 109set => throw new NotSupportedException(); 644=> throw new NotSupportedException(); 647=> throw new NotSupportedException(); 650=> throw new NotSupportedException(); 653=> throw new NotSupportedException(); 656=> throw new NotSupportedException(); 659=> throw new NotSupportedException(); 662=> throw new NotSupportedException(); 677=> throw new NotSupportedException(); 680=> throw new NotSupportedException(); 683=> throw new NotSupportedException();
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
45readonly object ICollection.SyncRoot => throw new NotSupportedException();
src\Dependencies\Collections\Segmented\SegmentedArray.cs (3)
69throw new NotSupportedException(); 164throw new NotSupportedException(); 231throw new NotSupportedException();
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (9)
191throw new NotSupportedException(SR.NotSupported_FixedSizeCollection); 196throw new NotSupportedException(SR.NotSupported_FixedSizeCollection); 212throw new NotSupportedException(SR.NotSupported_FixedSizeCollection); 269throw new NotSupportedException(SR.NotSupported_FixedSizeCollection); 274throw new NotSupportedException(SR.NotSupported_FixedSizeCollection); 279throw new NotSupportedException(SR.NotSupported_FixedSizeCollection); 284throw new NotSupportedException(SR.NotSupported_FixedSizeCollection); 289throw new NotSupportedException(SR.NotSupported_FixedSizeCollection); 294throw new NotSupportedException(SR.NotSupported_FixedSizeCollection);
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Collection.cs (3)
24throw new NotSupportedException(); 29throw new NotSupportedException(); 47throw new NotSupportedException();
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Dictionary.cs (4)
31throw new NotSupportedException(); 52throw new NotSupportedException(); 73throw new NotSupportedException(); 78throw new NotSupportedException();
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.List.cs (3)
36throw new NotSupportedException(); 41throw new NotSupportedException(); 53throw new NotSupportedException();
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Set.cs (5)
24throw new NotSupportedException(); 29throw new NotSupportedException(); 34throw new NotSupportedException(); 69throw new NotSupportedException(); 74throw new NotSupportedException();
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Collection.cs (3)
24throw new NotSupportedException(); 29throw new NotSupportedException(); 54throw new NotSupportedException();
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Set.cs (5)
24throw new NotSupportedException(); 29throw new NotSupportedException(); 34throw new NotSupportedException(); 69throw new NotSupportedException(); 74throw new NotSupportedException();
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (6)
26throw new NotSupportedException(); 31throw new NotSupportedException(); 50throw new NotSupportedException(); 77throw new NotSupportedException(); 93throw new NotSupportedException(); 98throw new NotSupportedException();
Microsoft.CodeAnalysis.LanguageServer (1)
Services\StarredCompletions\StarredCompletionsAssemblyHelper.cs (1)
143throw new NotSupportedException($"{createCompletionProviderMethodInfo.Name} method could not be invoked");
Microsoft.CodeAnalysis.LanguageServer.Protocol (2)
Features\CodeCleanup\AbstractCodeCleanupService.cs (1)
187return solution.GetDocument(document.Id) ?? throw new NotSupportedException(FeaturesResources.Removal_of_document_not_supported);
Protocol\SumType.cs (1)
884throw new NotSupportedException(LanguageServerProtocolResources.NestedSumType);
Microsoft.CodeAnalysis.PublicApiAnalyzers (4)
src\RoslynAnalyzers\Utilities\Compiler\Lightup\LightupHelpers.cs (1)
149throw new NotSupportedException();
src\RoslynAnalyzers\Utilities\Compiler\RoslynHashCode.cs (2)
435public override readonly int GetHashCode() => throw new NotSupportedException(SR.HashCode_HashCodeNotSupported); 439public override readonly bool Equals(object? obj) => throw new NotSupportedException(SR.HashCode_EqualityNotSupported);
src\RoslynAnalyzers\Utilities\Compiler\SmallDictionary.cs (1)
717throw new NotSupportedException();
Microsoft.CodeAnalysis.PublicApiAnalyzers.UnitTests (1)
DeclarePublicAPIAnalyzerTestsBase.cs (1)
2297throw new NotSupportedException();
Microsoft.CodeAnalysis.ResxSourceGenerator (6)
src\RoslynAnalyzers\Utilities\Compiler\CodeMetrics\CodeAnalysisMetricData.cs (2)
283_ => throw new NotSupportedException(), 321_ => throw new NotSupportedException(),
src\RoslynAnalyzers\Utilities\Compiler\Lightup\LightupHelpers.cs (1)
149throw new NotSupportedException();
src\RoslynAnalyzers\Utilities\Compiler\RoslynHashCode.cs (2)
435public override readonly int GetHashCode() => throw new NotSupportedException(SR.HashCode_HashCodeNotSupported); 439public override readonly bool Equals(object? obj) => throw new NotSupportedException(SR.HashCode_EqualityNotSupported);
src\RoslynAnalyzers\Utilities\Compiler\SmallDictionary.cs (1)
717throw new NotSupportedException();
Microsoft.CodeAnalysis.Test.Utilities (9)
Metadata\DynamicAnalysisDataReader.cs (1)
88throw new NotSupportedException();
Mocks\TestStream.cs (6)
57throw new NotSupportedException(); 73throw new NotSupportedException(); 94throw new NotSupportedException(); 119throw new NotSupportedException(); 129throw new NotSupportedException(); 138throw new NotSupportedException();
Pe\BrokenStream.cs (1)
62ThrownException = new NotSupportedException();
Platform\CoreClr\CoreCLRRuntimeEnvironment.cs (1)
35throw new NotSupportedException();
Microsoft.CodeAnalysis.Threading.Package (89)
src\Dependencies\Collections\Internal\ThrowHelper.cs (1)
185throw new NotSupportedException(GetResourceString(resource));
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (10)
123set => throw new NotSupportedException(); 129set => throw new NotSupportedException(); 349=> throw new NotSupportedException(); 352=> throw new NotSupportedException(); 355=> throw new NotSupportedException(); 358=> throw new NotSupportedException(); 361=> throw new NotSupportedException(); 364=> throw new NotSupportedException(); 367=> throw new NotSupportedException(); 370=> throw new NotSupportedException();
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
35=> throw new NotSupportedException();
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (2)
35=> throw new NotSupportedException(); 50=> throw new NotSupportedException();
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection.cs (3)
49=> throw new NotSupportedException(); 52=> throw new NotSupportedException(); 55=> throw new NotSupportedException();
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (7)
60readonly IEnumerable<TKey> IReadOnlyDictionary<TKey, TValue>.Keys => throw new NotSupportedException(); 62readonly IEnumerable<TValue> IReadOnlyDictionary<TKey, TValue>.Values => throw new NotSupportedException(); 64readonly ICollection<TKey> IDictionary<TKey, TValue>.Keys => throw new NotSupportedException(); 66readonly ICollection<TValue> IDictionary<TKey, TValue>.Values => throw new NotSupportedException(); 70readonly ICollection IDictionary.Keys => throw new NotSupportedException(); 72readonly ICollection IDictionary.Values => throw new NotSupportedException(); 78readonly object ICollection.SyncRoot => throw new NotSupportedException();
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection.cs (3)
49=> throw new NotSupportedException(); 52=> throw new NotSupportedException(); 55=> throw new NotSupportedException();
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (8)
369=> throw new NotSupportedException(); 372=> throw new NotSupportedException(); 375=> throw new NotSupportedException(); 378=> throw new NotSupportedException(); 381=> throw new NotSupportedException(); 384=> throw new NotSupportedException(); 387=> throw new NotSupportedException(); 390=> throw new NotSupportedException();
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (12)
103set => throw new NotSupportedException(); 109set => throw new NotSupportedException(); 644=> throw new NotSupportedException(); 647=> throw new NotSupportedException(); 650=> throw new NotSupportedException(); 653=> throw new NotSupportedException(); 656=> throw new NotSupportedException(); 659=> throw new NotSupportedException(); 662=> throw new NotSupportedException(); 677=> throw new NotSupportedException(); 680=> throw new NotSupportedException(); 683=> throw new NotSupportedException();
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
45readonly object ICollection.SyncRoot => throw new NotSupportedException();
src\Dependencies\Collections\Segmented\SegmentedArray.cs (3)
69throw new NotSupportedException(); 164throw new NotSupportedException(); 231throw new NotSupportedException();
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (9)
191throw new NotSupportedException(SR.NotSupported_FixedSizeCollection); 196throw new NotSupportedException(SR.NotSupported_FixedSizeCollection); 212throw new NotSupportedException(SR.NotSupported_FixedSizeCollection); 269throw new NotSupportedException(SR.NotSupported_FixedSizeCollection); 274throw new NotSupportedException(SR.NotSupported_FixedSizeCollection); 279throw new NotSupportedException(SR.NotSupported_FixedSizeCollection); 284throw new NotSupportedException(SR.NotSupported_FixedSizeCollection); 289throw new NotSupportedException(SR.NotSupported_FixedSizeCollection); 294throw new NotSupportedException(SR.NotSupported_FixedSizeCollection);
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Collection.cs (3)
24throw new NotSupportedException(); 29throw new NotSupportedException(); 47throw new NotSupportedException();
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Dictionary.cs (4)
31throw new NotSupportedException(); 52throw new NotSupportedException(); 73throw new NotSupportedException(); 78throw new NotSupportedException();
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.List.cs (3)
36throw new NotSupportedException(); 41throw new NotSupportedException(); 53throw new NotSupportedException();
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Set.cs (5)
24throw new NotSupportedException(); 29throw new NotSupportedException(); 34throw new NotSupportedException(); 69throw new NotSupportedException(); 74throw new NotSupportedException();
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Collection.cs (3)
24throw new NotSupportedException(); 29throw new NotSupportedException(); 54throw new NotSupportedException();
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Set.cs (5)
24throw new NotSupportedException(); 29throw new NotSupportedException(); 34throw new NotSupportedException(); 69throw new NotSupportedException(); 74throw new NotSupportedException();
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (6)
26throw new NotSupportedException(); 31throw new NotSupportedException(); 50throw new NotSupportedException(); 77throw new NotSupportedException(); 93throw new NotSupportedException(); 98throw new NotSupportedException();
Microsoft.CodeAnalysis.UnitTests (3)
Collections\ImmutablesTestBase.cs (3)
67throw new NotSupportedException($"Unable to compare '{first.GetType()}' for identity."); 87throw new NotSupportedException($"Unable to compare '{first.GetType()}' for identity."); 108throw new NotSupportedException($"Unable to compare '{first.GetType()}' for identity.");
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (1)
Extensions.vb (1)
49Throw New NotSupportedException("This node type is not supported.")
Microsoft.CodeAnalysis.Workspaces (137)
CaseCorrection\AbstractCaseCorrectionService.cs (1)
32throw new NotSupportedException(WorkspaceExtensionsResources.Document_does_not_support_syntax_trees);
CaseCorrection\CaseCorrector.cs (2)
31throw new NotSupportedException(WorkspaceExtensionsResources.Document_does_not_support_syntax_trees); 46throw new NotSupportedException(WorkspaceExtensionsResources.Document_does_not_support_syntax_trees);
CodeActions\CodeAction.cs (1)
377=> throw new NotSupportedException(GetType().FullName);
Options\EmptyOptionSet.cs (1)
17=> throw new NotSupportedException();
src\Compilers\Core\Portable\Hashing\NonCryptographicHashAlgorithm.cs (1)
348throw new NotSupportedException("GetHashCode not supported");
src\Compilers\Core\Portable\InternalUtilities\ConsList`1.cs (1)
77throw new NotSupportedException();
src\Compilers\Core\Portable\InternalUtilities\MultiDictionary.cs (1)
62throw new NotSupportedException();
src\Dependencies\Collections\Internal\ThrowHelper.cs (1)
185throw new NotSupportedException(GetResourceString(resource));
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (10)
123set => throw new NotSupportedException(); 129set => throw new NotSupportedException(); 349=> throw new NotSupportedException(); 352=> throw new NotSupportedException(); 355=> throw new NotSupportedException(); 358=> throw new NotSupportedException(); 361=> throw new NotSupportedException(); 364=> throw new NotSupportedException(); 367=> throw new NotSupportedException(); 370=> throw new NotSupportedException();
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
35=> throw new NotSupportedException();
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (2)
35=> throw new NotSupportedException(); 50=> throw new NotSupportedException();
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection.cs (3)
49=> throw new NotSupportedException(); 52=> throw new NotSupportedException(); 55=> throw new NotSupportedException();
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (7)
60readonly IEnumerable<TKey> IReadOnlyDictionary<TKey, TValue>.Keys => throw new NotSupportedException(); 62readonly IEnumerable<TValue> IReadOnlyDictionary<TKey, TValue>.Values => throw new NotSupportedException(); 64readonly ICollection<TKey> IDictionary<TKey, TValue>.Keys => throw new NotSupportedException(); 66readonly ICollection<TValue> IDictionary<TKey, TValue>.Values => throw new NotSupportedException(); 70readonly ICollection IDictionary.Keys => throw new NotSupportedException(); 72readonly ICollection IDictionary.Values => throw new NotSupportedException(); 78readonly object ICollection.SyncRoot => throw new NotSupportedException();
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection.cs (3)
49=> throw new NotSupportedException(); 52=> throw new NotSupportedException(); 55=> throw new NotSupportedException();
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (8)
369=> throw new NotSupportedException(); 372=> throw new NotSupportedException(); 375=> throw new NotSupportedException(); 378=> throw new NotSupportedException(); 381=> throw new NotSupportedException(); 384=> throw new NotSupportedException(); 387=> throw new NotSupportedException(); 390=> throw new NotSupportedException();
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (12)
103set => throw new NotSupportedException(); 109set => throw new NotSupportedException(); 644=> throw new NotSupportedException(); 647=> throw new NotSupportedException(); 650=> throw new NotSupportedException(); 653=> throw new NotSupportedException(); 656=> throw new NotSupportedException(); 659=> throw new NotSupportedException(); 662=> throw new NotSupportedException(); 677=> throw new NotSupportedException(); 680=> throw new NotSupportedException(); 683=> throw new NotSupportedException();
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
45readonly object ICollection.SyncRoot => throw new NotSupportedException();
src\Dependencies\Collections\Segmented\SegmentedArray.cs (3)
69throw new NotSupportedException(); 164throw new NotSupportedException(); 231throw new NotSupportedException();
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (9)
191throw new NotSupportedException(SR.NotSupported_FixedSizeCollection); 196throw new NotSupportedException(SR.NotSupported_FixedSizeCollection); 212throw new NotSupportedException(SR.NotSupported_FixedSizeCollection); 269throw new NotSupportedException(SR.NotSupported_FixedSizeCollection); 274throw new NotSupportedException(SR.NotSupported_FixedSizeCollection); 279throw new NotSupportedException(SR.NotSupported_FixedSizeCollection); 284throw new NotSupportedException(SR.NotSupported_FixedSizeCollection); 289throw new NotSupportedException(SR.NotSupported_FixedSizeCollection); 294throw new NotSupportedException(SR.NotSupported_FixedSizeCollection);
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Collection.cs (3)
24throw new NotSupportedException(); 29throw new NotSupportedException(); 47throw new NotSupportedException();
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Dictionary.cs (4)
31throw new NotSupportedException(); 52throw new NotSupportedException(); 73throw new NotSupportedException(); 78throw new NotSupportedException();
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.List.cs (3)
36throw new NotSupportedException(); 41throw new NotSupportedException(); 53throw new NotSupportedException();
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Set.cs (5)
24throw new NotSupportedException(); 29throw new NotSupportedException(); 34throw new NotSupportedException(); 69throw new NotSupportedException(); 74throw new NotSupportedException();
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Collection.cs (3)
24throw new NotSupportedException(); 29throw new NotSupportedException(); 54throw new NotSupportedException();
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Set.cs (5)
24throw new NotSupportedException(); 29throw new NotSupportedException(); 34throw new NotSupportedException(); 69throw new NotSupportedException(); 74throw new NotSupportedException();
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (6)
26throw new NotSupportedException(); 31throw new NotSupportedException(); 50throw new NotSupportedException(); 77throw new NotSupportedException(); 93throw new NotSupportedException(); 98throw new NotSupportedException();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\EditorConfigValueSerializer`1.cs (2)
20parseValue: _ => throw new NotSupportedException("Option does not support serialization to editorconfig format"), 21serializeValue: _ => throw new NotSupportedException("Option does not support serialization to editorconfig format"));
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\ConcatImmutableArray`1.cs (1)
58=> throw new NotSupportedException();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SerializableBytes.cs (2)
269=> throw new NotSupportedException(); 272=> throw new NotSupportedException();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeRefactorings\AbstractRefactoringHelpersService.cs (1)
526throw new NotSupportedException(WorkspaceExtensionsResources.Document_does_not_support_syntax_trees);
Workspace\Host\HostWorkspaceServices.cs (1)
142=> throw new NotSupportedException(string.Format(WorkspacesResources.The_language_0_is_not_supported, languageName));
Workspace\Solution\ProjectState.cs (2)
794throw new NotSupportedException(WorkspacesResources.Removing_compilation_options_is_not_supported); 812throw new NotSupportedException(WorkspacesResources.Removing_parse_options_is_not_supported);
Workspace\Solution\SolutionCompilationState.cs (2)
569throw new NotSupportedException(WorkspacesResources.Changing_project_language_is_not_supported); 574throw new NotSupportedException(WorkspacesResources.Changing_project_between_ordinary_and_interactive_submission_is_not_supported);
Workspace\Solution\SourceGeneratedDocumentState.cs (3)
163=> throw new NotSupportedException(WorkspacesResources.The_contents_of_a_SourceGeneratedDocument_may_not_be_changed); 166=> throw new NotSupportedException(WorkspacesResources.The_contents_of_a_SourceGeneratedDocument_may_not_be_changed); 169=> throw new NotSupportedException(WorkspacesResources.The_contents_of_a_SourceGeneratedDocument_may_not_be_changed);
Workspace\Solution\TextDocumentStates.cs (1)
281=> throw new NotSupportedException();
Workspace\Workspace.cs (23)
1691throw new NotSupportedException(WorkspacesResources.Removing_projects_is_not_supported); 1696throw new NotSupportedException(WorkspacesResources.Adding_projects_is_not_supported); 1701throw new NotSupportedException(WorkspacesResources.Adding_analyzer_references_is_not_supported); 1706throw new NotSupportedException(WorkspacesResources.Removing_analyzer_references_is_not_supported); 1746throw new NotSupportedException(WorkspacesResources.Changing_compilation_options_is_not_supported); 1755throw new NotSupportedException(WorkspacesResources.Changing_parse_options_is_not_supported); 1760throw new NotSupportedException(WorkspacesResources.Adding_documents_is_not_supported); 1765throw new NotSupportedException(WorkspacesResources.Removing_documents_is_not_supported); 1771throw new NotSupportedException(WorkspacesResources.Changing_document_property_is_not_supported); 1778throw new NotSupportedException(WorkspacesResources.Changing_documents_is_not_supported); 1789throw new NotSupportedException(string.Format(WorkspacesResources.Changing_document_0_is_not_supported, document.FilePath ?? document.Name)); 1795throw new NotSupportedException(WorkspacesResources.Adding_additional_documents_is_not_supported); 1800throw new NotSupportedException(WorkspacesResources.Removing_additional_documents_is_not_supported); 1805throw new NotSupportedException(WorkspacesResources.Changing_additional_documents_is_not_supported); 1810throw new NotSupportedException(WorkspacesResources.Adding_analyzer_config_documents_is_not_supported); 1815throw new NotSupportedException(WorkspacesResources.Removing_analyzer_config_documents_is_not_supported); 1820throw new NotSupportedException(WorkspacesResources.Changing_analyzer_config_documents_is_not_supported); 1825throw new NotSupportedException(WorkspacesResources.Adding_project_references_is_not_supported); 1830throw new NotSupportedException(WorkspacesResources.Removing_project_references_is_not_supported); 1835throw new NotSupportedException(WorkspacesResources.Adding_project_references_is_not_supported); 1840throw new NotSupportedException(WorkspacesResources.Removing_project_references_is_not_supported); 1845throw new NotSupportedException(WorkspacesResources.Adding_analyzer_references_is_not_supported); 1850throw new NotSupportedException(WorkspacesResources.Removing_analyzer_references_is_not_supported);
Workspace\Workspace_Editor.cs (2)
155throw new NotSupportedException(WorkspacesResources.This_workspace_does_not_support_opening_and_closing_documents); 296=> throw new NotSupportedException();
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (95)
src\Compilers\Core\Portable\InternalUtilities\ConsList`1.cs (1)
77throw new NotSupportedException();
src\Compilers\Core\Portable\InternalUtilities\MultiDictionary.cs (1)
62throw new NotSupportedException();
src\Compilers\Core\Portable\InternalUtilities\ReadOnlyUnmanagedMemoryStream.cs (2)
131throw new NotSupportedException(); 136throw new NotSupportedException();
src\Dependencies\Collections\Internal\ThrowHelper.cs (1)
185throw new NotSupportedException(GetResourceString(resource));
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (10)
123set => throw new NotSupportedException(); 129set => throw new NotSupportedException(); 349=> throw new NotSupportedException(); 352=> throw new NotSupportedException(); 355=> throw new NotSupportedException(); 358=> throw new NotSupportedException(); 361=> throw new NotSupportedException(); 364=> throw new NotSupportedException(); 367=> throw new NotSupportedException(); 370=> throw new NotSupportedException();
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
35=> throw new NotSupportedException();
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (2)
35=> throw new NotSupportedException(); 50=> throw new NotSupportedException();
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection.cs (3)
49=> throw new NotSupportedException(); 52=> throw new NotSupportedException(); 55=> throw new NotSupportedException();
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (7)
60readonly IEnumerable<TKey> IReadOnlyDictionary<TKey, TValue>.Keys => throw new NotSupportedException(); 62readonly IEnumerable<TValue> IReadOnlyDictionary<TKey, TValue>.Values => throw new NotSupportedException(); 64readonly ICollection<TKey> IDictionary<TKey, TValue>.Keys => throw new NotSupportedException(); 66readonly ICollection<TValue> IDictionary<TKey, TValue>.Values => throw new NotSupportedException(); 70readonly ICollection IDictionary.Keys => throw new NotSupportedException(); 72readonly ICollection IDictionary.Values => throw new NotSupportedException(); 78readonly object ICollection.SyncRoot => throw new NotSupportedException();
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection.cs (3)
49=> throw new NotSupportedException(); 52=> throw new NotSupportedException(); 55=> throw new NotSupportedException();
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (8)
369=> throw new NotSupportedException(); 372=> throw new NotSupportedException(); 375=> throw new NotSupportedException(); 378=> throw new NotSupportedException(); 381=> throw new NotSupportedException(); 384=> throw new NotSupportedException(); 387=> throw new NotSupportedException(); 390=> throw new NotSupportedException();
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (12)
103set => throw new NotSupportedException(); 109set => throw new NotSupportedException(); 644=> throw new NotSupportedException(); 647=> throw new NotSupportedException(); 650=> throw new NotSupportedException(); 653=> throw new NotSupportedException(); 656=> throw new NotSupportedException(); 659=> throw new NotSupportedException(); 662=> throw new NotSupportedException(); 677=> throw new NotSupportedException(); 680=> throw new NotSupportedException(); 683=> throw new NotSupportedException();
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
45readonly object ICollection.SyncRoot => throw new NotSupportedException();
src\Dependencies\Collections\Segmented\SegmentedArray.cs (3)
69throw new NotSupportedException(); 164throw new NotSupportedException(); 231throw new NotSupportedException();
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (9)
191throw new NotSupportedException(SR.NotSupported_FixedSizeCollection); 196throw new NotSupportedException(SR.NotSupported_FixedSizeCollection); 212throw new NotSupportedException(SR.NotSupported_FixedSizeCollection); 269throw new NotSupportedException(SR.NotSupported_FixedSizeCollection); 274throw new NotSupportedException(SR.NotSupported_FixedSizeCollection); 279throw new NotSupportedException(SR.NotSupported_FixedSizeCollection); 284throw new NotSupportedException(SR.NotSupported_FixedSizeCollection); 289throw new NotSupportedException(SR.NotSupported_FixedSizeCollection); 294throw new NotSupportedException(SR.NotSupported_FixedSizeCollection);
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Collection.cs (3)
24throw new NotSupportedException(); 29throw new NotSupportedException(); 47throw new NotSupportedException();
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Dictionary.cs (4)
31throw new NotSupportedException(); 52throw new NotSupportedException(); 73throw new NotSupportedException(); 78throw new NotSupportedException();
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.List.cs (3)
36throw new NotSupportedException(); 41throw new NotSupportedException(); 53throw new NotSupportedException();
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Set.cs (5)
24throw new NotSupportedException(); 29throw new NotSupportedException(); 34throw new NotSupportedException(); 69throw new NotSupportedException(); 74throw new NotSupportedException();
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Collection.cs (3)
24throw new NotSupportedException(); 29throw new NotSupportedException(); 54throw new NotSupportedException();
src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Set.cs (5)
24throw new NotSupportedException(); 29throw new NotSupportedException(); 34throw new NotSupportedException(); 69throw new NotSupportedException(); 74throw new NotSupportedException();
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (6)
26throw new NotSupportedException(); 31throw new NotSupportedException(); 50throw new NotSupportedException(); 77throw new NotSupportedException(); 93throw new NotSupportedException(); 98throw new NotSupportedException();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SerializableBytes.cs (2)
269=> throw new NotSupportedException(); 272=> throw new NotSupportedException();
Microsoft.CodeAnalysis.Workspaces.UnitTests (1)
SymbolKeyTests.cs (1)
1490throw new NotSupportedException();
Microsoft.CodeAnalysis.XunitHook (1)
XunitDisposeHook.cs (1)
52throw new NotSupportedException();
Microsoft.Data.Analysis (179)
Computations\Arithmetic.cs (41)
119throw new NotSupportedException(); 194protected virtual void Add(ReadOnlySpan<T> x, ReadOnlySpan<T> y, Span<T> destination) => throw new NotSupportedException(); 195protected virtual void Add(ReadOnlySpan<T> x, T y, Span<T> destination) => throw new NotSupportedException(); 196protected virtual void Add(T x, ReadOnlySpan<T> y, Span<T> destination) => throw new NotSupportedException(); 197protected virtual void Subtract(ReadOnlySpan<T> x, ReadOnlySpan<T> y, Span<T> destination) => throw new NotSupportedException(); 198protected virtual void Subtract(ReadOnlySpan<T> x, T y, Span<T> destination) => throw new NotSupportedException(); 199protected virtual void Subtract(T x, ReadOnlySpan<T> y, Span<T> destination) => throw new NotSupportedException(); 200protected virtual void Multiply(ReadOnlySpan<T> x, ReadOnlySpan<T> y, Span<T> destination) => throw new NotSupportedException(); 201protected virtual void Multiply(ReadOnlySpan<T> x, T y, Span<T> destination) => throw new NotSupportedException(); 202protected virtual void Multiply(T x, ReadOnlySpan<T> y, Span<T> destination) => throw new NotSupportedException(); 203protected virtual void Divide(ReadOnlySpan<T> x, ReadOnlySpan<T> y, Span<T> destination) => throw new NotSupportedException(); 204protected virtual void Divide(ReadOnlySpan<T> x, T y, Span<T> destination) => throw new NotSupportedException(); 205protected virtual void Divide(T x, ReadOnlySpan<T> y, Span<T> destination) => throw new NotSupportedException(); 206protected virtual void Modulo(ReadOnlySpan<T> x, ReadOnlySpan<T> y, Span<T> destination) => throw new NotSupportedException(); 207protected virtual void Modulo(ReadOnlySpan<T> x, T y, Span<T> destination) => throw new NotSupportedException(); 208protected virtual void Modulo(T x, ReadOnlySpan<T> y, Span<T> destination) => throw new NotSupportedException(); 210protected virtual T Divide(T x, T y) => throw new NotSupportedException(); 211protected virtual T Modulo(T x, T y) => throw new NotSupportedException(); 213protected virtual void And(ReadOnlySpan<T> x, ReadOnlySpan<T> y, Span<T> destination) => throw new NotSupportedException(); 214protected virtual void And(ReadOnlySpan<T> x, T y, Span<T> destination) => throw new NotSupportedException(); 215protected virtual void And(T x, ReadOnlySpan<T> y, Span<T> destination) => throw new NotSupportedException(); 216protected virtual void Or(ReadOnlySpan<T> x, ReadOnlySpan<T> y, Span<T> destination) => throw new NotSupportedException(); 217protected virtual void Or(ReadOnlySpan<T> x, T y, Span<T> destination) => throw new NotSupportedException(); 218protected virtual void Or(T x, ReadOnlySpan<T> y, Span<T> destination) => throw new NotSupportedException(); 219protected virtual void Xor(ReadOnlySpan<T> x, ReadOnlySpan<T> y, Span<T> destination) => throw new NotSupportedException(); 220protected virtual void Xor(ReadOnlySpan<T> x, T y, Span<T> destination) => throw new NotSupportedException(); 221protected virtual void Xor(T x, ReadOnlySpan<T> y, Span<T> destination) => throw new NotSupportedException(); 223protected virtual void LeftShift(ReadOnlySpan<T> x, int y, Span<T> destination) => throw new NotSupportedException(); 224protected virtual void RightShift(ReadOnlySpan<T> x, int y, Span<T> destination) => throw new NotSupportedException(); 226protected virtual void ElementwiseEquals(ReadOnlySpan<T> x, ReadOnlySpan<T> y, Span<bool> destination) => throw new NotSupportedException(); 227protected virtual void ElementwiseEquals(ReadOnlySpan<T> x, T y, Span<bool> destination) => throw new NotSupportedException(); 228protected virtual void ElementwiseNotEquals(ReadOnlySpan<T> x, ReadOnlySpan<T> y, Span<bool> destination) => throw new NotSupportedException(); 229protected virtual void ElementwiseNotEquals(ReadOnlySpan<T> x, T y, Span<bool> destination) => throw new NotSupportedException(); 230protected virtual void ElementwiseGreaterThanOrEqual(ReadOnlySpan<T> x, ReadOnlySpan<T> y, Span<bool> destination) => throw new NotSupportedException(); 231protected virtual void ElementwiseGreaterThanOrEqual(ReadOnlySpan<T> x, T y, Span<bool> destination) => throw new NotSupportedException(); 232protected virtual void ElementwiseLessThanOrEqual(ReadOnlySpan<T> x, ReadOnlySpan<T> y, Span<bool> destination) => throw new NotSupportedException(); 233protected virtual void ElementwiseLessThanOrEqual(ReadOnlySpan<T> x, T y, Span<bool> destination) => throw new NotSupportedException(); 234protected virtual void ElementwiseGreaterThan(ReadOnlySpan<T> x, ReadOnlySpan<T> y, Span<bool> destination) => throw new NotSupportedException(); 235protected virtual void ElementwiseGreaterThan(ReadOnlySpan<T> x, T y, Span<bool> destination) => throw new NotSupportedException(); 236protected virtual void ElementwiseLessThan(ReadOnlySpan<T> x, ReadOnlySpan<T> y, Span<bool> destination) => throw new NotSupportedException(); 237protected virtual void ElementwiseLessThan(ReadOnlySpan<T> x, T y, Span<bool> destination) => throw new NotSupportedException();
Computations\Arithmetic.net8.cs (9)
260throw new NotSupportedException(); 284throw new NotSupportedException(); 308throw new NotSupportedException(); 320throw new NotSupportedException(); 325throw new NotSupportedException(); 351throw new NotSupportedException(); 378throw new NotSupportedException(); 461throw new NotSupportedException(); 732throw new NotSupportedException();
Converters.cs (11)
33throw new NotSupportedException(); 70throw new NotSupportedException(); 115throw new NotSupportedException(); 174throw new NotSupportedException(); 241throw new NotSupportedException(); 322throw new NotSupportedException(); 411throw new NotSupportedException(); 514throw new NotSupportedException(); 621throw new NotSupportedException(); 739throw new NotSupportedException(); 868throw new NotSupportedException();
DataFrame.IO.cs (1)
345throw new NotSupportedException(nameof(kind));
DataFrameColumns\ArrowStringDataFrameColumn.cs (7)
278protected override void SetValue(long rowIndex, object value) => throw new NotSupportedException(Strings.ImmutableColumn); 289set => throw new NotSupportedException(Strings.ImmutableColumn); 366protected internal override PrimitiveDataFrameColumn<long> GetSortIndices(bool ascending, bool putNullValuesLast) => throw new NotSupportedException(); 519throw new NotSupportedException(nameof(TKey)); 535throw new NotSupportedException(); 577public override DataFrameColumn Clamp<U>(U min, U max, bool inPlace = false) => throw new NotSupportedException(); 579public override DataFrameColumn Filter<U>(U min, U max) => throw new NotSupportedException();
DataFrameColumns\StringDataFrameColumn.cs (2)
196public override DataFrameColumn Clamp<U>(U min, U max, bool inPlace = false) => throw new NotSupportedException(); 198public override DataFrameColumn Filter<U>(U min, U max) => throw new NotSupportedException();
DataFrameColumns\VBufferDataFrameColumn.cs (2)
124throw new NotSupportedException("Null values are not supported by VBufferDataFrameColumn"); 372throw new NotSupportedException();
DateTimeComputation.cs (12)
17throw new NotSupportedException(); 22throw new NotSupportedException(); 27throw new NotSupportedException(); 176throw new NotSupportedException(); 181throw new NotSupportedException(); 186throw new NotSupportedException(); 191throw new NotSupportedException(); 311throw new NotSupportedException(); 316throw new NotSupportedException(); 321throw new NotSupportedException(); 326throw new NotSupportedException(); 331throw new NotSupportedException();
IDataView.Extension.cs (2)
125throw new NotSupportedException(String.Format(Microsoft.Data.Strings.NotSupportedColumnType, type.RawType.Name)); 212throw new NotSupportedException(String.Format(Microsoft.Data.Strings.VectorSubTypeNotSupported, itemType.ToString()));
PrimitiveDataFrameColumn.BinaryOperations.cs (14)
52throw new NotSupportedException(); 90throw new NotSupportedException(); 128throw new NotSupportedException(); 166throw new NotSupportedException(); 204throw new NotSupportedException(); 242throw new NotSupportedException(); 280throw new NotSupportedException(); 318throw new NotSupportedException(); 475throw new NotSupportedException(); 527throw new NotSupportedException(); 577throw new NotSupportedException(); 627throw new NotSupportedException(); 677throw new NotSupportedException(); 727throw new NotSupportedException();
PrimitiveDataFrameColumn.cs (34)
856throw new NotSupportedException("Type is " + typeof(T).Name); 969throw new NotSupportedException(); 973throw new NotSupportedException(); 994throw new NotSupportedException(); 1008throw new NotSupportedException(); 1038throw new NotSupportedException(); 1047throw new NotSupportedException(); 1051throw new NotSupportedException(); 1072throw new NotSupportedException(); 1086throw new NotSupportedException(); 1116throw new NotSupportedException(); 1125throw new NotSupportedException(); 1129throw new NotSupportedException(); 1149throw new NotSupportedException(); 1163throw new NotSupportedException(); 1192throw new NotSupportedException(); 1203throw new NotSupportedException(); 1211throw new NotSupportedException(); 1220throw new NotSupportedException(); 1232throw new NotSupportedException(); 1234throw new NotSupportedException(); 1236throw new NotSupportedException(); 1273throw new NotSupportedException(); 1275throw new NotSupportedException(); 1291throw new NotSupportedException(); 1297throw new NotSupportedException(); 1313throw new NotSupportedException(); 1329throw new NotSupportedException(); 1351throw new NotSupportedException(); 1362throw new NotSupportedException(); 1368throw new NotSupportedException(); 1384throw new NotSupportedException(); 1400throw new NotSupportedException(); 1422throw new NotSupportedException();
PrimitiveDataFrameColumnComputations.cs (43)
111throw new NotSupportedException(); 119throw new NotSupportedException(); 160throw new NotSupportedException(); 165throw new NotSupportedException(); 170throw new NotSupportedException(); 175throw new NotSupportedException(); 180throw new NotSupportedException(); 185throw new NotSupportedException(); 190throw new NotSupportedException(); 195throw new NotSupportedException(); 200throw new NotSupportedException(); 205throw new NotSupportedException(); 210throw new NotSupportedException(); 215throw new NotSupportedException(); 220throw new NotSupportedException(); 225throw new NotSupportedException(); 230throw new NotSupportedException(); 235throw new NotSupportedException(); 240throw new NotSupportedException(); 263throw new NotSupportedException(); 268throw new NotSupportedException(); 750throw new NotSupportedException(); 755throw new NotSupportedException(); 1237throw new NotSupportedException(); 1242throw new NotSupportedException(); 1724throw new NotSupportedException(); 1729throw new NotSupportedException(); 2211throw new NotSupportedException(); 2216throw new NotSupportedException(); 2698throw new NotSupportedException(); 2703throw new NotSupportedException(); 3185throw new NotSupportedException(); 3190throw new NotSupportedException(); 3672throw new NotSupportedException(); 3677throw new NotSupportedException(); 4159throw new NotSupportedException(); 4164throw new NotSupportedException(); 4646throw new NotSupportedException(); 4651throw new NotSupportedException(); 5133throw new NotSupportedException(); 5138throw new NotSupportedException(); 5620throw new NotSupportedException(); 5625throw new NotSupportedException();
ReadOnlyDataFrameBuffer.cs (1)
74set => throw new NotSupportedException();
Microsoft.DotNet.Helix.Client (1)
HelixApiTokenAuthenticationPolicy.cs (1)
43throw new NotSupportedException("Sync method not supported");
Microsoft.DotNet.SwaggerGenerator.CodeGenerator (6)
Languages\angular\Angular.cs (3)
100throw new NotSupportedException(reference.ToString()); 189throw new NotSupportedException(reference.ToString()); 278throw new NotSupportedException(reference.ToString());
Languages\csharp\CSharp.cs (1)
161throw new NotSupportedException(reference.ToString());
Modeler\ServiceClientModelFactory.cs (2)
235throw new NotSupportedException(type.ToString()); 367throw new NotSupportedException(type);
Microsoft.DotNet.XUnitAssert.Tests (1)
EqualityAssertsTests.cs (1)
4544 throw new NotSupportedException();
Microsoft.Extensions.AI (8)
Functions\AIFunctionFactory.Utilities.cs (4)
82set => throw new NotSupportedException(); 98public override int Read(byte[] buffer, int offset, int count) => throw new NotSupportedException(); 99public override long Seek(long offset, SeekOrigin origin) => throw new NotSupportedException(); 100public override void SetLength(long value) => throw new NotSupportedException();
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (3)
36set => throw new NotSupportedException(); 58void IDictionary<TKey, TValue>.Add(TKey key, TValue value) => throw new NotSupportedException(); 60void ICollection<KeyValuePair<TKey, TValue>>.Add(KeyValuePair<TKey, TValue> item) => throw new NotSupportedException();
src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
34void ICollection<T>.Add(T item) => throw new NotSupportedException();
Microsoft.Extensions.AI.Abstractions (11)
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (3)
36set => throw new NotSupportedException(); 58void IDictionary<TKey, TValue>.Add(TKey key, TValue value) => throw new NotSupportedException(); 60void ICollection<KeyValuePair<TKey, TValue>>.Add(KeyValuePair<TKey, TValue> item) => throw new NotSupportedException();
src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
34void ICollection<T>.Add(T item) => throw new NotSupportedException();
src\Shared\JsonSchemaExporter\JsonSchemaExporter.cs (1)
798throw new NotSupportedException("Schema generation not supported with ReferenceHandler.Preserve enabled.");
Utilities\AIJsonUtilities.cs (6)
218public override long Length => throw new NotSupportedException(); 219public override long Position { get => throw new NotSupportedException(); set => throw new NotSupportedException(); } 220public override int Read(byte[] buffer, int offset, int count) => throw new NotSupportedException(); 221public override long Seek(long offset, SeekOrigin origin) => throw new NotSupportedException(); 222public override void SetLength(long value) => throw new NotSupportedException();
Microsoft.Extensions.AI.AzureAIInference (4)
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (3)
36set => throw new NotSupportedException(); 58void IDictionary<TKey, TValue>.Add(TKey key, TValue value) => throw new NotSupportedException(); 60void ICollection<KeyValuePair<TKey, TValue>>.Add(KeyValuePair<TKey, TValue> item) => throw new NotSupportedException();
src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
34void ICollection<T>.Add(T item) => throw new NotSupportedException();
Microsoft.Extensions.AI.Evaluation.Console (1)
Commands\ReportCommand.cs (1)
90_ => throw new NotSupportedException(),
Microsoft.Extensions.AI.Evaluation.Quality (1)
EvaluationMetricExtensions.cs (1)
147throw new NotSupportedException($"{metric.GetType().Name} is not supported.");
Microsoft.Extensions.AI.Evaluation.Safety (5)
ContentSafetyChatClient.cs (2)
91throw new NotSupportedException(); 130throw new NotSupportedException();
ContentSafetyServicePayloadUtilities.cs (3)
74_ => throw new NotSupportedException($"The payload kind '{payloadFormat}' is not supported."), 182throw new NotSupportedException( 260throw new NotSupportedException(
Microsoft.Extensions.AI.Ollama (4)
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (3)
36set => throw new NotSupportedException(); 58void IDictionary<TKey, TValue>.Add(TKey key, TValue value) => throw new NotSupportedException(); 60void ICollection<KeyValuePair<TKey, TValue>>.Add(KeyValuePair<TKey, TValue> item) => throw new NotSupportedException();
src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
34void ICollection<T>.Add(T item) => throw new NotSupportedException();
Microsoft.Extensions.AI.OpenAI (4)
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (3)
36set => throw new NotSupportedException(); 58void IDictionary<TKey, TValue>.Add(TKey key, TValue value) => throw new NotSupportedException(); 60void ICollection<KeyValuePair<TKey, TValue>>.Add(KeyValuePair<TKey, TValue> item) => throw new NotSupportedException();
src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
34void ICollection<T>.Add(T item) => throw new NotSupportedException();
Microsoft.Extensions.AI.Tests (1)
Functions\AIFunctionFactoryTest.cs (1)
869public static void StaticMethod() => throw new NotSupportedException();
Microsoft.Extensions.Caching.Hybrid (2)
Internal\TagSet.cs (2)
50public override bool Equals(object? obj) => throw new NotSupportedException(); 54public override int GetHashCode() => throw new NotSupportedException();
Microsoft.Extensions.Caching.Hybrid.Tests (19)
DistributedCacheTests.cs (2)
379public override MemoryHandle Pin(int elementIndex = 0) => throw new NotSupportedException(); 380public override void Unpin() => throw new NotSupportedException();
ServiceConstructionTests.cs (2)
319Customer IHybridCacheSerializer<Customer>.Deserialize(ReadOnlySequence<byte> source) => throw new NotSupportedException(); 320void IHybridCacheSerializer<Customer>.Serialize(Customer value, IBufferWriter<byte> target) => throw new NotSupportedException();
StampedeTests.cs (11)
39ICacheEntry IMemoryCache.CreateEntry(object key) => throw new NotSupportedException("Intentionally not provided"); 41byte[]? IDistributedCache.Get(string key) => throw new NotSupportedException("Intentionally not provided"); 43Task<byte[]?> IDistributedCache.GetAsync(string key, CancellationToken token) => throw new NotSupportedException("Intentionally not provided"); 45void IDistributedCache.Refresh(string key) => throw new NotSupportedException("Intentionally not provided"); 47Task IDistributedCache.RefreshAsync(string key, CancellationToken token) => throw new NotSupportedException("Intentionally not provided"); 49void IDistributedCache.Remove(string key) => throw new NotSupportedException("Intentionally not provided"); 51void IMemoryCache.Remove(object key) => throw new NotSupportedException("Intentionally not provided"); 53Task IDistributedCache.RemoveAsync(string key, CancellationToken token) => throw new NotSupportedException("Intentionally not provided"); 55void IDistributedCache.Set(string key, byte[] value, DistributedCacheEntryOptions options) => throw new NotSupportedException("Intentionally not provided"); 57Task IDistributedCache.SetAsync(string key, byte[] value, DistributedCacheEntryOptions options, CancellationToken token) => throw new NotSupportedException("Intentionally not provided"); 59bool IMemoryCache.TryGetValue(object key, out object? value) => throw new NotSupportedException("Intentionally not provided");
UnreliableL2Tests.cs (4)
161public byte[]? Get(string key) => throw new NotSupportedException(); // only async API in use 166public void Refresh(string key) => throw new NotSupportedException(); // only async API in use 171public void Remove(string key) => throw new NotSupportedException(); // only async API in use 176public void Set(string key, byte[] value, DistributedCacheEntryOptions options) => throw new NotSupportedException(); // only async API in use
Microsoft.Extensions.Caching.Memory (1)
MemoryCache.cs (1)
616throw new NotSupportedException("Not implemented: " + entry.Priority);
Microsoft.Extensions.Caching.StackExchangeRedis.Tests (4)
CacheServiceExtensionsTests.cs (4)
188=> throw new NotSupportedException(); 191=> throw new NotSupportedException(); 194=> throw new NotSupportedException(); 197=> throw new NotSupportedException();
Microsoft.Extensions.DependencyInjection (2)
ServiceLookup\CallSiteVisitor.cs (1)
54throw new NotSupportedException(SR.Format(SR.CallSiteTypeNotSupported, callSite.GetType()));
ServiceLookup\Expressions\ExpressionResolverBuilder.cs (1)
297throw new NotSupportedException(SR.GetCaptureDisposableNotSupported);
Microsoft.Extensions.DependencyModel (1)
DependencyContextWriter.cs (1)
254throw new NotSupportedException();
Microsoft.Extensions.Diagnostics.HealthChecks.Tests (1)
src\Shared\test\Shared.Tests\SingleThreadedSynchronizationContext.cs (1)
18throw new NotSupportedException($"{nameof(SingleThreadedSynchronizationContext)} does not support synchronous operations.");
Microsoft.Extensions.Diagnostics.ResourceMonitoring (5)
Linux\LinuxUtilizationParserCgroupV1.cs (5)
97public float GetCgroupLimitV2() => throw new NotSupportedException(); 98public float GetCgroupRequestCpuV2() => throw new NotSupportedException(); 99public long GetCgroupCpuUsageInNanosecondsV2() => throw new NotSupportedException(); 100public (long cpuUsageNanoseconds, long elapsedPeriods) GetCgroupCpuUsageInNanosecondsAndCpuPeriodsV2() => throw new NotSupportedException(); 101public long GetCgroupPeriodsIntervalInMicroSecondsV2() => throw new NotSupportedException();
Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests (1)
Linux\Resources\FileNamesOnlyFileSystem.cs (1)
23throw new NotSupportedException();
Microsoft.Extensions.Hosting (4)
HostApplicationBuilder.cs (4)
290throw new NotSupportedException(SR.Format(SR.ApplicationNameChangeNotSupported, previousApplicationName, config[HostDefaults.ApplicationKey])); 294throw new NotSupportedException(SR.Format(SR.EnvironmentNameChangeNotSupoprted, previousEnvironment, config[HostDefaults.EnvironmentKey])); 302throw new NotSupportedException(SR.Format(SR.ContentRootChangeNotSupported, previousContentRootConfig, currentContentRootConfig)); 342public IHost Build() => throw new NotSupportedException();
Microsoft.Extensions.Http.Diagnostics (7)
Logging\Internal\HttpClientLogger.cs (3)
130=> throw new NotSupportedException(SyncLoggingExceptionMessage); 133=> throw new NotSupportedException(SyncLoggingExceptionMessage); 136=> throw new NotSupportedException(SyncLoggingExceptionMessage);
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (3)
36set => throw new NotSupportedException(); 58void IDictionary<TKey, TValue>.Add(TKey key, TValue value) => throw new NotSupportedException(); 60void ICollection<KeyValuePair<TKey, TValue>>.Add(KeyValuePair<TKey, TValue> item) => throw new NotSupportedException();
src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
34void ICollection<T>.Add(T item) => throw new NotSupportedException();
Microsoft.Extensions.Http.Diagnostics.PerformanceTests (3)
NotSeekableStream.cs (2)
28public override long Position { get => _innerStream.Position; set => throw new NotSupportedException("This is not a seekable stream."); } 42public override long Seek(long offset, SeekOrigin origin) => throw new NotSupportedException("This is not a seekable stream.");
StaticOptionsMonitor.cs (1)
22=> throw new NotSupportedException();
Microsoft.Extensions.Http.Diagnostics.Tests (2)
Logging\Internal\TestEnricher.cs (1)
33throw new NotSupportedException("Synthetic exception from enricher");
Logging\Internal\TestHttpMessageHandlerBuilder.cs (1)
21public override HttpMessageHandler Build() => throw new NotSupportedException("Test");
Microsoft.Extensions.Http.Polly.Tests (1)
src\Shared\test\Shared.Tests\SingleThreadedSynchronizationContext.cs (1)
18throw new NotSupportedException($"{nameof(SingleThreadedSynchronizationContext)} does not support synchronous operations.");
Microsoft.Extensions.Http.Resilience.Tests (1)
Resilience\HttpClientBuilderExtensionsTests.Standard.cs (1)
291_ => throw new NotSupportedException()
Microsoft.Extensions.Identity.Core (19)
RoleManager.cs (2)
112throw new NotSupportedException(Resources.StoreNotIQueryableRoleStore); 442throw new NotSupportedException(Resources.StoreNotIRoleClaimStore);
UserManager.cs (17)
386throw new NotSupportedException(Resources.StoreNotIQueryableUserStore); 1557throw new NotSupportedException(Resources.FormatNoTokenProvider(nameof(TUser), tokenProvider)); 1587throw new NotSupportedException(Resources.FormatNoTokenProvider(nameof(TUser), tokenProvider)); 1645throw new NotSupportedException(Resources.FormatNoTokenProvider(nameof(TUser), tokenProvider)); 1672throw new NotSupportedException(Resources.FormatNoTokenProvider(nameof(TUser), tokenProvider)); 2149throw new NotSupportedException(Resources.StoreNotIUserTwoFactorStore); 2159throw new NotSupportedException(Resources.StoreNotIUserLockoutStore); 2168throw new NotSupportedException(Resources.StoreNotIUserEmailStore); 2183throw new NotSupportedException(Resources.StoreNotIUserPhoneNumberStore); 2239throw new NotSupportedException(Resources.StoreNotIUserRoleStore); 2261throw new NotSupportedException(Resources.StoreNotIUserLoginStore); 2271throw new NotSupportedException(Resources.StoreNotIUserSecurityStampStore); 2281throw new NotSupportedException(Resources.StoreNotIUserClaimStore); 2388throw new NotSupportedException(Resources.StoreNotIUserAuthenticatorKeyStore); 2398throw new NotSupportedException(Resources.StoreNotIUserTwoFactorRecoveryCodeStore); 2408throw new NotSupportedException(Resources.StoreNotIUserAuthenticationTokenStore); 2418throw new NotSupportedException(Resources.StoreNotIUserPasswordStore);
Microsoft.Extensions.ObjectPool.DependencyInjection.Tests (3)
TestResources\OtherTestClass.cs (3)
10int ITestClass.ResetCalled => throw new NotSupportedException(); 12int ITestClass.DisposedCalled => throw new NotSupportedException(); 16throw new NotSupportedException();
Microsoft.Extensions.Options.Contextual.Tests (1)
ContextualOptionsFactoryTests.cs (1)
213new(string.Empty, (context, _) => throw new NotSupportedException()),
Microsoft.Extensions.Primitives (7)
StringValues.cs (7)
125set => throw new NotSupportedException(); 388void ICollection<string?>.Add(string? item) => throw new NotSupportedException(); 390void IList<string?>.Insert(int index, string? item) => throw new NotSupportedException(); 392bool ICollection<string?>.Remove(string? item) => throw new NotSupportedException(); 394void IList<string?>.RemoveAt(int index) => throw new NotSupportedException(); 396void ICollection<string?>.Clear() => throw new NotSupportedException(); 830throw new NotSupportedException();
Microsoft.Extensions.Telemetry.Tests (1)
Logging\ExtendedLoggerTests.cs (1)
1153where TState : notnull => throw new NotSupportedException();
Microsoft.Gen.ComplianceReports.Unit.Tests (6)
GeneratorTests.cs (2)
203public override AnalyzerConfigOptions GetOptions(SyntaxTree tree) => throw new System.NotSupportedException(); 204public override AnalyzerConfigOptions GetOptions(AdditionalText textFile) => throw new System.NotSupportedException();
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (3)
36set => throw new NotSupportedException(); 58void IDictionary<TKey, TValue>.Add(TKey key, TValue value) => throw new NotSupportedException(); 60void ICollection<KeyValuePair<TKey, TValue>>.Add(KeyValuePair<TKey, TValue> item) => throw new NotSupportedException();
src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
34void ICollection<T>.Add(T item) => throw new NotSupportedException();
Microsoft.Gen.ContextualOptions.Unit.Tests (4)
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (3)
36set => throw new NotSupportedException(); 58void IDictionary<TKey, TValue>.Add(TKey key, TValue value) => throw new NotSupportedException(); 60void ICollection<KeyValuePair<TKey, TValue>>.Add(KeyValuePair<TKey, TValue> item) => throw new NotSupportedException();
src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
34void ICollection<T>.Add(T item) => throw new NotSupportedException();
Microsoft.Gen.Logging.Generated.Tests (16)
test\Generators\Microsoft.Gen.Logging\TestClasses\FormattableTestExtensions.cs (16)
30public readonly TypeCode GetTypeCode() => throw new NotSupportedException(); 31public readonly bool ToBoolean(IFormatProvider? provider) => throw new NotSupportedException(); 32public readonly byte ToByte(IFormatProvider? provider) => throw new NotSupportedException(); 33public readonly char ToChar(IFormatProvider? provider) => throw new NotSupportedException(); 34public readonly DateTime ToDateTime(IFormatProvider? provider) => throw new NotSupportedException(); 35public readonly decimal ToDecimal(IFormatProvider? provider) => throw new NotSupportedException(); 36public readonly double ToDouble(IFormatProvider? provider) => throw new NotSupportedException(); 37public readonly short ToInt16(IFormatProvider? provider) => throw new NotSupportedException(); 38public readonly int ToInt32(IFormatProvider? provider) => throw new NotSupportedException(); 39public readonly long ToInt64(IFormatProvider? provider) => throw new NotSupportedException(); 40public readonly sbyte ToSByte(IFormatProvider? provider) => throw new NotSupportedException(); 41public readonly float ToSingle(IFormatProvider? provider) => throw new NotSupportedException(); 42public readonly object ToType(Type conversionType, IFormatProvider? provider) => throw new NotSupportedException(); 43public readonly ushort ToUInt16(IFormatProvider? provider) => throw new NotSupportedException(); 44public readonly uint ToUInt32(IFormatProvider? provider) => throw new NotSupportedException(); 45public readonly ulong ToUInt64(IFormatProvider? provider) => throw new NotSupportedException();
Microsoft.Gen.Logging.Unit.Tests (4)
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (3)
36set => throw new NotSupportedException(); 58void IDictionary<TKey, TValue>.Add(TKey key, TValue value) => throw new NotSupportedException(); 60void ICollection<KeyValuePair<TKey, TValue>>.Add(KeyValuePair<TKey, TValue> item) => throw new NotSupportedException();
src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
34void ICollection<T>.Add(T item) => throw new NotSupportedException();
Microsoft.Gen.MetadataExtractor (1)
src\Generators\Microsoft.Gen.MetricsReports\MetricDefinitionEmitter.cs (1)
152throw new NotSupportedException($"Report for metric kind: '{metricMethod.Kind}' is not supported.");
Microsoft.Gen.MetadataExtractor.Unit.Tests (6)
GeneratorTests.cs (2)
256public override AnalyzerConfigOptions GetOptions(SyntaxTree tree) => throw new NotSupportedException(); 257public override AnalyzerConfigOptions GetOptions(AdditionalText textFile) => throw new NotSupportedException();
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (3)
36set => throw new NotSupportedException(); 58void IDictionary<TKey, TValue>.Add(TKey key, TValue value) => throw new NotSupportedException(); 60void ICollection<KeyValuePair<TKey, TValue>>.Add(KeyValuePair<TKey, TValue> item) => throw new NotSupportedException();
src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
34void ICollection<T>.Add(T item) => throw new NotSupportedException();
Microsoft.Gen.Metrics (2)
Emitter.cs (1)
179throw new NotSupportedException($"Instrument type '{metricMethod.InstrumentKind}' is not supported to generate metric");
MetricFactoryEmitter.cs (1)
132_ => throw new NotSupportedException($"Metric type '{metricMethod.InstrumentKind}' is not supported to generate factory"),
Microsoft.Gen.Metrics.Unit.Tests (4)
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (3)
36set => throw new NotSupportedException(); 58void IDictionary<TKey, TValue>.Add(TKey key, TValue value) => throw new NotSupportedException(); 60void ICollection<KeyValuePair<TKey, TValue>>.Add(KeyValuePair<TKey, TValue> item) => throw new NotSupportedException();
src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
34void ICollection<T>.Add(T item) => throw new NotSupportedException();
Microsoft.Gen.MetricsReports (1)
MetricDefinitionEmitter.cs (1)
152throw new NotSupportedException($"Report for metric kind: '{metricMethod.Kind}' is not supported.");
Microsoft.Gen.MetricsReports.Unit.Tests (6)
GeneratorTests.cs (2)
193public override AnalyzerConfigOptions GetOptions(SyntaxTree tree) => throw new NotSupportedException(); 194public override AnalyzerConfigOptions GetOptions(AdditionalText textFile) => throw new NotSupportedException();
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (3)
36set => throw new NotSupportedException(); 58void IDictionary<TKey, TValue>.Add(TKey key, TValue value) => throw new NotSupportedException(); 60void ICollection<KeyValuePair<TKey, TValue>>.Add(KeyValuePair<TKey, TValue> item) => throw new NotSupportedException();
src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
34void ICollection<T>.Add(T item) => throw new NotSupportedException();
Microsoft.JSInterop (4)
Infrastructure\DotNetStreamReferenceJsonConverter.cs (1)
21=> throw new NotSupportedException($"{nameof(DotNetStreamReference)} cannot be supplied from JavaScript to .NET because the stream contents have already been transferred.");
JSRuntime.cs (3)
226throw new NotSupportedException("JSRuntime subclasses are responsible for implementing byte array transfer to JS."); 265throw new NotSupportedException("The current JavaScript runtime does not support reading data streams."); 320throw new NotSupportedException("The current JS runtime does not support sending streams from .NET to JS.");
Microsoft.Maui (20)
Converters\CornerRadiusTypeConverter.cs (1)
75 throw new NotSupportedException();
Converters\EasingTypeConverter.cs (2)
56 throw new NotSupportedException(); 71 _ => throw new NotSupportedException(),
Converters\FlexEnumsConverters.cs (7)
42 throw new NotSupportedException(); 77 throw new NotSupportedException(); 116 throw new NotSupportedException(); 151 throw new NotSupportedException(); 186 throw new NotSupportedException(); 219 throw new NotSupportedException(); 261 throw new NotSupportedException();
Converters\KeyboardTypeConverter.cs (2)
47 throw new NotSupportedException(); 72 throw new NotSupportedException();
Converters\ThicknessTypeConverter.cs (1)
96 throw new NotSupportedException();
Primitives\GridLength.cs (2)
102 _ => throw new NotSupportedException(), 106 public override object ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type? destinationType) => throw new NotSupportedException();
Primitives\SizeRequest.cs (2)
63 _ => throw new NotSupportedException(), 76 throw new NotSupportedException();
SoftInputExtensions.cs (3)
151 static bool HideSoftInput(this object _) => throw new NotSupportedException(); 153 static bool ShowSoftInput(this object _) => throw new NotSupportedException(); 155 static bool IsSoftInputShowing(this object _) => throw new NotSupportedException();
Microsoft.Maui.Controls (90)
AcceleratorTypeConverter.cs (1)
38 throw new NotSupportedException();
BindableLayout\BindableLayout.cs (1)
301 throw new NotSupportedException($"You are using an instance of {nameof(DataTemplateSelector)} to set the {nameof(BindableLayout)}.{BindableLayout.ItemTemplateProperty.PropertyName} property. Use {nameof(BindableLayout)}.{BindableLayout.ItemTemplateSelectorProperty.PropertyName} property instead to set an item template selector");
BindablePropertyConverter.cs (1)
165 throw new NotSupportedException();
Brush\BrushTypeConverter.cs (1)
91 throw new NotSupportedException();
Button\Button.cs (1)
610 => throw new NotSupportedException();
ColumnDefinitionCollectionTypeConverter.cs (1)
41 throw new NotSupportedException();
DataTemplateSelector.cs (2)
27 throw new NotSupportedException( 33 throw new NotSupportedException(
DecorableTextElement.cs (2)
52 throw new NotSupportedException(); 61 throw new NotSupportedException();
DoubleCollectionConverter.cs (1)
50 throw new NotSupportedException();
Element\Element.cs (7)
1084 Element IList<Element>.this[int index] { get => _inner[index]; set => throw new NotSupportedException(); } 1090 void ICollection<Element>.Add(Element item) => throw new NotSupportedException(); 1092 void ICollection<Element>.Clear() => throw new NotSupportedException(); 1096 void ICollection<Element>.CopyTo(Element[] array, int arrayIndex) => throw new NotSupportedException(); 1104 void IList<Element>.Insert(int index, Element item) => throw new NotSupportedException(); 1106 bool ICollection<Element>.Remove(Element item) => throw new NotSupportedException(); 1108 void IList<Element>.RemoveAt(int index) => throw new NotSupportedException();
FileImageSourceConverter.cs (1)
29 throw new NotSupportedException();
FlowDirectionConverter.cs (1)
38 throw new NotSupportedException();
FontAttributes.cs (1)
69 throw new NotSupportedException();
FontSizeConverter.cs (1)
106 throw new NotSupportedException();
FormattedString.cs (2)
107 throw new NotSupportedException(); 117 throw new NotSupportedException();
GridLengthTypeConverter.cs (1)
41 throw new NotSupportedException();
ImageSourceConverter.cs (1)
40 throw new NotSupportedException();
Items\CarouselLayoutTypeConverter.cs (2)
33 throw new NotSupportedException(); 41 throw new NotSupportedException();
Items\ItemsLayoutTypeConverter.cs (1)
64 throw new NotSupportedException();
Layout\BoundsTypeConverter.cs (1)
59 throw new NotSupportedException();
LayoutOptionsConverter.cs (2)
63 throw new NotSupportedException(); 72 throw new NotSupportedException();
LegacyLayouts\ConstraintTypeConverter.cs (1)
29 => throw new NotSupportedException();
ListProxy.cs (8)
415 set { throw new NotSupportedException(); } 435 get { throw new NotSupportedException(); } 440 throw new NotSupportedException(); 445 throw new NotSupportedException(); 450 throw new NotSupportedException(); 455 throw new NotSupportedException(); 460 throw new NotSupportedException(); 465 throw new NotSupportedException();
ListStringTypeConverter.cs (1)
32 throw new NotSupportedException();
ObservableWrapper.cs (5)
29 throw new NotSupportedException("The collection is read-only."); 41 throw new NotSupportedException("The collection is read-only."); 93 throw new NotSupportedException("The collection is read-only."); 135 throw new NotSupportedException("The collection is read-only."); 160 throw new NotSupportedException("The collection is read-only");
OrderedDictionary.cs (6)
378 throw new NotSupportedException(); 383 throw new NotSupportedException(); 416 throw new NotSupportedException(); 437 throw new NotSupportedException(); 443 set { throw new NotSupportedException(); } 448 throw new NotSupportedException();
ReferenceTypeConverter.cs (1)
50 => throw new NotSupportedException();
ResourceDictionary.cs (1)
459 throw new NotSupportedException();
RowDefinitionCollectionTypeConverter.cs (1)
40 throw new NotSupportedException();
Shapes\MatrixTypeConverter.cs (1)
42 throw new NotSupportedException();
Shapes\PathGeometryConverter.cs (1)
28 => throw new NotSupportedException();
Shapes\PointCollectionConverter.cs (1)
64 throw new NotSupportedException();
Shapes\TransformTypeConverter.cs (1)
26 throw new NotSupportedException();
Shell\ShellContent.cs (5)
99 throw new NotSupportedException($"Shell is currently not compatible with TabbedPage. Please use TabBar, Tab or switch to using NavigationPage for your {Application.Current}.MainPage"); 102 throw new NotSupportedException("Shell is currently not compatible with FlyoutPage."); 105 throw new NotSupportedException("Shell is currently not compatible with NavigationPage. Shell has Navigation built in and doesn't require a NavigationPage."); 443 throw new NotSupportedException(); 448 throw new NotSupportedException();
Shell\ShellItem.cs (2)
367 _ => throw new NotSupportedException(), 371 => throw new NotSupportedException();
Shell\ShellNavigationState.cs (2)
107 public override object ConvertTo(ITypeDescriptorContext context, CultureInfo cultureInfo, object value, Type destinationType) => throw new NotSupportedException(); 117 _ => throw new NotSupportedException(),
Shell\ShellSection.cs (2)
1263 public override object ConvertTo(ITypeDescriptorContext context, CultureInfo cultureInfo, object value, Type destinationType) => throw new NotSupportedException(); 1272 _ => throw new NotSupportedException(),
StyleSheets\StyleSheet.cs (1)
73 throw new NotSupportedException("AT-rules not supported");
TemplatedItemsList.cs (6)
274 throw new NotSupportedException(); 279 throw new NotSupportedException(); 301 throw new NotSupportedException(); 323 set { throw new NotSupportedException(); } 328 throw new NotSupportedException(); 333 throw new NotSupportedException();
TemplateUtilities.cs (1)
123 throw new NotSupportedException("ControlTemplate must return a type derived from View.");
TextAlignment.cs (2)
47 throw new NotSupportedException(); 54 throw new NotSupportedException();
ToStringValueConverter.cs (1)
20 public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture) => throw new NotSupportedException();
TypeTypeConverter.cs (1)
33 => throw new NotSupportedException();
UriTypeConverter.cs (1)
29 throw new NotSupportedException();
VisualElement\VisualElement.cs (1)
2463 throw new NotSupportedException();
Visuals\VisualTypeConverter.cs (2)
179 throw new NotSupportedException(); 189 throw new NotSupportedException();
WebView\WebViewSource.cs (2)
38 public override object ConvertTo(ITypeDescriptorContext context, CultureInfo cultureInfo, object value, Type destinationType) => throw new NotSupportedException(); 48 _ => throw new NotSupportedException(),
WebView\WebViewSourceTypeConverter.cs (1)
29 throw new NotSupportedException();
Microsoft.Maui.Controls.BindingSourceGen (5)
AccessExpressionBuilder.cs (1)
18 _ => throw new NotSupportedException($"Unsupported path part type: {nextPart.GetType()}"),
BindingSourceGenerator.cs (1)
172 _ => throw new NotSupportedException()
HashCode.cs (2)
151 public override int GetHashCode() => throw new NotSupportedException(); 155 public override bool Equals(object obj) => throw new NotSupportedException();
InvocationParser.cs (1)
27 _ => throw new NotSupportedException()
Microsoft.Maui.Controls.Build.Tasks (1)
ExpandMarkupsVisitor.cs (1)
197 throw new NotSupportedException();
Microsoft.Maui.Controls.Maps (1)
Map.cs (1)
287 throw new NotSupportedException(
Microsoft.Maui.Controls.Xaml (1)
ExpandMarkupsVisitor.cs (1)
184 throw new NotSupportedException();
Microsoft.Maui.Essentials (1)
Preferences\Preferences.shared.cs (1)
290 throw new NotSupportedException($"Preferences using '{type}' type is not supported");
Microsoft.Maui.Graphics (9)
Converters\ColorTypeConverter.cs (1)
24 throw new NotSupportedException();
Converters\PointFTypeConverter.cs (1)
40 throw new NotSupportedException();
Converters\PointTypeConverter.cs (1)
40 throw new NotSupportedException();
Converters\RectFTypeConverter.cs (1)
34 throw new NotSupportedException();
Converters\RectTypeConverter.cs (1)
35 throw new NotSupportedException();
Converters\SizeFTypeConverter.cs (1)
33 throw new NotSupportedException();
Converters\SizeTypeConverter.cs (1)
33 throw new NotSupportedException();
PictureCanvas.cs (2)
266 throw new NotSupportedException(); 271 throw new NotSupportedException();
Microsoft.Maui.Graphics.Skia (1)
SkiaImage.cs (1)
154 throw new NotSupportedException();
Microsoft.Maui.Graphics.Win2D.WinUI.Desktop (1)
src\Graphics\src\Graphics\Platforms\Windows\AsyncPump.cs (1)
109 throw new NotSupportedException("Synchronously sending is not supported.");
Microsoft.ML.AutoML (8)
Experiment\MetricsAgents\MetricsAgentUtil.cs (1)
13return new NotSupportedException($"{optimizingMetric} is not a supported sweep metric");
TrainerExtensions\TrainerExtensionCatalog.cs (1)
101throw new NotSupportedException($"unsupported machine learning task type {task}");
TrainerExtensions\TrainerExtensionUtil.cs (5)
318throw new NotSupportedException($"{binaryTrainer} not supported"); 340throw new NotSupportedException($"{multiTrainer} not supported"); 362throw new NotSupportedException($"{regressionTrainer} not supported"); 376throw new NotSupportedException($"{rankingTrainer} not supported"); 388throw new NotSupportedException($"{recommendationTrainer} not supported");
Utils\UserInputValidationUtil.cs (1)
323throw new NotSupportedException($"Unsupported task type: {task}");
Microsoft.ML.Core (8)
Utilities\Contracts.cs (6)
434=> Process(new NotSupportedException()); 436=> Process(new NotSupportedException(), ctx); 438=> Process(new NotSupportedException(msg)); 440=> Process(new NotSupportedException(msg), ctx); 442=> Process(new NotSupportedException(GetMsg(msg, args))); 444=> Process(new NotSupportedException(GetMsg(msg, args)), ctx);
Utilities\ResourceManagerUtils.cs (2)
120throw new NotSupportedException("The function ResourceManagerUtils.EnsureResourceAsync only supports downloading from URLs of the host \"aka.ms\""); 276throw new NotSupportedException($"The provided url ({uri}) redirects to the default url ({DefaultUrl})");
Microsoft.ML.CpuMath (6)
src\Microsoft.ML.Core\Utilities\Contracts.cs (6)
434=> Process(new NotSupportedException()); 436=> Process(new NotSupportedException(), ctx); 438=> Process(new NotSupportedException(msg)); 440=> Process(new NotSupportedException(msg), ctx); 442=> Process(new NotSupportedException(GetMsg(msg, args))); 444=> Process(new NotSupportedException(GetMsg(msg, args)), ctx);
Microsoft.ML.Data (2)
DataLoadSave\Database\DatabaseLoaderCursor.cs (1)
289throw new NotSupportedException();
DataLoadSave\Database\DbExtensions.cs (1)
142throw new NotSupportedException();
Microsoft.ML.GenAI.LLaMA (2)
Llama3_1ChatTemplateBuilder.cs (2)
69throw new NotSupportedException($"Only text content is supported, but got {item.GetType().Name}"); 79_ => throw new NotSupportedException($"Unsupported role {message.Role}")
Microsoft.ML.GenAI.Phi (2)
Phi3\Phi3ChatTemplateBuilder.cs (2)
72throw new NotSupportedException($"Only text content is supported, but got {item.GetType().Name}"); 80_ => throw new NotSupportedException($"Unsupported role {message.Role}")
Microsoft.ML.TensorFlow (3)
TensorflowUtils.cs (1)
152throw new NotSupportedException("TensorFlow type not supported.");
TensorTypeExtensions.cs (2)
29throw new NotSupportedException(); 41throw new NotSupportedException();
Microsoft.ML.Tokenizers (2)
Model\TiktokenTokenizer.cs (2)
1123throw new NotSupportedException($"The model '{modelName}' is not supported."); 1161throw new NotSupportedException($"The model '{modelName ?? modelEncoding.ToString()}' is not supported.");
Microsoft.ML.TorchSharp (3)
NasBert\Modules\ActivationFunction.cs (1)
28_ => throw new NotSupportedException($"Activation function {name} not supported.")
NasBert\Modules\SearchSpace.cs (1)
221_ => throw new NotSupportedException(
Utils\FileUtils.cs (1)
50throw new NotSupportedException($"Type {typeof(T)} not supported in data loading.");
Microsoft.VisualBasic.Core (1)
Microsoft\VisualBasic\CompilerServices\VBBinder.vb (1)
1594Throw New NotSupportedException
Microsoft.VisualBasic.Tests (1)
Microsoft\VisualBasic\MyServices\ClipboardProxyTests.cs (1)
157: throw new NotSupportedException($"Can't resolve {typeName.AssemblyQualifiedName}");
Microsoft.VisualStudio.LanguageServices (8)
DebuggerIntelliSense\DebuggerTextView.cs (5)
316=> throw new NotSupportedException(); 319=> throw new NotSupportedException(); 322=> throw new NotSupportedException(); 325=> throw new NotSupportedException(); 331=> throw new NotSupportedException();
StackTraceExplorer\StackTraceExplorerCommandHandler.cs (1)
156throw new NotSupportedException("Cannot create tool window");
Venus\ContainedLanguageCodeSupport.cs (2)
438throw new NotSupportedException(ServicesVSResources.Can_t_rename_other_elements); 457throw new NotSupportedException(ServicesVSResources.IDs_are_not_supported_for_this_symbol_type);
Microsoft.VisualStudio.LanguageServices.CodeLens (1)
ReferenceCodeLensProvider.cs (1)
235throw new NotSupportedException(nameof(kind));
Microsoft.VisualStudio.LanguageServices.CSharp (11)
CodeModel\CSharpCodeModelService.cs (6)
1567throw new NotSupportedException(); 1573throw new NotSupportedException(); 1579throw new NotSupportedException(); 1621throw new NotSupportedException(); 1627throw new NotSupportedException(); 1633throw new NotSupportedException();
CodeModel\CSharpCodeModelService.NodeLocator.cs (2)
80throw new NotSupportedException(); 131throw new NotSupportedException();
ProjectSystemShim\CSharpProjectShim.IVsEditorFactoryNotify.cs (3)
20=> throw new NotSupportedException(); 23=> throw new NotSupportedException(); 26=> throw new NotSupportedException();
MSBuild (4)
BufferedReadStream.cs (4)
45get { throw new NotSupportedException(); } 46set { throw new NotSupportedException(); } 187throw new NotSupportedException(); 192throw new NotSupportedException();
MSBuildTaskHost (15)
BufferedReadStream.cs (4)
45get { throw new NotSupportedException(); } 46set { throw new NotSupportedException(); } 187throw new NotSupportedException(); 192throw new NotSupportedException();
Immutable\ImmutableDictionary.cs (11)
202public IEqualityComparer<K> KeyComparer { get => _backing.Comparer; internal set => throw new NotSupportedException(); } 233set { throw new NotSupportedException(); } 238throw new NotSupportedException(); 243throw new NotSupportedException(); 248throw new NotSupportedException(); 254set { throw new NotSupportedException(); } 259throw new NotSupportedException(); 264throw new NotSupportedException(); 269throw new NotSupportedException(); 274throw new NotSupportedException(); 279throw new NotSupportedException();
PresentationBuildTasks (2)
Microsoft\Build\Tasks\Windows\ResourcesGenerator.cs (2)
93throw new NotSupportedException(); 99throw new NotSupportedException();
PresentationCore (158)
MS\Internal\AppModel\SiteOfOriginContainer.cs (3)
205throw new NotSupportedException(); 210throw new NotSupportedException(); 215throw new NotSupportedException();
MS\Internal\Automation\InteropAutomationProvider.cs (1)
88throw new NotSupportedException();
MS\Internal\FontCache\FontFaceLayoutInfo.cs (10)
329throw new NotSupportedException(); 351throw new NotSupportedException(); 613throw new NotSupportedException(); 631throw new NotSupportedException(); 691throw new NotSupportedException(); 701throw new NotSupportedException(); 706throw new NotSupportedException(); 746throw new NotSupportedException(); 864throw new NotSupportedException(); 874throw new NotSupportedException();
MS\Internal\FontFace\TypefaceCollection.cs (3)
37throw new NotSupportedException(); 42throw new NotSupportedException(); 103throw new NotSupportedException();
MS\Internal\IO\Packaging\ByteRangeDownloader.cs (1)
544_erroredOutException = new NotSupportedException(SR.ByteRangeRequestIsNotSupported);
MS\Internal\IO\Packaging\DeobfuscatingStream.cs (2)
72throw new NotSupportedException(SR.WriteNotSupported); 95throw new NotSupportedException(SR.SetLengthNotSupported);
MS\Internal\IO\Packaging\NetStream.cs (2)
301throw new NotSupportedException(SR.SetLengthNotSupported); 311throw new NotSupportedException(SR.WriteNotSupported);
MS\Internal\IO\Packaging\PseudoWebRequest.cs (4)
72throw new NotSupportedException(); 140throw new NotSupportedException(); 293throw new NotSupportedException(); 301throw new NotSupportedException();
MS\Internal\PartialArray.cs (5)
61throw new NotSupportedException(SR.CollectionIsFixedSize); 66throw new NotSupportedException(SR.CollectionIsFixedSize); 71throw new NotSupportedException(); 76throw new NotSupportedException(SR.CollectionIsFixedSize); 81throw new NotSupportedException(SR.CollectionIsFixedSize);
MS\Internal\TextFormatting\TextMarkerSource.cs (1)
197throw new NotSupportedException();
MS\Internal\TextFormatting\TextStore.cs (1)
1696throw new NotSupportedException();
MS\Internal\TextFormatting\ThousandthOfEmRealDoubles.cs (4)
220throw new NotSupportedException(SR.CollectionIsFixedSize); 226throw new NotSupportedException(SR.CollectionIsFixedSize); 232throw new NotSupportedException(SR.CollectionIsFixedSize); 238throw new NotSupportedException(SR.CollectionIsFixedSize);
MS\Internal\TextFormatting\ThousandthOfEmRealPoints.cs (4)
164throw new NotSupportedException(SR.CollectionIsFixedSize); 170throw new NotSupportedException(SR.CollectionIsFixedSize); 176throw new NotSupportedException(SR.CollectionIsFixedSize); 182throw new NotSupportedException(SR.CollectionIsFixedSize);
src\Microsoft.DotNet.Wpf\src\Common\Graphics\wgx_render.cs (9)
816return new System.NotSupportedException(SR.Image_PropertyNotSupported, exceptionForHR); 825return new System.NotSupportedException(SR.Image_NoThumbnail, exceptionForHR); 841return new System.NotSupportedException(SR.Image_ComponentNotFound, exceptionForHR); 863return new System.NotSupportedException(SR.Image_UnsupportedPixelFormat, exceptionForHR); 866return new System.NotSupportedException(SR.Image_UnsupportedOperation, exceptionForHR); 896return new System.NotSupportedException(SR.Image_StreamNotAvailable, exceptionForHR); 917return new System.NotSupportedException(SR.Format(SR.Media_InsufficientVideoResources, null), exceptionForHR); 920return new System.NotSupportedException(SR.Format(SR.Media_HardwareVideoAccelerationNotAvailable, null), exceptionForHR); 923return new System.NotSupportedException(SR.Format(SR.Media_PlayerIsClosed, null), exceptionForHR);
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\CharacterBuffer.cs (8)
75throw new NotSupportedException(); 87throw new NotSupportedException(); 97throw new NotSupportedException(); 103throw new NotSupportedException(); 132throw new NotSupportedException(); 187set { throw new NotSupportedException(); } 286set { throw new NotSupportedException(); } 401set { throw new NotSupportedException(); }
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\PartialList.cs (6)
47throw new NotSupportedException(); 53throw new NotSupportedException(); 65throw new NotSupportedException(); 93throw new NotSupportedException(); 99throw new NotSupportedException(); 110throw new NotSupportedException();
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\SequentialUshortCollection.cs (3)
21throw new NotSupportedException(); 26throw new NotSupportedException(); 66throw new NotSupportedException();
System\IO\Packaging\PackWebRequest.cs (2)
101throw new NotSupportedException(); 250throw new NotSupportedException();
System\Windows\DataObjectExtensions.cs (1)
21throw new NotSupportedException(string.Format(
System\Windows\Ink\StrokeCollection.cs (1)
858throw new NotSupportedException(SR.StrokeCollectionIsReadOnly);
System\Windows\Input\Command\CommandBindingCollection.cs (4)
130throw new NotSupportedException(SR.CollectionOnlyAcceptsCommandBindings); 166throw new NotSupportedException(SR.CollectionOnlyAcceptsCommandBindings); 192throw new NotSupportedException(SR.CollectionOnlyAcceptsCommandBindings); 210throw new NotSupportedException(SR.CollectionOnlyAcceptsCommandBindings);
System\Windows\Input\Command\InputBindingCollection.cs (4)
144throw new NotSupportedException(SR.CollectionOnlyAcceptsInputBindings); 207throw new NotSupportedException(SR.CollectionOnlyAcceptsInputBindings); 261throw new NotSupportedException(SR.CollectionOnlyAcceptsInputBindings); 276throw new NotSupportedException(SR.CollectionOnlyAcceptsInputBindings);
System\Windows\Input\Command\InputGestureCollection.cs (13)
99throw new NotSupportedException(SR.ReadOnlyInputGesturesCollection); 111throw new NotSupportedException(SR.ReadOnlyInputGesturesCollection); 123throw new NotSupportedException(SR.ReadOnlyInputGesturesCollection); 141throw new NotSupportedException(SR.CollectionOnlyAcceptsInputGestures); 174throw new NotSupportedException(SR.ReadOnlyInputGesturesCollection); 223throw new NotSupportedException(SR.ReadOnlyInputGesturesCollection); 247throw new NotSupportedException(SR.ReadOnlyInputGesturesCollection); 267throw new NotSupportedException(SR.ReadOnlyInputGesturesCollection); 287throw new NotSupportedException(SR.CollectionOnlyAcceptsInputGestures); 301throw new NotSupportedException(SR.ReadOnlyInputGesturesCollection); 304throw new NotSupportedException(SR.CollectionOnlyAcceptsInputGestures); 328throw new NotSupportedException(SR.ReadOnlyInputGesturesCollection); 357throw new NotSupportedException(SR.ReadOnlyInputGesturesCollection);
System\Windows\Input\Command\KeyGesture.cs (1)
100throw new NotSupportedException(SR.Format(SR.KeyGesture_Invalid, modifiers, key));
System\Windows\Input\Command\MouseActionConverter.cs (1)
70_ => throw new NotSupportedException(SR.Format(SR.Unsupported_MouseAction, mouseActionToken.ToString()))
System\Windows\Media\Animation\Clock.cs (1)
613throw new NotSupportedException(SR.Timing_CanSlipOnlyOnSimpleTimelines);
System\Windows\Media\Animation\ClockGroup.cs (1)
127throw new NotSupportedException(SR.Timing_SlipBehavior_SlipOnlyOnSimpleTimelines);
System\Windows\Media\Animation\KeySplineConverter.cs (1)
67throw new NotSupportedException(SR.Converter_ConvertFromNotSupported);
System\Windows\Media\Animation\TimelineClockCollection.cs (3)
62throw new NotSupportedException(); 72throw new NotSupportedException(); 82throw new NotSupportedException();
System\Windows\Media\ColorContext.cs (1)
194throw new NotSupportedException(); // standard scRGB profile does not exist yet
System\Windows\Media\ColorTransform.cs (1)
134throw new NotSupportedException(); // Only support color spaces with 3,4,5,6,7,8 channels
System\Windows\Media\FamilyMapCollection.cs (1)
358throw new NotSupportedException(SR.General_ObjectIsReadOnly);
System\Windows\Media\FamilyTypeface.cs (1)
270throw new NotSupportedException(SR.General_ObjectIsReadOnly);
System\Windows\Media\FamilyTypefaceCollection.cs (1)
350throw new NotSupportedException(SR.General_ObjectIsReadOnly);
System\Windows\Media\FontFamily.cs (1)
301throw new NotSupportedException(SR.FontFamily_ReadOnly);
System\Windows\Media\Fonts.cs (3)
291throw new NotSupportedException(); 296throw new NotSupportedException(); 353throw new NotSupportedException();
System\Windows\Media\FormattedText.cs (1)
1891throw new NotSupportedException();
System\Windows\Media\Generated\BrushConverter.cs (1)
137throw new NotSupportedException(SR.Converter_ConvertToNotSupported);
System\Windows\Media\Generated\CacheModeConverter.cs (1)
137throw new NotSupportedException(SR.Converter_ConvertToNotSupported);
System\Windows\Media\Generated\GeometryConverter.cs (1)
137throw new NotSupportedException(SR.Converter_ConvertToNotSupported);
System\Windows\Media\Generated\PathFigureCollectionConverter.cs (1)
137throw new NotSupportedException(SR.Converter_ConvertToNotSupported);
System\Windows\Media\Generated\TransformConverter.cs (1)
137throw new NotSupportedException(SR.Converter_ConvertToNotSupported);
System\Windows\Media\GlyphRun.cs (22)
2093throw new NotSupportedException(); 2098throw new NotSupportedException(); 2109throw new NotSupportedException(); 2115throw new NotSupportedException(); 2124throw new NotSupportedException(); 2129throw new NotSupportedException(); 2134throw new NotSupportedException(); 2139throw new NotSupportedException(); 2154throw new NotSupportedException(); 2163throw new NotSupportedException(); 2172throw new NotSupportedException(); 2195throw new NotSupportedException(); 2200throw new NotSupportedException(); 2211throw new NotSupportedException(); 2217throw new NotSupportedException(); 2226throw new NotSupportedException(); 2231throw new NotSupportedException(); 2236throw new NotSupportedException(); 2241throw new NotSupportedException(); 2256throw new NotSupportedException(); 2265throw new NotSupportedException(); 2274throw new NotSupportedException();
System\Windows\Media\GlyphTypeface.cs (9)
1737throw new NotSupportedException(); 1752throw new NotSupportedException(); 1784throw new NotSupportedException(); 1794throw new NotSupportedException(); 1799throw new NotSupportedException(); 1839throw new NotSupportedException(); 1874throw new NotSupportedException(); 1879throw new NotSupportedException(); 1924throw new NotSupportedException();
System\Windows\Media\ImageSourceConverter.cs (1)
197throw new NotSupportedException(SR.Converter_ConvertToNotSupported);
System\Windows\Media\Imaging\BitmapEncoder.cs (2)
332throw new System.NotSupportedException(SR.Format(SR.Image_NoFrames, null)); 338throw new System.NotSupportedException(SR.Format(SR.Image_NoFrames, null));
System\Windows\Media\Imaging\BitmapImage.cs (1)
135throw new System.NotSupportedException(SR.Image_MetadataNotSupported);
System\Windows\Media\Imaging\PropVariant.cs (1)
741throw new System.NotSupportedException(SR.Image_PropertyNotSupported);
System\Windows\Media\MediaPlayer.cs (1)
801throw new System.NotSupportedException(SR.Media_UnknownChannelType);
System\Windows\Media\MediaPlayerState.cs (2)
818_mediaEventsHelper.RaiseMediaFailed(new System.NotSupportedException(SR.Format(SR.Media_PackURIsAreNotSupported, null))); 966throw new System.NotSupportedException(SR.Image_BadVersion);
System\Windows\Media\PixelFormat.cs (1)
405throw new NotSupportedException(SR.Image_NoPixelFormatFound);
System\Windows\Media3D\MatrixCamera.cs (1)
103throw new NotSupportedException(SR.HitTest_Singular);
System\Windows\Media3D\Viewport3DVisual.cs (1)
495throw new NotSupportedException(SR.Format(SR.HitTest_Invalid, nameof(GeometryHitTestParameters), this.GetType().Name));
System\Windows\Nrbf\SerializationRecordExtensions.cs (1)
327exception = new NotSupportedException(classInfo.GetString("Message"));
PresentationFramework (168)
MS\Internal\Annotations\Component\HighlightComponent.cs (1)
304throw new NotSupportedException(SR.NotSupported);
MS\Internal\Annotations\Component\MarkedHighlightComponent.cs (1)
258throw new NotSupportedException(SR.NotSupported);
MS\Internal\AppModel\ResourceContainer.cs (3)
346throw new NotSupportedException(); 351throw new NotSupportedException(); 356throw new NotSupportedException();
MS\Internal\AppModel\ReturnEventSaver.cs (2)
118throw new NotSupportedException(SR.ReturnEventHandlerMustBeOnParentPage); 131throw new NotSupportedException(SR.ReturnEventHandlerMustBeOnParentPage, ex);
MS\Internal\Controls\StickyNote\StickyNoteAnnotations.cs (1)
957throw new NotSupportedException(SR.NotSupported);
MS\Internal\Data\BindingCollection.cs (1)
114throw new NotSupportedException(SR.Format(SR.BindingCollectionContainsNonBinding, binding.GetType().Name));
MS\Internal\Data\CollectionViewGroupRoot.cs (1)
824throw new NotSupportedException();
MS\Internal\Data\CompositeCollectionView.cs (7)
642throw new NotSupportedException(SR.Format(SR.UnexpectedCollectionChangeAction, args.Action)); 785throw new NotSupportedException(SR.Format(SR.UnexpectedCollectionChangeAction, args.Action)); 1434throw new NotSupportedException(SR.RangeActionsNotSupported); 1439throw new NotSupportedException(SR.RangeActionsNotSupported); 1444throw new NotSupportedException(SR.RangeActionsNotSupported); 1449throw new NotSupportedException(SR.RangeActionsNotSupported); 1458throw new NotSupportedException(SR.Format(SR.UnexpectedCollectionChangeAction, e.Action));
MS\Internal\Data\DefaultValueConverter.cs (1)
765set { throw new NotSupportedException(); }
MS\Internal\Data\PropertyPathWorker.cs (2)
301throw new NotSupportedException(SR.IndexedPropDescNotImplemented); 388throw new NotSupportedException(SR.IndexedPropDescNotImplemented);
MS\Internal\Data\ValueChangedEventManager.cs (2)
87throw new NotSupportedException(SR.NoMulticastHandlers); 99throw new NotSupportedException(SR.NoMulticastHandlers);
MS\Internal\IO\Packaging\ByteStream.cs (5)
142throw new NotSupportedException(SR.SetPositionNotSupported); 190throw new NotSupportedException(SR.SeekNotSupported); 233throw new NotSupportedException(SR.SetLengthNotSupported); 250throw new NotSupportedException(SR.ReadNotSupported); 317throw new NotSupportedException(SR.WriteNotSupported);
MS\Internal\IO\Packaging\ManagedIStream.cs (6)
164throw new NotSupportedException(); 175throw new NotSupportedException(); 186throw new NotSupportedException(); 197throw new NotSupportedException(); 208throw new NotSupportedException(); 219throw new NotSupportedException();
MS\Internal\IO\Packaging\UnsafeIndexingFilterStream.cs (2)
154throw new NotSupportedException(SR.StreamDoesNotSupportWrite); 167throw new NotSupportedException(SR.StreamDoesNotSupportWrite);
MS\Internal\IO\Packaging\XmlGlyphRunInfo.cs (6)
63throw new NotSupportedException(SR.XmlGlyphRunInfoIsNonGraphic); 79throw new NotSupportedException(SR.XmlGlyphRunInfoIsNonGraphic); 100throw new NotSupportedException(SR.XmlGlyphRunInfoIsNonGraphic); 120throw new NotSupportedException(SR.XmlGlyphRunInfoIsNonGraphic); 134throw new NotSupportedException(SR.XmlGlyphRunInfoIsNonGraphic); 148throw new NotSupportedException(SR.XmlGlyphRunInfoIsNonGraphic);
MS\Internal\IO\Packaging\XpsFilter.cs (1)
589throw new NotSupportedException(SR.FilterIPersistFileIsReadOnly);
MS\Internal\WindowsRuntime\Generated\WinRT\Projections\IEnumerable.cs (1)
316throw new NotSupportedException();
System\Windows\Annotations\Annotation.cs (3)
733throw new NotSupportedException(SR.Format(SR.UnexpectedCollectionChangeAction, e.Action)); 787throw new NotSupportedException(SR.Format(SR.UnexpectedCollectionChangeAction, e.Action)); 836throw new NotSupportedException(SR.Format(SR.UnexpectedCollectionChangeAction, e.Action));
System\Windows\Controls\AVElementHelper.cs (1)
271throw new NotSupportedException(SR.AudioVideo_CannotControlMedia);
System\Windows\Controls\CalendarBlackoutDatesCollection.cs (4)
158throw new NotSupportedException(SR.CalendarCollection_MultiThreadedCollectionChangeNotSupported); 179throw new NotSupportedException(SR.CalendarCollection_MultiThreadedCollectionChangeNotSupported); 202throw new NotSupportedException(SR.CalendarCollection_MultiThreadedCollectionChangeNotSupported); 223throw new NotSupportedException(SR.CalendarCollection_MultiThreadedCollectionChangeNotSupported);
System\Windows\Controls\CustomDictionarySources.cs (1)
344throw new NotSupportedException(SR.CustomDictionarySourcesUnsupportedURI);
System\Windows\Controls\DataGrid.cs (1)
8222throw new NotSupportedException(SR.ClipboardCopyMode_Disabled);
System\Windows\Controls\DocumentViewer.cs (2)
866throw new NotSupportedException(SR.DocumentViewerOnlySupportsFixedDocumentSequence); 2059throw new NotSupportedException(SR.DocumentViewerStyleMustIncludeContentHost);
System\Windows\Controls\FlowDocumentReader.cs (1)
98throw new NotSupportedException(SR.FlowDocumentReaderDecoratorMarkedAsContentHostMustHaveNoContent);
System\Windows\Controls\FlowDocumentScrollViewer.cs (1)
124throw new NotSupportedException(SR.FlowDocumentScrollViewerMarkedAsContentHostMustHaveNoContent);
System\Windows\Controls\ItemCollection.cs (2)
749throw new NotSupportedException(SR.ItemCollectionShouldUseInnerSyncRoot); 2229throw new NotSupportedException(SR.Format(SR.UnexpectedCollectionChangeAction, e.Action));
System\Windows\Controls\ItemContainerGenerator.cs (5)
2392throw new NotSupportedException(SR.RangeActionsNotSupported); 2398throw new NotSupportedException(SR.RangeActionsNotSupported); 2407throw new NotSupportedException(SR.RangeActionsNotSupported); 2417throw new NotSupportedException(SR.RangeActionsNotSupported); 2427throw new NotSupportedException(SR.Format(SR.UnexpectedCollectionChangeAction, args.Action));
System\Windows\Controls\ListBox.cs (1)
102throw new NotSupportedException(SR.ListBoxSelectAllSelectionMode);
System\Windows\Controls\MultipleCopiesCollection.cs (6)
230throw new NotSupportedException(SR.DataGrid_ReadonlyCellsItemsSource); 235throw new NotSupportedException(SR.DataGrid_ReadonlyCellsItemsSource); 254throw new NotSupportedException(SR.DataGrid_ReadonlyCellsItemsSource); 269throw new NotSupportedException(SR.DataGrid_ReadonlyCellsItemsSource); 274throw new NotSupportedException(SR.DataGrid_ReadonlyCellsItemsSource); 300throw new NotSupportedException();
System\Windows\Controls\PasswordBox.cs (3)
940throw new NotSupportedException(SR.TextBoxScrollViewerMarkedAsTextBoxContentMustHaveNoContent); 951throw new NotSupportedException(SR.TextBoxDecoratorMarkedAsTextBoxContentMustHaveNoContent); 970throw new NotSupportedException(SR.PasswordBoxInvalidTextContainer);
System\Windows\Controls\PopupControlService.cs (1)
460throw new NotSupportedException(SR.ToolTipStaysOpenFalseNotAllowed);
System\Windows\Controls\Primitives\MultiSelector.cs (1)
87throw new NotSupportedException(SR.MultiSelectorSelectAll);
System\Windows\Controls\Primitives\Selector.cs (5)
873throw new NotSupportedException(SR.RangeActionsNotSupported); 880throw new NotSupportedException(SR.RangeActionsNotSupported); 902throw new NotSupportedException(SR.RangeActionsNotSupported); 912throw new NotSupportedException(SR.Format(SR.UnexpectedCollectionChangeAction, e.Action)); 1242throw new NotSupportedException(SR.Format(SR.UnexpectedCollectionChangeAction, e.Action));
System\Windows\Controls\Primitives\TextBoxBase.cs (3)
1907throw new NotSupportedException(SR.TextBoxScrollViewerMarkedAsTextBoxContentMustHaveNoContent); 1921throw new NotSupportedException(SR.TextBoxDecoratorMarkedAsTextBoxContentMustHaveNoContent); 1940throw new NotSupportedException(SR.TextBoxInvalidTextContainer);
System\Windows\Controls\Primitives\Track.cs (2)
164throw new NotSupportedException(SR.Track_SameButtons); 205throw new NotSupportedException(SR.Track_SameButtons);
System\Windows\Controls\SelectedDatesCollection.cs (4)
133throw new NotSupportedException(SR.CalendarCollection_MultiThreadedCollectionChangeNotSupported); 151throw new NotSupportedException(SR.CalendarCollection_MultiThreadedCollectionChangeNotSupported); 212throw new NotSupportedException(SR.CalendarCollection_MultiThreadedCollectionChangeNotSupported); 261throw new NotSupportedException(SR.CalendarCollection_MultiThreadedCollectionChangeNotSupported);
System\Windows\Controls\SinglePageViewer.cs (1)
513throw new NotSupportedException(SR.FlowDocumentPageViewerOnlySupportsFlowDocument);
System\Windows\Controls\ToolBar.cs (2)
596throw new NotSupportedException(SR.Format(SR.ToolBar_InvalidStyle_ToolBarPanel, child.GetType())); 619throw new NotSupportedException(SR.Format(SR.ToolBar_InvalidStyle_ToolBarOverflowPanel, child.GetType()));
System\Windows\Controls\TreeView.cs (1)
439throw new NotSupportedException(SR.Format(SR.UnexpectedCollectionChangeAction, e.Action));
System\Windows\Controls\TreeViewItem.cs (1)
979throw new NotSupportedException(SR.Format(SR.UnexpectedCollectionChangeAction, e.Action));
System\Windows\Controls\VirtualizedCellInfoCollection.cs (4)
331throw new NotSupportedException(SR.VirtualizedCellInfoCollection_DoesNotSupportIndexChanges); 369throw new NotSupportedException(SR.VirtualizedCellInfoCollection_DoesNotSupportIndexChanges); 389throw new NotSupportedException(SR.VirtualizedCellInfoCollection_DoesNotSupportIndexChanges); 1627throw new NotSupportedException(SR.VirtualizedCellInfoCollection_IsReadOnly);
System\Windows\Controls\VirtualizingStackPanel.cs (1)
12080throw new NotSupportedException();
System\Windows\Data\BindingListCollectionView.cs (8)
304throw new NotSupportedException(SR.BindingListCannotCustomFilter); 367throw new NotSupportedException(); 1557throw new NotSupportedException(SR.Format(SR.UnexpectedCollectionChangeAction, args.Action)); 2434throw new NotSupportedException(SR.RangeActionsNotSupported); 2439throw new NotSupportedException(SR.RangeActionsNotSupported); 2444throw new NotSupportedException(SR.RangeActionsNotSupported); 2449throw new NotSupportedException(SR.RangeActionsNotSupported); 2458throw new NotSupportedException(SR.Format(SR.UnexpectedCollectionChangeAction, e.Action));
System\Windows\Data\CollectionView.cs (7)
218throw new NotSupportedException(); 1165throw new NotSupportedException(SR.MultiThreadedCollectionChangeNotSupported); 1952throw new NotSupportedException(SR.RangeActionsNotSupported); 1957throw new NotSupportedException(SR.RangeActionsNotSupported); 1964throw new NotSupportedException(SR.RangeActionsNotSupported); 1969throw new NotSupportedException(SR.RangeActionsNotSupported); 1978throw new NotSupportedException(SR.Format(SR.UnexpectedCollectionChangeAction, e.Action));
System\Windows\Data\ListCollectionView.cs (7)
481throw new NotSupportedException(); 2411throw new NotSupportedException(SR.Format(SR.UnexpectedCollectionChangeAction, e.Action)); 2501throw new NotSupportedException(SR.RangeActionsNotSupported); 2506throw new NotSupportedException(SR.RangeActionsNotSupported); 2511throw new NotSupportedException(SR.RangeActionsNotSupported); 2516throw new NotSupportedException(SR.RangeActionsNotSupported); 2525throw new NotSupportedException(SR.Format(SR.UnexpectedCollectionChangeAction, e.Action));
System\Windows\Documents\DocumentSequence.cs (2)
717throw new NotSupportedException(SR.RangeActionsNotSupported); 747throw new NotSupportedException(SR.Format(SR.UnexpectedCollectionChangeAction, args.Action));
System\Windows\Documents\DocumentSequenceTextContainer.cs (3)
595throw new NotSupportedException(SR.RangeActionsNotSupported); 604throw new NotSupportedException(SR.Format(SR.UnexpectedCollectionChangeAction, args.Action)); 634throw new NotSupportedException(SR.Format(SR.UnexpectedCollectionChangeAction, args.Action));
System\Windows\Documents\DocumentStructures\SemanticBasicElement.cs (9)
78throw new NotSupportedException(); 123throw new NotSupportedException(); 165throw new NotSupportedException(); 208throw new NotSupportedException(); 250throw new NotSupportedException(); 303throw new NotSupportedException(); 346throw new NotSupportedException(); 388throw new NotSupportedException(); 433throw new NotSupportedException();
System\Windows\Documents\DocumentStructures\StoryFragments.cs (2)
53throw new NotSupportedException(); 114throw new NotSupportedException();
System\Windows\Documents\WinRTSpellerInterop.cs (2)
72throw new NotSupportedException(string.Empty, ex); 322throw new NotSupportedException(string.Empty, ex);
System\Windows\FrameworkElementFactory.cs (2)
215throw new NotSupportedException(SR.Format(SR.ModifyingLogicalTreeViaStylesNotImplemented, value, "FrameworkElementFactory.SetValue")); 839throw new NotSupportedException(SR.Format(SR.Template3DValueOnly, propertyValue.Property) );
System\Windows\Input\KeyboardNavigation.cs (1)
1270throw new NotSupportedException();
System\Windows\Markup\Baml2006\SharedStream.cs (2)
189throw new NotSupportedException(); 251throw new NotSupportedException();
System\Windows\Markup\Baml2006\WpfXamlMember.cs (1)
283get { throw new NotSupportedException(); }
System\Windows\Markup\BamlWriter.cs (2)
901throw new NotSupportedException(SR.Format(SR.ParserBamlEvent, eventIdName)); 930throw new NotSupportedException(SR.Format(SR.ParserBamlEvent, eventName));
System\Windows\Markup\DependencyPropertyConverter.cs (5)
156throw new NotSupportedException(SR.Format(SR.ParserCannotConvertPropertyValue, "Property", typeof(DependencyProperty).FullName)); 179throw new NotSupportedException(SR.Format(SR.ParserCannotConvertPropertyValue, "Property", typeof(DependencyProperty).FullName)); 203throw new NotSupportedException(SR.Format(SR.ParserCannotConvertPropertyValue, "Property", typeof(DependencyProperty).FullName)); 223throw new NotSupportedException(SR.Format(SR.ParserCannotConvertPropertyValue, "Property", typeof(DependencyProperty).FullName)); 233throw new NotSupportedException(SR.Format(SR.ParserCannotConvertPropertyValue, "Property", typeof(DependencyProperty).FullName));
System\Windows\Markup\ProvideValueServiceProvider.cs (1)
72set { throw new NotSupportedException(SR.ParserProvideValueCantSetUri); }
System\Windows\Markup\SetterTriggerConditionValueConverter.cs (3)
97throw new NotSupportedException(SR.Format(SR.ParserCannotConvertPropertyValue, "Value", typeof(Object).FullName)); 159throw new NotSupportedException(SR.Format(SR.ParserCannotConvertPropertyValue, "Value", typeof(Object).FullName)); 164throw new NotSupportedException(SR.Format(SR.ParserCannotConvertPropertyValue, "Value", typeof(Object).FullName));
System\Windows\Markup\XamlStream.cs (8)
153throw new NotSupportedException(SR.ParserWriterNoSeekEnd); 297throw new NotSupportedException(SR.ParserWriterNoSeekEnd); 653throw new NotSupportedException(); 662throw new NotSupportedException(); 670throw new NotSupportedException(); 686throw new NotSupportedException(); 850throw new NotSupportedException(); 859throw new NotSupportedException();
System\Windows\ResourceDictionary.cs (1)
280throw new NotSupportedException(SR.NamesNotSupportedInsideResourceDictionary);
System\Windows\Shell\JumpList.cs (1)
368throw new NotSupportedException(SR.JumpList_CantCallUnbalancedEndInit);
System\Windows\TemplateContentLoader.cs (1)
31throw new NotSupportedException(SR.Format(SR.DeferringLoaderNoSave, nameof(TemplateContentLoader)));
PresentationUI (4)
MS\Internal\Documents\Application\DocumentPropertiesDialog.cs (1)
31throw new NotSupportedException(SR.DocumentPropertiesDialogDocumentPropertiesMustExist);
MS\Internal\Documents\Application\RestrictedTransactionalPackage.cs (1)
54throw new NotSupportedException(SR.PackagePartTypeNotWritable);
MS\Internal\Documents\Application\WriteableOnDemandStream.cs (1)
278throw new NotSupportedException(
MS\Internal\Documents\RightsManagementProvider.cs (1)
138throw new NotSupportedException();
ReachFramework (6)
Serialization\ColorTypeConverter.cs (2)
108throw new NotSupportedException(SR.Converter_ConvertFromNotSupported); 146throw new NotSupportedException(SR.Converter_ConvertToNotSupported);
Serialization\FontTypeConverter.cs (2)
106throw new NotSupportedException(SR.Converter_ConvertFromNotSupported); 147throw new NotSupportedException(SR.Converter_ConvertToNotSupported);
Serialization\ImageSourceTypeConverter.cs (2)
112throw new NotSupportedException(SR.Converter_ConvertFromNotSupported); 153throw new NotSupportedException(SR.Converter_ConvertToNotSupported);
Roslyn.Diagnostics.Analyzers (9)
AbstractDoNotCopyValue.cs (1)
1349=> throw new NotSupportedException();
NamedTypeFullNameNotNullSuppressor.cs (1)
64_ => throw new NotSupportedException(),
src\RoslynAnalyzers\Utilities\Compiler\CodeMetrics\CodeAnalysisMetricData.cs (2)
283_ => throw new NotSupportedException(), 321_ => throw new NotSupportedException(),
src\RoslynAnalyzers\Utilities\Compiler\Lightup\LightupHelpers.cs (1)
149throw new NotSupportedException();
src\RoslynAnalyzers\Utilities\Compiler\RoslynHashCode.cs (2)
435public override readonly int GetHashCode() => throw new NotSupportedException(SR.HashCode_HashCodeNotSupported); 439public override readonly bool Equals(object? obj) => throw new NotSupportedException(SR.HashCode_EqualityNotSupported);
src\RoslynAnalyzers\Utilities\Compiler\SmallDictionary.cs (1)
717throw new NotSupportedException();
src\RoslynAnalyzers\Utilities\Refactoring\AbstractRefactoringHelpers`3.cs (1)
485?? throw new NotSupportedException("Document does not support syntax trees");
Roslyn.Diagnostics.Analyzers.UnitTests (2)
CreateTestAccessorTests.cs (2)
145_ => throw new NotSupportedException(), 228_ => throw new NotSupportedException(),
Roslyn.Test.PdbUtilities (6)
Reader\SymReaderFactory.cs (1)
54throw new NotSupportedException();
Shared\DummyMetadataImport.cs (3)
60throw new NotSupportedException("Metadata not available"); 86throw new NotSupportedException("Metadata not available"); 125throw new NotSupportedException("Metadata not available");
Writer\SymUnmanagedWriterWithoutSourceLinkSupport.cs (1)
20=> throw new SymUnmanagedWriterException("xxx", new NotSupportedException(), "<lib name>");
Writer\SymWriterTestUtilities.cs (1)
15_ => throw new SymUnmanagedWriterException("xxx", new NotSupportedException(), "<lib name>");
ScenarioTests.Common.Tests (8)
ScenarioTestTypes.cs (8)
207throw new NotSupportedException("Synchronously sending is not supported."); 1020public override long Length => throw new NotSupportedException(); 1024get => throw new NotSupportedException(); 1025set => throw new NotSupportedException(); 1030throw new NotSupportedException(); 1047throw new NotSupportedException(); 1052throw new NotSupportedException(); 1057throw new NotSupportedException();
Shared (5)
EmptyCollections\EmptyReadonlyDictionary.cs (3)
36set => throw new NotSupportedException(); 58void IDictionary<TKey, TValue>.Add(TKey key, TValue value) => throw new NotSupportedException(); 60void ICollection<KeyValuePair<TKey, TValue>>.Add(KeyValuePair<TKey, TValue> item) => throw new NotSupportedException();
EmptyCollections\EmptyReadOnlyList.cs (1)
34void ICollection<T>.Add(T item) => throw new NotSupportedException();
JsonSchemaExporter\JsonSchemaExporter.cs (1)
798throw new NotSupportedException("Schema generation not supported with ReferenceHandler.Preserve enabled.");
Shared.Tests (1)
EmptyCollections\EmptyCollectionExtensionsTests.cs (1)
107public void Add(T item) => throw new NotSupportedException();
System.Collections (42)
System\Collections\Generic\OrderedDictionary.cs (24)
1577set => throw new NotSupportedException(); 1584set => throw new NotSupportedException(); 1606void ICollection<TKey>.Add(TKey item) => throw new NotSupportedException(); 1609void ICollection<TKey>.Clear() => throw new NotSupportedException(); 1612void IList<TKey>.Insert(int index, TKey item) => throw new NotSupportedException(); 1615bool ICollection<TKey>.Remove(TKey item) => throw new NotSupportedException(); 1618void IList<TKey>.RemoveAt(int index) => throw new NotSupportedException(); 1621int IList.Add(object? value) => throw new NotSupportedException(); 1624void IList.Clear() => throw new NotSupportedException(); 1630void IList.Insert(int index, object? value) => throw new NotSupportedException(); 1633void IList.Remove(object? value) => throw new NotSupportedException(); 1636void IList.RemoveAt(int index) => throw new NotSupportedException(); 1723set => throw new NotSupportedException(); 1733set => throw new NotSupportedException(); 1767void ICollection<TValue>.Add(TValue item) => throw new NotSupportedException(); 1770void ICollection<TValue>.Clear() => throw new NotSupportedException(); 1773void IList<TValue>.Insert(int index, TValue item) => throw new NotSupportedException(); 1776bool ICollection<TValue>.Remove(TValue item) => throw new NotSupportedException(); 1779void IList<TValue>.RemoveAt(int index) => throw new NotSupportedException(); 1782int IList.Add(object? value) => throw new NotSupportedException(); 1785void IList.Clear() => throw new NotSupportedException(); 1827void IList.Insert(int index, object? value) => throw new NotSupportedException(); 1830void IList.Remove(object? value) => throw new NotSupportedException(); 1833void IList.RemoveAt(int index) => throw new NotSupportedException();
System\Collections\Generic\SortedDictionary.cs (6)
601throw new NotSupportedException(SR.NotSupported_KeyCollectionSet); 606throw new NotSupportedException(SR.NotSupported_KeyCollectionSet); 616throw new NotSupportedException(SR.NotSupported_KeyCollectionSet); 762throw new NotSupportedException(SR.NotSupported_ValueCollectionSet); 767throw new NotSupportedException(SR.NotSupported_ValueCollectionSet); 777throw new NotSupportedException(SR.NotSupported_ValueCollectionSet);
System\Collections\Generic\SortedList.cs (12)
1033throw new NotSupportedException(SR.NotSupported_SortedListNestedWrite); 1038throw new NotSupportedException(SR.NotSupported_SortedListNestedWrite); 1070throw new NotSupportedException(SR.NotSupported_SortedListNestedWrite); 1081throw new NotSupportedException(SR.NotSupported_KeyCollectionSet); 1103throw new NotSupportedException(SR.NotSupported_SortedListNestedWrite); 1109throw new NotSupportedException(SR.NotSupported_SortedListNestedWrite); 1147throw new NotSupportedException(SR.NotSupported_SortedListNestedWrite); 1152throw new NotSupportedException(SR.NotSupported_SortedListNestedWrite); 1184throw new NotSupportedException(SR.NotSupported_SortedListNestedWrite); 1195throw new NotSupportedException(SR.NotSupported_SortedListNestedWrite); 1212throw new NotSupportedException(SR.NotSupported_SortedListNestedWrite); 1218throw new NotSupportedException(SR.NotSupported_SortedListNestedWrite);
System.Collections.Concurrent (8)
System\Collections\Concurrent\BlockingCollection.cs (1)
133throw new NotSupportedException(SR.ConcurrentCollection_SyncRoot_NotSupported);
System\Collections\Concurrent\ConcurrentBag.cs (1)
597get { throw new NotSupportedException(SR.ConcurrentCollection_SyncRoot_NotSupported); }
System\Collections\Concurrent\ConcurrentDictionary.cs (1)
1953object ICollection.SyncRoot => throw new NotSupportedException(SR.ConcurrentCollection_SyncRoot_NotSupported);
System\Collections\Concurrent\ConcurrentStack.cs (1)
184throw new NotSupportedException(SR.ConcurrentCollection_SyncRoot_NotSupported);
System\Collections\Concurrent\OrderablePartitioner.cs (1)
128throw new NotSupportedException(SR.Partitioner_DynamicPartitionsNotSupported);
System\Collections\Concurrent\Partitioner.cs (1)
96throw new NotSupportedException(SR.Partitioner_DynamicPartitionsNotSupported);
System\Collections\Concurrent\PartitionerStatic.cs (2)
388throw new NotSupportedException(); 1438throw new NotSupportedException();
System.Collections.Immutable (98)
System\Collections\Frozen\FrozenDictionary.cs (10)
484set => throw new NotSupportedException(); 580set => throw new NotSupportedException(); 648void IDictionary<TKey, TValue>.Add(TKey key, TValue value) => throw new NotSupportedException(); 651void ICollection<KeyValuePair<TKey, TValue>>.Add(KeyValuePair<TKey, TValue> item) => throw new NotSupportedException(); 654void IDictionary.Add(object key, object? value) => throw new NotSupportedException(); 657bool IDictionary<TKey, TValue>.Remove(TKey key) => throw new NotSupportedException(); 660bool ICollection<KeyValuePair<TKey, TValue>>.Remove(KeyValuePair<TKey, TValue> item) => throw new NotSupportedException(); 663void IDictionary.Remove(object key) => throw new NotSupportedException(); 666void ICollection<KeyValuePair<TKey, TValue>>.Clear() => throw new NotSupportedException(); 669void IDictionary.Clear() => throw new NotSupportedException();
System\Collections\Frozen\FrozenSet.cs (8)
401bool ISet<T>.Add(T item) => throw new NotSupportedException(); 404void ISet<T>.ExceptWith(IEnumerable<T> other) => throw new NotSupportedException(); 407void ISet<T>.IntersectWith(IEnumerable<T> other) => throw new NotSupportedException(); 410void ISet<T>.SymmetricExceptWith(IEnumerable<T> other) => throw new NotSupportedException(); 413void ISet<T>.UnionWith(IEnumerable<T> other) => throw new NotSupportedException(); 416void ICollection<T>.Add(T item) => throw new NotSupportedException(); 419void ICollection<T>.Clear() => throw new NotSupportedException(); 422bool ICollection<T>.Remove(T item) => throw new NotSupportedException();
System\Collections\Immutable\ImmutableArray_1.cs (13)
32set { throw new NotSupportedException(); } 1045throw new NotSupportedException(); 1050throw new NotSupportedException(); 1055throw new NotSupportedException(); 1060throw new NotSupportedException(); 1065throw new NotSupportedException(); 1198throw new NotSupportedException(); 1207throw new NotSupportedException(); 1261throw new NotSupportedException(); 1322get { throw new NotSupportedException(); } 1332throw new NotSupportedException(); 1342throw new NotSupportedException(); 1363set { throw new NotSupportedException(); }
System\Collections\Immutable\ImmutableDictionary_2.cs (10)
264set { throw new NotSupportedException(); } 570throw new NotSupportedException(); 587throw new NotSupportedException(); 596throw new NotSupportedException(); 601throw new NotSupportedException(); 606throw new NotSupportedException(); 685throw new NotSupportedException(); 717throw new NotSupportedException(); 728set { throw new NotSupportedException(); } 737throw new NotSupportedException();
System\Collections\Immutable\ImmutableDictionary_2.HashBucket.cs (2)
118throw new NotSupportedException(); 127throw new NotSupportedException();
System\Collections\Immutable\ImmutableHashSet_1.cs (8)
442throw new NotSupportedException(); 450throw new NotSupportedException(); 458throw new NotSupportedException(); 466throw new NotSupportedException(); 474throw new NotSupportedException(); 509throw new NotSupportedException(); 517throw new NotSupportedException(); 525throw new NotSupportedException();
System\Collections\Immutable\ImmutableHashSet_1.HashBucket.cs (2)
87throw new NotSupportedException(); 96throw new NotSupportedException();
System\Collections\Immutable\ImmutableHashSet_1.HashBucketByRefEqualityComparer.cs (1)
40public int GetHashCode(HashBucket obj) => throw new NotSupportedException();
System\Collections\Immutable\ImmutableHashSet_1.HashBucketByValueEqualityComparer.cs (1)
49public int GetHashCode(HashBucket obj) => throw new NotSupportedException();
System\Collections\Immutable\ImmutableList_1.cs (12)
926void IList<T>.Insert(int index, T item) => throw new NotSupportedException(); 933void IList<T>.RemoveAt(int index) => throw new NotSupportedException(); 943set => throw new NotSupportedException(); 955void ICollection<T>.Add(T item) => throw new NotSupportedException(); 961void ICollection<T>.Clear() => throw new NotSupportedException(); 976bool ICollection<T>.Remove(T item) => throw new NotSupportedException(); 999int IList.Add(object? value) => throw new NotSupportedException(); 1006void IList.RemoveAt(int index) => throw new NotSupportedException(); 1012void IList.Clear() => throw new NotSupportedException(); 1038void IList.Insert(int index, object? value) => throw new NotSupportedException(); 1058void IList.Remove(object? value) => throw new NotSupportedException(); 1073set => throw new NotSupportedException();
System\Collections\Immutable\ImmutableSortedDictionary_2.cs (10)
220set { throw new NotSupportedException(); } 482throw new NotSupportedException(); 499throw new NotSupportedException(); 508throw new NotSupportedException(); 513throw new NotSupportedException(); 518throw new NotSupportedException(); 589throw new NotSupportedException(); 621throw new NotSupportedException(); 632set { throw new NotSupportedException(); } 641throw new NotSupportedException();
System\Collections\Immutable\ImmutableSortedSet_1.cs (17)
666throw new NotSupportedException(); 674throw new NotSupportedException(); 682throw new NotSupportedException(); 690throw new NotSupportedException(); 698throw new NotSupportedException(); 726throw new NotSupportedException(); 734throw new NotSupportedException(); 742throw new NotSupportedException(); 755set { throw new NotSupportedException(); } 763throw new NotSupportedException(); 771throw new NotSupportedException(); 837throw new NotSupportedException(); 846throw new NotSupportedException(); 896throw new NotSupportedException(); 906throw new NotSupportedException(); 916throw new NotSupportedException(); 930set { throw new NotSupportedException(); }
System\Collections\Immutable\KeysOrValuesCollectionAccessor.cs (4)
71throw new NotSupportedException(); 79throw new NotSupportedException(); 107throw new NotSupportedException(); 214throw new NotSupportedException();
System.Collections.NonGeneric (12)
System\Collections\SortedList.cs (12)
924throw new NotSupportedException(SR.NotSupported_SortedListNestedWrite); 930throw new NotSupportedException(SR.NotSupported_SortedListNestedWrite); 949throw new NotSupportedException(SR.NotSupported_SortedListNestedWrite); 960throw new NotSupportedException(SR.NotSupported_KeyCollectionSet); 981throw new NotSupportedException(SR.NotSupported_SortedListNestedWrite); 986throw new NotSupportedException(SR.NotSupported_SortedListNestedWrite); 1028throw new NotSupportedException(SR.NotSupported_SortedListNestedWrite); 1033throw new NotSupportedException(SR.NotSupported_SortedListNestedWrite); 1052throw new NotSupportedException(SR.NotSupported_SortedListNestedWrite); 1063throw new NotSupportedException(SR.NotSupported_SortedListNestedWrite); 1079throw new NotSupportedException(SR.NotSupported_SortedListNestedWrite); 1084throw new NotSupportedException(SR.NotSupported_SortedListNestedWrite);
System.Collections.Specialized (22)
System\Collections\Specialized\NameObjectCollectionBase.cs (6)
174throw new NotSupportedException(SR.CollectionReadOnly); 203throw new NotSupportedException(SR.CollectionReadOnly); 240throw new NotSupportedException(SR.CollectionReadOnly); 267throw new NotSupportedException(SR.CollectionReadOnly); 295throw new NotSupportedException(SR.CollectionReadOnly); 341throw new NotSupportedException(SR.CollectionReadOnly);
System\Collections\Specialized\NameValueCollection.cs (3)
190throw new NotSupportedException(SR.CollectionReadOnly); 259throw new NotSupportedException(SR.CollectionReadOnly); 305throw new NotSupportedException(SR.CollectionReadOnly);
System\Collections\Specialized\OrderedDictionary.cs (13)
162throw new NotSupportedException(SR.OrderedDictionary_ReadOnly); 193throw new NotSupportedException(SR.OrderedDictionary_ReadOnly); 228throw new NotSupportedException(SR.OrderedDictionary_ReadOnly); 243throw new NotSupportedException(SR.OrderedDictionary_ReadOnly); 314throw new NotSupportedException(SR.OrderedDictionary_ReadOnly); 331throw new NotSupportedException(SR.OrderedDictionary_ReadOnly); 349throw new NotSupportedException(SR.OrderedDictionary_ReadOnly); 638set => throw new NotSupportedException(GetNotSupportedErrorMessage()); 643throw new NotSupportedException(GetNotSupportedErrorMessage()); 648throw new NotSupportedException(GetNotSupportedErrorMessage()); 653throw new NotSupportedException(GetNotSupportedErrorMessage()); 658throw new NotSupportedException(GetNotSupportedErrorMessage()); 663throw new NotSupportedException(GetNotSupportedErrorMessage());
System.ComponentModel.Composition (2)
System\ComponentModel\Composition\MetadataViewGenerator.cs (1)
308throw new NotSupportedException(SR.Format(
System\ComponentModel\Composition\MetadataViewProvider.cs (1)
41throw new NotSupportedException(SR.Format(SR.NotSupportedInterfaceMetadataView, metadataViewType.FullName), ex);
System.ComponentModel.TypeConverter (30)
System\ComponentModel\BindingList.cs (4)
217throw new NotSupportedException(); 416throw new NotSupportedException(); 423throw new NotSupportedException(); 430throw new NotSupportedException();
System\ComponentModel\Design\DesignerOptionService.cs (6)
350set => throw new NotSupportedException(); 356int IList.Add(object? value) => throw new NotSupportedException(); 361void IList.Clear() => throw new NotSupportedException(); 384void IList.Insert(int index, object? value) => throw new NotSupportedException(); 389void IList.Remove(object? value) => throw new NotSupportedException(); 394void IList.RemoveAt(int index) => throw new NotSupportedException();
System\ComponentModel\Design\DesigntimeLicenseContextSerializer.cs (1)
159throw new NotSupportedException(SR.BinaryFormatterMessage);
System\ComponentModel\EventDescriptorCollection.cs (6)
97throw new NotSupportedException(); 109throw new NotSupportedException(); 205throw new NotSupportedException(); 221throw new NotSupportedException(); 236throw new NotSupportedException(); 383throw new NotSupportedException();
System\ComponentModel\PropertyDescriptorCollection.cs (7)
103throw new NotSupportedException(); 115throw new NotSupportedException(); 238throw new NotSupportedException(); 254throw new NotSupportedException(); 269throw new NotSupportedException(); 455throw new NotSupportedException(); 570throw new NotSupportedException();
System\ComponentModel\ToolboxItemAttribute.cs (1)
47throw new NotSupportedException(SR.IDesignerHostNotSupported);
System\ComponentModel\TypeConverter.cs (2)
195throw new NotSupportedException(SR.Format(SR.ConvertFromException, GetType().Name, valueTypeName)); 205throw new NotSupportedException(SR.Format(SR.ConvertToException, GetType().Name, valueTypeName, destinationType.FullName));
System\ComponentModel\TypeDescriptor.cs (3)
1748throw new NotSupportedException(SR.ComObjectDescriptorsNotSupported); 1757throw new NotSupportedException(SR.ComObjectDescriptorsNotSupported); 3053throw new NotSupportedException(SR.ComObjectDescriptorsNotSupported);
System.Configuration.ConfigurationManager (12)
System\Configuration\Provider\ProviderCollection.cs (3)
39throw new NotSupportedException(SR.CollectionReadOnly); 53throw new NotSupportedException(SR.CollectionReadOnly); 67throw new NotSupportedException(SR.CollectionReadOnly);
System\Configuration\SettingsProperty.cs (1)
52throw new NotSupportedException(Obsoletions.BinaryFormatterMessage);
System\Configuration\SettingsPropertyCollection.cs (3)
21throw new NotSupportedException(); 39throw new NotSupportedException(); 85throw new NotSupportedException();
System\Configuration\SettingsPropertyValue.cs (3)
115throw new NotSupportedException(Obsoletions.BinaryFormatterMessage); 201throw new NotSupportedException(Obsoletions.BinaryFormatterMessage); 242throw new NotSupportedException(Obsoletions.BinaryFormatterMessage);
System\Configuration\SettingsPropertyValueCollection.cs (2)
23throw new NotSupportedException(); 41throw new NotSupportedException();
System.Console (3)
System\IO\Error.cs (3)
15return new NotSupportedException(SR.NotSupported_UnreadableStream); 20return new NotSupportedException(SR.NotSupported_UnseekableStream); 25return new NotSupportedException(SR.NotSupported_UnwritableStream);
System.Data.Common (23)
src\libraries\Common\src\System\Data\Common\AdapterUtil.cs (2)
121NotSupportedException e = new NotSupportedException(); 128NotSupportedException e = new NotSupportedException(error);
System\Data\Common\DbBatchCommand.cs (1)
22=> throw new NotSupportedException();
System\Data\Common\DbConnection.cs (1)
135protected virtual DbBatch CreateDbBatch() => throw new NotSupportedException();
System\Data\Common\DbDataReader.cs (1)
88throw new NotSupportedException();
System\Data\Common\DbProviderFactory.cs (2)
52public virtual DbBatch CreateBatch() => throw new NotSupportedException(); 54public virtual DbBatchCommand CreateBatchCommand() => throw new NotSupportedException();
System\Data\Common\DbTransaction.cs (2)
170public virtual void Save(string savepointName) => throw new NotSupportedException(); 176public virtual void Rollback(string savepointName) => throw new NotSupportedException();
System\Data\DataSet.cs (3)
3521throw new NotSupportedException(SR.DataSet_XmlSerializationUnsupported); 3551throw new NotSupportedException(SR.DataSet_XmlSerializationUnsupported); 3595throw new NotSupportedException(SR.DataSet_XmlSerializationUnsupported);
System\Data\DataSetUtil.cs (1)
45return new NotSupportedException(message);
System\Data\DataTable.cs (3)
6713throw new NotSupportedException(SR.DataSet_XmlSerializationUnsupported); 6748throw new NotSupportedException(SR.DataSet_XmlSerializationUnsupported); 6777throw new NotSupportedException(SR.DataSet_XmlSerializationUnsupported);
System\Data\DataViewManager.cs (1)
23private static readonly NotSupportedException s_notSupported = new NotSupportedException();
System\Data\SQLTypes\SqlXml.cs (3)
505throw new NotSupportedException(SQLResource.InvalidOpStreamNonSeekable(method)); 511throw new NotSupportedException(SQLResource.InvalidOpStreamNonReadable(method)); 517throw new NotSupportedException(SQLResource.InvalidOpStreamNonWritable(method));
System\Xml\XmlDataDocument.cs (3)
384throw new NotSupportedException(SR.DataDom_NotSupport_EntRef); 1332throw new NotSupportedException(SR.DataDom_NotSupport_Clear); 3025throw new NotSupportedException(SR.DataDom_NotSupport_GetElementById);
System.Data.Odbc (2)
src\libraries\Common\src\System\Data\Common\AdapterUtil.cs (2)
121NotSupportedException e = new NotSupportedException(); 128NotSupportedException e = new NotSupportedException(error);
System.Diagnostics.DiagnosticSource (1)
System\Diagnostics\DiagLinkedList.cs (1)
300public void Reset() => throw new NotSupportedException();
System.Diagnostics.Process (2)
System\Diagnostics\Process.cs (1)
973throw new NotSupportedException(SR.NotSupportedRemote);
System\Diagnostics\ProcessThread.cs (1)
157throw new NotSupportedException(SR.NotSupportedRemoteThread);
System.Drawing.Common.Tests (6)
System\Drawing\BitmapTests.cs (2)
1711set => _stream.Position = _canSeek ? value : throw new NotSupportedException(); 1715public override int Read(byte[] buffer, int offset, int count) => _canRead ? _stream.Read(buffer, offset, count) : throw new NotSupportedException();
System\Drawing\ImageTests.cs (4)
709public override long Length => throw new NotSupportedException("This stream does not support seeking."); 712get => throw new NotSupportedException("This stream does not support seeking."); 713set => throw new NotSupportedException("This stream does not support seeking."); 720public override long Seek(long offset, SeekOrigin origin) => throw new NotSupportedException("This stream does not support seeking.");
System.Formats.Cbor (1)
src\libraries\Common\src\System\Memory\PointerMemoryManager.cs (1)
28throw new NotSupportedException();
System.Formats.Nrbf (2)
System\Formats\Nrbf\Utils\BinaryReaderExtensions.cs (1)
46throw new NotSupportedException(SR.NotSupported_NonZeroOffsets);
System\Formats\Nrbf\Utils\ThrowHelper.cs (1)
56throw new NotSupportedException(SR.Format(SR.NotSupported_RecordType, recordType));
System.Formats.Tar (4)
System\Formats\Tar\SubReadStream.cs (3)
172public override long Seek(long offset, SeekOrigin origin) => throw new NotSupportedException(SR.IO_NotSupported_UnseekableStream); 174public override void SetLength(long value) => throw new NotSupportedException(SR.IO_NotSupported_UnseekableStream); 176public override void Write(byte[] buffer, int offset, int count) => throw new NotSupportedException(SR.IO_NotSupported_UnwritableStream);
System\Formats\Tar\TarHeader.Read.cs (1)
416TarEntryType.SparseFile => throw new NotSupportedException(SR.Format(SR.TarEntryTypeNotSupported, header._typeFlag)),
System.IO.Compression (63)
System\IO\Compression\DeflateManaged\DeflateManagedStream.cs (5)
63get { throw new NotSupportedException(SR.NotSupported); } 68get { throw new NotSupportedException(SR.NotSupported); } 69set { throw new NotSupportedException(SR.NotSupported); } 87throw new NotSupportedException(SR.NotSupported); 92throw new NotSupportedException(SR.NotSupported);
System\IO\Compression\DeflateZLib\DeflateStream.cs (13)
188get { throw new NotSupportedException(SR.NotSupported); } 193get { throw new NotSupportedException(SR.NotSupported); } 194set { throw new NotSupportedException(SR.NotSupported); } 251throw new NotSupportedException(SR.NotSupported); 256throw new NotSupportedException(SR.NotSupported); 884if (!CanRead) throw new NotSupportedException(); 894if (!CanRead) throw new NotSupportedException(); 1090public override long Length { get { throw new NotSupportedException(); } } 1091public override long Position { get { throw new NotSupportedException(); } set { throw new NotSupportedException(); } } 1092public override int Read(byte[] buffer, int offset, int count) { throw new NotSupportedException(); } 1093public override long Seek(long offset, SeekOrigin origin) { throw new NotSupportedException(); } 1094public override void SetLength(long value) { throw new NotSupportedException(); }
System\IO\Compression\GZipStream.cs (5)
55get { throw new NotSupportedException(SR.NotSupported); } 60get { throw new NotSupportedException(SR.NotSupported); } 61set { throw new NotSupportedException(SR.NotSupported); } 72throw new NotSupportedException(SR.NotSupported); 77throw new NotSupportedException(SR.NotSupported);
System\IO\Compression\PositionPreservingWriteOnlyStreamWrapper.cs (7)
30set { throw new NotSupportedException(SR.NotSupported); } 100get { throw new NotSupportedException(SR.NotSupported); } 105throw new NotSupportedException(SR.NotSupported); 110throw new NotSupportedException(SR.NotSupported); 113public override int Read(byte[] buffer, int offset, int count) => throw new NotSupportedException(SR.NotSupported); 115public override Task<int> ReadAsync(byte[] buffer, int offset, int count, CancellationToken cancellationToken) => throw new NotSupportedException(SR.NotSupported); 117public override ValueTask<int> ReadAsync(Memory<byte> buffer, CancellationToken cancellationToken = default) => throw new NotSupportedException(SR.NotSupported);
System\IO\Compression\ZipArchive.cs (3)
230throw new NotSupportedException(SR.EntriesInCreateMode); 335throw new NotSupportedException(SR.EntriesInCreateMode); 387throw new NotSupportedException(SR.CreateInReadMode);
System\IO\Compression\ZipArchiveEntry.cs (9)
281throw new NotSupportedException(SR.ReadOnlyArchive); 332throw new NotSupportedException(SR.DeleteOnlyInUpdate); 1407throw new NotSupportedException(SR.SeekingNotSupported); 1420throw new NotSupportedException(SR.SeekingNotSupported); 1437throw new NotSupportedException(SR.ReadingNotSupported); 1443throw new NotSupportedException(SR.ReadingNotSupported); 1449throw new NotSupportedException(SR.ReadingNotSupported); 1455throw new NotSupportedException(SR.SeekingNotSupported); 1461throw new NotSupportedException(SR.SetLengthRequiresSeekingAndWriting);
System\IO\Compression\ZipCustomStreams.cs (16)
78throw new NotSupportedException(SR.ReadingNotSupported); 84throw new NotSupportedException(SR.WritingNotSupported); 90throw new NotSupportedException(SR.SeekingNotSupported); 262throw new NotSupportedException(SR.SeekingNotSupported); 281throw new NotSupportedException(SR.ReadingNotSupported); 369throw new NotSupportedException(SR.SeekingNotSupported); 375throw new NotSupportedException(SR.SetLengthRequiresSeekingAndWriting); 381throw new NotSupportedException(SR.WritingNotSupported); 387throw new NotSupportedException(SR.WritingNotSupported); 453throw new NotSupportedException(SR.SeekingNotSupported); 467throw new NotSupportedException(SR.SeekingNotSupported); 486throw new NotSupportedException(SR.ReadingNotSupported); 492throw new NotSupportedException(SR.ReadingNotSupported); 498throw new NotSupportedException(SR.ReadingNotSupported); 504throw new NotSupportedException(SR.SeekingNotSupported); 510throw new NotSupportedException(SR.SetLengthRequiresSeekingAndWriting);
System\IO\Compression\ZLibStream.cs (5)
70public override long Length => throw new NotSupportedException(); 75get => throw new NotSupportedException(); 76set => throw new NotSupportedException(); 96public override long Seek(long offset, SeekOrigin origin) => throw new NotSupportedException(); 99public override void SetLength(long value) => throw new NotSupportedException();
System.IO.Compression.Brotli (5)
System\IO\Compression\BrotliStream.cs (5)
156public override long Seek(long offset, SeekOrigin origin) => throw new NotSupportedException(); 160public override long Length => throw new NotSupportedException(); 166get => throw new NotSupportedException(); 167set => throw new NotSupportedException(); 171public override void SetLength(long value) => throw new NotSupportedException();
System.IO.FileSystem.Watcher (2)
System\IO\FileSystemWatcher.cs (2)
745throw new NotSupportedException(); 771throw new NotSupportedException();
System.IO.Hashing (7)
System\IO\Hashing\NonCryptographicHashAlgorithm.cs (7)
303throw new NotSupportedException(SR.NotSupported_GetHashCode); 356public override long Length => throw new NotSupportedException(); 358public override long Position { get => throw new NotSupportedException(); set => throw new NotSupportedException(); } 360public override int Read(byte[] buffer, int offset, int count) => throw new NotSupportedException(); 362public override long Seek(long offset, SeekOrigin origin) => throw new NotSupportedException(); 364public override void SetLength(long value) => throw new NotSupportedException();
System.IO.IsolatedStorage (1)
System\IO\IsolatedStorage\IsolatedStorageFile.cs (1)
474throw new NotSupportedException(SR.IsolatedStorage_NotValidOnDesktop);
System.IO.MemoryMappedFiles (1)
System\IO\MemoryMappedFiles\MemoryMappedViewStream.cs (1)
29throw new NotSupportedException(SR.NotSupported_MMViewStreamsFixedLength);
System.IO.Packaging (7)
System\IO\Packaging\InterleavedZipPackagePartStream.cs (5)
88throw new NotSupportedException(SR.ReadNotSupported); 193throw new NotSupportedException(SR.SeekNotSupported); 244throw new NotSupportedException(SR.StreamDoesNotSupportWrite); 248throw new NotSupportedException(SR.SeekNotSupported); 302throw new NotSupportedException(SR.WriteNotSupported);
System\IO\Packaging\Package.cs (1)
869throw new NotSupportedException(SR.UnsupportedCombinationOfModeAccess);
System\IO\Packaging\PackagePart.cs (1)
246throw new NotSupportedException(SR.GetContentTypeCoreNotImplemented);
System.IO.Pipelines (15)
src\libraries\Common\src\System\IO\StreamHelpers.CopyValidation.cs (2)
33throw new NotSupportedException(SR.NotSupported_UnreadableStream); 38throw new NotSupportedException(SR.NotSupported_UnwritableStream);
System\IO\Pipelines\PipeReaderStream.cs (6)
38public override long Length => throw new NotSupportedException(); 40public override long Position { get => throw new NotSupportedException(); set => throw new NotSupportedException(); } 71public override long Seek(long offset, SeekOrigin origin) => throw new NotSupportedException(); 73public override void SetLength(long value) => throw new NotSupportedException(); 75public override void Write(byte[] buffer, int offset, int count) => throw new NotSupportedException();
System\IO\Pipelines\PipeWriterStream.cs (6)
48public override long Length => throw new NotSupportedException(); 50public override long Position { get => throw new NotSupportedException(); set => throw new NotSupportedException(); } 57public override int Read(byte[] buffer, int offset, int count) => throw new NotSupportedException(); 59public override long Seek(long offset, SeekOrigin origin) => throw new NotSupportedException(); 61public override void SetLength(long value) => throw new NotSupportedException();
System\IO\Pipelines\ThrowHelper.cs (1)
90public static NotSupportedException CreateNotSupportedException_UnflushedBytes() => new NotSupportedException(SR.UnflushedBytesNotSupported);
System.IO.Pipes (15)
System\IO\Error.cs (3)
21return new NotSupportedException(SR.NotSupported_UnreadableStream); 26return new NotSupportedException(SR.NotSupported_UnseekableStream); 31return new NotSupportedException(SR.NotSupported_UnwritableStream);
System\IO\Pipes\AnonymousPipeClientStream.cs (3)
25throw new NotSupportedException(SR.NotSupported_AnonymousPipeUnidirectional); 52throw new NotSupportedException(SR.NotSupported_AnonymousPipeUnidirectional); 97throw new NotSupportedException(SR.NotSupported_AnonymousPipeMessagesNotSupported);
System\IO\Pipes\AnonymousPipeServerStream.cs (3)
38throw new NotSupportedException(SR.NotSupported_AnonymousPipeUnidirectional); 68throw new NotSupportedException(SR.NotSupported_AnonymousPipeUnidirectional); 156throw new NotSupportedException(SR.NotSupported_AnonymousPipeMessagesNotSupported);
System\IO\Pipes\NamedPipeClientStream.Unix.cs (2)
96if (!CanRead) throw new NotSupportedException(SR.NotSupported_UnreadableStream); 106if (!CanWrite) throw new NotSupportedException(SR.NotSupported_UnwritableStream);
System\IO\Pipes\NamedPipeServerStream.Unix.cs (2)
184if (!CanRead) throw new NotSupportedException(SR.NotSupported_UnreadableStream); 194if (!CanWrite) throw new NotSupportedException(SR.NotSupported_UnwritableStream);
System\IO\Pipes\PipeStream.Unix.cs (2)
378throw new NotSupportedException(SR.NotSupported_UnreadableStream); 395throw new NotSupportedException(SR.NotSupported_UnwritableStream);
System.IO.Ports (5)
System\IO\Ports\SerialStream.cs (5)
57get { throw new NotSupportedException(SR.NotSupported_UnseekableStream); } 62get { throw new NotSupportedException(SR.NotSupported_UnseekableStream); } 63set { throw new NotSupportedException(SR.NotSupported_UnseekableStream); } 68throw new NotSupportedException(SR.NotSupported_UnseekableStream); 73throw new NotSupportedException(SR.NotSupported_UnseekableStream);
System.Linq (8)
System\Linq\Lookup.cs (6)
295void ICollection<IGrouping<TKey, TElement>>.Add(IGrouping<TKey, TElement> item) => throw new NotSupportedException(); 296void ICollection<IGrouping<TKey, TElement>>.Clear() => throw new NotSupportedException(); 297bool ICollection<IGrouping<TKey, TElement>>.Remove(IGrouping<TKey, TElement> item) => throw new NotSupportedException(); 322public void Add(IGrouping<TKey, TElement> item) => throw new NotSupportedException(); 323public void Clear() => throw new NotSupportedException(); 324public bool Remove(IGrouping<TKey, TElement> item) => throw new NotSupportedException();
System\Linq\ThrowHelper.cs (2)
30internal static void ThrowNotSupportedException() => throw new NotSupportedException(); 33internal static bool ThrowNotSupportedException_Boolean() => throw new NotSupportedException();
System.Linq.AsyncEnumerable (12)
System\Linq\GroupBy.cs (6)
441void ICollection<TElement>.Add(TElement item) => throw new NotSupportedException(); 443void ICollection<TElement>.Clear() => throw new NotSupportedException(); 450bool ICollection<TElement>.Remove(TElement item) => throw new NotSupportedException(); 454void IList<TElement>.Insert(int index, TElement item) => throw new NotSupportedException(); 456void IList<TElement>.RemoveAt(int index) => throw new NotSupportedException(); 469set => throw new NotSupportedException();
System\Linq\ToLookupAsync.cs (6)
249public void Add(IGrouping<TKey, TElement> item) => throw new NotSupportedException(); 251public void Clear() => throw new NotSupportedException(); 256set => throw new NotSupportedException(); 259public void Insert(int index, IGrouping<TKey, TElement> item) => throw new NotSupportedException(); 261public bool Remove(IGrouping<TKey, TElement> item) => throw new NotSupportedException(); 263public void RemoveAt(int index) => throw new NotSupportedException();
System.Linq.Expressions (6)
System\Dynamic\DynamicObject.cs (1)
870throw new NotSupportedException();
System\Dynamic\Utils\TypeUtils.cs (1)
89throw new NotSupportedException(Strings.LiftingInExpressionRequiresDynamicCode(type));
System\Linq\Expressions\Error.cs (4)
68return new NotSupportedException(Strings.CollectionReadOnly); 1157return new NotSupportedException(Strings.TryNotSupportedForMethodsWithRefArgs(p0)); 1164return new NotSupportedException(Strings.TryNotSupportedForValueTypeInstances(p0)); 1205return new NotSupportedException();
System.Linq.Parallel (38)
System\Linq\Parallel\Enumerables\ParallelQuery.cs (4)
53throw new NotSupportedException(); 66throw new NotSupportedException(); 79throw new NotSupportedException(); 128throw new NotSupportedException();
System\Linq\Parallel\QueryOperators\AssociativeAggregationOperator.cs (1)
205throw new NotSupportedException();
System\Linq\Parallel\QueryOperators\Inlined\InlinedAggregationOperator.cs (1)
141throw new NotSupportedException();
System\Linq\Parallel\QueryOperators\QueryOpeningEnumerator.cs (1)
169throw new NotSupportedException();
System\Linq\Parallel\QueryOperators\QueryResults.cs (11)
64throw new NotSupportedException(); 79throw new NotSupportedException(); 89throw new NotSupportedException(); 94throw new NotSupportedException(); 99throw new NotSupportedException(); 107throw new NotSupportedException(); 113throw new NotSupportedException(); 118throw new NotSupportedException(); 123throw new NotSupportedException(); 128throw new NotSupportedException(); 143throw new NotSupportedException();
System\Linq\Parallel\QueryOperators\Unary\AnyAllSearchOperator.cs (1)
130throw new NotSupportedException();
System\Linq\Parallel\QueryOperators\Unary\ContainsSearchOperator.cs (1)
108throw new NotSupportedException();
System\Linq\Parallel\QueryOperators\Unary\ElementAtQueryOperator.cs (1)
104throw new NotSupportedException();
System\Linq\Parallel\QueryOperators\Unary\FirstQueryOperator.cs (1)
104throw new NotSupportedException();
System\Linq\Parallel\QueryOperators\Unary\LastQueryOperator.cs (1)
100throw new NotSupportedException();
System\Linq\Parallel\QueryOperators\Unary\SingleQueryOperator.cs (1)
79throw new NotSupportedException();
System\Linq\ParallelEnumerable.cs (14)
653throw new NotSupportedException(SR.ParallelEnumerable_BinaryOpMustUseAsParallel); 717throw new NotSupportedException(SR.ParallelEnumerable_BinaryOpMustUseAsParallel); 784throw new NotSupportedException(SR.ParallelEnumerable_BinaryOpMustUseAsParallel); 850throw new NotSupportedException(SR.ParallelEnumerable_BinaryOpMustUseAsParallel); 919throw new NotSupportedException(SR.ParallelEnumerable_BinaryOpMustUseAsParallel); 4294throw new NotSupportedException(SR.ParallelEnumerable_BinaryOpMustUseAsParallel); 4347throw new NotSupportedException(SR.ParallelEnumerable_BinaryOpMustUseAsParallel); 4454throw new NotSupportedException(SR.ParallelEnumerable_BinaryOpMustUseAsParallel); 4535throw new NotSupportedException(SR.ParallelEnumerable_BinaryOpMustUseAsParallel); 4578throw new NotSupportedException(SR.ParallelEnumerable_BinaryOpMustUseAsParallel); 4625throw new NotSupportedException(SR.ParallelEnumerable_BinaryOpMustUseAsParallel); 4673throw new NotSupportedException(SR.ParallelEnumerable_BinaryOpMustUseAsParallel); 4722throw new NotSupportedException(SR.ParallelEnumerable_BinaryOpMustUseAsParallel); 4769throw new NotSupportedException(SR.ParallelEnumerable_BinaryOpMustUseAsParallel);
System.Memory.Data (2)
src\libraries\Common\src\System\IO\ReadOnlyMemoryStream.cs (2)
187public override void SetLength(long value) => throw new NotSupportedException(); 189public override void Write(byte[] buffer, int offset, int count) => throw new NotSupportedException();
System.Net.Http (53)
src\libraries\Common\src\System\IO\ReadOnlyMemoryStream.cs (2)
187public override void SetLength(long value) => throw new NotSupportedException(); 189public override void Write(byte[] buffer, int offset, int count) => throw new NotSupportedException();
System\Net\Http\EmptyReadStream.cs (2)
34public override void Write(ReadOnlySpan<byte> buffer) => throw new NotSupportedException(SR.net_http_content_readonly_stream); 36public override ValueTask WriteAsync(ReadOnlyMemory<byte> destination, CancellationToken cancellationToken) => throw new NotSupportedException();
System\Net\Http\Headers\HeaderStringValues.cs (1)
127void IEnumerator.Reset() => throw new NotSupportedException();
System\Net\Http\Headers\HttpHeadersNonValidated.cs (1)
168void IEnumerator.Reset() => throw new NotSupportedException();
System\Net\Http\HttpBaseStream.cs (5)
27public sealed override long Seek(long offset, SeekOrigin origin) => throw new NotSupportedException(); 29public sealed override void SetLength(long value) => throw new NotSupportedException(); 31public sealed override long Length => throw new NotSupportedException(); 35get { throw new NotSupportedException(); } 36set { throw new NotSupportedException(); }
System\Net\Http\HttpContent.cs (6)
296throw new NotSupportedException(SR.Format(SR.net_http_missing_sync_implementation, GetType(), nameof(HttpContent), nameof(SerializeToStream))); 1130public override long Position { get { throw new NotSupportedException(); } set { throw new NotSupportedException(); } } 1131public override int Read(byte[] buffer, int offset, int count) { throw new NotSupportedException(); } 1132public override long Seek(long offset, SeekOrigin origin) { throw new NotSupportedException(); } 1133public override void SetLength(long value) { throw new NotSupportedException(); }
System\Net\Http\HttpMessageHandler.cs (1)
24throw new NotSupportedException(SR.Format(SR.net_http_missing_sync_implementation, GetType(), nameof(HttpMessageHandler), nameof(Send)));
System\Net\Http\MultipartContent.cs (5)
631public override void SetLength(long value) { throw new NotSupportedException(); } 632public override void Write(byte[] buffer, int offset, int count) { throw new NotSupportedException(); } 633public override void Write(ReadOnlySpan<byte> buffer) { throw new NotSupportedException(); } 634public override Task WriteAsync(byte[] buffer, int offset, int count, CancellationToken cancellationToken) { throw new NotSupportedException(); } 635public override ValueTask WriteAsync(ReadOnlyMemory<byte> buffer, CancellationToken cancellationToken = default) { throw new NotSupportedException(); }
System\Net\Http\SocketsHttpHandler\DecompressionHandler.cs (2)
254public override ValueTask WriteAsync(ReadOnlyMemory<byte> buffer, CancellationToken cancellationToken) => throw new NotSupportedException(); 329public override ValueTask WriteAsync(ReadOnlyMemory<byte> buffer, CancellationToken cancellationToken) => throw new NotSupportedException();
System\Net\Http\SocketsHttpHandler\Http2Stream.cs (6)
1504public override void Write(ReadOnlySpan<byte> buffer) => throw new NotSupportedException(SR.net_http_content_readonly_stream); 1506public override ValueTask WriteAsync(ReadOnlyMemory<byte> destination, CancellationToken cancellationToken) => ValueTask.FromException(new NotSupportedException(SR.net_http_content_readonly_stream)); 1523public override int Read(Span<byte> buffer) => throw new NotSupportedException(SR.net_http_content_writeonly_stream); 1525public override ValueTask<int> ReadAsync(Memory<byte> buffer, CancellationToken cancellationToken) => ValueTask.FromException<int>(new NotSupportedException(SR.net_http_content_writeonly_stream)); 1527public override void CopyTo(Stream destination, int bufferSize) => throw new NotSupportedException(SR.net_http_content_writeonly_stream); 1529public override Task CopyToAsync(Stream destination, int bufferSize, CancellationToken cancellationToken) => Task.FromException(new NotSupportedException(SR.net_http_content_writeonly_stream));
System\Net\Http\SocketsHttpHandler\Http3RequestStream.cs (3)
1488throw new NotSupportedException(); 1516throw new NotSupportedException(); 1521throw new NotSupportedException();
System\Net\Http\SocketsHttpHandler\HttpConnectionPoolManager.cs (1)
412throw new NotSupportedException(SR.net_http_invalid_proxy_scheme);
System\Net\Http\SocketsHttpHandler\HttpContentReadStream.cs (2)
23public sealed override void Write(ReadOnlySpan<byte> buffer) => throw new NotSupportedException(SR.net_http_content_readonly_stream); 25public sealed override ValueTask WriteAsync(ReadOnlyMemory<byte> destination, CancellationToken cancellationToken) => throw new NotSupportedException();
System\Net\Http\SocketsHttpHandler\HttpContentWriteStream.cs (3)
34public sealed override int Read(Span<byte> buffer) => throw new NotSupportedException(); 36public sealed override ValueTask<int> ReadAsync(Memory<byte> buffer, CancellationToken cancellationToken) => throw new NotSupportedException(); 38public sealed override Task CopyToAsync(Stream destination, int bufferSize, CancellationToken cancellationToken) => throw new NotSupportedException();
System\Net\Http\SocketsHttpHandler\SocketsHttpHandler.cs (5)
588throw new NotSupportedException(SR.Format(SR.net_http_http2_sync_not_supported, GetType())); 594throw new NotSupportedException(SR.Format(SR.net_http_upgrade_not_enabled_sync, nameof(Send), request.VersionPolicy)); 638return new NotSupportedException(SR.net_http_unsupported_version); 665return new NotSupportedException(SR.net_http_unsupported_chunking); 683return new NotSupportedException(SR.Format(SR.net_http_unsupported_requesturi_scheme, requestUri.Scheme));
System\Net\Http\StreamContent.cs (8)
160throw new NotSupportedException(SR.net_http_content_readonly_stream); 163throw new NotSupportedException(SR.net_http_content_readonly_stream); 166throw new NotSupportedException(SR.net_http_content_readonly_stream); 169throw new NotSupportedException(SR.net_http_content_readonly_stream); 172throw new NotSupportedException(SR.net_http_content_readonly_stream); 175throw new NotSupportedException(SR.net_http_content_readonly_stream); 178throw new NotSupportedException(SR.net_http_content_readonly_stream); 181throw new NotSupportedException(SR.net_http_content_readonly_stream);
System.Net.Http.Json (1)
System\Net\Http\Json\LengthLimitReadStream.cs (1)
92public override void Write(byte[] buffer, int offset, int count) => throw new NotSupportedException();
System.Net.HttpListener (11)
System\Net\HttpRequestStream.cs (5)
42public override long Length => throw new NotSupportedException(SR.net_noseek); 46get => throw new NotSupportedException(SR.net_noseek); 47set => throw new NotSupportedException(SR.net_noseek); 50public override long Seek(long offset, SeekOrigin origin) => throw new NotSupportedException(SR.net_noseek); 52public override void SetLength(long value) => throw new NotSupportedException(SR.net_noseek);
System\Net\HttpResponseStream.cs (5)
22public override long Length => throw new NotSupportedException(SR.net_noseek); 26get => throw new NotSupportedException(SR.net_noseek); 27set => throw new NotSupportedException(SR.net_noseek); 30public override long Seek(long offset, SeekOrigin origin) => throw new NotSupportedException(SR.net_noseek); 32public override void SetLength(long value) => throw new NotSupportedException(SR.net_noseek);
System\Net\Managed\HttpListenerRequest.Managed.cs (1)
53throw new NotSupportedException(SR.Format(SR.net_listener_invalid_cbt_type, kind.ToString()));
System.Net.Mail (18)
System\Net\DelegatedStream.cs (14)
35throw new NotSupportedException(SR.SeekNotSupported); 46throw new NotSupportedException(SR.SeekNotSupported); 53throw new NotSupportedException(SR.SeekNotSupported); 116throw new NotSupportedException(SR.ReadNotSupported); 124throw new NotSupportedException(SR.ReadNotSupported); 133throw new NotSupportedException(SR.ReadNotSupported); 142throw new NotSupportedException(SR.ReadNotSupported); 150throw new NotSupportedException(SR.ReadNotSupported); 159throw new NotSupportedException(SR.SeekNotSupported); 167throw new NotSupportedException(SR.SeekNotSupported); 175throw new NotSupportedException(SR.WriteNotSupported); 183throw new NotSupportedException(SR.WriteNotSupported); 192throw new NotSupportedException(SR.WriteNotSupported); 201throw new NotSupportedException(SR.WriteNotSupported);
System\Net\Mail\SmtpClient.cs (2)
476throw new NotSupportedException(SR.SmtpGetIisPickupDirectoryNotSupported); 610throw new NotSupportedException(SR.SmtpGetIisPickupDirectoryNotSupported);
System\Net\Mime\MimeMultiPart.cs (1)
31throw new NotSupportedException(value.ToString());
System\Net\Mime\MimePart.cs (1)
99throw new NotSupportedException(SR.Format(SR.MimeTransferEncodingNotSupported, value));
System.Net.NameResolution (1)
System\Net\NameResolutionPal.Unix.cs (1)
24throw new NotSupportedException();
System.Net.NetworkInformation (13)
System\Net\NetworkInformation\GatewayIPAddressInformationCollection.cs (3)
53throw new NotSupportedException(SR.net_collection_readonly); 78throw new NotSupportedException(SR.net_collection_readonly); 83throw new NotSupportedException(SR.net_collection_readonly);
System\Net\NetworkInformation\InternalIPAddressCollection.cs (1)
45throw new NotSupportedException(SR.net_collection_readonly);
System\Net\NetworkInformation\IPAddressInformationCollection.cs (3)
39throw new NotSupportedException(SR.net_collection_readonly); 72throw new NotSupportedException(SR.net_collection_readonly); 77throw new NotSupportedException(SR.net_collection_readonly);
System\Net\NetworkInformation\MulticastIPAddressInformationCollection.cs (3)
39throw new NotSupportedException(SR.net_collection_readonly); 72throw new NotSupportedException(SR.net_collection_readonly); 77throw new NotSupportedException(SR.net_collection_readonly);
System\Net\NetworkInformation\UnicastIPAddressInformationCollection.cs (3)
40throw new NotSupportedException(SR.net_collection_readonly); 73throw new NotSupportedException(SR.net_collection_readonly); 78throw new NotSupportedException(SR.net_collection_readonly);
System.Net.Ping (2)
System\Net\NetworkInformation\Ping.cs (2)
742throw new NotSupportedException(SR.net_ipv4_not_installed); 746throw new NotSupportedException(SR.net_ipv6_not_installed);
System.Net.Primitives (3)
System\Net\NetworkInformation\IPAddressCollection.cs (3)
37throw new NotSupportedException(SR.net_collection_readonly); 65throw new NotSupportedException(SR.net_collection_readonly); 70throw new NotSupportedException(SR.net_collection_readonly);
System.Net.Quic (5)
System\Net\Quic\QuicStream.Stream.cs (5)
23public override long Length => throw new NotSupportedException(); 28public override long Position { get => throw new NotSupportedException(); set => throw new NotSupportedException(); } 33public override long Seek(long offset, SeekOrigin origin) => throw new NotSupportedException(); 38public override void SetLength(long value) => throw new NotSupportedException();
System.Net.Requests (25)
System\Net\ExceptionHelper.cs (1)
8internal static NotSupportedException PropertyNotSupportedException => new NotSupportedException(SR.net_PropertyNotSupportedException);
System\Net\FileWebRequest.cs (2)
291get { throw new NotSupportedException(SR.net_PropertyNotSupportedException); } 292set { throw new NotSupportedException(SR.net_PropertyNotSupportedException); }
System\Net\HttpWebResponse.cs (7)
391public override long Length => throw new NotSupportedException(); 392public override long Position { get => throw new NotSupportedException(); set => throw new NotSupportedException(); } 394public override void Flush() => throw new NotSupportedException(); 421public override long Seek(long offset, SeekOrigin origin) => throw new NotSupportedException(); 422public override void SetLength(long value) => throw new NotSupportedException(); 423public override void Write(byte[] buffer, int offset, int count) => throw new NotSupportedException();
System\Net\RequestBufferingStream.cs (6)
40throw new NotSupportedException(); 48throw new NotSupportedException(); 52throw new NotSupportedException(); 58throw new NotSupportedException(); 63throw new NotSupportedException(); 68throw new NotSupportedException();
System\Net\RequestStream.cs (6)
64throw new NotSupportedException(); 72throw new NotSupportedException(); 76throw new NotSupportedException(); 82throw new NotSupportedException(); 87throw new NotSupportedException(); 92throw new NotSupportedException();
System\Net\ServicePoint\ServicePointManager.cs (1)
46throw new NotSupportedException(SR.net_securityprotocolnotsupported);
System\Net\WebRequest.cs (2)
138throw new NotSupportedException(SR.net_unknown_prefix); 211throw new NotSupportedException(SR.net_unknown_prefix);
System.Net.Security (17)
System\Net\Security\NegotiateStream.cs (4)
284set => throw new NotSupportedException(SR.net_noseek); 291throw new NotSupportedException(SR.net_noseek); 345throw new NotSupportedException(SR.Format(SR.net_io_invalidnestedcall, "read")); 511throw new NotSupportedException(SR.Format(SR.net_io_invalidnestedcall, "write"));
System\Net\Security\SslAuthenticationOptions.cs (1)
82throw new NotSupportedException(SR.net_ssl_io_no_server_cert);
System\Net\Security\SslStream.cs (3)
679set => throw new NotSupportedException(SR.net_noseek); 684public override long Seek(long offset, SeekOrigin origin) => throw new NotSupportedException(SR.net_noseek); 748throw new NotSupportedException(SR.Format(SR.net_io_invalidnestedcall, "read"));
System\Net\Security\SslStream.IO.cs (4)
203throw new NotSupportedException(SR.Format(SR.net_io_invalidnestedcall, "read")); 210throw new NotSupportedException(SR.Format(SR.net_io_invalidnestedcall, "write")); 831throw new NotSupportedException(SR.Format(SR.net_io_invalidnestedcall, "read")); 972throw new NotSupportedException(SR.Format(SR.net_io_invalidnestedcall, "write"));
System\Net\Security\SslStream.Protocol.cs (3)
705throw new NotSupportedException(SR.net_ssl_io_no_server_cert); 724throw new NotSupportedException(SR.net_ssl_io_no_server_cert); 734throw new NotSupportedException(SR.net_ssl_io_no_server_cert);
System\Net\Security\SslStreamCertificateContext.cs (1)
44throw new NotSupportedException(SR.net_ssl_io_no_server_cert);
System\Net\Security\SslStreamCertificateContext.Linux.cs (1)
109throw new NotSupportedException(SR.net_ssl_io_no_server_cert);
System.Net.Sockets (23)
System\Net\Sockets\NetworkStream.cs (5)
188throw new NotSupportedException(SR.net_noseek); 197throw new NotSupportedException(SR.net_noseek); 202throw new NotSupportedException(SR.net_noseek); 210throw new NotSupportedException(SR.net_noseek); 681throw new NotSupportedException(SR.net_noseek);
System\Net\Sockets\Socket.cs (17)
625throw new NotSupportedException(SR.net_invalidversion); 646throw new NotSupportedException(SR.net_invalidversion); 663throw new NotSupportedException(SR.net_invalidversion); 677throw new NotSupportedException(SR.net_invalidversion); 700throw new NotSupportedException(SR.net_invalidversion); 718throw new NotSupportedException(SR.net_invalidversion); 762throw new NotSupportedException(SR.net_invalidversion); 860throw new NotSupportedException(SR.net_invalidversion); 892throw new NotSupportedException(SR.net_invalidversion); 912throw new NotSupportedException(SR.net_invalidversion); 947throw new NotSupportedException(SR.net_invalidversion); 1330throw new NotSupportedException(SR.net_notconnected); 2322throw new NotSupportedException(SR.net_invalidversion); 2562throw new NotSupportedException(SR.net_notconnected); 2910throw new NotSupportedException(SR.net_invalidversion); 2930throw new NotSupportedException(SR.net_invalidversion); 3224throw new NotSupportedException(SR.net_notconnected);
System\Net\Sockets\Socket.Tasks.cs (1)
760var ex = new NotSupportedException(SR.net_notconnected);
System.Net.WebClient (6)
src\libraries\Common\src\System\IO\ChunkedMemoryStream.cs (5)
114public override long Position { get { throw new NotSupportedException(); } set { throw new NotSupportedException(); } } 115public override int Read(byte[] buffer, int offset, int count) { throw new NotSupportedException(); } 116public override long Seek(long offset, SeekOrigin origin) { throw new NotSupportedException(); } 119if (_currentChunk != null) throw new NotSupportedException();
System\Net\WebClient.cs (1)
95throw new NotSupportedException(SR.net_webclient_no_concurrent_io_allowed);
System.Net.WebSockets.Client (4)
System\Net\WebSockets\WebSocketHandle.Managed.cs (4)
537public ICredentials? Credentials { get => throw new NotSupportedException(); set => throw new NotSupportedException(); } 538public Uri? GetProxy(Uri destination) => throw new NotSupportedException(); 539public bool IsBypassed(Uri host) => throw new NotSupportedException();
System.Numerics.Tensors (74)
System\Numerics\Tensors\netcore\Common\TensorPrimitives.IAggregationOperator.cs (1)
22static virtual T IdentityValue => throw new NotSupportedException();
System\Numerics\Tensors\netcore\ReadOnlyTensorSpan_1.cs (2)
370throw new NotSupportedException(SR.NotSupported_CannotCallEqualsOnSpan); 391throw new NotSupportedException(SR.NotSupported_CannotCallGetHashCodeOnSpan);
System\Numerics\Tensors\netcore\TensorPrimitives.Acos.cs (3)
34public static Vector128<T> Invoke(Vector128<T> x) => throw new NotSupportedException(); 35public static Vector256<T> Invoke(Vector256<T> x) => throw new NotSupportedException(); 36public static Vector512<T> Invoke(Vector512<T> x) => throw new NotSupportedException();
System\Numerics\Tensors\netcore\TensorPrimitives.Acosh.cs (3)
34public static Vector128<T> Invoke(Vector128<T> x) => throw new NotSupportedException(); 35public static Vector256<T> Invoke(Vector256<T> x) => throw new NotSupportedException(); 36public static Vector512<T> Invoke(Vector512<T> x) => throw new NotSupportedException();
System\Numerics\Tensors\netcore\TensorPrimitives.Asin.cs (3)
34public static Vector128<T> Invoke(Vector128<T> x) => throw new NotSupportedException(); 35public static Vector256<T> Invoke(Vector256<T> x) => throw new NotSupportedException(); 36public static Vector512<T> Invoke(Vector512<T> x) => throw new NotSupportedException();
System\Numerics\Tensors\netcore\TensorPrimitives.Asinh.cs (3)
34public static Vector128<T> Invoke(Vector128<T> x) => throw new NotSupportedException(); 35public static Vector256<T> Invoke(Vector256<T> x) => throw new NotSupportedException(); 36public static Vector512<T> Invoke(Vector512<T> x) => throw new NotSupportedException();
System\Numerics\Tensors\netcore\TensorPrimitives.Atan.cs (3)
34public static Vector128<T> Invoke(Vector128<T> x) => throw new NotSupportedException(); 35public static Vector256<T> Invoke(Vector256<T> x) => throw new NotSupportedException(); 36public static Vector512<T> Invoke(Vector512<T> x) => throw new NotSupportedException();
System\Numerics\Tensors\netcore\TensorPrimitives.Atan2.cs (3)
75public static Vector128<T> Invoke(Vector128<T> y, Vector128<T> x) => throw new NotSupportedException(); 76public static Vector256<T> Invoke(Vector256<T> y, Vector256<T> x) => throw new NotSupportedException(); 77public static Vector512<T> Invoke(Vector512<T> y, Vector512<T> x) => throw new NotSupportedException();
System\Numerics\Tensors\netcore\TensorPrimitives.Atanh.cs (3)
34public static Vector128<T> Invoke(Vector128<T> x) => throw new NotSupportedException(); 35public static Vector256<T> Invoke(Vector256<T> x) => throw new NotSupportedException(); 36public static Vector512<T> Invoke(Vector512<T> x) => throw new NotSupportedException();
System\Numerics\Tensors\netcore\TensorPrimitives.BitDecrement.cs (3)
31public static Vector128<T> Invoke(Vector128<T> x) => throw new NotSupportedException(); 32public static Vector256<T> Invoke(Vector256<T> x) => throw new NotSupportedException(); 33public static Vector512<T> Invoke(Vector512<T> x) => throw new NotSupportedException();
System\Numerics\Tensors\netcore\TensorPrimitives.BitIncrement.cs (3)
31public static Vector128<T> Invoke(Vector128<T> x) => throw new NotSupportedException(); 32public static Vector256<T> Invoke(Vector256<T> x) => throw new NotSupportedException(); 33public static Vector512<T> Invoke(Vector512<T> x) => throw new NotSupportedException();
System\Numerics\Tensors\netcore\TensorPrimitives.ConvertChecked.cs (3)
38public static Vector128<TTo> Invoke(Vector128<TFrom> x) => throw new NotSupportedException(); 39public static Vector256<TTo> Invoke(Vector256<TFrom> x) => throw new NotSupportedException(); 40public static Vector512<TTo> Invoke(Vector512<TFrom> x) => throw new NotSupportedException();
System\Numerics\Tensors\netcore\TensorPrimitives.ConvertSaturating.cs (3)
38public static Vector128<TTo> Invoke(Vector128<TFrom> x) => throw new NotSupportedException(); 39public static Vector256<TTo> Invoke(Vector256<TFrom> x) => throw new NotSupportedException(); 40public static Vector512<TTo> Invoke(Vector512<TFrom> x) => throw new NotSupportedException();
System\Numerics\Tensors\netcore\TensorPrimitives.ConvertToInteger.cs (3)
54throw new NotSupportedException(); 71throw new NotSupportedException(); 88throw new NotSupportedException();
System\Numerics\Tensors\netcore\TensorPrimitives.ConvertToIntegerNative.cs (3)
54throw new NotSupportedException(); 71throw new NotSupportedException(); 88throw new NotSupportedException();
System\Numerics\Tensors\netcore\TensorPrimitives.ConvertTruncating.cs (3)
219public static Vector128<TTo> Invoke(Vector128<TFrom> x) => throw new NotSupportedException(); 220public static Vector256<TTo> Invoke(Vector256<TFrom> x) => throw new NotSupportedException(); 221public static Vector512<TTo> Invoke(Vector512<TFrom> x) => throw new NotSupportedException();
System\Numerics\Tensors\netcore\TensorPrimitives.Ieee754Remainder.cs (3)
63public static Vector128<T> Invoke(Vector128<T> x, Vector128<T> y) => throw new NotSupportedException(); 64public static Vector256<T> Invoke(Vector256<T> x, Vector256<T> y) => throw new NotSupportedException(); 65public static Vector512<T> Invoke(Vector512<T> x, Vector512<T> y) => throw new NotSupportedException();
System\Numerics\Tensors\netcore\TensorPrimitives.ILogB.cs (6)
40public static Vector128<int> Invoke(Vector128<T> x) => throw new NotSupportedException(); 41public static Vector256<int> Invoke(Vector256<T> x) => throw new NotSupportedException(); 42public static Vector512<int> Invoke(Vector512<T> x) => throw new NotSupportedException(); 51public static Vector128<int> Invoke(Vector128<double> lower, Vector128<double> upper) => throw new NotSupportedException(); 52public static Vector256<int> Invoke(Vector256<double> lower, Vector256<double> upper) => throw new NotSupportedException(); 53public static Vector512<int> Invoke(Vector512<double> lower, Vector512<double> upper) => throw new NotSupportedException();
System\Numerics\Tensors\netcore\TensorPrimitives.IsComplexNumber.cs (3)
73public static Vector128<T> Invoke(Vector128<T> x) => throw new NotSupportedException(); 74public static Vector256<T> Invoke(Vector256<T> x) => throw new NotSupportedException(); 75public static Vector512<T> Invoke(Vector512<T> x) => throw new NotSupportedException();
System\Numerics\Tensors\netcore\TensorPrimitives.IsImaginaryNumber.cs (3)
73public static Vector128<T> Invoke(Vector128<T> x) => throw new NotSupportedException(); 74public static Vector256<T> Invoke(Vector256<T> x) => throw new NotSupportedException(); 75public static Vector512<T> Invoke(Vector512<T> x) => throw new NotSupportedException();
System\Numerics\Tensors\netcore\TensorPrimitives.Round.cs (3)
356public Vector128<T> Invoke(Vector128<T> x) => throw new NotSupportedException(); 357public Vector256<T> Invoke(Vector256<T> x) => throw new NotSupportedException(); 358public Vector512<T> Invoke(Vector512<T> x) => throw new NotSupportedException();
System\Numerics\Tensors\netcore\TensorPrimitives.SinCos.cs (3)
35public static (Vector128<T> First, Vector128<T> Second) Invoke(Vector128<T> x) => throw new NotSupportedException(); 36public static (Vector256<T> First, Vector256<T> Second) Invoke(Vector256<T> x) => throw new NotSupportedException(); 37public static (Vector512<T> First, Vector512<T> Second) Invoke(Vector512<T> x) => throw new NotSupportedException();
System\Numerics\Tensors\netcore\TensorPrimitives.SinCosPi.cs (3)
35public static (Vector128<T> First, Vector128<T> Second) Invoke(Vector128<T> x) => throw new NotSupportedException(); 36public static (Vector256<T> First, Vector256<T> Second) Invoke(Vector256<T> x) => throw new NotSupportedException(); 37public static (Vector512<T> First, Vector512<T> Second) Invoke(Vector512<T> x) => throw new NotSupportedException();
System\Numerics\Tensors\netcore\TensorPrimitives.TanPi.cs (3)
37public static Vector128<T> Invoke(Vector128<T> x) => throw new NotSupportedException(); 38public static Vector256<T> Invoke(Vector256<T> x) => throw new NotSupportedException(); 39public static Vector512<T> Invoke(Vector512<T> x) => throw new NotSupportedException();
System\Numerics\Tensors\netcore\TensorSpan.cs (2)
267throw new NotSupportedException(SR.NotSupported_CannotCallEqualsOnSpan); 288throw new NotSupportedException(SR.NotSupported_CannotCallGetHashCodeOnSpan);
System.ObjectModel (12)
System\Collections\Specialized\NotifyCollectionChangedEventArgs.cs (12)
297set => throw new NotSupportedException(SR.NotSupported_ReadOnlyCollection); 302public int Add(object? value) => throw new NotSupportedException(SR.NotSupported_ReadOnlyCollection); 304public void Clear() => throw new NotSupportedException(SR.NotSupported_ReadOnlyCollection); 314public void Insert(int index, object? value) => throw new NotSupportedException(SR.NotSupported_ReadOnlyCollection); 316public void Remove(object? value) => throw new NotSupportedException(SR.NotSupported_ReadOnlyCollection); 318public void RemoveAt(int index) => throw new NotSupportedException(SR.NotSupported_ReadOnlyCollection); 334set => throw new NotSupportedException(SR.NotSupported_ReadOnlyCollection); 362public int Add(object? value) => throw new NotSupportedException(SR.NotSupported_ReadOnlyCollection); 363public void Clear() => throw new NotSupportedException(SR.NotSupported_ReadOnlyCollection); 364public void Insert(int index, object? value) => throw new NotSupportedException(SR.NotSupported_ReadOnlyCollection); 365public void Remove(object? value) => throw new NotSupportedException(SR.NotSupported_ReadOnlyCollection); 366public void RemoveAt(int index) => throw new NotSupportedException(SR.NotSupported_ReadOnlyCollection);
System.Private.CoreLib (462)
src\Internal\Runtime\InteropServices\ComponentActivator.CoreCLR.cs (1)
22throw new NotSupportedException(SR.NotSupported_CppCli);
src\libraries\System.Private.CoreLib\src\Internal\Runtime\CompilerHelpers\ThrowHelpers.cs (2)
81throw new NotSupportedException(); 88throw new NotSupportedException(SR.Arg_TypeNotSupported);
src\libraries\System.Private.CoreLib\src\System\Activator.RuntimeType.cs (1)
26throw new NotSupportedException(SR.NotSupported_CreateInstanceWithTypeBuilder);
src\libraries\System.Private.CoreLib\src\System\Buffers\Text\Utf8Formatter\Utf8Formatter.Integer.cs (1)
338throw new NotSupportedException(SR.Argument_GWithPrecisionNotSupported);
src\libraries\System.Private.CoreLib\src\System\Collections\ArrayList.cs (37)
794throw new NotSupportedException(SR.NotSupported_FixedSizeCollection); 1615throw new NotSupportedException(SR.NotSupported_FixedSizeCollection); 1620throw new NotSupportedException(SR.NotSupported_FixedSizeCollection); 1645throw new NotSupportedException(SR.NotSupported_FixedSizeCollection); 1650throw new NotSupportedException(SR.NotSupported_FixedSizeCollection); 1655throw new NotSupportedException(SR.NotSupported_FixedSizeCollection); 1691throw new NotSupportedException(SR.NotSupported_FixedSizeCollection); 1696throw new NotSupportedException(SR.NotSupported_FixedSizeCollection); 1707set => throw new NotSupportedException(SR.NotSupported_FixedSizeCollection); 1712throw new NotSupportedException(SR.NotSupported_FixedSizeCollection); 1764throw new NotSupportedException(SR.NotSupported_FixedSizeCollection); 1769throw new NotSupportedException(SR.NotSupported_FixedSizeCollection); 1789throw new NotSupportedException(SR.NotSupported_FixedSizeCollection); 1794throw new NotSupportedException(SR.NotSupported_FixedSizeCollection); 1799throw new NotSupportedException(SR.NotSupported_FixedSizeCollection); 1843throw new NotSupportedException(SR.NotSupported_FixedSizeCollection); 1867set => throw new NotSupportedException(SR.NotSupported_ReadOnlyCollection); 1874throw new NotSupportedException(SR.NotSupported_ReadOnlyCollection); 1879throw new NotSupportedException(SR.NotSupported_ReadOnlyCollection); 1904throw new NotSupportedException(SR.NotSupported_ReadOnlyCollection); 1909throw new NotSupportedException(SR.NotSupported_ReadOnlyCollection); 1914throw new NotSupportedException(SR.NotSupported_ReadOnlyCollection); 1938set => throw new NotSupportedException(SR.NotSupported_ReadOnlyCollection); 1945throw new NotSupportedException(SR.NotSupported_ReadOnlyCollection); 1950throw new NotSupportedException(SR.NotSupported_ReadOnlyCollection); 1962set => throw new NotSupportedException(SR.NotSupported_ReadOnlyCollection); 1967throw new NotSupportedException(SR.NotSupported_ReadOnlyCollection); 2019throw new NotSupportedException(SR.NotSupported_ReadOnlyCollection); 2024throw new NotSupportedException(SR.NotSupported_ReadOnlyCollection); 2044throw new NotSupportedException(SR.NotSupported_ReadOnlyCollection); 2049throw new NotSupportedException(SR.NotSupported_ReadOnlyCollection); 2054throw new NotSupportedException(SR.NotSupported_ReadOnlyCollection); 2059throw new NotSupportedException(SR.NotSupported_ReadOnlyCollection); 2074throw new NotSupportedException(SR.NotSupported_ReadOnlyCollection); 2079throw new NotSupportedException(SR.NotSupported_ReadOnlyCollection); 2095throw new NotSupportedException(SR.NotSupported_ReadOnlyCollection); 2545throw new NotSupportedException(SR.NotSupported_RangeCollection);
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\EqualityComparer.cs (1)
32getHashCode ??= _ => throw new NotSupportedException();
src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\ReadOnlyDictionary.cs (16)
57throw new NotSupportedException(SR.NotSupported_ReadOnlyCollection); 62throw new NotSupportedException(SR.NotSupported_ReadOnlyCollection); 68set => throw new NotSupportedException(SR.NotSupported_ReadOnlyCollection); 87throw new NotSupportedException(SR.NotSupported_ReadOnlyCollection); 92throw new NotSupportedException(SR.NotSupported_ReadOnlyCollection); 97throw new NotSupportedException(SR.NotSupported_ReadOnlyCollection); 119throw new NotSupportedException(SR.NotSupported_ReadOnlyCollection); 124throw new NotSupportedException(SR.NotSupported_ReadOnlyCollection); 149throw new NotSupportedException(SR.NotSupported_ReadOnlyCollection); 172set => throw new NotSupportedException(SR.NotSupported_ReadOnlyCollection); 260throw new NotSupportedException(SR.NotSupported_ReadOnlyCollection); 265throw new NotSupportedException(SR.NotSupported_ReadOnlyCollection); 284throw new NotSupportedException(SR.NotSupported_ReadOnlyCollection); 316throw new NotSupportedException(SR.NotSupported_ReadOnlyCollection); 321throw new NotSupportedException(SR.NotSupported_ReadOnlyCollection); 337throw new NotSupportedException(SR.NotSupported_ReadOnlyCollection);
src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\ReadOnlySet.cs (8)
81bool ISet<T>.Add(T item) => throw new NotSupportedException(); 84void ISet<T>.ExceptWith(IEnumerable<T> other) => throw new NotSupportedException(); 87void ISet<T>.IntersectWith(IEnumerable<T> other) => throw new NotSupportedException(); 90void ISet<T>.SymmetricExceptWith(IEnumerable<T> other) => throw new NotSupportedException(); 93void ISet<T>.UnionWith(IEnumerable<T> other) => throw new NotSupportedException(); 96void ICollection<T>.Add(T item) => throw new NotSupportedException(); 99void ICollection<T>.Clear() => throw new NotSupportedException(); 102bool ICollection<T>.Remove(T item) => throw new NotSupportedException();
src\libraries\System.Private.CoreLib\src\System\DefaultBinder.cs (1)
752throw new NotSupportedException(SR.NotSupported_ChangeType);
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\TraceLogging\EventPayload.cs (7)
46set => throw new NotSupportedException(); 51throw new NotSupportedException(); 56throw new NotSupportedException(); 61throw new NotSupportedException(); 97throw new NotSupportedException(); 102throw new NotSupportedException(); 107throw new NotSupportedException();
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\TraceLogging\FieldMetadata.cs (4)
123throw new NotSupportedException(SR.EventSource_NotSupportedArrayOfNil); 127throw new NotSupportedException(SR.EventSource_NotSupportedArrayOfBinary); 132throw new NotSupportedException(SR.EventSource_NotSupportedArrayOfNullTerminatedString); 153throw new NotSupportedException(SR.EventSource_TooManyFields);
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\TraceLogging\Statics.cs (1)
402throw new NotSupportedException(SR.EventSource_RecursiveTypeDefinition);
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\TraceLogging\TraceLoggingMetadataCollector.cs (3)
212throw new NotSupportedException(SR.EventSource_NotSupportedNestedArraysEnums); 224throw new NotSupportedException(SR.EventSource_NotSupportedNestedArraysEnums); 254throw new NotSupportedException(SR.EventSource_NotSupportedCustomSerializedData);
src\libraries\System.Private.CoreLib\src\System\HashCode.cs (2)
499public override int GetHashCode() => throw new NotSupportedException(SR.HashCode_HashCodeNotSupported); 503public override bool Equals(object? obj) => throw new NotSupportedException(SR.HashCode_EqualityNotSupported);
src\libraries\System.Private.CoreLib\src\System\IO\BufferedStream.cs (1)
399throw new NotSupportedException(SR.NotSupported_CannotWriteToBufferedStreamIfReadBufferCannotBeFlushed);
src\libraries\System.Private.CoreLib\src\System\IO\Enumeration\FileSystemEnumerator.cs (1)
100throw new NotSupportedException();
src\libraries\System.Private.CoreLib\src\System\IO\Iterator.cs (1)
67throw new NotSupportedException();
src\libraries\System.Private.CoreLib\src\System\IO\MemoryStream.cs (1)
269throw new NotSupportedException(SR.NotSupported_MemStreamNotExpandable);
src\libraries\System.Private.CoreLib\src\System\IO\UnmanagedMemoryAccessor.cs (6)
291throw new NotSupportedException(SR.NotSupported_Reading); 329throw new NotSupportedException(SR.NotSupported_Reading); 519throw new NotSupportedException(SR.NotSupported_Writing); 561throw new NotSupportedException(SR.NotSupported_Writing); 575throw new NotSupportedException(SR.NotSupported_Reading); 599throw new NotSupportedException(SR.NotSupported_Writing);
src\libraries\System.Private.CoreLib\src\System\IO\UnmanagedMemoryStream.cs (5)
301throw new NotSupportedException(SR.NotSupported_UmsSafeBuffer); 314throw new NotSupportedException(SR.NotSupported_UmsSafeBuffer); 573throw new NotSupportedException(SR.NotSupported_UmsSafeBuffer); 641throw new NotSupportedException(SR.IO_FixedCapacity); 768throw new NotSupportedException(SR.IO_FixedCapacity);
src\libraries\System.Private.CoreLib\src\System\Random.cs (1)
568protected override double Sample() => throw new NotSupportedException();
src\libraries\System.Private.CoreLib\src\System\Random.Xoshiro256StarStarImpl.cs (1)
198throw new NotSupportedException();
src\libraries\System.Private.CoreLib\src\System\ReadOnlySpan.cs (2)
187throw new NotSupportedException(SR.NotSupported_CannotCallEqualsOnSpan); 198throw new NotSupportedException(SR.NotSupported_CannotCallGetHashCodeOnSpan);
src\libraries\System.Private.CoreLib\src\System\Reflection\Assembly.cs (2)
35typeinfos[i] = types[i].GetTypeInfo() ?? throw new NotSupportedException(SR.Format(SR.NotSupported_NoTypeInfo, types[i].FullName)); 410throw new NotSupportedException(SR.NotSupported_AssemblyLoadFromHash);
src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\AssemblyBuilder.cs (8)
57public override string? CodeBase => throw new NotSupportedException(SR.NotSupported_DynamicAssembly); 64throw new NotSupportedException(SR.NotSupported_DynamicAssembly); 68throw new NotSupportedException(SR.NotSupported_DynamicAssembly); 72throw new NotSupportedException(SR.NotSupported_DynamicAssembly); 75throw new NotSupportedException(SR.NotSupported_DynamicAssembly); 78throw new NotSupportedException(SR.NotSupported_DynamicAssembly); 81throw new NotSupportedException(SR.NotSupported_DynamicAssembly); 84throw new NotSupportedException(SR.NotSupported_DynamicAssembly);
src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\ConstructorOnTypeBuilderInstantiation.cs (1)
56throw new NotSupportedException();
src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\DynamicMethod.cs (2)
228throw new NotSupportedException(SR.NotSupported_DynamicMethodFlags); 251(returnType.UnderlyingSystemType as RuntimeType) ?? throw new NotSupportedException(SR.Arg_InvalidTypeInRetType);
src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\ILGenerator.cs (2)
160throw new NotSupportedException(SR.NotSupported_OutputStreamUsingTypeBuilder); 248throw new NotSupportedException(SR.NotSupported_EmitDebugInfo);
src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\LocalBuilder.cs (1)
36protected virtual void SetLocalSymInfoCore(string name) => throw new NotSupportedException(SR.NotSupported_EmitDebugInfo);
src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\MethodBuilderInstantiation.cs (5)
56public override RuntimeMethodHandle MethodHandle => throw new NotSupportedException(SR.NotSupported_DynamicModule); 60throw new NotSupportedException(); 101public override ParameterInfo ReturnParameter => throw new NotSupportedException(); 102public override ICustomAttributeProvider ReturnTypeCustomAttributes => throw new NotSupportedException(); 103public override MethodInfo GetBaseDefinition() { throw new NotSupportedException(); }
src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\MethodOnTypeBuilderInstantiation.cs (4)
68throw new NotSupportedException(); 121public override ParameterInfo ReturnParameter => throw new NotSupportedException(); 122public override ICustomAttributeProvider ReturnTypeCustomAttributes => throw new NotSupportedException(); 123public override MethodInfo GetBaseDefinition() { throw new NotSupportedException(); }
src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\SymbolType.cs (24)
306public override Guid GUID => throw new NotSupportedException(SR.NotSupported_NonReflectedType); 315throw new NotSupportedException(SR.NotSupported_NonReflectedType); 341public override RuntimeTypeHandle TypeHandle => throw new NotSupportedException(SR.NotSupported_NonReflectedType); 374throw new NotSupportedException(SR.NotSupported_NonReflectedType); 380throw new NotSupportedException(SR.NotSupported_NonReflectedType); 387throw new NotSupportedException(SR.NotSupported_NonReflectedType); 393throw new NotSupportedException(SR.NotSupported_NonReflectedType); 399throw new NotSupportedException(SR.NotSupported_NonReflectedType); 405throw new NotSupportedException(SR.NotSupported_NonReflectedType); 412throw new NotSupportedException(SR.NotSupported_NonReflectedType); 418throw new NotSupportedException(SR.NotSupported_NonReflectedType); 424throw new NotSupportedException(SR.NotSupported_NonReflectedType); 430throw new NotSupportedException(SR.NotSupported_NonReflectedType); 437throw new NotSupportedException(SR.NotSupported_NonReflectedType); 443throw new NotSupportedException(SR.NotSupported_NonReflectedType); 449throw new NotSupportedException(SR.NotSupported_NonReflectedType); 455throw new NotSupportedException(SR.NotSupported_NonReflectedType); 461throw new NotSupportedException(SR.NotSupported_NonReflectedType); 467throw new NotSupportedException(SR.NotSupported_NonReflectedType); 479throw new NotSupportedException(SR.NotSupported_NonReflectedType); 485throw new NotSupportedException(SR.NotSupported_NonReflectedType); 542throw new NotSupportedException(SR.NotSupported_NonReflectedType); 547throw new NotSupportedException(SR.NotSupported_NonReflectedType); 552throw new NotSupportedException(SR.NotSupported_NonReflectedType);
src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\TypeBuilderInstantiation.cs (27)
100public override Guid GUID => throw new NotSupportedException(); 103public override object InvokeMember(string name, BindingFlags invokeAttr, Binder? binder, object? target, object?[]? args, ParameterModifier[]? modifiers, CultureInfo? culture, string[]? namedParameters) { throw new NotSupportedException(); } 106public override RuntimeTypeHandle TypeHandle => throw new NotSupportedException(); 165protected override ConstructorInfo GetConstructorImpl(BindingFlags bindingAttr, Binder? binder, CallingConventions callConvention, Type[] types, ParameterModifier[]? modifiers) { throw new NotSupportedException(); } 168public override ConstructorInfo[] GetConstructors(BindingFlags bindingAttr) { throw new NotSupportedException(); } 171protected override MethodInfo GetMethodImpl(string name, BindingFlags bindingAttr, Binder? binder, CallingConventions callConvention, Type[]? types, ParameterModifier[]? modifiers) { throw new NotSupportedException(); } 174public override MethodInfo[] GetMethods(BindingFlags bindingAttr) { throw new NotSupportedException(); } 177public override FieldInfo GetField(string name, BindingFlags bindingAttr) { throw new NotSupportedException(); } 180public override FieldInfo[] GetFields(BindingFlags bindingAttr) { throw new NotSupportedException(); } 184public override Type GetInterface(string name, bool ignoreCase) { throw new NotSupportedException(); } 187public override Type[] GetInterfaces() { throw new NotSupportedException(); } 190public override EventInfo GetEvent(string name, BindingFlags bindingAttr) { throw new NotSupportedException(); } 193public override EventInfo[] GetEvents() { throw new NotSupportedException(); } 196protected override PropertyInfo GetPropertyImpl(string name, BindingFlags bindingAttr, Binder? binder, Type? returnType, Type[]? types, ParameterModifier[]? modifiers) { throw new NotSupportedException(); } 199public override PropertyInfo[] GetProperties(BindingFlags bindingAttr) { throw new NotSupportedException(); } 202public override Type[] GetNestedTypes(BindingFlags bindingAttr) { throw new NotSupportedException(); } 205public override Type GetNestedType(string name, BindingFlags bindingAttr) { throw new NotSupportedException(); } 208public override MemberInfo[] GetMember(string name, MemberTypes type, BindingFlags bindingAttr) { throw new NotSupportedException(); } 210public override InterfaceMapping GetInterfaceMap([DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicMethods | DynamicallyAccessedMemberTypes.NonPublicMethods)] Type interfaceType) { throw new NotSupportedException(); } 213public override EventInfo[] GetEvents(BindingFlags bindingAttr) { throw new NotSupportedException(); } 216public override MemberInfo[] GetMembers(BindingFlags bindingAttr) { throw new NotSupportedException(); } 228public override Type GetElementType() { throw new NotSupportedException(); } 256public override bool IsAssignableFrom([NotNullWhen(true)] Type? c) { throw new NotSupportedException(); } 260throw new NotSupportedException(); 265public override object[] GetCustomAttributes(bool inherit) { throw new NotSupportedException(); } 267public override object[] GetCustomAttributes(Type attributeType, bool inherit) { throw new NotSupportedException(); } 269public override bool IsDefined(Type attributeType, bool inherit) { throw new NotSupportedException(); }
src\libraries\System.Private.CoreLib\src\System\Reflection\FieldAccessor.cs (1)
200throw new NotSupportedException();
src\libraries\System.Private.CoreLib\src\System\Reflection\FieldInfo.cs (4)
72public virtual void SetValueDirect(TypedReference obj, object value) { throw new NotSupportedException(SR.NotSupported_AbstractNonCLS); } 74public virtual object? GetValueDirect(TypedReference obj) { throw new NotSupportedException(SR.NotSupported_AbstractNonCLS); } 76public virtual object? GetRawConstantValue() { throw new NotSupportedException(SR.NotSupported_AbstractNonCLS); } 78public virtual Type GetModifiedFieldType() => throw new NotSupportedException();
src\libraries\System.Private.CoreLib\src\System\Reflection\InvokeUtils.cs (2)
26throw new NotSupportedException(); 104throw new NotSupportedException();
src\libraries\System.Private.CoreLib\src\System\Reflection\MethodBase.cs (1)
51public virtual Type[] GetGenericArguments() { throw new NotSupportedException(SR.NotSupported_SubclassOverride); }
src\libraries\System.Private.CoreLib\src\System\Reflection\MethodInfo.cs (5)
18public override Type[] GetGenericArguments() { throw new NotSupportedException(SR.NotSupported_SubclassOverride); } 19public virtual MethodInfo GetGenericMethodDefinition() { throw new NotSupportedException(SR.NotSupported_SubclassOverride); } 23public virtual MethodInfo MakeGenericMethod(params Type[] typeArguments) { throw new NotSupportedException(SR.NotSupported_SubclassOverride); } 29public virtual Delegate CreateDelegate(Type delegateType) { throw new NotSupportedException(SR.NotSupported_SubclassOverride); } 30public virtual Delegate CreateDelegate(Type delegateType, object? target) { throw new NotSupportedException(SR.NotSupported_SubclassOverride); }
src\libraries\System.Private.CoreLib\src\System\Reflection\ModifiedType.cs (27)
70public override bool Equals([NotNullWhen(true)] object? obj) => throw new NotSupportedException(SR.NotSupported_ModifiedType); 71public override bool Equals(Type? other) => throw new NotSupportedException(SR.NotSupported_ModifiedType); 72public override int GetHashCode() => throw new NotSupportedException(SR.NotSupported_ModifiedType); 85=> throw new NotSupportedException(SR.NotSupported_ModifiedType); 88public override int MetadataToken => throw new NotSupportedException(SR.NotSupported_ModifiedType); 91public override RuntimeTypeHandle TypeHandle => throw new NotSupportedException(SR.NotSupported_ModifiedType); 96public override Type? BaseType => throw new NotSupportedException(SR.NotSupported_ModifiedType); 97public override Type? DeclaringType => throw new NotSupportedException(SR.NotSupported_ModifiedType); 98public override Type? ReflectedType => throw new NotSupportedException(SR.NotSupported_ModifiedType); 102CallingConventions callConvention, Type[] types, ParameterModifier[]? modifiers) => throw new NotSupportedException(SR.NotSupported_ModifiedType); 105public override ConstructorInfo[] GetConstructors(BindingFlags bindingAttr) => throw new NotSupportedException(SR.NotSupported_ModifiedType); 110=> throw new NotSupportedException(SR.NotSupported_ModifiedType); 113public override MethodInfo[] GetMethods(BindingFlags bindingAttr) => throw new NotSupportedException(SR.NotSupported_ModifiedType); 116public override FieldInfo? GetField(string name, BindingFlags bindingAttr) => throw new NotSupportedException(SR.NotSupported_ModifiedType); 119public override FieldInfo[] GetFields(BindingFlags bindingAttr) => throw new NotSupportedException(SR.NotSupported_ModifiedType); 127public override Type? GetInterface(string name, bool ignoreCase) => throw new NotSupportedException(SR.NotSupported_ModifiedType); 130public override Type[] GetInterfaces() => throw new NotSupportedException(SR.NotSupported_ModifiedType); 134public override EventInfo? GetEvent(string name, BindingFlags bindingAttr) => throw new NotSupportedException(SR.NotSupported_ModifiedType); 137public override EventInfo[] GetEvents() => throw new NotSupportedException(SR.NotSupported_ModifiedType); 142=> throw new NotSupportedException(SR.NotSupported_ModifiedType); 145public override PropertyInfo[] GetProperties(BindingFlags bindingAttr) => throw new NotSupportedException(SR.NotSupported_ModifiedType); 148public override EventInfo[] GetEvents(BindingFlags bindingAttr) => throw new NotSupportedException(SR.NotSupported_ModifiedType); 151public override Type[] GetNestedTypes(BindingFlags bindingAttr) => throw new NotSupportedException(SR.NotSupported_ModifiedType); 154public override Type? GetNestedType(string name, BindingFlags bindingAttr) => throw new NotSupportedException(SR.NotSupported_ModifiedType); 157public override MemberInfo[] GetMember(string name, MemberTypes type, BindingFlags bindingAttr) => throw new NotSupportedException(SR.NotSupported_ModifiedType); 160public override MemberInfo[] GetMembers(BindingFlags bindingAttr) => throw new NotSupportedException(SR.NotSupported_ModifiedType); 162public override MemberInfo GetMemberWithSameMetadataDefinitionAs(MemberInfo member) => throw new NotSupportedException(SR.NotSupported_ModifiedType);
src\libraries\System.Private.CoreLib\src\System\Reflection\ParameterInfo.cs (1)
51public virtual Type GetModifiedParameterType() => throw new NotSupportedException();
src\libraries\System.Private.CoreLib\src\System\Reflection\PropertyInfo.cs (1)
36public virtual Type GetModifiedPropertyType() => throw new NotSupportedException();
src\libraries\System.Private.CoreLib\src\System\Reflection\RuntimeConstructorInfo.cs (2)
66throw new NotSupportedException(); 70throw new NotSupportedException();
src\libraries\System.Private.CoreLib\src\System\Reflection\RuntimeMethodInfo.cs (4)
66throw new NotSupportedException(); 71throw new NotSupportedException(); 87throw new NotSupportedException(SR.NotSupported_ByRefToByRefLikeReturn); 89throw new NotSupportedException(SR.NotSupported_ByRefToVoidReturn);
src\libraries\System.Private.CoreLib\src\System\Reflection\SignatureGenericParameterType.cs (2)
22public sealed override bool IsEnum => throw new NotSupportedException(SR.NotSupported_SignatureType); 30protected sealed override bool IsValueTypeImpl() => throw new NotSupportedException(SR.NotSupported_SignatureType);
src\libraries\System.Private.CoreLib\src\System\Reflection\SignatureType.cs (62)
54public sealed override Type MakeGenericType(params Type[] typeArguments) => throw new NotSupportedException(SR.NotSupported_SignatureType); // There is no SignatureType for type definition types so it would never be legal to call this. 81public sealed override Assembly Assembly => throw new NotSupportedException(SR.NotSupported_SignatureType); 82public sealed override Module Module => throw new NotSupportedException(SR.NotSupported_SignatureType); 84public sealed override Type ReflectedType => throw new NotSupportedException(SR.NotSupported_SignatureType); 85public sealed override Type BaseType => throw new NotSupportedException(SR.NotSupported_SignatureType); 88public sealed override Type[] GetInterfaces() => throw new NotSupportedException(SR.NotSupported_SignatureType); 89public sealed override bool IsAssignableFrom([NotNullWhen(true)] Type? c) => throw new NotSupportedException(SR.NotSupported_SignatureType); 90public sealed override int MetadataToken => throw new NotSupportedException(SR.NotSupported_SignatureType); 91public sealed override bool HasSameMetadataDefinitionAs(MemberInfo other) => throw new NotSupportedException(SR.NotSupported_SignatureType); 93public sealed override Type DeclaringType => throw new NotSupportedException(SR.NotSupported_SignatureType); 94public sealed override MethodBase DeclaringMethod => throw new NotSupportedException(SR.NotSupported_SignatureType); 96public sealed override Type[] GetGenericParameterConstraints() => throw new NotSupportedException(SR.NotSupported_SignatureType); 97public sealed override GenericParameterAttributes GenericParameterAttributes => throw new NotSupportedException(SR.NotSupported_SignatureType); 98public sealed override bool IsEnumDefined(object value) => throw new NotSupportedException(SR.NotSupported_SignatureType); 99public sealed override string GetEnumName(object value) => throw new NotSupportedException(SR.NotSupported_SignatureType); 100public sealed override string[] GetEnumNames() => throw new NotSupportedException(SR.NotSupported_SignatureType); 101public sealed override Type GetEnumUnderlyingType() => throw new NotSupportedException(SR.NotSupported_SignatureType); 103public sealed override Array GetEnumValues() => throw new NotSupportedException(SR.NotSupported_SignatureType); 104public sealed override Guid GUID => throw new NotSupportedException(SR.NotSupported_SignatureType); 105protected sealed override TypeCode GetTypeCodeImpl() => throw new NotSupportedException(SR.NotSupported_SignatureType); 106protected sealed override TypeAttributes GetAttributeFlagsImpl() => throw new NotSupportedException(SR.NotSupported_SignatureType); 109public sealed override ConstructorInfo[] GetConstructors(BindingFlags bindingAttr) => throw new NotSupportedException(SR.NotSupported_SignatureType); 112public sealed override EventInfo GetEvent(string name, BindingFlags bindingAttr) => throw new NotSupportedException(SR.NotSupported_SignatureType); 115public sealed override EventInfo[] GetEvents(BindingFlags bindingAttr) => throw new NotSupportedException(SR.NotSupported_SignatureType); 118public sealed override FieldInfo GetField(string name, BindingFlags bindingAttr) => throw new NotSupportedException(SR.NotSupported_SignatureType); 121public sealed override FieldInfo[] GetFields(BindingFlags bindingAttr) => throw new NotSupportedException(SR.NotSupported_SignatureType); 124public sealed override MemberInfo[] GetMembers(BindingFlags bindingAttr) => throw new NotSupportedException(SR.NotSupported_SignatureType); 127public sealed override MethodInfo[] GetMethods(BindingFlags bindingAttr) => throw new NotSupportedException(SR.NotSupported_SignatureType); 130public sealed override Type GetNestedType(string name, BindingFlags bindingAttr) => throw new NotSupportedException(SR.NotSupported_SignatureType); 133public sealed override Type[] GetNestedTypes(BindingFlags bindingAttr) => throw new NotSupportedException(SR.NotSupported_SignatureType); 136public sealed override PropertyInfo[] GetProperties(BindingFlags bindingAttr) => throw new NotSupportedException(SR.NotSupported_SignatureType); 139public sealed override object InvokeMember(string name, BindingFlags invokeAttr, Binder? binder, object? target, object?[]? args, ParameterModifier[]? modifiers, CultureInfo? culture, string[]? namedParameters) => throw new NotSupportedException(SR.NotSupported_SignatureType); 142protected sealed override MethodInfo GetMethodImpl(string name, BindingFlags bindingAttr, Binder? binder, CallingConventions callConvention, Type[]? types, ParameterModifier[]? modifiers) => throw new NotSupportedException(SR.NotSupported_SignatureType); 145protected sealed override MethodInfo GetMethodImpl(string name, int genericParameterCount, BindingFlags bindingAttr, Binder? binder, CallingConventions callConvention, Type[]? types, ParameterModifier[]? modifiers) => throw new NotSupportedException(SR.NotSupported_SignatureType); 148protected sealed override PropertyInfo GetPropertyImpl(string name, BindingFlags bindingAttr, Binder? binder, Type? returnType, Type[]? types, ParameterModifier[]? modifiers) => throw new NotSupportedException(SR.NotSupported_SignatureType); 151public sealed override MemberInfo[] FindMembers(MemberTypes memberType, BindingFlags bindingAttr, MemberFilter? filter, object? filterCriteria) => throw new NotSupportedException(SR.NotSupported_SignatureType); 154public sealed override MemberInfo[] GetMember(string name, BindingFlags bindingAttr) => throw new NotSupportedException(SR.NotSupported_SignatureType); 157public sealed override MemberInfo[] GetMember(string name, MemberTypes type, BindingFlags bindingAttr) => throw new NotSupportedException(SR.NotSupported_SignatureType); 166public sealed override MemberInfo[] GetDefaultMembers() => throw new NotSupportedException(SR.NotSupported_SignatureType); 169public sealed override EventInfo[] GetEvents() => throw new NotSupportedException(SR.NotSupported_SignatureType); 171public sealed override object[] GetCustomAttributes(bool inherit) => throw new NotSupportedException(SR.NotSupported_SignatureType); 172public sealed override object[] GetCustomAttributes(Type attributeType, bool inherit) => throw new NotSupportedException(SR.NotSupported_SignatureType); 173public sealed override bool IsDefined(Type attributeType, bool inherit) => throw new NotSupportedException(SR.NotSupported_SignatureType); 174public sealed override IList<CustomAttributeData> GetCustomAttributesData() => throw new NotSupportedException(SR.NotSupported_SignatureType); 178public sealed override Type GetInterface(string name, bool ignoreCase) => throw new NotSupportedException(SR.NotSupported_SignatureType); 181protected sealed override ConstructorInfo GetConstructorImpl(BindingFlags bindingAttr, Binder? binder, CallingConventions callConvention, Type[] types, ParameterModifier[]? modifiers) => throw new NotSupportedException(SR.NotSupported_SignatureType); 183protected sealed override bool IsCOMObjectImpl() => throw new NotSupportedException(SR.NotSupported_SignatureType); 184protected sealed override bool IsPrimitiveImpl() => throw new NotSupportedException(SR.NotSupported_SignatureType); 185public sealed override IEnumerable<CustomAttributeData> CustomAttributes => throw new NotSupportedException(SR.NotSupported_SignatureType); 188public sealed override Type[] FindInterfaces(TypeFilter filter, object? filterCriteria) => throw new NotSupportedException(SR.NotSupported_SignatureType); 189public sealed override InterfaceMapping GetInterfaceMap([DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicMethods | DynamicallyAccessedMemberTypes.NonPublicMethods)] Type interfaceType) => throw new NotSupportedException(SR.NotSupported_SignatureType); 190protected sealed override bool IsContextfulImpl() => throw new NotSupportedException(SR.NotSupported_SignatureType); 192public sealed override bool IsEquivalentTo([NotNullWhen(true)] Type? other) => throw new NotSupportedException(SR.NotSupported_SignatureType); 193public sealed override bool IsInstanceOfType([NotNullWhen(true)] object? o) => throw new NotSupportedException(SR.NotSupported_SignatureType); 194protected sealed override bool IsMarshalByRefImpl() => throw new NotSupportedException(SR.NotSupported_SignatureType); 195public sealed override bool IsSecurityCritical => throw new NotSupportedException(SR.NotSupported_SignatureType); 196public sealed override bool IsSecuritySafeCritical => throw new NotSupportedException(SR.NotSupported_SignatureType); 197public sealed override bool IsSecurityTransparent => throw new NotSupportedException(SR.NotSupported_SignatureType); 199public sealed override bool IsSerializable => throw new NotSupportedException(SR.NotSupported_SignatureType); 200public sealed override bool IsSubclassOf(Type c) => throw new NotSupportedException(SR.NotSupported_SignatureType); 203public sealed override StructLayoutAttribute StructLayoutAttribute => throw new NotSupportedException(SR.NotSupported_SignatureType); 205public sealed override RuntimeTypeHandle TypeHandle => throw new NotSupportedException(SR.NotSupported_SignatureType);
src\libraries\System.Private.CoreLib\src\System\Resources\ManifestBasedResourceGroveler.cs (2)
209throw new NotSupportedException(SR.Format(SR.NotSupported_ObsoleteResourcesFile, _mediator.MainAssembly.GetName().Name)); 233throw new NotSupportedException(SR.ResourceManager_ReflectionNotAllowed);
src\libraries\System.Private.CoreLib\src\System\Resources\ResourceReader.Core.cs (3)
52throw new NotSupportedException(SR.ResourceManager_ReflectionNotAllowed); 57throw new NotSupportedException(SR.NotSupported_ResourceObjectSerialization); 78throw new NotSupportedException(SR.BinaryFormatter_SerializationDisallowed);
src\libraries\System.Private.CoreLib\src\System\Resources\ResourceReader.cs (3)
832throw new NotSupportedException(SR.Format(SR.NotSupported_WrongResourceReader_Type, readerType)); 970throw new NotSupportedException(SR.ResourceManager_ReflectionNotAllowed); 1019throw new NotSupportedException(SR.NotSupported_ResourceObjectSerialization, fileNotFoundException);
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\TypeMapLazyDictionary.cs (6)
256public IEnumerable<TKey> Keys => throw new NotSupportedException(); 257public IEnumerable<Type> Values => throw new NotSupportedException(); 258public int Count => throw new NotSupportedException(); 259public bool ContainsKey(TKey key) => throw new NotSupportedException(); 260public IEnumerator<KeyValuePair<TKey, Type>> GetEnumerator() => throw new NotSupportedException(); 261IEnumerator IEnumerable.GetEnumerator() => throw new NotSupportedException();
src\libraries\System.Private.CoreLib\src\System\RuntimeType.cs (2)
824throw new NotSupportedException(SR.NotSupported_ByRefLike); 895throw new NotSupportedException(SR.NotSupported_ByRefLike);
src\libraries\System.Private.CoreLib\src\System\Span.cs (2)
192throw new NotSupportedException(SR.NotSupported_CannotCallEqualsOnSpan); 203throw new NotSupportedException(SR.NotSupported_CannotCallGetHashCodeOnSpan);
src\libraries\System.Private.CoreLib\src\System\Text\Ascii.CaseConversion.cs (2)
499throw new NotSupportedException(); 517throw new NotSupportedException();
src\libraries\System.Private.CoreLib\src\System\Text\Encoding.cs (3)
241throw new NotSupportedException(exceptionMessage); // matches generic "unknown code page" exception type 252throw new NotSupportedException(SR.Format(SR.NotSupported_NoCodepageData, codepage)); 334throw new NotSupportedException(SR.Format(SR.NotSupported_NoCodepageData, _codePage));
src\libraries\System.Private.CoreLib\src\System\Text\TranscodingStream.cs (3)
77public override long Length => throw new NotSupportedException(SR.NotSupported_UnseekableStream); 81get => throw new NotSupportedException(SR.NotSupported_UnseekableStream); 447=> throw new NotSupportedException(SR.NotSupported_UnseekableStream);
src\libraries\System.Private.CoreLib\src\System\Threading\Interlocked.cs (2)
256throw new NotSupportedException(SR.NotSupported_ReferenceEnumOrPrimitiveTypeRequired); 508throw new NotSupportedException(SR.NotSupported_ReferenceEnumOrPrimitiveTypeRequired);
src\libraries\System.Private.CoreLib\src\System\Threading\WaitHandle.cs (1)
305throw new NotSupportedException(SR.NotSupported_MaxWaitHandles);
src\libraries\System.Private.CoreLib\src\System\ThrowHelper.cs (5)
434throw new NotSupportedException(GetResourceString(resource)); 440throw new NotSupportedException(SR.NotSupported_UnseekableStream); 446throw new NotSupportedException(SR.NotSupported_UnreadableStream); 452throw new NotSupportedException(SR.NotSupported_UnwritableStream); 488throw new NotSupportedException();
src\libraries\System.Private.CoreLib\src\System\Type.cs (19)
66public virtual bool IsByRefLike { [Intrinsic] get => throw new NotSupportedException(SR.NotSupported_SubclassOverride); } 75public virtual int GetArrayRank() => throw new NotSupportedException(SR.NotSupported_SubclassOverride); 78public virtual Type GetGenericTypeDefinition() => throw new NotSupportedException(SR.NotSupported_SubclassOverride); 80public virtual Type[] GetGenericArguments() => throw new NotSupportedException(SR.NotSupported_SubclassOverride); 86public virtual GenericParameterAttributes GenericParameterAttributes => throw new NotSupportedException(); 151public virtual StructLayoutAttribute? StructLayoutAttribute => throw new NotSupportedException(); 231public virtual Type[] GetFunctionPointerCallingConventions() => throw new NotSupportedException(); 232public virtual Type GetFunctionPointerReturnType() => throw new NotSupportedException(); 233public virtual Type[] GetFunctionPointerParameterTypes() => throw new NotSupportedException(); 248public virtual MemberInfo[] GetMember(string name, MemberTypes type, BindingFlags bindingAttr) => throw new NotSupportedException(SR.NotSupported_SubclassOverride); 390protected virtual MethodInfo? GetMethodImpl(string name, int genericParameterCount, BindingFlags bindingAttr, Binder? binder, CallingConventions callConvention, Type[]? types, ParameterModifier[]? modifiers) => throw new NotSupportedException(); 470get => throw new NotSupportedException(); 600public virtual InterfaceMapping GetInterfaceMap([DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicMethods | DynamicallyAccessedMemberTypes.NonPublicMethods)] Type interfaceType) => throw new NotSupportedException(SR.NotSupported_SubclassOverride); 640public virtual Array GetEnumValuesAsUnderlyingType() => throw new NotSupportedException(SR.NotSupported_SubclassOverride); 643public virtual Type MakeArrayType() => throw new NotSupportedException(); 645public virtual Type MakeArrayType(int rank) => throw new NotSupportedException(); 646public virtual Type MakeByRefType() => throw new NotSupportedException(); 650public virtual Type MakeGenericType(params Type[] typeArguments) => throw new NotSupportedException(SR.NotSupported_SubclassOverride); 652public virtual Type MakePointerType() => throw new NotSupportedException();
src\libraries\System.Private.CoreLib\src\System\TypedReference.cs (2)
75throw new NotSupportedException(SR.NotSupported_NYI); 92throw new NotSupportedException();
src\libraries\System.Private.CoreLib\src\System\UnitySerializationHolder.cs (1)
45throw new NotSupportedException(SR.NotSupported_UnitySerHolder);
src\System\Reflection\Emit\DynamicILGenerator.cs (5)
323throw new NotSupportedException(SR.Argument_NotInExceptionBlock); 337throw new NotSupportedException(SR.Argument_NotInExceptionBlock); 383throw new NotSupportedException(SR.InvalidOperation_NotAllowedInDynamicMethod); 388throw new NotSupportedException(SR.InvalidOperation_NotAllowedInDynamicMethod); 393throw new NotSupportedException(SR.InvalidOperation_NotAllowedInDynamicMethod);
src\System\Reflection\Emit\DynamicMethod.CoreCLR.cs (1)
120throw new NotSupportedException(SR.NotSupported_CallToVarArg);
src\System\Reflection\Emit\RuntimeConstructorBuilder.cs (2)
78throw new NotSupportedException(SR.NotSupported_DynamicModule); 101throw new NotSupportedException(SR.NotSupported_DynamicModule);
src\System\Reflection\Emit\RuntimeEnumBuilder.cs (1)
162throw new NotSupportedException(SR.NotSupported_DynamicModule);
src\System\Reflection\Emit\RuntimeFieldBuilder.cs (6)
94throw new NotSupportedException(SR.NotSupported_DynamicModule); 103throw new NotSupportedException(SR.NotSupported_DynamicModule); 106public override RuntimeFieldHandle FieldHandle => throw new NotSupportedException(SR.NotSupported_DynamicModule); 115throw new NotSupportedException(SR.NotSupported_DynamicModule); 120throw new NotSupportedException(SR.NotSupported_DynamicModule); 125throw new NotSupportedException(SR.NotSupported_DynamicModule);
src\System\Reflection\Emit\RuntimeGenericTypeParameterBuilder.cs (27)
85public override Guid GUID => throw new NotSupportedException(); 88public override object InvokeMember(string name, BindingFlags invokeAttr, Binder? binder, object? target, object?[]? args, ParameterModifier[]? modifiers, CultureInfo? culture, string[]? namedParameters) { throw new NotSupportedException(); } 92public override RuntimeTypeHandle TypeHandle => throw new NotSupportedException(); 103protected override ConstructorInfo GetConstructorImpl(BindingFlags bindingAttr, Binder? binder, CallingConventions callConvention, Type[] types, ParameterModifier[]? modifiers) { throw new NotSupportedException(); } 106public override ConstructorInfo[] GetConstructors(BindingFlags bindingAttr) { throw new NotSupportedException(); } 109protected override MethodInfo GetMethodImpl(string name, BindingFlags bindingAttr, Binder? binder, CallingConventions callConvention, Type[]? types, ParameterModifier[]? modifiers) { throw new NotSupportedException(); } 112public override MethodInfo[] GetMethods(BindingFlags bindingAttr) { throw new NotSupportedException(); } 115public override FieldInfo GetField(string name, BindingFlags bindingAttr) { throw new NotSupportedException(); } 118public override FieldInfo[] GetFields(BindingFlags bindingAttr) { throw new NotSupportedException(); } 122public override Type GetInterface(string name, bool ignoreCase) { throw new NotSupportedException(); } 125public override Type[] GetInterfaces() { throw new NotSupportedException(); } 128public override EventInfo GetEvent(string name, BindingFlags bindingAttr) { throw new NotSupportedException(); } 131public override EventInfo[] GetEvents() { throw new NotSupportedException(); } 134protected override PropertyInfo GetPropertyImpl(string name, BindingFlags bindingAttr, Binder? binder, Type? returnType, Type[]? types, ParameterModifier[]? modifiers) { throw new NotSupportedException(); } 137public override PropertyInfo[] GetProperties(BindingFlags bindingAttr) { throw new NotSupportedException(); } 140public override Type[] GetNestedTypes(BindingFlags bindingAttr) { throw new NotSupportedException(); } 143public override Type GetNestedType(string name, BindingFlags bindingAttr) { throw new NotSupportedException(); } 146public override MemberInfo[] GetMember(string name, MemberTypes type, BindingFlags bindingAttr) { throw new NotSupportedException(); } 148public override InterfaceMapping GetInterfaceMap([DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicMethods | DynamicallyAccessedMemberTypes.NonPublicMethods)] Type interfaceType) { throw new NotSupportedException(); } 151public override EventInfo[] GetEvents(BindingFlags bindingAttr) { throw new NotSupportedException(); } 154public override MemberInfo[] GetMembers(BindingFlags bindingAttr) { throw new NotSupportedException(); } 172public override Type GetElementType() { throw new NotSupportedException(); } 204public override bool IsAssignableFrom([NotNullWhen(true)] Type? c) { throw new NotSupportedException(); } 206public override bool IsSubclassOf(Type c) { throw new NotSupportedException(); } 210public override object[] GetCustomAttributes(bool inherit) { throw new NotSupportedException(); } 212public override object[] GetCustomAttributes(Type attributeType, bool inherit) { throw new NotSupportedException(); } 214public override bool IsDefined(Type attributeType, bool inherit) { throw new NotSupportedException(); }
src\System\Reflection\Emit\RuntimeILGenerator.cs (9)
217throw new NotSupportedException(SR.Format(SR.NotSupported_IllegalOneByteBranch, fixupData.m_fixupPos, updateAddr)); 236throw new NotSupportedException(SR.Argument_UnclosedExceptionBlock); 955throw new NotSupportedException(SR.Argument_NotInExceptionBlock); 997throw new NotSupportedException(SR.Argument_NotInExceptionBlock); 1015throw new NotSupportedException(SR.Argument_NotInExceptionBlock); 1046throw new NotSupportedException(SR.Argument_NotInExceptionBlock); 1063throw new NotSupportedException(SR.Argument_NotInExceptionBlock); 1176throw new NotSupportedException(); 1205throw new NotSupportedException();
src\System\Reflection\Emit\RuntimeMethodBuilder.cs (7)
428throw new NotSupportedException(SR.NotSupported_DynamicModule); 440public override RuntimeMethodHandle MethodHandle => throw new NotSupportedException(SR.NotSupported_DynamicModule); 460throw new NotSupportedException(SR.InvalidOperation_TypeNotCreated); 484throw new NotSupportedException(SR.NotSupported_DynamicModule); 489throw new NotSupportedException(SR.NotSupported_DynamicModule); 494throw new NotSupportedException(SR.NotSupported_DynamicModule); 502public override bool ContainsGenericParameters => throw new NotSupportedException();
src\System\Reflection\Emit\RuntimePropertyBuilder.cs (9)
113throw new NotSupportedException(SR.NotSupported_DynamicModule); 118throw new NotSupportedException(SR.NotSupported_DynamicModule); 123throw new NotSupportedException(SR.NotSupported_DynamicModule); 128throw new NotSupportedException(SR.NotSupported_DynamicModule); 133throw new NotSupportedException(SR.NotSupported_DynamicModule); 158throw new NotSupportedException(SR.NotSupported_DynamicModule); 177throw new NotSupportedException(SR.NotSupported_DynamicModule); 182throw new NotSupportedException(SR.NotSupported_DynamicModule); 187throw new NotSupportedException(SR.NotSupported_DynamicModule);
src\System\Reflection\Emit\RuntimeTypeBuilder.cs (26)
633throw new NotSupportedException(SR.NotSupported_TypeNotYetCreated); 644throw new NotSupportedException(SR.NotSupported_TypeNotYetCreated); 651public override RuntimeTypeHandle TypeHandle => throw new NotSupportedException(SR.NotSupported_DynamicModule); 666throw new NotSupportedException(SR.NotSupported_TypeNotYetCreated); 675throw new NotSupportedException(SR.NotSupported_TypeNotYetCreated); 685throw new NotSupportedException(SR.NotSupported_TypeNotYetCreated); 701throw new NotSupportedException(SR.NotSupported_TypeNotYetCreated); 710throw new NotSupportedException(SR.NotSupported_TypeNotYetCreated); 719throw new NotSupportedException(SR.NotSupported_TypeNotYetCreated); 729throw new NotSupportedException(SR.NotSupported_TypeNotYetCreated); 754throw new NotSupportedException(SR.NotSupported_TypeNotYetCreated); 763throw new NotSupportedException(SR.NotSupported_TypeNotYetCreated); 772throw new NotSupportedException(SR.NotSupported_DynamicModule); 779throw new NotSupportedException(SR.NotSupported_TypeNotYetCreated); 788throw new NotSupportedException(SR.NotSupported_TypeNotYetCreated); 797throw new NotSupportedException(SR.NotSupported_TypeNotYetCreated); 806throw new NotSupportedException(SR.NotSupported_TypeNotYetCreated); 814throw new NotSupportedException(SR.NotSupported_TypeNotYetCreated); 823throw new NotSupportedException(SR.NotSupported_TypeNotYetCreated); 832throw new NotSupportedException(SR.NotSupported_TypeNotYetCreated); 923throw new NotSupportedException(SR.NotSupported_DynamicModule); 984throw new NotSupportedException(SR.NotSupported_TypeNotYetCreated); 992throw new NotSupportedException(SR.NotSupported_TypeNotYetCreated); 1005throw new NotSupportedException(SR.NotSupported_TypeNotYetCreated); 1256throw new NotSupportedException(SR.NotSupported_DynamicModule); 1271throw new NotSupportedException(SR.NotSupported_NoParentDefaultConstructor);
src\System\Reflection\Emit\SymbolMethod.cs (8)
84throw new NotSupportedException(SR.NotSupported_SymbolMethod); 89throw new NotSupportedException(SR.NotSupported_SymbolMethod); 92public override MethodAttributes Attributes => throw new NotSupportedException(SR.NotSupported_SymbolMethod); 96public override RuntimeMethodHandle MethodHandle => throw new NotSupportedException(SR.NotSupported_SymbolMethod); 107throw new NotSupportedException(SR.NotSupported_SymbolMethod); 119throw new NotSupportedException(SR.NotSupported_SymbolMethod); 124throw new NotSupportedException(SR.NotSupported_SymbolMethod); 129throw new NotSupportedException(SR.NotSupported_SymbolMethod);
src\System\Reflection\MdFieldInfo.cs (2)
60public override RuntimeFieldHandle FieldHandle => throw new NotSupportedException(); 97throw new NotSupportedException(SR.Arg_EnumLitValueNotFound);
src\System\Reflection\RuntimeAssembly.cs (3)
23internal RuntimeAssembly() { throw new NotSupportedException(); } 103throw new NotSupportedException(SR.NotSupported_DynamicAssembly); 106string? codeBase = GetCodeBase() ?? throw new NotSupportedException(SR.NotSupported_CodeBase);
src\System\Reflection\RuntimeModule.cs (1)
24internal RuntimeModule() { throw new NotSupportedException(); }
src\System\RuntimeType.ActivatorCache.cs (1)
67case NotSupportedException: throw new NotSupportedException(friendlyMessage);
src\System\RuntimeType.CoreCLR.cs (4)
2394internal RuntimeType() { throw new NotSupportedException(); } 3840throw new NotSupportedException(SR.Acc_CreateArgIterator); 3843throw new NotSupportedException(SR.Acc_CreateVoid); 3926throw new NotSupportedException(SR.NotSupported_CallToVarArg);
src\System\StubHelpers.cs (2)
522throw new NotSupportedException(SR.Interop_Marshal_CannotCreateSafeHandleField); 527throw new NotSupportedException(SR.Interop_Marshal_CannotCreateCriticalHandleField);
System.Private.DataContractSerialization (55)
System\Runtime\Serialization\CodeGenerator.cs (1)
819throw new NotSupportedException(SR.CharIsInvalidPrimitive);
System\Runtime\Serialization\CollectionDataContract.cs (2)
507throw new NotSupportedException(SR.SupportForMultidimensionalArraysNotPresent); 532throw new NotSupportedException(SR.SupportForMultidimensionalArraysNotPresent);
System\Runtime\Serialization\Json\JsonEncodingStreamWrapper.cs (4)
107throw new NotSupportedException(); 109set { throw new NotSupportedException(); } 240throw new NotSupportedException(); 246throw new NotSupportedException();
System\Runtime\Serialization\Json\XmlJsonReader.cs (3)
362throw new NotSupportedException(); 813throw new NotSupportedException(); 1630throw new NotSupportedException(SR.Format(SR.JsonMethodNotSupported, "CreateSigningNodeWriter"));
System\Runtime\Serialization\Json\XmlJsonWriter.cs (27)
258throw new NotSupportedException(SR.JsonWriteArrayNotSupported); 263throw new NotSupportedException(SR.JsonWriteArrayNotSupported); 268throw new NotSupportedException(SR.JsonWriteArrayNotSupported); 273throw new NotSupportedException(SR.JsonWriteArrayNotSupported); 278throw new NotSupportedException(SR.JsonWriteArrayNotSupported); 283throw new NotSupportedException(SR.JsonWriteArrayNotSupported); 288throw new NotSupportedException(SR.JsonWriteArrayNotSupported); 293throw new NotSupportedException(SR.JsonWriteArrayNotSupported); 298throw new NotSupportedException(SR.JsonWriteArrayNotSupported); 303throw new NotSupportedException(SR.JsonWriteArrayNotSupported); 308throw new NotSupportedException(SR.JsonWriteArrayNotSupported); 313throw new NotSupportedException(SR.JsonWriteArrayNotSupported); 318throw new NotSupportedException(SR.JsonWriteArrayNotSupported); 323throw new NotSupportedException(SR.JsonWriteArrayNotSupported); 328throw new NotSupportedException(SR.JsonWriteArrayNotSupported); 333throw new NotSupportedException(SR.JsonWriteArrayNotSupported); 338throw new NotSupportedException(SR.JsonWriteArrayNotSupported); 343throw new NotSupportedException(SR.JsonWriteArrayNotSupported); 348throw new NotSupportedException(SR.JsonWriteArrayNotSupported); 353throw new NotSupportedException(SR.JsonWriteArrayNotSupported); 415throw new NotSupportedException(SR.Format(SR.JsonMethodNotSupported, "WriteComment")); 420throw new NotSupportedException(SR.Format(SR.JsonMethodNotSupported, "WriteDocType")); 644throw new NotSupportedException(SR.Format(SR.JsonMethodNotSupported, "WriteEntityRef")); 1069throw new NotSupportedException(SR.Format(SR.JsonMethodNotSupported, "WriteXmlAttribute")); 1074throw new NotSupportedException(SR.Format(SR.JsonMethodNotSupported, "WriteXmlAttribute")); 1081throw new NotSupportedException(SR.Format(SR.JsonMethodNotSupported, "WriteXmlnsAttribute")); 1089throw new NotSupportedException(SR.Format(SR.JsonMethodNotSupported, "WriteXmlnsAttribute"));
System\Runtime\Serialization\XmlObjectSerializer.cs (4)
143throw new NotSupportedException(); 150throw new NotSupportedException(); 157throw new NotSupportedException(); 338throw new NotSupportedException();
System\Xml\EncodingStreamWrapper.cs (4)
551throw new NotSupportedException(); 555throw new NotSupportedException(); 672throw new NotSupportedException(); 726throw new NotSupportedException();
System\Xml\XmlBaseWriter.cs (5)
487throw new NotSupportedException(SR.Format(SR.XmlMethodNotSupported, "WriteDocType")); 942throw new NotSupportedException(SR.Format(SR.XmlMethodNotSupported, "WriteEntityRef")); 955throw new NotSupportedException(SR.Format(SR.XmlMethodNotSupported, "WriteNmToken")); 1622throw new NotSupportedException(); 1711throw new NotSupportedException();
System\Xml\XmlDictionaryReader.cs (3)
188throw new NotSupportedException(); 193throw new NotSupportedException(); 348throw new NotSupportedException();
System\Xml\XmlDictionaryWriter.cs (2)
233throw new NotSupportedException(); 238throw new NotSupportedException();
System.Private.Windows.Core (13)
System\Private\Windows\BinaryFormat\BinaryFormatWriter.cs (1)
374throw new NotSupportedException($"{nameof(T)} is not primitive.");
System\Private\Windows\BinaryFormat\Deserializer\ArrayRecordDeserializer.cs (1)
117_ => throw new NotSupportedException(),
System\Private\Windows\JsonData.cs (1)
124result = new NotSupportedException(ex.Message);
System\Private\Windows\Nrbf\SerializationRecordExtensions.cs (2)
59new NotSupportedException(ex.Message, ex), ex.StackTrace ?? string.Empty); 536exception = new NotSupportedException(classInfo.GetString("Message"));
System\Private\Windows\Ole\BinaryFormatUtilities.cs (5)
45throw new NotSupportedException(SR.BinaryFormatterNotSupported); 51throw new NotSupportedException(SR.BinaryFormatter_NotSupported_InClipboardOrDragDrop); 168throw new NotSupportedException(string.Format(SR.ClipboardOrDragDrop_UseTypedAPI, typeof(T).FullName)); 174throw new NotSupportedException(SR.BinaryFormatterNotSupported); 180throw new NotSupportedException(SR.BinaryFormatter_NotSupported_InClipboardOrDragDrop);
System\Private\Windows\Ole\ClipboardCore.cs (1)
271throw new NotSupportedException(string.Format(
System\Private\Windows\Ole\Composition.NativeToManagedAdapter.cs (1)
411throw new NotSupportedException(string.Format(
System\Private\Windows\Ole\TypeBinder.cs (1)
90: throw new NotSupportedException(string.Format(
System.Private.Windows.Core.Tests (15)
System\Private\Windows\Ole\BinaryFormatUtilitesTestsBase.cs (1)
128throw new NotSupportedException($"Can't resolve {typeName.AssemblyQualifiedName}");
System\Private\Windows\Ole\BinaryFormatUtilitiesTests.cs (12)
200NotSupportedException value = new("Error message", new ArgumentException()); 202result.Should().BeEquivalentTo(new NotSupportedException("Error message", innerException: null)); 208NotSupportedException value = new("Error message", new ArgumentException()); 210result.Should().BeEquivalentTo(new NotSupportedException("Error message", innerException: null)); 301: throw new NotSupportedException() 447throw new NotSupportedException($"Can't resolve {typeName.AssemblyQualifiedName}"); 495: throw new NotSupportedException() 534: throw new NotSupportedException() 583: throw new NotSupportedException() 622: throw new NotSupportedException() 726throw new NotSupportedException($"Can't resolve {typeName.AssemblyQualifiedName}"); 1003public NotSupportedException Exception = new();
System\Private\Windows\Ole\TestDataObjectAdapter.cs (1)
58throw new NotSupportedException();
System\Private\Windows\Ole\TypeBinderTests.cs (1)
133Resolver = (TypeName typeName) => throw new NotSupportedException()
System.Private.Windows.Core.TestUtilities (2)
BinarySerialization.cs (2)
36throw new NotSupportedException($"Serializable attribute is expected on {fullName}"); 55throw new NotSupportedException($"Serializable attribute is not expected on {type.FullName}");
System.Private.Xml (109)
System\Xml\BinaryXml\XmlBinaryReader.cs (2)
919throw new NotSupportedException(); 4412return new NotSupportedException(res);
System\Xml\Core\XmlRawWriter.cs (2)
297throw new NotSupportedException(); 302throw new NotSupportedException();
System\Xml\Core\XmlRawWriterAsync.cs (2)
211throw new NotSupportedException(); 216throw new NotSupportedException();
System\Xml\Core\XmlReader.cs (5)
650throw new NotSupportedException(SR.Format(SR.Xml_ReadBinaryContentNotSupported, "ReadContentAsBase64")); 656throw new NotSupportedException(SR.Format(SR.Xml_ReadBinaryContentNotSupported, "ReadElementContentAsBase64")); 662throw new NotSupportedException(SR.Format(SR.Xml_ReadBinaryContentNotSupported, "ReadContentAsBinHex")); 668throw new NotSupportedException(SR.Format(SR.Xml_ReadBinaryContentNotSupported, "ReadElementContentAsBinHex")); 680throw new NotSupportedException(SR.Xml_ReadValueChunkNotSupported);
System\Xml\Core\XmlReaderAsync.cs (5)
126throw new NotSupportedException(SR.Format(SR.Xml_ReadBinaryContentNotSupported, "ReadContentAsBase64")); 132throw new NotSupportedException(SR.Format(SR.Xml_ReadBinaryContentNotSupported, "ReadElementContentAsBase64")); 138throw new NotSupportedException(SR.Format(SR.Xml_ReadBinaryContentNotSupported, "ReadContentAsBinHex")); 144throw new NotSupportedException(SR.Format(SR.Xml_ReadBinaryContentNotSupported, "ReadElementContentAsBinHex")); 151throw new NotSupportedException(SR.Xml_ReadValueChunkNotSupported);
System\Xml\Dom\DocumentXPathNavigator.cs (2)
1600throw new NotSupportedException(); 1651throw new NotSupportedException();
System\Xml\Serialization\CodeGenerator.cs (2)
789throw new NotSupportedException(SR.XmlInvalidCharSchemaPrimitive); 869throw new NotSupportedException(SR.Format(SR.UnknownConstantType, valueType.AssemblyQualifiedName));
System\Xml\Serialization\Globals.cs (1)
17return new NotSupportedException(msg);
System\Xml\Serialization\Models.cs (2)
67if (!typeDesc.IsSpecial) throw new NotSupportedException(SR.Format(SR.XmlUnsupportedTypeKind, type.FullName)); 209typeDesc.Exception ??= new NotSupportedException(SR.Format(SR.XmlSerializerUnsupportedType, typeDesc.FullName));
System\Xml\Serialization\SoapReflectionImporter.cs (4)
219throw new NotSupportedException(SR.Format(SR.XmlUnsupportedSoapTypeKind, model.TypeDesc.FullName)); 401throw new NotSupportedException(SR.Format(SR.XmlRpcRefsInValueType, model.TypeDesc.FullName)); 403throw new NotSupportedException(SR.Format(SR.XmlRpcNestedValueType, member.TypeDesc.FullName)); 426throw new NotSupportedException(SR.Format(SR.XmlRpcArrayOfValueTypes, model.TypeDesc.FullName));
System\Xml\Serialization\Types.cs (9)
380throw new NotSupportedException(SR.Format(SR.XmlSerializerUnsupportedType, FullName)); 789exception ??= new NotSupportedException(SR.Format(SR.XmlSerializerUnsupportedType, type.FullName)); 807exception ??= new NotSupportedException(SR.Format(SR.XmlUnsupportedRank, type.FullName)); 826exception ??= new NotSupportedException(SR.Format(SR.XmlSerializerUnsupportedType, type.FullName)); 881exception = new NotSupportedException(SR.Format(SR.XmlUnsupportedInterface, type.FullName)); 885exception = new NotSupportedException(SR.Format(SR.XmlUnsupportedInterfaceDetails, $"{memberInfo.DeclaringType!.FullName}.{memberInfo.Name}", type.FullName)); 893exception ??= new NotSupportedException(SR.Format(SR.XmlSerializerUnsupportedType, type.FullName)); 1337throw new NotSupportedException(SR.Format(SR.XmlUnsupportedIDictionary, type.FullName)); 1341throw new NotSupportedException(SR.Format(SR.XmlUnsupportedIDictionaryDetails, memberInfo, type.FullName));
System\Xml\Serialization\XmlReflectionImporter.cs (1)
805throw new NotSupportedException(SR.Format(SR.XmlUnsupportedInheritance, model.Type.BaseType!.FullName));
System\Xml\Serialization\XmlSchemaImporter.cs (1)
449throw new NotSupportedException(SR.Format(SR.XmlUnsupportedRedefine, type.Name, typeNs));
System\Xml\Serialization\XmlSerializationReader.cs (1)
1666throw new NotSupportedException(SR.Format(SR.XmlRpcArrayOfValueTypes, elementType.FullName));
System\Xml\Serialization\XmlSerializer.cs (7)
85public virtual XmlSerializationReader Reader { get { throw new NotSupportedException(); } } 87public virtual XmlSerializationWriter Writer { get { throw new NotSupportedException(); } } 89public virtual Hashtable ReadMethods { get { throw new NotSupportedException(); } } 91public virtual Hashtable WriteMethods { get { throw new NotSupportedException(); } } 93public virtual Hashtable TypedSerializers { get { throw new NotSupportedException(); } } 95public virtual bool CanSerialize(Type type) { throw new NotSupportedException(); } 97public virtual XmlSerializer GetSerializer(Type type) { throw new NotSupportedException(); }
System\Xml\XmlResolver.cs (1)
63throw new NotSupportedException(SR.Xml_RelativeUriNotSupported);
System\Xml\XPath\XPathNavigator.cs (8)
67throw new NotSupportedException(); 1264throw new NotSupportedException(); 1269throw new NotSupportedException(); 1274throw new NotSupportedException(); 1279throw new NotSupportedException(); 1284throw new NotSupportedException(); 1289throw new NotSupportedException(); 1555throw new NotSupportedException();
System\Xml\Xsl\IlGen\XmlILAnnotation.cs (1)
142throw new NotSupportedException();
System\Xml\Xsl\ListBase.cs (2)
75throw new NotSupportedException(); 91throw new NotSupportedException();
System\Xml\Xsl\QIL\QilNode.cs (2)
127throw new NotSupportedException(); 132throw new NotSupportedException();
System\Xml\Xsl\QIL\QilXmlWriter.cs (1)
463set { throw new NotSupportedException(); }
System\Xml\Xsl\Runtime\RtfNavigator.cs (11)
98get { throw new NotSupportedException(); } 107throw new NotSupportedException(); 116throw new NotSupportedException(); 125throw new NotSupportedException(); 134throw new NotSupportedException(); 143throw new NotSupportedException(); 152throw new NotSupportedException(); 161throw new NotSupportedException(); 170throw new NotSupportedException(); 178throw new NotSupportedException(); 187throw new NotSupportedException();
System\Xml\Xsl\Runtime\XmlQueryOutput.cs (15)
130throw new NotSupportedException(); 138throw new NotSupportedException(); 146throw new NotSupportedException(); 154throw new NotSupportedException(); 288throw new NotSupportedException(); 296throw new NotSupportedException(); 304throw new NotSupportedException(); 312throw new NotSupportedException(); 328throw new NotSupportedException(); 336throw new NotSupportedException(); 360throw new NotSupportedException(); 368get { throw new NotSupportedException(); } 390throw new NotSupportedException(); 398get { throw new NotSupportedException(); } 406get { throw new NotSupportedException(); }
System\Xml\Xsl\Runtime\XmlQuerySequence.cs (18)
184throw new NotSupportedException(); 192throw new NotSupportedException(); 217throw new NotSupportedException(); 252set { throw new NotSupportedException(); } 260throw new NotSupportedException(); 268throw new NotSupportedException(); 292throw new NotSupportedException(); 300throw new NotSupportedException(); 308throw new NotSupportedException(); 327set { throw new NotSupportedException(); } 344throw new NotSupportedException(); 352throw new NotSupportedException(); 680throw new NotSupportedException(); 688throw new NotSupportedException(); 713throw new NotSupportedException(); 731set { throw new NotSupportedException(); } 747throw new NotSupportedException(); 755throw new NotSupportedException();
System\Xml\Xsl\Runtime\XmlQueryStaticData.cs (1)
86throw new NotSupportedException();
System\Xml\Xsl\XmlQueryTypeFactory.cs (3)
680set { throw new NotSupportedException(); } 952set { throw new NotSupportedException(); } 1140set { throw new NotSupportedException(); }
System.Private.Xml.Linq (5)
System\Xml\Linq\XNodeBuilder.cs (4)
34get { throw new NotSupportedException(); } // nop 56throw new NotSupportedException(); // nop 61throw new NotSupportedException(SR.NotSupported_WriteBase64); 133throw new NotSupportedException(SR.NotSupported_WriteEntityRef);
System\Xml\XPath\XNodeNavigator.cs (1)
451throw new NotSupportedException(SR.NotSupported_MoveToId);
System.Reflection.Context (1)
System\Reflection\Context\Virtual\VirtualMethodBase.cs (1)
43get { throw new NotSupportedException(); }
System.Reflection.Emit (123)
src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\MethodBuilderInstantiation.cs (5)
56public override RuntimeMethodHandle MethodHandle => throw new NotSupportedException(SR.NotSupported_DynamicModule); 60throw new NotSupportedException(); 101public override ParameterInfo ReturnParameter => throw new NotSupportedException(); 102public override ICustomAttributeProvider ReturnTypeCustomAttributes => throw new NotSupportedException(); 103public override MethodInfo GetBaseDefinition() { throw new NotSupportedException(); }
src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\SymbolType.cs (24)
306public override Guid GUID => throw new NotSupportedException(SR.NotSupported_NonReflectedType); 315throw new NotSupportedException(SR.NotSupported_NonReflectedType); 341public override RuntimeTypeHandle TypeHandle => throw new NotSupportedException(SR.NotSupported_NonReflectedType); 374throw new NotSupportedException(SR.NotSupported_NonReflectedType); 380throw new NotSupportedException(SR.NotSupported_NonReflectedType); 387throw new NotSupportedException(SR.NotSupported_NonReflectedType); 393throw new NotSupportedException(SR.NotSupported_NonReflectedType); 399throw new NotSupportedException(SR.NotSupported_NonReflectedType); 405throw new NotSupportedException(SR.NotSupported_NonReflectedType); 412throw new NotSupportedException(SR.NotSupported_NonReflectedType); 418throw new NotSupportedException(SR.NotSupported_NonReflectedType); 424throw new NotSupportedException(SR.NotSupported_NonReflectedType); 430throw new NotSupportedException(SR.NotSupported_NonReflectedType); 437throw new NotSupportedException(SR.NotSupported_NonReflectedType); 443throw new NotSupportedException(SR.NotSupported_NonReflectedType); 449throw new NotSupportedException(SR.NotSupported_NonReflectedType); 455throw new NotSupportedException(SR.NotSupported_NonReflectedType); 461throw new NotSupportedException(SR.NotSupported_NonReflectedType); 467throw new NotSupportedException(SR.NotSupported_NonReflectedType); 479throw new NotSupportedException(SR.NotSupported_NonReflectedType); 485throw new NotSupportedException(SR.NotSupported_NonReflectedType); 542throw new NotSupportedException(SR.NotSupported_NonReflectedType); 547throw new NotSupportedException(SR.NotSupported_NonReflectedType); 552throw new NotSupportedException(SR.NotSupported_NonReflectedType);
System\Reflection\Emit\ArrayMethod.cs (8)
60public override ParameterInfo[] GetParameters() => throw new NotSupportedException(SR.NotSupported_SymbolMethod); 62public override MethodImplAttributes GetMethodImplementationFlags() => throw new NotSupportedException(SR.NotSupported_SymbolMethod); 68public override RuntimeMethodHandle MethodHandle => throw new NotSupportedException(SR.NotSupported_SymbolMethod); 74public override ICustomAttributeProvider ReturnTypeCustomAttributes => throw new NotSupportedException(SR.NotSupported_SymbolMethod); 77=> throw new NotSupportedException(SR.NotSupported_SymbolMethod); 83public override object[] GetCustomAttributes(bool inherit) => throw new NotSupportedException(SR.NotSupported_SymbolMethod); 85public override object[] GetCustomAttributes(Type attributeType, bool inherit) => throw new NotSupportedException(SR.NotSupported_SymbolMethod); 87public override bool IsDefined(Type attributeType, bool inherit) => throw new NotSupportedException(SR.NotSupported_SymbolMethod);
System\Reflection\Emit\ConstructorBuilderImpl.cs (6)
74public override RuntimeMethodHandle MethodHandle => throw new NotSupportedException(SR.NotSupported_DynamicModule); 75public override object[] GetCustomAttributes(bool inherit) => throw new NotSupportedException(SR.NotSupported_DynamicModule); 76public override object[] GetCustomAttributes(Type attributeType, bool inherit) => throw new NotSupportedException(SR.NotSupported_DynamicModule); 79=> throw new NotSupportedException(SR.NotSupported_DynamicModule); 81throw new NotSupportedException(SR.NotSupported_DynamicModule); 82public override bool IsDefined(Type attributeType, bool inherit) => throw new NotSupportedException(SR.NotSupported_DynamicModule);
System\Reflection\Emit\EnumBuilderImpl.cs (19)
107object?[]? args, ParameterModifier[]? modifiers, Globalization.CultureInfo? culture, string[]? namedParameters) => throw new NotSupportedException(); 110CallingConventions callConvention, Type[] types, ParameterModifier[]? modifiers) => throw new NotSupportedException(); 112public override ConstructorInfo[] GetConstructors(BindingFlags bindingAttr) => throw new NotSupportedException(); 114public override EventInfo[] GetEvents() => throw new NotSupportedException(); 116public override EventInfo[] GetEvents(BindingFlags bindingAttr) => throw new NotSupportedException(); 118public override EventInfo? GetEvent(string name, BindingFlags bindingAttr) => throw new NotSupportedException(); 120public override MethodInfo[] GetMethods(BindingFlags bindingAttr) => throw new NotSupportedException(); 123CallingConventions callConvention, Type[]? types, ParameterModifier[]? modifiers) => throw new NotSupportedException(); 125public override FieldInfo? GetField(string name, BindingFlags bindingAttr) => throw new NotSupportedException(); 127public override FieldInfo[] GetFields(BindingFlags bindingAttr) => throw new NotSupportedException(); 130public override Type? GetInterface(string name, bool ignoreCase) => throw new NotSupportedException(); 132public override PropertyInfo[] GetProperties(BindingFlags bindingAttr) => throw new NotSupportedException(); 135Type? returnType, Type[]? types, ParameterModifier[]? modifiers) => throw new NotSupportedException(); 137public override Type[] GetNestedTypes(BindingFlags bindingAttr) => throw new NotSupportedException(); 139public override Type? GetNestedType(string name, BindingFlags bindingAttr) => throw new NotSupportedException(); 141public override MemberInfo[] GetMember(string name, MemberTypes type, BindingFlags bindingAttr) => throw new NotSupportedException(); 143=> throw new NotSupportedException(); 145public override MemberInfo[] GetMembers(BindingFlags bindingAttr) => throw new NotSupportedException(); 146public override bool IsAssignableFrom([NotNullWhen(true)] Type? c) => throw new NotSupportedException();
System\Reflection\Emit\FieldBuilderImpl.cs (6)
104public override object? GetValue(object? obj) => throw new NotSupportedException(SR.NotSupported_DynamicModule); 107=> throw new NotSupportedException(SR.NotSupported_DynamicModule); 108public override RuntimeFieldHandle FieldHandle => throw new NotSupportedException(SR.NotSupported_DynamicModule); 119public override object[] GetCustomAttributes(bool inherit) => throw new NotSupportedException(SR.NotSupported_DynamicModule); 121public override object[] GetCustomAttributes(Type attributeType, bool inherit) => throw new NotSupportedException(SR.NotSupported_DynamicModule); 123public override bool IsDefined(Type attributeType, bool inherit) => throw new NotSupportedException(SR.NotSupported_DynamicModule);
System\Reflection\Emit\GenericTypeParameterBuilderImpl.cs (24)
89public override RuntimeTypeHandle TypeHandle => throw new NotSupportedException(); 90public override Guid GUID => throw new NotSupportedException(); 99public override object[] GetCustomAttributes(bool inherit) => throw new NotSupportedException(); 100public override object[] GetCustomAttributes(Type attributeType, bool inherit) => throw new NotSupportedException(); 101public override bool IsDefined(Type attributeType, bool inherit) => throw new NotSupportedException(); 103protected override ConstructorInfo GetConstructorImpl(BindingFlags bindingAttr, Binder? binder, CallingConventions callConvention, Type[] types, ParameterModifier[]? modifiers) => throw new NotSupportedException(); 105public override ConstructorInfo[] GetConstructors(BindingFlags bindingAttr) => throw new NotSupportedException(); 107protected override MethodInfo GetMethodImpl(string name, BindingFlags bindingAttr, Binder? binder, CallingConventions callConvention, Type[]? types, ParameterModifier[]? modifiers) => throw new NotSupportedException(); 109public override MethodInfo[] GetMethods(BindingFlags bindingAttr) => throw new NotSupportedException(); 111public override FieldInfo GetField(string name, BindingFlags bindingAttr) => throw new NotSupportedException(); 113public override FieldInfo[] GetFields(BindingFlags bindingAttr) => throw new NotSupportedException(); 116public override Type GetInterface(string name, bool ignoreCase) => throw new NotSupportedException(); 118public override Type[] GetInterfaces() => throw new NotSupportedException(); 120public override EventInfo GetEvent(string name, BindingFlags bindingAttr) => throw new NotSupportedException(); 122public override EventInfo[] GetEvents() => throw new NotSupportedException(); 124protected override PropertyInfo GetPropertyImpl(string name, BindingFlags bindingAttr, Binder? binder, Type? returnType, Type[]? types, ParameterModifier[]? modifiers) => throw new NotSupportedException(); 126public override PropertyInfo[] GetProperties(BindingFlags bindingAttr) => throw new NotSupportedException(); 128public override Type[] GetNestedTypes(BindingFlags bindingAttr) => throw new NotSupportedException(); 130public override Type GetNestedType(string name, BindingFlags bindingAttr) => throw new NotSupportedException(); 132public override MemberInfo[] GetMember(string name, MemberTypes type, BindingFlags bindingAttr) => throw new NotSupportedException(); 133public override InterfaceMapping GetInterfaceMap([DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicMethods | DynamicallyAccessedMemberTypes.NonPublicMethods)] Type interfaceType) => throw new NotSupportedException(); 135public override EventInfo[] GetEvents(BindingFlags bindingAttr) => throw new NotSupportedException(); 137public override MemberInfo[] GetMembers(BindingFlags bindingAttr) => throw new NotSupportedException(); 142public override object InvokeMember(string name, BindingFlags invokeAttr, Binder? binder, object? target, object?[]? args, ParameterModifier[]? modifiers, CultureInfo? culture, string[]? namedParameters) => throw new NotSupportedException();
System\Reflection\Emit\ILGeneratorImpl.cs (5)
90throw new NotSupportedException(SR.Argument_NotInExceptionBlock); 137throw new NotSupportedException(SR.Argument_NotInExceptionBlock); 180throw new NotSupportedException(SR.Argument_NotInExceptionBlock); 208throw new NotSupportedException(SR.Argument_NotInExceptionBlock); 745throw new NotSupportedException(SR.Argument_NotInExceptionBlock);
System\Reflection\Emit\MethodBuilderImpl.cs (5)
253public override RuntimeMethodHandle MethodHandle => throw new NotSupportedException(SR.NotSupported_DynamicModule); 275public override object[] GetCustomAttributes(bool inherit) => throw new NotSupportedException(SR.NotSupported_DynamicModule); 277public override object[] GetCustomAttributes(Type attributeType, bool inherit) => throw new NotSupportedException(SR.NotSupported_DynamicModule); 316=> throw new NotSupportedException(SR.NotSupported_DynamicModule); 318public override bool IsDefined(Type attributeType, bool inherit) => throw new NotSupportedException(SR.NotSupported_DynamicModule);
System\Reflection\Emit\ModuleBuilderImpl.cs (1)
768throw new NotSupportedException();
System\Reflection\Emit\PropertyBuilderImpl.cs (9)
141public override object GetValue(object? obj, object?[]? index) => throw new NotSupportedException(SR.NotSupported_DynamicModule); 143throw new NotSupportedException(SR.NotSupported_DynamicModule); 144public override void SetValue(object? obj, object? value, object?[]? index) => throw new NotSupportedException(SR.NotSupported_DynamicModule); 146throw new NotSupportedException(SR.NotSupported_DynamicModule); 147public override MethodInfo[] GetAccessors(bool nonPublic) => throw new NotSupportedException(SR.NotSupported_DynamicModule); 148public override object[] GetCustomAttributes(bool inherit) => throw new NotSupportedException(SR.NotSupported_DynamicModule); 149public override object[] GetCustomAttributes(Type attributeType, bool inherit) => throw new NotSupportedException(SR.NotSupported_DynamicModule); 150public override ParameterInfo[] GetIndexParameters() => throw new NotSupportedException(SR.NotSupported_DynamicModule); 151public override bool IsDefined(Type attributeType, bool inherit) => throw new NotSupportedException(SR.NotSupported_DynamicModule);
System\Reflection\Emit\PseudoCustomAttributesData.cs (2)
323throw new NotSupportedException(SR.Format(SR.NotSupported_UnmanagedTypeOnlyForFields, nameof(UnmanagedType.ByValArray))); 333throw new NotSupportedException(SR.Format(SR.NotSupported_UnmanagedTypeOnlyForFields, nameof(UnmanagedType.ByValArray)));
System\Reflection\Emit\TypeBuilderImpl.cs (9)
228throw new NotSupportedException(SR.NotSupported_NoParentDefaultConstructor); 612public override Type GetElementType() => throw new NotSupportedException(SR.NotSupported_DynamicModule); 613public override string? AssemblyQualifiedName => throw new NotSupportedException(); 637public override Guid GUID => throw new NotSupportedException(); 645object?[]? args, ParameterModifier[]? modifiers, CultureInfo? culture, string[]? namedParameters) => throw new NotSupportedException(); 662throw new NotSupportedException(SR.NotSupported_TypeNotYetCreated); 777public override EventInfo[] GetEvents() => throw new NotSupportedException(); 779public override EventInfo[] GetEvents(BindingFlags bindingAttr) => throw new NotSupportedException(); 781public override EventInfo? GetEvent(string name, BindingFlags bindingAttr) => throw new NotSupportedException();
System.Reflection.Metadata (34)
System\Reflection\Metadata\Ecma335\MetadataAggregator.cs (1)
253throw new NotSupportedException();
System\Reflection\Metadata\Ecma335\MetadataTokens.cs (1)
107throw new NotSupportedException(SR.CantGetOffsetForVirtualHeapHandle);
System\Reflection\Metadata\PortablePdb\HandleCollections.Debug.cs (8)
101throw new NotSupportedException(); 200throw new NotSupportedException(); 306throw new NotSupportedException(); 408throw new NotSupportedException(); 514throw new NotSupportedException(); 620throw new NotSupportedException(); 719throw new NotSupportedException(); 826throw new NotSupportedException();
System\Reflection\Metadata\TypeSystem\HandleCollections.TypeSystem.cs (18)
111throw new NotSupportedException(); 219throw new NotSupportedException(); 339throw new NotSupportedException(); 446throw new NotSupportedException(); 566throw new NotSupportedException(); 686throw new NotSupportedException(); 806throw new NotSupportedException(); 926throw new NotSupportedException(); 1026throw new NotSupportedException(); 1141throw new NotSupportedException(); 1239throw new NotSupportedException(); 1329throw new NotSupportedException(); 1419throw new NotSupportedException(); 1509throw new NotSupportedException(); 1599throw new NotSupportedException(); 1753throw new NotSupportedException(); 1843throw new NotSupportedException(); 1933throw new NotSupportedException();
System\Reflection\PortableExecutable\DebugDirectory\DebugDirectoryBuilder.EmbeddedPortablePdb.cs (6)
67public override long Length => throw new NotSupportedException(); 68public override long Position { get => throw new NotSupportedException(); set => throw new NotSupportedException(); } 70public override int Read(byte[] buffer, int offset, int count) => throw new NotSupportedException(); 71public override long Seek(long offset, SeekOrigin origin) => throw new NotSupportedException(); 72public override void SetLength(long value) => throw new NotSupportedException();
System.Reflection.MetadataLoadContext (37)
System\Reflection\Runtime\BindingFlagSupport\ConstructorPolicies.cs (1)
54throw new NotSupportedException();
System\Reflection\TypeLoading\Assemblies\RoAssembly.cs (5)
52public sealed override string CodeBase => throw new NotSupportedException(SR.NotSupported_AssemblyCodeBase); 57public sealed override string EscapedCodeBase => throw new NotSupportedException(SR.NotSupported_AssemblyCodeBase); 202public sealed override void GetObjectData(SerializationInfo info, StreamingContext context) => throw new NotSupportedException(); 205public sealed override Assembly GetSatelliteAssembly(CultureInfo culture) => throw new NotSupportedException(SR.NotSupported_SatelliteAssembly); 206public sealed override Assembly GetSatelliteAssembly(CultureInfo culture, Version? version) => throw new NotSupportedException(SR.NotSupported_SatelliteAssembly);
System\Reflection\TypeLoading\Methods\RoMethod.cs (1)
116public sealed override MethodInfo GetBaseDefinition() => throw new NotSupportedException(SR.NotSupported_GetBaseDefinition);
System\Reflection\TypeLoading\Modules\Ecma\EcmaModule.cs (1)
42public sealed override int MDStreamVersion => throw new NotSupportedException(SR.NotSupported_MDStreamVersion);
System\Reflection\TypeLoading\Modules\RoModule.cs (8)
79public sealed override void GetObjectData(SerializationInfo info, StreamingContext context) => throw new NotSupportedException(); 86public sealed override FieldInfo ResolveField(int metadataToken, Type[]? genericTypeArguments, Type[]? genericMethodArguments) => throw new NotSupportedException(SR.NotSupported_ResolvingTokens); 87public sealed override MemberInfo ResolveMember(int metadataToken, Type[]? genericTypeArguments, Type[]? genericMethodArguments) => throw new NotSupportedException(SR.NotSupported_ResolvingTokens); 88public sealed override MethodBase ResolveMethod(int metadataToken, Type[]? genericTypeArguments, Type[]? genericMethodArguments) => throw new NotSupportedException(SR.NotSupported_ResolvingTokens); 89public sealed override byte[] ResolveSignature(int metadataToken) => throw new NotSupportedException(SR.NotSupported_ResolvingTokens); 90public sealed override string ResolveString(int metadataToken) => throw new NotSupportedException(SR.NotSupported_ResolvingTokens); 91public sealed override Type ResolveType(int metadataToken, Type[]? genericTypeArguments, Type[]? genericMethodArguments) => throw new NotSupportedException(SR.NotSupported_ResolvingTokens); 121throw new NotSupportedException(SR.NotSupported_CaseInsensitive);
System\Reflection\TypeLoading\Types\RoModifiedType.cs (19)
115public override bool Equals([NotNullWhen(true)] object? obj) => throw new NotSupportedException(SR.NotSupported_ModifiedType); 116public override bool Equals(Type? other) => throw new NotSupportedException(SR.NotSupported_ModifiedType); 117public override int GetHashCode() => throw new NotSupportedException(SR.NotSupported_ModifiedType); 150public override MethodBase? DeclaringMethod => throw new NotSupportedException(SR.NotSupported_ModifiedType); 151protected override RoType? ComputeDeclaringType() => throw new NotSupportedException(SR.NotSupported_ModifiedType); 158get { throw new NotSupportedException(SR.NotSupported_ModifiedType); } 165public override int MetadataToken => throw new NotSupportedException(SR.NotSupported_ModifiedType); 169public override Type GetGenericTypeDefinition() => throw new NotSupportedException(SR.NotSupported_ModifiedType); 176public override Type MakeGenericType(params Type[] typeArguments) => throw new NotSupportedException(SR.NotSupported_ModifiedType); 183public override Type[] GetGenericParameterConstraints() => throw new NotSupportedException(SR.NotSupported_ModifiedType); 186protected internal override RoType ComputeEnumUnderlyingType() => throw new NotSupportedException(SR.NotSupported_ModifiedType); 188internal override RoType? ComputeBaseTypeWithoutDesktopQuirk() => throw new NotSupportedException(SR.NotSupported_ModifiedType); 189internal override IEnumerable<RoType> ComputeDirectlyImplementedInterfaces() => throw new NotSupportedException(SR.NotSupported_ModifiedType); 192internal override IEnumerable<ConstructorInfo> GetConstructorsCore(NameFilter? filter) => throw new NotSupportedException(SR.NotSupported_ModifiedType); 193internal override IEnumerable<MethodInfo> GetMethodsCore(NameFilter? filter, Type reflectedType) => throw new NotSupportedException(SR.NotSupported_ModifiedType); 194internal override IEnumerable<EventInfo> GetEventsCore(NameFilter? filter, Type reflectedType) => throw new NotSupportedException(SR.NotSupported_ModifiedType); 195internal override IEnumerable<FieldInfo> GetFieldsCore(NameFilter? filter, Type reflectedType) => throw new NotSupportedException(SR.NotSupported_ModifiedType); 196internal override IEnumerable<PropertyInfo> GetPropertiesCore(NameFilter? filter, Type reflectedType) => throw new NotSupportedException(SR.NotSupported_ModifiedType); 197internal override IEnumerable<RoType> GetNestedTypesCore(NameFilter? filter) => throw new NotSupportedException(SR.NotSupported_ModifiedType);
System\Reflection\TypeLoading\Types\RoType.cs (2)
248public sealed override InterfaceMapping GetInterfaceMap(Type interfaceType) => throw new NotSupportedException(SR.NotSupported_InterfaceMapping); 354_ => throw new NotSupportedException(),
System.Resources.Extensions (3)
src\libraries\System.Private.CoreLib\src\System\Resources\ResourceReader.cs (2)
832throw new NotSupportedException(SR.Format(SR.NotSupported_WrongResourceReader_Type, readerType)); 970throw new NotSupportedException(SR.ResourceManager_ReflectionNotAllowed);
System\Resources\Extensions\BinaryFormat\Deserializer\ArrayRecordDeserializer.cs (1)
120_ => throw new NotSupportedException(),
System.Runtime.Caching (10)
System\Runtime\Caching\MemoryCache.cs (10)
415throw new NotSupportedException(SR.RegionName_not_supported); 463throw new NotSupportedException(SR.RegionName_not_supported); 563throw new NotSupportedException(SR.RegionName_not_supported); 581throw new NotSupportedException(SR.RegionName_not_supported); 601throw new NotSupportedException(SR.RegionName_not_supported); 619throw new NotSupportedException(SR.RegionName_not_supported); 733throw new NotSupportedException(SR.RegionName_not_supported); 748throw new NotSupportedException(SR.RegionName_not_supported); 767throw new NotSupportedException(SR.RegionName_not_supported); 777throw new NotSupportedException(SR.RegionName_not_supported);
System.Runtime.InteropServices (1)
System\Runtime\InteropServices\Marshalling\StrategyBasedComWrappers.cs (1)
93throw new NotSupportedException();
System.Runtime.Numerics (3)
System\Number.BigInteger.cs (2)
1228throw new NotSupportedException(); 1286throw new NotSupportedException();
System\ThrowHelper.cs (1)
21throw new NotSupportedException();
System.Security.Cryptography (43)
src\libraries\Common\src\System\Memory\PointerMemoryManager.cs (1)
28throw new NotSupportedException();
System\Security\Cryptography\AesImplementation.OpenSsl.cs (1)
59new NotSupportedException() :
System\Security\Cryptography\CryptoStream.cs (12)
93get { throw new NotSupportedException(SR.NotSupported_UnseekableStream); } 98get { throw new NotSupportedException(SR.NotSupported_UnseekableStream); } 99set { throw new NotSupportedException(SR.NotSupported_UnseekableStream); } 138throw new NotSupportedException(SR.Cryptography_CryptoStream_FlushFinalBlockTwice); 209throw new NotSupportedException(SR.NotSupported_UnseekableStream); 214throw new NotSupportedException(SR.NotSupported_UnseekableStream); 227return ValueTask.FromException<int>(new NotSupportedException(SR.NotSupported_UnreadableStream)); 305throw new NotSupportedException(SR.NotSupported_UnreadableStream); 466return ValueTask.FromException(new NotSupportedException(SR.NotSupported_UnwritableStream)); 529throw new NotSupportedException(SR.NotSupported_UnwritableStream); 748throw new NotSupportedException(SR.NotSupported_UnwritableStream); 751throw new NotSupportedException(SR.NotSupported_UnreadableStream);
System\Security\Cryptography\DesImplementation.OpenSsl.cs (1)
52_ => throw new NotSupportedException(),
System\Security\Cryptography\ECAlgorithm.cs (4)
41throw new NotSupportedException(SR.NotSupported_SubclassOverride); 56throw new NotSupportedException(SR.NotSupported_SubclassOverride); 68throw new NotSupportedException(SR.NotSupported_SubclassOverride); 80throw new NotSupportedException(SR.NotSupported_SubclassOverride);
System\Security\Cryptography\ECDiffieHellmanPublicKey.ExportParameters.cs (2)
21throw new NotSupportedException(SR.NotSupported_SubclassOverride); 30throw new NotSupportedException(SR.NotSupported_SubclassOverride);
System\Security\Cryptography\ECDsa.cs (1)
1262throw new NotSupportedException(SR.Cryptography_InvalidKeySize);
System\Security\Cryptography\LiteHash.OpenSsl.cs (1)
36public int HashSizeInBytes => throw new NotSupportedException();
System\Security\Cryptography\LiteHash.Unix.cs (1)
36public int HashSizeInBytes => throw new NotSupportedException();
System\Security\Cryptography\RC2Implementation.OpenSsl.cs (1)
50_ => throw new NotSupportedException(),
System\Security\Cryptography\RSA.cs (2)
365throw new NotSupportedException(SR.NotSupported_Method); // Same as Desktop 370throw new NotSupportedException(SR.NotSupported_Method); // Same as Desktop
System\Security\Cryptography\SymmetricAlgorithm.cs (6)
1519throw new NotSupportedException(SR.NotSupported_SubclassOverride); 1543throw new NotSupportedException(SR.NotSupported_SubclassOverride); 1574throw new NotSupportedException(SR.NotSupported_SubclassOverride); 1600throw new NotSupportedException(SR.NotSupported_SubclassOverride); 1629throw new NotSupportedException(SR.NotSupported_SubclassOverride); 1662throw new NotSupportedException(SR.NotSupported_SubclassOverride);
System\Security\Cryptography\TripleDesImplementation.OpenSsl.cs (1)
54_ => throw new NotSupportedException(),
System\Security\Cryptography\X509Certificates\CertificateExtensionsCommon.cs (3)
43throw new NotSupportedException(SR.NotSupported_KeyAlgorithm); 73throw new NotSupportedException(SR.NotSupported_KeyAlgorithm); 85throw new NotSupportedException(SR.NotSupported_KeyAlgorithm);
System\Security\Cryptography\X509Certificates\CertificateRequest.Load.cs (1)
357throw new NotSupportedException(
System\Security\Cryptography\X509Certificates\OpenSslX509Encoder.cs (3)
18throw new NotSupportedException(SR.NotSupported_KeyAlgorithm); 26throw new NotSupportedException(SR.NotSupported_KeyAlgorithm); 43throw new NotSupportedException(SR.NotSupported_KeyAlgorithm);
System\Security\Cryptography\X509Certificates\PublicKey.cs (1)
133throw new NotSupportedException(SR.NotSupported_KeyAlgorithm);
System\Security\Cryptography\X509Certificates\X509Certificate2.cs (1)
287_ => throw new NotSupportedException(SR.NotSupported_KeyAlgorithm),
System.Security.Cryptography.Cose (1)
src\libraries\Common\src\System\Memory\PointerMemoryManager.cs (1)
28throw new NotSupportedException();
System.Security.Cryptography.Pkcs (1)
src\libraries\Common\src\System\Memory\PointerMemoryManager.cs (1)
28throw new NotSupportedException();
System.Security.Cryptography.Xml (8)
System\Security\Cryptography\Xml\CryptoHelpers.cs (1)
57throw new NotSupportedException(SR.Cryptography_Xml_XsltRequiresDynamicCode);
System\Security\Cryptography\Xml\EncryptedXml.cs (1)
536throw new NotSupportedException(SR.NotSupported_KeyAlgorithm);
System\Security\Cryptography\Xml\SignedInfo.cs (6)
36throw new NotSupportedException(); 41throw new NotSupportedException(); 46get { throw new NotSupportedException(); } 51get { throw new NotSupportedException(); } 56get { throw new NotSupportedException(); } 61get { throw new NotSupportedException(); }
System.ServiceModel.Federation (9)
System\ServiceModel\Federation\WSTrustChannel.cs (3)
98throw new NotSupportedException(SR.Format(SR.WsTrustVersionNotSupported, trustRequest.WsTrustVersion.ToString())); 109throw new NotSupportedException(SR.Format(SR.RequestTypeNotSupported, trustRequest.RequestType)); 142throw new NotSupportedException(SR.Format(SR.WsTrustVersionNotSupported, trustRequest.WsTrustVersion.ToString()));
System\ServiceModel\Federation\WSTrustChannelSecurityTokenProvider.cs (2)
140throw new NotSupportedException(SR.Format(SR.KeyTypeNotSupported, WSTrustTokenParameters.KeyType)); 308throw new NotSupportedException(SR.Format(SR.WsTrustVersionNotSupported, MessageSecurityVersion.TrustVersion));
System\ServiceModel\Federation\WSTrustUtilities.cs (4)
47throw new NotSupportedException(SR.EncryptedKeysForProofTokensNotSupported); 81throw new NotSupportedException(SR.ProtectedKeyEntropyIsNotSupported); 107throw new NotSupportedException(SR.OnlyPSHA1ComputedKeysAreSupported); 115throw new NotSupportedException(SR.ProtectedKeyEntropyIsNotSupported);
System.ServiceModel.NetFramingBase (5)
System\ServiceModel\Channels\Connection.cs (5)
156throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException(SR.SPS_SeekNotSupported)); 164throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException(SR.SPS_SeekNotSupported)); 168throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException(SR.SPS_SeekNotSupported)); 270throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException(SR.SPS_SeekNotSupported)); 275throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException(SR.SPS_SeekNotSupported));
System.ServiceModel.Syndication (1)
System\ServiceModel\Syndication\Rss20FeedFormatter.cs (1)
584throw new NotSupportedException(FeedUtils.AddLineInfo(reader, (SR.Format(SR.UnsupportedRssVersion, version))));
System.ServiceModel.UnixDomainSocket (3)
System\ServiceModel\UnixDomainSocketSecurity.cs (2)
63throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException(SR.Format(SR.UnsupportedSecuritySetting, "Mode", _mode))); 73throw new NotSupportedException();
System\ServiceModel\UnixDomainSocketTransportSecurity.cs (1)
167throw new NotSupportedException();
System.Text.Encoding.CodePages (6)
System\Text\BaseCodePageEncoding.cs (1)
255throw new NotSupportedException(SR.Format(SR.NotSupported_NoCodepageData, CodePage));
System\Text\DBCSCodePageEncoding.cs (1)
99throw new NotSupportedException(SR.Format(SR.NotSupported_NoCodepageData, CodePage));
System\Text\EncodingNLS.cs (3)
358throw new NotSupportedException( 371throw new NotSupportedException( 537throw new NotSupportedException(SR.Format(SR.NotSupported_NoCodepageData, CodePage));
System\Text\SBCSCodePageEncoding.cs (1)
73throw new NotSupportedException(SR.Format(SR.NotSupported_NoCodepageData, CodePage));
System.Text.Json (20)
System\Text\Json\Serialization\Converters\Value\UnsupportedTypeConverter.cs (2)
18throw new NotSupportedException(ErrorMessage); 21throw new NotSupportedException(ErrorMessage);
System\Text\Json\ThrowHelper.Node.cs (1)
71return new NotSupportedException(SR.CollectionIsReadOnly);
System\Text\Json\ThrowHelper.Serialization.cs (17)
34throw new NotSupportedException(SR.Format(SR.SerializationNotSupportedType, propertyType)); 40throw new NotSupportedException(SR.Format(SR.TypeRequiresAsyncSerialization, propertyType)); 46throw new NotSupportedException(SR.Format(SR.DictionaryKeyTypeNotSupported, keyType, converter.GetType())); 124throw new NotSupportedException(SR.ObjectCreationHandlingPropertyDoesNotSupportParameterizedConstructors); 406NotSupportedException ex = new NotSupportedException( 591throw new NotSupportedException(message, innerException); 617throw new NotSupportedException(message, innerException); 646ThrowNotSupportedException(ref state, reader, new NotSupportedException(message)); 652ThrowNotSupportedException(ref state, reader, new NotSupportedException(SR.Format(SR.CannotPopulateCollection, type))); 815throw new NotSupportedException(SR.Format(SR.NoMetadataForType, type, resolver?.ToString() ?? "<null>")); 820return new NotSupportedException(SR.Format(SR.AmbiguousMetadataForType, type, match1, match2)); 826throw new NotSupportedException(SR.Format(SR.ConstructorContainsNullParameterNames, declaringType)); 855throw new NotSupportedException(SR.Format(SR.Polymorphism_DerivedConverterDoesNotSupportMetadata, derivedType)); 861throw new NotSupportedException(SR.Format(SR.Polymorphism_DerivedConverterDoesNotSupportMetadata, derivedType)); 867throw new NotSupportedException(SR.Format(SR.Polymorphism_RuntimeTypeNotSupported, runtimeType, baseType)); 873throw new NotSupportedException(SR.Format(SR.Polymorphism_RuntimeTypeDiamondAmbiguity, runtimeType, derivedType1, derivedType2, baseType)); 951throw new NotSupportedException(SR.JsonSchemaExporter_ReferenceHandlerPreserve_NotSupported);
System.Text.RegularExpressions (43)
System\Text\RegularExpressions\CaptureCollection.cs (12)
128throw new NotSupportedException(SR.NotSupported_ReadOnlyCollection); 131throw new NotSupportedException(SR.NotSupported_ReadOnlyCollection); 136set => throw new NotSupportedException(SR.NotSupported_ReadOnlyCollection); 140throw new NotSupportedException(SR.NotSupported_ReadOnlyCollection); 143throw new NotSupportedException(SR.NotSupported_ReadOnlyCollection); 149throw new NotSupportedException(SR.NotSupported_ReadOnlyCollection); 152throw new NotSupportedException(SR.NotSupported_ReadOnlyCollection); 155throw new NotSupportedException(SR.NotSupported_ReadOnlyCollection); 164throw new NotSupportedException(SR.NotSupported_ReadOnlyCollection); 169throw new NotSupportedException(SR.NotSupported_ReadOnlyCollection); 172throw new NotSupportedException(SR.NotSupported_ReadOnlyCollection); 177set => throw new NotSupportedException(SR.NotSupported_ReadOnlyCollection);
System\Text\RegularExpressions\GroupCollection.cs (12)
142throw new NotSupportedException(SR.NotSupported_ReadOnlyCollection); 145throw new NotSupportedException(SR.NotSupported_ReadOnlyCollection); 150set => throw new NotSupportedException(SR.NotSupported_ReadOnlyCollection); 154throw new NotSupportedException(SR.NotSupported_ReadOnlyCollection); 157throw new NotSupportedException(SR.NotSupported_ReadOnlyCollection); 163throw new NotSupportedException(SR.NotSupported_ReadOnlyCollection); 166throw new NotSupportedException(SR.NotSupported_ReadOnlyCollection); 169throw new NotSupportedException(SR.NotSupported_ReadOnlyCollection); 178throw new NotSupportedException(SR.NotSupported_ReadOnlyCollection); 183throw new NotSupportedException(SR.NotSupported_ReadOnlyCollection); 186throw new NotSupportedException(SR.NotSupported_ReadOnlyCollection); 191set => throw new NotSupportedException(SR.NotSupported_ReadOnlyCollection);
System\Text\RegularExpressions\Match.cs (1)
119Regex? regex = _regex ?? throw new NotSupportedException(SR.NoResultOnFailed);
System\Text\RegularExpressions\MatchCollection.cs (12)
138throw new NotSupportedException(SR.NotSupported_ReadOnlyCollection); 141throw new NotSupportedException(SR.NotSupported_ReadOnlyCollection); 146set => throw new NotSupportedException(SR.NotSupported_ReadOnlyCollection); 150throw new NotSupportedException(SR.NotSupported_ReadOnlyCollection); 153throw new NotSupportedException(SR.NotSupported_ReadOnlyCollection); 162throw new NotSupportedException(SR.NotSupported_ReadOnlyCollection); 165throw new NotSupportedException(SR.NotSupported_ReadOnlyCollection); 168throw new NotSupportedException(SR.NotSupported_ReadOnlyCollection); 177throw new NotSupportedException(SR.NotSupported_ReadOnlyCollection); 182throw new NotSupportedException(SR.NotSupported_ReadOnlyCollection); 185throw new NotSupportedException(SR.NotSupported_ReadOnlyCollection); 190set => throw new NotSupportedException(SR.NotSupported_ReadOnlyCollection);
System\Text\RegularExpressions\Regex.Debug.cs (3)
22throw new NotSupportedException(); 49throw new NotSupportedException(); 76throw new NotSupportedException();
System\Text\RegularExpressions\RegexRunner.cs (1)
145throw new NotSupportedException(SR.UsingSpanAPIsWithCompiledToAssembly);
System\Text\RegularExpressions\Symbolic\RegexNodeConverter.cs (1)
178throw new NotSupportedException(SR.Format(SR.NotSupported_NonBacktrackingConflictingExpression, node.Kind switch
System\Text\RegularExpressions\Symbolic\SymbolicRegexRunnerFactory.cs (1)
35throw new NotSupportedException(SR.Format(SR.NotSupported_NonBacktrackingUnsafeSize, size, threshold));
System.Threading.Channels (1)
System\Threading\Channels\ChannelReader.cs (1)
31public virtual int Count => throw new NotSupportedException();
System.Threading.Tasks.Dataflow (10)
Base\DataflowBlock.cs (7)
185IDisposable ISourceBlock<T>.LinkTo(ITargetBlock<T> target, DataflowLinkOptions linkOptions) { throw new NotSupportedException(SR.NotSupported_MemberNotNeeded); } 712IDisposable ISourceBlock<TOutput>.LinkTo(ITargetBlock<TOutput> target, DataflowLinkOptions linkOptions) { throw new NotSupportedException(SR.NotSupported_MemberNotNeeded); } 714void IDataflowBlock.Complete() { throw new NotSupportedException(SR.NotSupported_MemberNotNeeded); } 716void IDataflowBlock.Fault(Exception exception) { throw new NotSupportedException(SR.NotSupported_MemberNotNeeded); } 1357Task IDataflowBlock.Completion { get { throw new NotSupportedException(SR.NotSupported_MemberNotNeeded); } } 1482Task IDataflowBlock.Completion => throw new NotSupportedException(SR.NotSupported_MemberNotNeeded); 2135Task IDataflowBlock.Completion { get { throw new NotSupportedException(SR.NotSupported_MemberNotNeeded); } }
Blocks\BatchedJoinBlock.cs (1)
624Task IDataflowBlock.Completion { get { throw new NotSupportedException(SR.NotSupported_MemberNotNeeded); } }
Blocks\JoinBlock.cs (1)
933public Task Completion { get { throw new NotSupportedException(SR.NotSupported_MemberNotNeeded); } }
Internal\TargetRegistry.cs (1)
353IDisposable ISourceBlock<T>.LinkTo(ITargetBlock<T> target, DataflowLinkOptions linkOptions) { throw new NotSupportedException(SR.NotSupported_MemberNotNeeded); }
System.Threading.Tasks.Parallel (3)
System\Threading\Tasks\ParallelLoopState.cs (3)
44throw new NotSupportedException( 101throw new NotSupportedException( 149throw new NotSupportedException(
System.Transactions.Local (2)
System\Transactions\TransactionScope.cs (1)
1156throw new NotSupportedException(SR.AsyncFlowAndESInteropNotSupported);
System\Transactions\TransactionState.cs (1)
2017throw new NotSupportedException();
System.Windows.Controls.Ribbon (3)
Microsoft\Windows\Controls\GenericValueConverters.cs (1)
56throw new NotSupportedException();
Microsoft\Windows\Controls\Ribbon\RibbonContextMenu.cs (2)
445throw new NotSupportedException(); 491throw new NotSupportedException();
System.Windows.Forms (255)
System\Drawing\Design\UITypeEditor.cs (1)
70throw new NotSupportedException(string.Format(SR.ControlNotSupportedInTrimming, nameof(UITypeEditor)));
System\Resources\AssemblyNamesTypeResolutionService.cs (1)
174public void ReferenceAssembly(AssemblyName name) => throw new NotSupportedException();
System\Resources\ResXDataNode.cs (1)
377throw new NotSupportedException(newMessage, xml);
System\Windows\Forms\Accessibility\AccessibleObject.cs (2)
593throw new NotSupportedException(message); 3230throw new NotSupportedException(SR.AccessibleObjectLiveRegionNotSupported);
System\Windows\Forms\ActiveX\AxHost.cs (38)
295add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "MouseClick")); 303add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "MouseDoubleClick")); 472add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "BackColorChanged")); 480add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "BackgroundImageChanged")); 488add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "BackgroundImageLayoutChanged")); 496add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "BindingContextChanged")); 504add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "CursorChanged")); 515add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "EnabledChanged")); 523add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "FontChanged")); 531add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "ForeColorChanged")); 539add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "RightToLeftChanged")); 547add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "TextChanged")); 558add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "Click")); 566add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "DragDrop")); 574add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "DragEnter")); 582add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "DragOver")); 590add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "DragLeave")); 598add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "GiveFeedback")); 606add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "HelpRequested")); 614add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "Paint")); 622add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "QueryContinueDrag")); 630add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "QueryAccessibilityHelp")); 641add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "DoubleClick")); 649add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "ImeModeChanged")); 660add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "KeyDown")); 671add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "KeyPress")); 682add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "KeyUp")); 690add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "Layout")); 701add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "MouseDown")); 712add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "MouseEnter")); 723add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "MouseLeave")); 734add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "MouseHover")); 745add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "MouseMove")); 756add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "MouseUp")); 767add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "MouseWheel")); 775add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "ChangeUICues")); 783add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "StyleChanged")); 1529throw new NotSupportedException(string.Format(SR.AXNohWnd, GetType().Name));
System\Windows\Forms\ActiveX\Control.ActiveXImpl.cs (6)
88throw new NotSupportedException(SR.AXTopLevelSource); 1041throw new NotSupportedException(string.Format(SR.ControlNotSupportedInTrimming, nameof(ActiveXImpl))); 1144throw new NotSupportedException(SR.BinaryFormatterNotSupported); 1441throw new NotSupportedException(string.Format(SR.ControlNotSupportedInTrimming, nameof(ActiveXImpl))); 1495throw new NotSupportedException(string.Format(SR.ControlNotSupportedInTrimming, nameof(ActiveXImpl))); 1534throw new NotSupportedException(SR.BinaryFormatterNotSupported);
System\Windows\Forms\Application.cs (1)
1262throw new NotSupportedException(SR.RestartNotSupported);
System\Windows\Forms\ComponentModel\COM2Interop\COM2PropertyDescriptor.cs (1)
823throw new NotSupportedException(string.Format(SR.COM2ReadonlyProperty, Name));
System\Windows\Forms\Control.cs (4)
1529throw new NotSupportedException(SR.BindingNotSupported); 6220throw new NotSupportedException(SR.ControlIsKeyLockedNumCapsScrollLockKeysSupportedOnly); 6655throw new NotSupportedException(SR.BindingNotSupported); 12613throw new NotSupportedException(SR.DesignTimeFeaturesNotSupported);
System\Windows\Forms\Controls\Buttons\ButtonBase.cs (1)
165throw new NotSupportedException(SR.DesignTimeFeaturesNotSupported);
System\Windows\Forms\Controls\Buttons\FlatButtonAppearance.cs (1)
73throw new NotSupportedException(SR.ButtonFlatAppearanceInvalidBorderColor);
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (2)
151throw new NotSupportedException(SR.ComboBoxAutoCompleteModeOnlyNoneAllowed); 193throw new NotSupportedException(SR.ComboBoxAutoCompleteSourceOnlyListItemsAllowed);
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (1)
7123throw new NotSupportedException(SR.DataGridView_DisabledClipboardCopy);
System\Windows\Forms\Controls\DataGridView\DataGridViewColumnCollection.cs (1)
34set => throw new NotSupportedException();
System\Windows\Forms\Controls\DataGridView\DataGridViewRowCollection.cs (1)
60set => throw new NotSupportedException();
System\Windows\Forms\Controls\DataGridView\DataGridViewSelectedCellCollection.cs (8)
20throw new NotSupportedException(SR.DataGridView_ReadOnlyCollection); 25throw new NotSupportedException(SR.DataGridView_ReadOnlyCollection); 34throw new NotSupportedException(SR.DataGridView_ReadOnlyCollection); 39throw new NotSupportedException(SR.DataGridView_ReadOnlyCollection); 44throw new NotSupportedException(SR.DataGridView_ReadOnlyCollection); 54set { throw new NotSupportedException(SR.DataGridView_ReadOnlyCollection); } 112throw new NotSupportedException(SR.DataGridView_ReadOnlyCollection); 125throw new NotSupportedException(SR.DataGridView_ReadOnlyCollection);
System\Windows\Forms\Controls\DataGridView\DataGridViewSelectedColumnCollection.cs (8)
16throw new NotSupportedException(SR.DataGridView_ReadOnlyCollection); 21throw new NotSupportedException(SR.DataGridView_ReadOnlyCollection); 30throw new NotSupportedException(SR.DataGridView_ReadOnlyCollection); 35throw new NotSupportedException(SR.DataGridView_ReadOnlyCollection); 40throw new NotSupportedException(SR.DataGridView_ReadOnlyCollection); 50set { throw new NotSupportedException(SR.DataGridView_ReadOnlyCollection); } 79throw new NotSupportedException(SR.DataGridView_ReadOnlyCollection); 92throw new NotSupportedException(SR.DataGridView_ReadOnlyCollection);
System\Windows\Forms\Controls\DataGridView\DataGridViewSelectedRowCollection.cs (8)
18int IList.Add(object? value) => throw new NotSupportedException(SR.DataGridView_ReadOnlyCollection); 20void IList.Clear() => throw new NotSupportedException(SR.DataGridView_ReadOnlyCollection); 26void IList.Insert(int index, object? value) => throw new NotSupportedException(SR.DataGridView_ReadOnlyCollection); 28void IList.Remove(object? value) => throw new NotSupportedException(SR.DataGridView_ReadOnlyCollection); 30void IList.RemoveAt(int index) => throw new NotSupportedException(SR.DataGridView_ReadOnlyCollection); 39set { throw new NotSupportedException(SR.DataGridView_ReadOnlyCollection); } 66public void Clear() => throw new NotSupportedException(SR.DataGridView_ReadOnlyCollection); 76public void Insert(int index, DataGridViewRow dataGridViewRow) => throw new NotSupportedException(SR.DataGridView_ReadOnlyCollection);
System\Windows\Forms\Controls\ImageList\ImageList.ImageCollection.cs (4)
430public bool Contains(Image image) => throw new NotSupportedException(); 448public int IndexOf(Image image) => throw new NotSupportedException(); 499void IList.Insert(int index, object? value) => throw new NotSupportedException(); 530public void Remove(Image image) => throw new NotSupportedException();
System\Windows\Forms\Controls\ListBoxes\CheckedListBox.CheckedIndexCollection.cs (6)
85throw new NotSupportedException(SR.CheckedListBoxCheckedIndexCollectionIsReadOnly); 91throw new NotSupportedException(SR.CheckedListBoxCheckedIndexCollectionIsReadOnly); 96throw new NotSupportedException(SR.CheckedListBoxCheckedIndexCollectionIsReadOnly); 101throw new NotSupportedException(SR.CheckedListBoxCheckedIndexCollectionIsReadOnly); 106throw new NotSupportedException(SR.CheckedListBoxCheckedIndexCollectionIsReadOnly); 111throw new NotSupportedException(SR.CheckedListBoxCheckedIndexCollectionIsReadOnly);
System\Windows\Forms\Controls\ListBoxes\CheckedListBox.CheckedItemCollection.cs (6)
60throw new NotSupportedException(SR.CheckedListBoxCheckedItemCollectionIsReadOnly); 113throw new NotSupportedException(SR.CheckedListBoxCheckedItemCollectionIsReadOnly); 118throw new NotSupportedException(SR.CheckedListBoxCheckedItemCollectionIsReadOnly); 123throw new NotSupportedException(SR.CheckedListBoxCheckedItemCollectionIsReadOnly); 128throw new NotSupportedException(SR.CheckedListBoxCheckedItemCollectionIsReadOnly); 133throw new NotSupportedException(SR.CheckedListBoxCheckedItemCollectionIsReadOnly);
System\Windows\Forms\Controls\ListBoxes\ListBox.IntegerCollection.cs (1)
228throw new NotSupportedException(SR.ListBoxCantInsertIntoIntegerCollection);
System\Windows\Forms\Controls\ListBoxes\ListBox.SelectedIndexCollection.cs (6)
111throw new NotSupportedException(SR.ListBoxSelectedIndexCollectionIsReadOnly); 116throw new NotSupportedException(SR.ListBoxSelectedIndexCollectionIsReadOnly); 121throw new NotSupportedException(SR.ListBoxSelectedIndexCollectionIsReadOnly); 126throw new NotSupportedException(SR.ListBoxSelectedIndexCollectionIsReadOnly); 131throw new NotSupportedException(SR.ListBoxSelectedIndexCollectionIsReadOnly); 154throw new NotSupportedException(SR.ListBoxSelectedIndexCollectionIsReadOnly);
System\Windows\Forms\Controls\ListBoxes\ListBox.SelectedObjectCollection.cs (6)
154throw new NotSupportedException(SR.ListBoxSelectedObjectCollectionIsReadOnly); 159throw new NotSupportedException(SR.ListBoxSelectedObjectCollectionIsReadOnly); 164throw new NotSupportedException(SR.ListBoxSelectedObjectCollectionIsReadOnly); 169throw new NotSupportedException(SR.ListBoxSelectedObjectCollectionIsReadOnly); 174throw new NotSupportedException(SR.ListBoxSelectedObjectCollectionIsReadOnly); 200throw new NotSupportedException(SR.ListBoxSelectedObjectCollectionIsReadOnly);
System\Windows\Forms\Controls\ListControl\ListControl.cs (3)
143throw new NotSupportedException(SR.BindingNotSupported); 435throw new NotSupportedException(SR.BindingNotSupported); 706throw new NotSupportedException(SR.BindingNotSupported);
System\Windows\Forms\Controls\ListView\ListView.CheckedIndexCollection.cs (6)
107throw new NotSupportedException(); 195throw new NotSupportedException(); 200throw new NotSupportedException(); 205throw new NotSupportedException(); 210throw new NotSupportedException(); 215throw new NotSupportedException();
System\Windows\Forms\Controls\ListView\ListView.CheckedListViewItemCollection.cs (6)
92throw new NotSupportedException(); 292throw new NotSupportedException(); 297throw new NotSupportedException(); 302throw new NotSupportedException(); 307throw new NotSupportedException(); 312throw new NotSupportedException();
System\Windows\Forms\Controls\ListView\ListView.ColumnHeaderCollection.cs (1)
35throw new NotSupportedException();
System\Windows\Forms\Controls\ListView\ListView.cs (5)
455throw new NotSupportedException(SR.ListViewCheckBoxesNotSupportedInTileView); 500throw new NotSupportedException(SR.ListViewCheckBoxesNotSupportedInTileView); 1811throw new NotSupportedException(SR.ListViewTileViewDoesNotSupportCheckBoxes); 1821throw new NotSupportedException(SR.ListViewCantSetViewToTileViewInVirtualMode); 1933throw new NotSupportedException(SR.ListViewCantSetVirtualModeWhenInTileView);
System\Windows\Forms\Controls\ListView\ListView.SelectedIndexCollection.cs (3)
132throw new NotSupportedException(); 235throw new NotSupportedException(); 252throw new NotSupportedException();
System\Windows\Forms\Controls\ListView\ListView.SelectedListViewItemCollection.cs (5)
193throw new NotSupportedException(); 232throw new NotSupportedException(); 238throw new NotSupportedException(); 252throw new NotSupportedException(); 258throw new NotSupportedException();
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (2)
492throw new NotSupportedException(SR.PictureBoxRemoteLocationNotSupported); 565throw new NotSupportedException(SR.PictureBoxRemoteLocationNotSupported);
System\Windows\Forms\Controls\PropertyGrid\GridItem.cs (1)
80set => throw new NotSupportedException(SR.GridItemNotExpandable);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.cs (1)
531set => throw new NotSupportedException();
System\Windows\Forms\Controls\TextBox\TextBox.cs (1)
166throw new NotSupportedException(SR.TextBoxAutoCompleteSourceNoItems);
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (3)
226throw new NotSupportedException(SR.ToolStripDoesntSupportAutoScroll); 1571throw new NotSupportedException(SR.ToolStripRenderModeUseRendererPropertyInstead); 4066throw new NotSupportedException(SR.ToolStripCanOnlyPositionItsOwnItems);
System\Windows\Forms\Controls\ToolStrips\ToolStripComboBox.cs (1)
42throw new NotSupportedException(SR.ToolStripMustSupplyItsOwnComboBox);
System\Windows\Forms\Controls\ToolStrips\ToolStripContainer.ToolStripContainerTypedControlCollection.cs (3)
31throw new NotSupportedException(SR.ToolStripContainerUseContentPanel); 51throw new NotSupportedException(SR.ReadonlyControlsCollection); 67throw new NotSupportedException(SR.ReadonlyControlsCollection);
System\Windows\Forms\Controls\ToolStrips\ToolStripItemCollection.cs (9)
121throw new NotSupportedException(SR.ToolStripItemCollectionIsReadOnly); 141throw new NotSupportedException(SR.ToolStripItemCollectionIsReadOnly); 174throw new NotSupportedException(SR.ToolStripItemCollectionIsReadOnly); 223throw new NotSupportedException(SR.ToolStripItemCollectionIsReadOnly); 233throw new NotSupportedException(SR.ToolStripItemCircularReference); 309set { throw new NotSupportedException(SR.ToolStripCollectionMustInsertAndRemove); /* InnerList[index] = value; */ } 417throw new NotSupportedException(SR.ToolStripItemCollectionIsReadOnly); 432throw new NotSupportedException(SR.ToolStripItemCollectionIsReadOnly); 450throw new NotSupportedException(SR.ToolStripItemCollectionIsReadOnly);
System\Windows\Forms\Controls\ToolStrips\ToolStripManager.cs (1)
522throw new NotSupportedException(SR.ToolStripRenderModeUseRendererPropertyInstead);
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.ToolStripPanelRowCollection.cs (1)
124set { throw new NotSupportedException(SR.ToolStripCollectionMustInsertAndRemove); /* InnerList[index] = value; */ }
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelRow.ToolStripPanelRowControlCollection.cs (2)
78throw new NotSupportedException(string.Format(SR.TypedControlCollectionShouldBeOfType, nameof(ToolStrip))); 210throw new NotSupportedException(string.Format(SR.TypedControlCollectionShouldBeOfType, nameof(ToolStrip)));
System\Windows\Forms\Controls\ToolStrips\ToolStripRendererSwitcher.cs (1)
108throw new NotSupportedException(SR.ToolStripRenderModeUseRendererPropertyInstead);
System\Windows\Forms\Controls\ToolStrips\ToolStripSplitStackLayout.cs (2)
158throw new NotSupportedException(SR.ToolStripSplitStackLayoutContainerMustBeAToolStrip); 184throw new NotSupportedException(SR.ToolStripSplitStackLayoutContainerMustBeAToolStrip);
System\Windows\Forms\Controls\ToolStrips\ToolStripTextBox.cs (1)
50throw new NotSupportedException(SR.ToolStripMustSupplyItsOwnTextBox);
System\Windows\Forms\Controls\WebBrowser\HtmlElement.cs (6)
224throw new NotSupportedException(SR.HtmlElementPropertyNotSupported); 253throw new NotSupportedException(SR.HtmlElementPropertyNotSupported); 353throw new NotSupportedException(SR.HtmlElementPropertyNotSupported); 382throw new NotSupportedException(SR.HtmlElementPropertyNotSupported); 530throw new NotSupportedException(SR.HtmlElementMethodNotSupported); 671throw new NotSupportedException(SR.HtmlElementAttributeNotSupported);
System\Windows\Forms\Controls\WebBrowser\WebBrowserBase.cs (48)
1290throw new NotSupportedException(SR.WebBrowserAllowDropNotSupported); 1302throw new NotSupportedException(SR.WebBrowserBackgroundImageNotSupported); 1314throw new NotSupportedException(SR.WebBrowserBackgroundImageLayoutNotSupported); 1327throw new NotSupportedException(SR.WebBrowserCursorNotSupported); 1339throw new NotSupportedException(SR.WebBrowserEnabledNotSupported); 1351throw new NotSupportedException(SR.WebBrowserRightToLeftNotSupported); 1364set => throw new NotSupportedException(SR.WebBrowserTextNotSupported); 1375throw new NotSupportedException(SR.WebBrowserUseWaitCursorNotSupported); 1387add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "BackgroundImageLayoutChanged")); 1395add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "Enter")); 1403add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "Leave")); 1411add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "MouseCaptureChanged")); 1419add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "MouseClick")); 1427add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "MouseDoubleClick")); 1435add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "BackColorChanged")); 1443add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "BackgroundImageChanged")); 1451add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "BindingContextChanged")); 1459add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "CursorChanged")); 1467add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "EnabledChanged")); 1475add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "FontChanged")); 1483add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "ForeColorChanged")); 1491add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "RightToLeftChanged")); 1499add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "TextChanged")); 1507add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "Click")); 1515add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "DragDrop")); 1523add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "DragEnter")); 1531add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "DragOver")); 1539add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "DragLeave")); 1547add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "GiveFeedback")); 1556add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "HelpRequested")); 1564add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "Paint")); 1572add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "QueryContinueDrag")); 1580add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "QueryAccessibilityHelp")); 1588add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "DoubleClick")); 1596add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "ImeModeChanged")); 1604add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "KeyDown")); 1612add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "KeyPress")); 1620add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "KeyUp")); 1628add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "Layout")); 1636add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "MouseDown")); 1644add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "MouseEnter")); 1652add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "MouseLeave")); 1660add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "MouseHover")); 1668add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "MouseMove")); 1676add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "MouseUp")); 1684add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "MouseWheel")); 1692add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "ChangeUICues")); 1700add => throw new NotSupportedException(string.Format(SR.AXAddInvalidEvent, "StyleChanged"));
System\Windows\Forms\DataBinding\BindingSource.cs (6)
552throw new NotSupportedException(SR.BindingSourceInstanceError, instanceException); 1715throw new NotSupportedException(SR.OperationRequiresIBindingList); 1726throw new NotSupportedException(SR.OperationRequiresIBindingList); 1736throw new NotSupportedException(SR.OperationRequiresIBindingList); 1746throw new NotSupportedException(SR.OperationRequiresIBindingList); 1767throw new NotSupportedException(SR.OperationRequiresIBindingListView);
System\Windows\Forms\DataBinding\CurrencyManager.cs (1)
283throw new NotSupportedException(SR.CurrencyManagerCantAddNew);
System\Windows\Forms\DataBinding\ListBindingHelper.cs (1)
267throw new NotSupportedException(SR.BindingSourceInstanceError, instanceException);
System\Windows\Forms\DataBinding\PropertyManager.cs (2)
205throw new NotSupportedException(SR.DataBindingAddNewNotSupportedOnPropertyManager); 215throw new NotSupportedException(SR.DataBindingRemoveAtNotSupportedOnPropertyManager);
System\Windows\Forms\ImageIndexConverter.cs (1)
97throw new NotSupportedException(string.Format(SR.ControlNotSupportedInTrimming, nameof(ImageIndexConverter)));
System\Windows\Forms\Internal\ReadOnlyControlCollection.cs (3)
30throw new NotSupportedException(SR.ReadonlyControlsCollection); 42throw new NotSupportedException(SR.ReadonlyControlsCollection); 54throw new NotSupportedException(SR.ReadonlyControlsCollection);
System\Windows\Forms\Internal\TypedControlCollection.cs (1)
43throw new NotSupportedException(SR.ReadonlyControlsCollection);
System\Windows\Forms\Layout\ArrangedElementCollection.cs (2)
136void IList.Insert(int index, object? value) => throw new NotSupportedException(); 141set => throw new NotSupportedException();
System\Windows\Forms\Layout\Containers\ContainerControl.cs (1)
255throw new NotSupportedException(SR.BindingNotSupported);
System\Windows\Forms\Layout\Containers\SplitContainer.SplitContainerTypedControlCollection.cs (2)
26throw new NotSupportedException(SR.ReadonlyControlsCollection); 48throw new NotSupportedException(SR.ReadonlyControlsCollection);
System\Windows\Forms\Layout\LayoutEngine.cs (1)
14throw new NotSupportedException(string.Format(SR.LayoutEngineUnsupportedType, obj.GetType()));
System\Windows\Forms\MDI\MDIWindowDialog.cs (1)
88throw new NotSupportedException(string.Format(SR.ControlNotSupportedInTrimming, nameof(MdiWindowDialog)));
System\Windows\Forms\OLE\DataObjectExtensions.cs (1)
17throw new NotSupportedException(string.Format(
System\Windows\Forms\OLE\WinFormsOleServices.cs (1)
136format = autoConvert ? DataFormatNames.Bitmap : throw new NotSupportedException(SR.DataObjectDibNotSupported);
System\Windows\Forms\Panels\SplitterPanel.cs (2)
126set => throw new NotSupportedException(SR.SplitContainerPanelHeight); 277set => throw new NotSupportedException(SR.SplitContainerPanelWidth);
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutPanel.cs (1)
55throw new NotSupportedException(SR.TableLayoutSettingSettingsIsNotSupported);
System\Windows\Forms\ToolTip\ToolTip.cs (1)
1693throw new NotSupportedException("Unsupported location index value");
System.Windows.Forms.Analyzers (1)
System\Windows\Forms\Analyzers\AppManifestAnalyzer.cs (1)
80throw new NotSupportedException();
System.Windows.Forms.Design (14)
System\ComponentModel\Design\DesignSurface.cs (1)
167throw new NotSupportedException(SR.DesignSurfaceNoSupportedTechnology)
System\ComponentModel\Design\DesignSurfaceCollection.cs (2)
41throw new NotSupportedException(); 91throw new NotSupportedException();
System\ComponentModel\Design\Serialization\CodeDomComponentSerializationService.CodeDomSerializationStore.ComponentListCodeDomSerializer.cs (2)
27throw new NotSupportedException(); 451throw new NotSupportedException();
System\ComponentModel\Design\Serialization\CodeDomDesignerLoader.cs (1)
200Exception ex = new NotSupportedException(SR.CodeDomDesignerLoaderNoLanguageSupport)
System\ComponentModel\Design\Serialization\CodeDomLocalizationProvider.cs (1)
76?? throw new NotSupportedException(string.Format(SR.LocalizationProviderMissingService, nameof(IExtenderProviderService)));
System\ComponentModel\Design\Serialization\CodeDomSerializer.cs (1)
254throw new NotSupportedException(string.Format(SR.SerializerMemberTypeNotSerializable, member.GetType().FullName));
System\Windows\Forms\Design\Behavior\ToolStripPanelSelectionGlyph.cs (1)
143throw new NotSupportedException(SR.ToolStripPanelGlyphUnsupportedDock);
System\Windows\Forms\Design\ContextMenuStripGroupCollection.cs (2)
36throw new NotSupportedException(); 46throw new NotSupportedException();
System\Windows\Forms\Design\ControlDesigner.DesignerControlCollection.cs (1)
59set => throw new NotSupportedException();
System\Windows\Forms\Design\ImageListDesigner.OriginalImageCollection.cs (1)
145void IList.Insert(int index, object? value) => throw new NotSupportedException();
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (1)
2195throw new NotSupportedException();
System.Windows.Forms.Primitives (1)
System\Windows\Forms\Internals\ScaleHelper.DpiAwarenessScope.cs (1)
39throw new NotSupportedException();
System.Windows.Forms.Tests (11)
System\Windows\Forms\ClipboardTests.cs (2)
695throw new NotSupportedException($"Can't resolve {typeName.AssemblyQualifiedName}"); 794: throw new NotSupportedException(),
System\Windows\Forms\DataObjectTests.cs (1)
523private static Type NotSupportedResolver(TypeName typeName) => throw new NotSupportedException();
System\Windows\Forms\ListBindingHelperTests.cs (6)
535throw new NotSupportedException(); 547throw new NotSupportedException(); 552throw new NotSupportedException(); 566throw new NotSupportedException(); 571throw new NotSupportedException(); 667public IEnumerator GetEnumerator() => throw new NotSupportedException();
System\Windows\Forms\NativeToWinFormsAdapterTests.cs (1)
498throw new NotSupportedException($"Can't resolve {fullName}");
System\Windows\Forms\Ole\BinaryFormatUtilitiesTests.cs (1)
89throw new NotSupportedException($"Can't resolve {typeName.AssemblyQualifiedName}");
System.Windows.Forms.UI.IntegrationTests (1)
Infra\ScreenRecordService.cs (1)
449throw new NotSupportedException($"Chunk \"{type}\" is not supported.");
System.Windows.Input.Manipulations (1)
System\Windows\Input\Manipulations\Exceptions.cs (1)
103return new NotSupportedException(Format(
System.Windows.Presentation (1)
System\Windows\Threading\TaskExtensions.cs (1)
40throw new NotSupportedException();
System.Xaml (16)
System\Windows\Markup\ValueSerializer.cs (2)
247return new NotSupportedException(SR.Format(SR.ConvertToException, base.GetType().Name, text, destinationType.FullName)); 265return new NotSupportedException(SR.Format(SR.ConvertFromException, base.GetType().Name, text));
System\Xaml\Runtime\DynamicMethodRuntime.cs (2)
243throw new NotSupportedException(SR.Format(SR.CantGetWriteonlyProperty, member)); 261throw new NotSupportedException(SR.Format(SR.CantSetReadonlyProperty, member));
System\Xaml\Schema\XamlMemberInvoker.cs (5)
57throw new NotSupportedException(SR.Format(SR.CantGetWriteonlyProperty, _member)); 76throw new NotSupportedException(SR.Format(SR.CantSetReadonlyProperty, _member)); 159throw new NotSupportedException(SR.NotSupportedOnUnknownMember); 167throw new NotSupportedException(SR.NotSupportedOnDirective); 172throw new NotSupportedException(SR.NotSupportedOnDirective);
System\Xaml\Schema\XamlTypeInvoker.cs (4)
69throw new NotSupportedException(SR.OnlySupportedOnCollections); 103throw new NotSupportedException(SR.OnlySupportedOnDictionaries); 221throw new NotSupportedException(SR.OnlySupportedOnCollectionsAndDictionaries); 251throw new NotSupportedException(SR.NotSupportedOnUnknownType);
System\Xaml\XamlSchemaContext.cs (2)
1418throw new NotSupportedException(); 1466throw new NotSupportedException();
System\Xaml\XamlXmlWriter.cs (1)
936throw new NotSupportedException(SR.MissingCaseXamlNodes);
System.Xaml.Tests (1)
System\Xaml\Replacements\TypeUriConverterTests.cs (1)
279throw new NotSupportedException();
Templates.Blazor.Tests (2)
src\ProjectTemplates\Shared\Project.cs (2)
387throw new NotSupportedException(); 403throw new NotSupportedException();
Templates.Blazor.WebAssembly.Auth.Tests (2)
src\ProjectTemplates\Shared\Project.cs (2)
387throw new NotSupportedException(); 403throw new NotSupportedException();
Templates.Blazor.WebAssembly.Tests (2)
src\ProjectTemplates\Shared\Project.cs (2)
387throw new NotSupportedException(); 403throw new NotSupportedException();
Templates.Mvc.Tests (2)
src\ProjectTemplates\Shared\Project.cs (2)
387throw new NotSupportedException(); 403throw new NotSupportedException();
Templates.Tests (2)
src\ProjectTemplates\Shared\Project.cs (2)
387throw new NotSupportedException(); 403throw new NotSupportedException();
Test.Utilities (4)
src\RoslynAnalyzers\Utilities\Compiler\Lightup\LightupHelpers.cs (1)
149throw new NotSupportedException();
src\RoslynAnalyzers\Utilities\Compiler\RoslynHashCode.cs (2)
435public override readonly int GetHashCode() => throw new NotSupportedException(SR.HashCode_HashCodeNotSupported); 439public override readonly bool Equals(object? obj) => throw new NotSupportedException(SR.HashCode_EqualityNotSupported);
src\RoslynAnalyzers\Utilities\Compiler\SmallDictionary.cs (1)
717throw new NotSupportedException();
Text.Analyzers (6)
src\RoslynAnalyzers\Utilities\Compiler\CodeMetrics\CodeAnalysisMetricData.cs (2)
283_ => throw new NotSupportedException(), 321_ => throw new NotSupportedException(),
src\RoslynAnalyzers\Utilities\Compiler\Lightup\LightupHelpers.cs (1)
149throw new NotSupportedException();
src\RoslynAnalyzers\Utilities\Compiler\RoslynHashCode.cs (2)
435public override readonly int GetHashCode() => throw new NotSupportedException(SR.HashCode_HashCodeNotSupported); 439public override readonly bool Equals(object? obj) => throw new NotSupportedException(SR.HashCode_EqualityNotSupported);
src\RoslynAnalyzers\Utilities\Compiler\SmallDictionary.cs (1)
717throw new NotSupportedException();
UnitTests.Common (1)
TestTypes.cs (1)
284throw new NotSupportedException("Synchronously sending is not supported.");
2203 references to NotSupportedException
Analyzer.Utilities.UnitTests (2)
Lightup\LightupHelpersTests.cs (2)
37Assert.ThrowsAny<NotSupportedException>(() => withPropertyAccessor(SyntaxFactory.AccessorList(), new object())); 56Assert.ThrowsAny<NotSupportedException>(() => withPropertyAccessor(new EmptySymbol(), new object()));
Aspire.Hosting.Azure.Tests (19)
AzureContainerAppsTests.cs (18)
435var ex = Assert.Throws<NotSupportedException>(() => builder.AddAzureContainerAppEnvironment("env2")); 451var ex = await Assert.ThrowsAsync<NotSupportedException>(() => ExecuteBeforeStartHooksAsync(app, default)); 731var ex = await Assert.ThrowsAsync<NotSupportedException>(() => ExecuteBeforeStartHooksAsync(app, default)); 1055var ex = await Assert.ThrowsAsync<NotSupportedException>(() => ExecuteBeforeStartHooksAsync(app, default)); 1076var ex = await Assert.ThrowsAsync<NotSupportedException>(() => ExecuteBeforeStartHooksAsync(app, default)); 1095var ex = await Assert.ThrowsAsync<NotSupportedException>(() => ExecuteBeforeStartHooksAsync(app, default)); 1115var ex = await Assert.ThrowsAsync<NotSupportedException>(() => ExecuteBeforeStartHooksAsync(app, default)); 1134var ex = await Assert.ThrowsAsync<NotSupportedException>(() => ExecuteBeforeStartHooksAsync(app, default)); 1153var ex = await Assert.ThrowsAsync<NotSupportedException>(() => ExecuteBeforeStartHooksAsync(app, default));
AzureCosmosDBExtensionsTests.cs (1)
88Assert.Throws<NotSupportedException>(() => cosmos2.RunAsEmulator(e => e.WithDataExplorer()));
dotnet-svcutil-lib (4)
FrameworkFork\Microsoft.Xml\Xml\Core\XmlTextReaderImpl.cs (1)
3329catch (NotSupportedException innerEx)
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaCollectionCompiler.cs (1)
2503catch (NotSupportedException)
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaSetCompiler.cs (1)
2946catch (NotSupportedException)
ImportModule.cs (1)
85catch (NotSupportedException)
InMemory.FunctionalTests (2)
HttpsConnectionMiddlewareTests.cs (1)
1451Assert.Throws<NotSupportedException>(() => CreateMiddleware(httpConnectionAdapterOptions, HttpProtocols.Http2));
HttpsTests.cs (1)
104Assert.IsType<NotSupportedException>(errorException);
Interop.FunctionalTests (2)
Http3\Http3TlsTests.cs (2)
281var exception = await Assert.ThrowsAsync<NotSupportedException>(() =>
Microsoft.AspNetCore.Authentication.Negotiate.Test (2)
NegotiateHandlerTests.cs (2)
29var ex = await Assert.ThrowsAsync<NotSupportedException>(() => SendAsync(server, "/Anonymous1", connection: null));
Microsoft.AspNetCore.Components.Authorization.Tests (2)
AuthorizeViewTest.cs (2)
492var ex = Assert.Throws<NotSupportedException>(rootComponent.TriggerRender);
Microsoft.AspNetCore.Components.Endpoints.Tests (1)
Buffering\BufferedTextWriterTest.cs (1)
12Assert.Throws<NotSupportedException>(writer.Flush);
Microsoft.AspNetCore.Components.Server (1)
src\submodules\MessagePack-CSharp\src\MessagePack.UnityClient\Assets\Scripts\MessagePack\MessagePackWriter.cs (1)
620/// <exception cref="NotSupportedException">Thrown when <see cref="OldSpec"/> is true because the old spec does not define a <see cref="DateTime"/> format.</exception>
Microsoft.AspNetCore.Components.Tests (4)
RendererTest.cs (4)
5043var ex = Assert.Throws<NotSupportedException>(() => component.TriggerRender()); 5061var ex = Assert.Throws<NotSupportedException>(component.TriggerRender);
Microsoft.AspNetCore.DataProtection (2)
Error.cs (1)
106public static NotSupportedException XmlKeyManager_DoesNotSupportKeyDeletion()
KeyManagement\IDeletableKeyManager.cs (1)
44/// <exception cref="NotSupportedException">
Microsoft.AspNetCore.DataProtection.Tests (1)
KeyManagement\XmlKeyManagerTests.cs (1)
998Assert.Throws<NotSupportedException>(() => withoutDeletion.DeleteKeys(_ => false));
Microsoft.AspNetCore.Hosting.Tests (6)
WebHostBuilderTests.cs (6)
1005var exception = Assert.Throws<NotSupportedException>(() => builder.Build()); 1012var exception = Assert.Throws<NotSupportedException>(() => 1033var exception = Assert.Throws<NotSupportedException>(() =>
Microsoft.AspNetCore.Http.Abstractions.Tests (9)
EndpointFilterInvocationContextOfTTests.cs (5)
13Assert.Throws<NotSupportedException>(() => context.Add("string")); 14Assert.Throws<NotSupportedException>(() => context.Insert(0, "string")); 15Assert.Throws<NotSupportedException>(() => context.RemoveAt(0)); 16Assert.Throws<NotSupportedException>(() => context.Remove("string")); 17Assert.Throws<NotSupportedException>(() => context.Clear());
UseMiddlewareTest.cs (4)
208var exception = Assert.Throws<NotSupportedException>(() => builder.Build()); 216var exception = Assert.Throws<NotSupportedException>(() => builder.UseMiddleware(typeof(Middleware), "arg"));
Microsoft.AspNetCore.Http.Connections.Client (1)
HttpConnection.cs (1)
579catch (Exception ex) when (ex is NotSupportedException || ex is NotImplementedException)
Microsoft.AspNetCore.Http.Extensions (1)
RequestDelegateFactory.cs (1)
2622private static NotSupportedException GetUnsupportedReturnTypeException(Type returnType)
Microsoft.AspNetCore.Http.Extensions.Tests (25)
HeaderDictionaryTypeExtensionsTest.cs (2)
161Assert.Throws<NotSupportedException>(() => context.Request.GetTypedHeaders().Get<object>("custom")); 285Assert.Throws<NotSupportedException>(() => context.Request.GetTypedHeaders().GetList<object>("custom"));
RequestDelegateFactoryTests.cs (21)
906var ex1 = Assert.Throws<NotSupportedException>(() => RequestDelegateFactory.Create(Method1)); 907var ex2 = Assert.Throws<NotSupportedException>(() => RequestDelegateFactory.Create(Method2)); 908var ex3 = Assert.Throws<NotSupportedException>(() => RequestDelegateFactory.Create(Method3)); 1031Assert.Throws<NotSupportedException>(() => RequestDelegateFactory.Create(TestNestedParameterListRecordOnType)); 1032Assert.Throws<NotSupportedException>(() => RequestDelegateFactory.Create(TestNestedParameterListRecordOnArgument)); 1122var outParamException = Assert.Throws<NotSupportedException>(() => RequestDelegateFactory.Create(OutMethod)); 1123var inParamException = Assert.Throws<NotSupportedException>(() => RequestDelegateFactory.Create(InMethod)); 1124var refParamException = Assert.Throws<NotSupportedException>(() => RequestDelegateFactory.Create(RefMethod)); 1412Assert.Throws<NotSupportedException>(() => RequestDelegateFactory.Create(TestAction, new() { ServiceProvider = httpContext.RequestServices })); 2027var nse = Assert.Throws<NotSupportedException>(() => RequestDelegateFactory.Create(TestAction)); 2076var nse = Assert.Throws<NotSupportedException>(() => RequestDelegateFactory.Create(TestAction)); 3281var exception = Assert.Throws<NotSupportedException>(() => RequestDelegateFactory.Create(@delegate));
RequestDelegateGenerator\RequestDelegateCreationTests.KeyServices.cs (2)
50var exception = Assert.Throws<NotSupportedException>(() => GetEndpointFromCompilation(compilation, serviceProvider: serviceProvider));
Microsoft.AspNetCore.Http.Results.Tests (2)
src\Shared\ResultsTests\PhysicalFileResultTestBase.cs (2)
383var ex = await Assert.ThrowsAsync<NotSupportedException>(
Microsoft.AspNetCore.Http.Tests (4)
Internal\ReferenceReadStreamTests.cs (4)
35Assert.Throws<NotSupportedException>(() => stream.SetLength(0)); 42Assert.Throws<NotSupportedException>(() => stream.Write(new byte[1], 0, 1)); 49Assert.Throws<NotSupportedException>(() => stream.WriteByte(0)); 56await Assert.ThrowsAsync<NotSupportedException>(() => stream.WriteAsync(new byte[1], 0, 1));
Microsoft.AspNetCore.Identity.Specification.Tests (5)
UserManagerSpecificationTests.cs (5)
1689var ex = await Assert.ThrowsAsync<NotSupportedException>( 1692ex = await Assert.ThrowsAsync<NotSupportedException>( 1695ex = await Assert.ThrowsAsync<NotSupportedException>( 1698ex = await Assert.ThrowsAsync<NotSupportedException>(
Microsoft.AspNetCore.Identity.Test (51)
RoleManagerTest.cs (1)
55Assert.Throws<NotSupportedException>(() => manager.Roles.Count());
UserManagerTest.cs (50)
683Assert.Throws<NotSupportedException>(() => manager.Users.Count()); 691await Assert.ThrowsAsync<NotSupportedException>(() => manager.FindByEmailAsync(null)); 692await Assert.ThrowsAsync<NotSupportedException>(() => manager.SetEmailAsync(null, null)); 693await Assert.ThrowsAsync<NotSupportedException>(() => manager.GetEmailAsync(null)); 694await Assert.ThrowsAsync<NotSupportedException>(() => manager.IsEmailConfirmedAsync(null)); 695await Assert.ThrowsAsync<NotSupportedException>(() => manager.ConfirmEmailAsync(null, null)); 703await Assert.ThrowsAsync<NotSupportedException>(async () => await manager.SetPhoneNumberAsync(null, null)); 704await Assert.ThrowsAsync<NotSupportedException>(async () => await manager.SetPhoneNumberAsync(null, null)); 705await Assert.ThrowsAsync<NotSupportedException>(async () => await manager.GetPhoneNumberAsync(null)); 713await Assert.ThrowsAsync<NotSupportedException>( 715await Assert.ThrowsAsync<NotSupportedException>( 724await Assert.ThrowsAsync<NotSupportedException>(() => manager.CreateAsync(null, null)); 725await Assert.ThrowsAsync<NotSupportedException>(() => manager.ChangePasswordAsync(null, null, null)); 726await Assert.ThrowsAsync<NotSupportedException>(() => manager.AddPasswordAsync(null, null)); 727await Assert.ThrowsAsync<NotSupportedException>(() => manager.RemovePasswordAsync(null)); 728await Assert.ThrowsAsync<NotSupportedException>(() => manager.CheckPasswordAsync(null, null)); 729await Assert.ThrowsAsync<NotSupportedException>(() => manager.HasPasswordAsync(null)); 739await Assert.ThrowsAsync<NotSupportedException>(() => manager.UpdateSecurityStampAsync(null)); 740await Assert.ThrowsAsync<NotSupportedException>(() => manager.GetSecurityStampAsync(null)); 741await Assert.ThrowsAsync<NotSupportedException>( 743await Assert.ThrowsAsync<NotSupportedException>( 752await Assert.ThrowsAsync<NotSupportedException>(async () => await manager.AddLoginAsync(null, null)); 753await Assert.ThrowsAsync<NotSupportedException>(async () => await manager.RemoveLoginAsync(null, null, null)); 754await Assert.ThrowsAsync<NotSupportedException>(async () => await manager.GetLoginsAsync(null)); 755await Assert.ThrowsAsync<NotSupportedException>(async () => await manager.FindByLoginAsync(null, null)); 763await Assert.ThrowsAsync<NotSupportedException>(async () => await manager.AddClaimAsync(null, null)); 764await Assert.ThrowsAsync<NotSupportedException>(async () => await manager.ReplaceClaimAsync(null, null, null)); 765await Assert.ThrowsAsync<NotSupportedException>(async () => await manager.RemoveClaimAsync(null, null)); 766await Assert.ThrowsAsync<NotSupportedException>(async () => await manager.GetClaimsAsync(null)); 906await Assert.ThrowsAsync<NotSupportedException>(async () => await manager.GetTwoFactorEnabledAsync(null)); 908Assert.ThrowsAsync<NotSupportedException>(async () => await manager.SetTwoFactorEnabledAsync(null, true)); 916await Assert.ThrowsAsync<NotSupportedException>(async () => await manager.GetLockoutEnabledAsync(null)); 917await Assert.ThrowsAsync<NotSupportedException>(async () => await manager.SetLockoutEnabledAsync(null, true)); 918await Assert.ThrowsAsync<NotSupportedException>(async () => await manager.AccessFailedAsync(null)); 919await Assert.ThrowsAsync<NotSupportedException>(async () => await manager.IsLockedOutAsync(null)); 920await Assert.ThrowsAsync<NotSupportedException>(async () => await manager.ResetAccessFailedCountAsync(null)); 921await Assert.ThrowsAsync<NotSupportedException>(async () => await manager.GetAccessFailedCountAsync(null)); 929await Assert.ThrowsAsync<NotSupportedException>(async () => await manager.AddToRoleAsync(null, "bogus")); 930await Assert.ThrowsAsync<NotSupportedException>(async () => await manager.AddToRolesAsync(null, null)); 931await Assert.ThrowsAsync<NotSupportedException>(async () => await manager.GetRolesAsync(null)); 932await Assert.ThrowsAsync<NotSupportedException>(async () => await manager.RemoveFromRoleAsync(null, "bogus")); 933await Assert.ThrowsAsync<NotSupportedException>(async () => await manager.RemoveFromRolesAsync(null, null)); 934await Assert.ThrowsAsync<NotSupportedException>(async () => await manager.IsInRoleAsync(null, "bogus")); 943await VerifyException<NotSupportedException>(async () => await manager.GetAuthenticationTokenAsync(null, null, null), error); 944await VerifyException<NotSupportedException>(async () => await manager.SetAuthenticationTokenAsync(null, null, null, null), error); 945await VerifyException<NotSupportedException>(async () => await manager.RemoveAuthenticationTokenAsync(null, null, null), error); 954await VerifyException<NotSupportedException>(async () => await manager.GetAuthenticatorKeyAsync(null), error); 955await VerifyException<NotSupportedException>(async () => await manager.ResetAuthenticatorKeyAsync(null), error); 964await VerifyException<NotSupportedException>(async () => await manager.RedeemTwoFactorRecoveryCodeAsync(null, null), error); 965await VerifyException<NotSupportedException>(async () => await manager.GenerateNewTwoFactorRecoveryCodesAsync(null, 10), error);
Microsoft.AspNetCore.Mvc.Abstractions.Test (6)
ModelBinding\BindingInfoTest.cs (1)
327Assert.Throws<NotSupportedException>(() => BindingInfo.GetBindingInfo(attributes, modelMetadata));
ModelBinding\ModelMetadataTest.cs (5)
419Assert.Throws<NotSupportedException>(() => metadata.ElementType); 420Assert.Throws<NotSupportedException>(() => metadata.IsParseableType); 421Assert.Throws<NotSupportedException>(() => metadata.IsConvertibleType); 422Assert.Throws<NotSupportedException>(() => metadata.IsComplexType); 423Assert.Throws<NotSupportedException>(() => metadata.IsCollectionType);
Microsoft.AspNetCore.Mvc.Core.Test (2)
src\Shared\ResultsTests\PhysicalFileResultTestBase.cs (2)
383var ex = await Assert.ThrowsAsync<NotSupportedException>(
Microsoft.AspNetCore.Mvc.IntegrationTests (2)
TryUpdateModelIntegrationTest.cs (2)
1159var ex = await Assert.ThrowsAsync<NotSupportedException>(() => TryUpdateModelAsync(model, string.Empty, testContext));
Microsoft.AspNetCore.Rewrite.Tests (2)
ApacheModRewrite\RuleBuilderTest.cs (2)
20var ex = Assert.Throws<NotSupportedException>(() => builder.AddAction(null, flags));
Microsoft.AspNetCore.Routing.Tests (2)
Builder\GroupTest.cs (2)
309var ex = Assert.Throws<NotSupportedException>(() => dataSource.Endpoints);
Microsoft.AspNetCore.Server.Kestrel.Core (1)
AnyIPListenOptions.cs (1)
29&& ex is not NotSupportedException)
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (23)
Http2\Http2HttpProtocolFeatureCollectionTests.cs (3)
54Assert.Throws<NotSupportedException>(() => minRateFeature.MinDataRate); 55Assert.Throws<NotSupportedException>(() => minRateFeature.MinDataRate = new MinDataRate(1, TimeSpan.FromSeconds(2))); 61Assert.Throws<NotSupportedException>(() => minRateFeature.MinDataRate);
Http3\Http3HttpProtocolFeatureCollectionTests.cs (3)
54Assert.Throws<NotSupportedException>(() => minRateFeature.MinDataRate); 55Assert.Throws<NotSupportedException>(() => minRateFeature.MinDataRate = new MinDataRate(1, TimeSpan.FromSeconds(2))); 61Assert.Throws<NotSupportedException>(() => minRateFeature.MinDataRate);
HttpRequestStreamTests.cs (8)
43Assert.Throws<NotSupportedException>(() => stream.Seek(0, SeekOrigin.Begin)); 50Assert.Throws<NotSupportedException>(() => stream.Length); 57Assert.Throws<NotSupportedException>(() => stream.SetLength(0)); 64Assert.Throws<NotSupportedException>(() => stream.Position); 65Assert.Throws<NotSupportedException>(() => stream.Position = 0); 72Assert.Throws<NotSupportedException>(() => stream.Write(new byte[1], 0, 1)); 79Assert.Throws<NotSupportedException>(() => stream.WriteByte(0)); 86await Assert.ThrowsAsync<NotSupportedException>(() => stream.WriteAsync(new byte[1], 0, 1));
HttpResponseStreamTests.cs (9)
43Assert.Throws<NotSupportedException>(() => stream.Read(new byte[1], 0, 1)); 50Assert.Throws<NotSupportedException>(() => stream.ReadByte()); 57await Assert.ThrowsAsync<NotSupportedException>(() => stream.ReadAsync(new byte[1], 0, 1)); 64Assert.Throws<NotSupportedException>(() => stream.BeginRead(new byte[1], 0, 1, null, null)); 71Assert.Throws<NotSupportedException>(() => stream.Seek(0, SeekOrigin.Begin)); 78Assert.Throws<NotSupportedException>(() => stream.Length); 85Assert.Throws<NotSupportedException>(() => stream.SetLength(0)); 92Assert.Throws<NotSupportedException>(() => stream.Position); 93Assert.Throws<NotSupportedException>(() => stream.Position = 0);
Microsoft.AspNetCore.Shared.Tests (3)
SegmentWriteStreamTests.cs (3)
26Assert.Throws<NotSupportedException>(() => stream.Read(new byte[1], 0, 0)); 27Assert.Throws<NotSupportedException>(() => stream.Position = 0); 28Assert.Throws<NotSupportedException>(() => stream.Seek(0, SeekOrigin.Begin));
Microsoft.AspNetCore.SignalR.Client.Tests (2)
HttpConnectionFactoryTests.cs (2)
53var ex = await Assert.ThrowsAsync<NotSupportedException>(async () => await factory.ConnectAsync(new IPEndPoint(IPAddress.Loopback, 0)));
Microsoft.AspNetCore.SignalR.Tests (5)
HubConnectionHandlerTests.cs (3)
1264catch (NotSupportedException ex) 1361var exception = Assert.Throws<NotSupportedException>(() => serviceProvider.GetService<HubConnectionHandler<GenericMethodHub>>());
MapSignalRTests.cs (2)
21var ex = Assert.Throws<NotSupportedException>(() =>
Microsoft.AspNetCore.TestHost (1)
ClientHandler.cs (1)
54/// <exception cref="NotSupportedException">Thrown unconditionally.</exception>
Microsoft.AspNetCore.TestHost.Tests (3)
ClientHandlerTests.cs (1)
344Assert.Throws<NotSupportedException>(() => invoker.Send(message, CancellationToken.None));
TestClientTests.cs (1)
1031await Assert.ThrowsAsync<NotSupportedException>(() => upgradeFeature.UpgradeAsync());
WebSocketClientTests.cs (1)
105await Assert.ThrowsAsync<NotSupportedException>(() => upgradeFeature.UpgradeAsync());
Microsoft.AspNetCore.Tests (38)
WebApplicationTests.cs (38)
373Assert.Throws<NotSupportedException>(() => ((IHostBuilder)createBuilder().Host).Build()); 380Assert.Throws<NotSupportedException>(() => ((IWebHostBuilder)createBuilder().WebHost).Build()); 393Assert.Throws<NotSupportedException>(() => builder.WebHost.UseSetting(WebHostDefaults.ApplicationKey, nameof(WebApplicationTests))); 394Assert.Throws<NotSupportedException>(() => builder.WebHost.UseSetting(WebHostDefaults.EnvironmentKey, envName)); 395Assert.Throws<NotSupportedException>(() => builder.WebHost.UseSetting(WebHostDefaults.ContentRootKey, contentRoot)); 396Assert.Throws<NotSupportedException>(() => builder.WebHost.UseSetting(WebHostDefaults.WebRootKey, webRoot)); 397Assert.Throws<NotSupportedException>(() => builder.WebHost.UseSetting(WebHostDefaults.HostingStartupAssembliesKey, "hosting")); 398Assert.Throws<NotSupportedException>(() => builder.WebHost.UseSetting(WebHostDefaults.HostingStartupExcludeAssembliesKey, "hostingexclude")); 399Assert.Throws<NotSupportedException>(() => builder.WebHost.UseEnvironment(envName)); 400Assert.Throws<NotSupportedException>(() => builder.WebHost.UseContentRoot(contentRoot)); 413Assert.Throws<NotSupportedException>(() => builder.WebHost.ConfigureAppConfiguration(builder => 421Assert.Throws<NotSupportedException>(() => builder.WebHost.ConfigureAppConfiguration(builder => 429Assert.Throws<NotSupportedException>(() => builder.WebHost.ConfigureAppConfiguration(builder => 437Assert.Throws<NotSupportedException>(() => builder.WebHost.ConfigureAppConfiguration(builder => 445Assert.Throws<NotSupportedException>(() => builder.WebHost.ConfigureAppConfiguration(builder => 453Assert.Throws<NotSupportedException>(() => builder.WebHost.ConfigureAppConfiguration(builder => 1080Assert.Throws<NotSupportedException>(() => builder.Host.ConfigureHostConfiguration(builder => 1088Assert.Throws<NotSupportedException>(() => builder.Host.UseEnvironment(envName)); 1089Assert.Throws<NotSupportedException>(() => builder.Host.UseContentRoot(contentRoot)); 1831var ex = Assert.Throws<NotSupportedException>(() => builder.WebHost.Configure(app => { })); 1832var ex1 = Assert.Throws<NotSupportedException>(() => builder.WebHost.Configure((context, app) => { })); 1833var ex2 = Assert.Throws<NotSupportedException>(() => builder.WebHost.UseStartup<MyStartup>()); 1834var ex3 = Assert.Throws<NotSupportedException>(() => builder.WebHost.UseStartup(typeof(MyStartup))); 1835var ex4 = Assert.Throws<NotSupportedException>(() => builder.WebHost.UseStartup(context => new MyStartup())); 1843var ex5 = Assert.Throws<NotSupportedException>(() => builder.Host.ConfigureWebHost(webHostBuilder => { })); 1844var ex6 = Assert.Throws<NotSupportedException>(() => builder.Host.ConfigureWebHost(webHostBuilder => { }, options => { })); 1845var ex7 = Assert.Throws<NotSupportedException>(() => builder.Host.ConfigureSlimWebHost(webHostBuilder => { }, options => { })); 1846var ex8 = Assert.Throws<NotSupportedException>(() => builder.Host.ConfigureWebHostDefaults(webHostBuilder => { })); 2725Assert.Throws<NotSupportedException>(() => debugView.Middleware);
Microsoft.Build (4)
Construction\Solution\ProjectInSolution.cs (1)
372catch (NotSupportedException e)
Construction\Solution\SolutionFile.cs (1)
1237catch (NotSupportedException e)
ExceptionHandling.cs (1)
165|| e is NotSupportedException
Logging\BinaryLogger\Postprocessing\StreamExtensions.cs (1)
76catch (NotSupportedException)
Microsoft.Build.Engine.OM.UnitTests (1)
ExceptionHandling.cs (1)
165|| e is NotSupportedException
Microsoft.Build.Framework (1)
EncodingUtilities.cs (1)
75catch (NotSupportedException ex)
Microsoft.Build.Tasks.CodeAnalysis (1)
Utilities.cs (1)
133e is NotSupportedException ||
Microsoft.Build.Tasks.Core (7)
BootstrapperUtil\BootstrapperBuilder.cs (4)
390catch (NotSupportedException ex) 1499catch (NotSupportedException ex) 2023catch (NotSupportedException) 2062catch (NotSupportedException)
Copy.cs (1)
972case NotSupportedException: // Colon in the middle of the path
ExceptionHandling.cs (1)
165|| e is NotSupportedException
ManifestUtil\ManifestWriter.cs (1)
144catch (NotSupportedException)
Microsoft.Build.Utilities.Core (1)
ExceptionHandling.cs (1)
165|| e is NotSupportedException
Microsoft.CodeAnalysis (17)
Compilation\Compilation.cs (4)
1020/// <exception cref="NotSupportedException">If the compilation is a VisualBasic compilation.</exception> 1107/// <exception cref="NotSupportedException">If the compilation is a VisualBasic compilation.</exception> 1119/// <exception cref="NotSupportedException">If the compilation is a VisualBasic compilation.</exception> 1150/// <exception cref="NotSupportedException">If the compilation is a VisualBasic compilation.</exception>
DiaSymReader\Writer\SymUnmanagedWriter.cs (1)
223/// <exception cref="NotSupportedException">The PDB writer does not support adding compiler info.</exception>
EncodedStringText.cs (1)
46catch (NotSupportedException)
FileSystem\FileUtilities.cs (1)
264catch (NotSupportedException e)
FileSystem\PathUtilities.cs (1)
777ex is NotSupportedException) // fileName contains a colon (:) in the middle of the string.
Hashing\NonCryptographicHashAlgorithm.cs (2)
340/// <returns>This method will always throw a <see cref="NotSupportedException"/>.</returns> 341/// <exception cref="NotSupportedException">In all cases.</exception>
MetadataReference\AssemblyMetadata.cs (1)
161/// <exception cref="NotSupportedException">Reading from a file path is not supported by the platform.</exception>
MetadataReference\MetadataReference.cs (2)
289/// <exception cref="NotSupportedException"><paramref name="assembly"/> is dynamic, doesn't have a location, or the platform doesn't support reading from the location.</exception> 317/// <exception cref="NotSupportedException"><paramref name="assembly"/> is dynamic, doesn't have a location, or the platform doesn't support reading from the location.</exception>
MetadataReference\ModuleMetadata.cs (1)
259/// <exception cref="NotSupportedException">Reading from a file path is not supported by the platform.</exception>
MetadataReference\PortableExecutableReference.cs (1)
128/// <exception cref="NotSupportedException">Specified values not supported.</exception>
NativePdbWriter\PdbWriter.cs (2)
548catch (SymUnmanagedWriterException e) when (e.InnerException is NotSupportedException) 765catch (SymUnmanagedWriterException e) when (e.InnerException is NotSupportedException)
Microsoft.CodeAnalysis.CodeStyle (5)
src\Compilers\Core\Portable\EncodedStringText.cs (1)
46catch (NotSupportedException)
src\Compilers\Core\Portable\FileSystem\FileUtilities.cs (1)
264catch (NotSupportedException e)
src\Compilers\Core\Portable\FileSystem\PathUtilities.cs (1)
777ex is NotSupportedException) // fileName contains a colon (:) in the middle of the string.
src\Compilers\Core\Portable\Hashing\NonCryptographicHashAlgorithm.cs (2)
340/// <returns>This method will always throw a <see cref="NotSupportedException"/>.</returns> 341/// <exception cref="NotSupportedException">In all cases.</exception>
Microsoft.CodeAnalysis.CSharp (1)
Emitter\EditAndContinue\EmitHelpers.cs (1)
102catch (NotSupportedException e)
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (3)
CodeGen\UnsafeTests.cs (3)
6664CompileAndVerifyException<NotSupportedException>(text, "Type is not supported.", allowUnsafe: true, verify: Verification.Fails); 6735CompileAndVerifyException<NotSupportedException>(text, "Type is not supported.", allowUnsafe: true, verify: Verification.Fails); 6936CompileAndVerifyException<NotSupportedException>(text, "Type is not supported.", allowUnsafe: true, verify: Verification.Fails);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (4)
Semantics\ExtensionTests.cs (1)
67Assert.Throws<NotSupportedException>(() => { symbol.WithNullableAnnotation(CodeAnalysis.NullableAnnotation.Annotated); });
Semantics\OutVarTests.cs (2)
1103Assert.Throws<NotSupportedException>(() => model.AnalyzeDataFlow(dataFlowParent)); 32790Assert.Throws<NotSupportedException>(() => model.AnalyzeDataFlow(dataFlowParent));
Semantics\PatternMatchingTestBase.cs (1)
326Assert.Throws<NotSupportedException>(() => model.AnalyzeDataFlow(dataFlowParent));
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (2)
Semantics\MemberResolutionResultTests.cs (2)
23Assert.Throws<NotSupportedException>(() => d.Equals(d)); 24Assert.Throws<NotSupportedException>(() => d.GetHashCode());
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (10)
Syntax\SeparatedSyntaxListTests.cs (2)
43Assert.Throws<NotSupportedException>(() => default(SeparatedSyntaxList<CSharpSyntaxNode>.Enumerator).GetHashCode()); 44Assert.Throws<NotSupportedException>(() => default(SeparatedSyntaxList<CSharpSyntaxNode>.Enumerator).Equals(default(SeparatedSyntaxList<CSharpSyntaxNode>.Enumerator)));
Syntax\SyntaxListTests.cs (2)
39Assert.Throws<NotSupportedException>(() => default(SyntaxList<CSharpSyntaxNode>.Enumerator).GetHashCode()); 40Assert.Throws<NotSupportedException>(() => default(SyntaxList<CSharpSyntaxNode>.Enumerator).Equals(default(SyntaxList<CSharpSyntaxNode>.Enumerator)));
Syntax\SyntaxNodeOrTokenListTests.cs (2)
33Assert.Throws<NotSupportedException>(() => default(SyntaxNodeOrTokenList.Enumerator).GetHashCode()); 34Assert.Throws<NotSupportedException>(() => default(SyntaxNodeOrTokenList.Enumerator).Equals(default(SyntaxNodeOrTokenList.Enumerator)));
Syntax\SyntaxTokenListTests.cs (4)
53Assert.Throws<NotSupportedException>(() => default(SyntaxTokenList.Enumerator).GetHashCode()); 54Assert.Throws<NotSupportedException>(() => default(SyntaxTokenList.Enumerator).Equals(default(SyntaxTokenList.Enumerator))); 55Assert.Throws<NotSupportedException>(() => default(SyntaxTokenList.Reversed.Enumerator).GetHashCode()); 56Assert.Throws<NotSupportedException>(() => default(SyntaxTokenList.Reversed.Enumerator).Equals(default(SyntaxTokenList.Reversed.Enumerator)));
Microsoft.CodeAnalysis.EditorFeatures (1)
InlineRename\CommandHandlers\RenameCommandHandler.cs (1)
77catch (NotSupportedException ex)
Microsoft.CodeAnalysis.ExpressionEvaluator.FunctionResolver (1)
MetadataResolver.cs (1)
336catch (NotSupportedException)
Microsoft.CodeAnalysis.ExpressionEvaluator.FunctionResolver.UnitTests (1)
FunctionResolverTestBase.cs (1)
60catch (NotSupportedException)
Microsoft.CodeAnalysis.InteractiveHost (2)
src\Compilers\Core\Portable\FileSystem\FileUtilities.cs (1)
264catch (NotSupportedException e)
src\Compilers\Core\Portable\FileSystem\PathUtilities.cs (1)
777ex is NotSupportedException) // fileName contains a colon (:) in the middle of the string.
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Protocol\SumType.cs (1)
878/// <exception cref="NotSupportedException">If <paramref name="type"/> is not supported as a type parameter for a
Microsoft.CodeAnalysis.Scripting (4)
ScriptOptions.cs (4)
249/// <exception cref="NotSupportedException">Specified assembly is not supported (e.g. it's a dynamic assembly).</exception> 257/// <exception cref="NotSupportedException">Specified assembly is not supported (e.g. it's a dynamic assembly).</exception> 265/// <exception cref="NotSupportedException">Specified assembly is not supported (e.g. it's a dynamic assembly).</exception> 276/// <exception cref="NotSupportedException">Specified assembly is not supported (e.g. it's a dynamic assembly).</exception>
Microsoft.CodeAnalysis.UnitTests (84)
Collections\HashSet\ISet_Generic_Tests`1.cs (5)
330Assert.Throws<NotSupportedException>(() => set.Add(CreateT(0))); 331Assert.Throws<NotSupportedException>(() => set.ExceptWith(null!)); 332Assert.Throws<NotSupportedException>(() => set.IntersectWith(null!)); 333Assert.Throws<NotSupportedException>(() => set.SymmetricExceptWith(null!)); 334Assert.Throws<NotSupportedException>(() => set.UnionWith(null!));
Collections\IdentifierCollectionTests.cs (3)
81Assert.Throws<NotSupportedException>(() => collection.Add("x")); 82Assert.Throws<NotSupportedException>(() => collection.Remove("x")); 83Assert.Throws<NotSupportedException>(() => collection.Clear());
Collections\ImmutableDictionaryTestBase.cs (10)
131Assert.Throws<NotSupportedException>(() => dictionary.Add(new KeyValuePair<string, int>())); 132Assert.Throws<NotSupportedException>(() => dictionary.Remove(new KeyValuePair<string, int>())); 133Assert.Throws<NotSupportedException>(() => dictionary.Clear()); 157Assert.Throws<NotSupportedException>(() => dictionary.Add("a", 1)); 158Assert.Throws<NotSupportedException>(() => dictionary.Remove("a")); 159Assert.Throws<NotSupportedException>(() => dictionary["a"] = 2); 168Assert.Throws<NotSupportedException>(() => dictionary.Add("a", 1)); 169Assert.Throws<NotSupportedException>(() => dictionary.Remove("a")); 170Assert.Throws<NotSupportedException>(() => dictionary["a"] = 2); 171Assert.Throws<NotSupportedException>(() => dictionary.Clear());
Collections\ImmutableDictionaryTestBase.nonnetstandard.cs (5)
50Assert.Throws<NotSupportedException>(() => map.Remove(5)); 57Assert.Throws<NotSupportedException>(() => map.Add(5, 3)); 64Assert.Throws<NotSupportedException>(() => map[3] = 5); 290Assert.Throws<NotSupportedException>(() => collection.Add(default(T)!)); 291Assert.Throws<NotSupportedException>(() => collection.Clear());
Collections\ImmutableSegmentedListTest.cs (12)
748Assert.Throws<NotSupportedException>(() => list.Add(1)); 749Assert.Throws<NotSupportedException>(() => list.Clear()); 750Assert.Throws<NotSupportedException>(() => list.Insert(0, 1)); 751Assert.Throws<NotSupportedException>(() => list.Remove(1)); 752Assert.Throws<NotSupportedException>(() => list.RemoveAt(0)); 753Assert.Throws<NotSupportedException>(() => list[0] = 1); 761Assert.Throws<NotSupportedException>(() => list.Add(1)); 762Assert.Throws<NotSupportedException>(() => list.Clear()); 763Assert.Throws<NotSupportedException>(() => list.Insert(0, 1)); 764Assert.Throws<NotSupportedException>(() => list.Remove(1)); 765Assert.Throws<NotSupportedException>(() => list.RemoveAt(0)); 766Assert.Throws<NotSupportedException>(() => list[0] = 1);
Collections\ImmutableSetTest.cs (8)
172Assert.Throws<NotSupportedException>(() => set.Add(0)); 173Assert.Throws<NotSupportedException>(() => set.ExceptWith(null!)); 174Assert.Throws<NotSupportedException>(() => set.UnionWith(null!)); 175Assert.Throws<NotSupportedException>(() => set.IntersectWith(null!)); 176Assert.Throws<NotSupportedException>(() => set.SymmetricExceptWith(null!)); 183Assert.Throws<NotSupportedException>(() => set.Add(1)); 184Assert.Throws<NotSupportedException>(() => set.Clear()); 185Assert.Throws<NotSupportedException>(() => set.Remove(1));
Collections\List\ICollection.Generic.Tests.cs (6)
284Assert.Throws<NotSupportedException>(() => collection.Add(CreateT(0))); 317Assert.Throws<NotSupportedException>(() => collection.Clear()); 334Assert.Throws<NotSupportedException>(() => collection.Clear()); 335Assert.Throws<NotSupportedException>(() => collection.Clear()); 336Assert.Throws<NotSupportedException>(() => collection.Clear()); 560Assert.Throws<NotSupportedException>(() => collection.Remove(CreateT(34543)));
Collections\List\ICollection.NonGeneric.Tests.cs (1)
154Assert.Throws<NotSupportedException>(() => collection.SyncRoot);
Collections\List\IEnumerable.Generic.Tests.cs (4)
728Assert.Throws<NotSupportedException>(() => enumerator.Reset()); 870Assert.Throws<NotSupportedException>( 887Assert.Throws<NotSupportedException>( 903Assert.Throws<NotSupportedException>(
Collections\List\IEnumerable.NonGeneric.Tests.cs (1)
366Assert.Throws<NotSupportedException>(() => enumerator.Reset());
Collections\List\IList.Generic.Tests.cs (4)
177Assert.Throws<NotSupportedException>(() => list[count / 2] = CreateT(321432)); 433Assert.Throws<NotSupportedException>(() => list.Insert(count / 2, CreateT(321432))); 506Assert.Throws<NotSupportedException>(() => list.Insert(0, value)); 572Assert.Throws<NotSupportedException>(() => list.RemoveAt(count / 2));
Collections\List\IList.NonGeneric.Tests.cs (6)
281Assert.Throws<NotSupportedException>(() => list[count / 2] = CreateT(321432)); 511Assert.Throws<NotSupportedException>(() => collection.Add(CreateT(0))); 544Assert.Throws<NotSupportedException>(() => collection.Clear()); 766Assert.Throws<NotSupportedException>(() => list.Insert(count / 2, CreateT(321432))); 870Assert.Throws<NotSupportedException>(() => collection.Remove(CreateT(34543))); 1044Assert.Throws<NotSupportedException>(() => list.RemoveAt(count / 2));
Collections\SegmentedArrayTests.cs (9)
76Assert.Throws<NotSupportedException>(() => ((IList)data).Add(IntPtr.Zero)); 77Assert.Throws<NotSupportedException>(() => ((ICollection<IntPtr>)data).Add(IntPtr.Zero)); 78Assert.Throws<NotSupportedException>(() => ((ICollection<IntPtr>)data).Clear()); 79Assert.Throws<NotSupportedException>(() => ((IList)data).Insert(0, IntPtr.Zero)); 80Assert.Throws<NotSupportedException>(() => ((IList<IntPtr>)data).Insert(0, IntPtr.Zero)); 81Assert.Throws<NotSupportedException>(() => ((IList)data).Remove(IntPtr.Zero)); 82Assert.Throws<NotSupportedException>(() => ((ICollection<IntPtr>)data).Remove(IntPtr.Zero)); 83Assert.Throws<NotSupportedException>(() => ((IList)data).RemoveAt(0)); 84Assert.Throws<NotSupportedException>(() => ((IList<IntPtr>)data).RemoveAt(0));
InternalUtilities\SpecializedCollectionsTests.cs (8)
39Assert.Throws<NotSupportedException>(() => ((ICollection<int>)(emptySet)).Add(0)); 40Assert.Throws<NotSupportedException>(() => emptySet.Remove(0)); 41Assert.Throws<NotSupportedException>(() => emptySet.Clear()); 58Assert.Throws<NotSupportedException>(() => emptySet.Add(0)); 59Assert.Throws<NotSupportedException>(() => emptySet.ExceptWith(new int[0])); 60Assert.Throws<NotSupportedException>(() => emptySet.IntersectWith(new int[0])); 61Assert.Throws<NotSupportedException>(() => emptySet.SymmetricExceptWith(new int[0])); 62Assert.Throws<NotSupportedException>(() => emptySet.UnionWith(new int[0]));
Text\TextLineCollectionTests.cs (2)
19Assert.Throws<NotSupportedException>(() => default(TextLineCollection.Enumerator).Equals(default(TextLineCollection.Enumerator))); 20Assert.Throws<NotSupportedException>(() => default(TextLineCollection.Enumerator).GetHashCode());
Microsoft.CodeAnalysis.Workspaces (11)
CodeActions\CodeAction.cs (2)
374/// <exception cref="NotSupportedException">If this code action does not support changing a single 390/// <exception cref="NotSupportedException">If this code action does not support changing a single
Shared\Utilities\IOUtilities.cs (1)
57NotSupportedException or
src\Compilers\Core\Portable\EncodedStringText.cs (1)
46catch (NotSupportedException)
src\Compilers\Core\Portable\FileSystem\FileUtilities.cs (1)
264catch (NotSupportedException e)
src\Compilers\Core\Portable\FileSystem\PathUtilities.cs (1)
777ex is NotSupportedException) // fileName contains a colon (:) in the middle of the string.
src\Compilers\Core\Portable\Hashing\NonCryptographicHashAlgorithm.cs (2)
340/// <returns>This method will always throw a <see cref="NotSupportedException"/>.</returns> 341/// <exception cref="NotSupportedException">In all cases.</exception>
Workspace\Host\HostWorkspaceServices.cs (1)
140/// <exception cref="NotSupportedException">Thrown if the language isn't supported.</exception>
Workspace\Host\SolutionServices.cs (1)
57/// <exception cref="NotSupportedException">Thrown if the language isn't supported.</exception>
Workspace\Workspace.cs (1)
1548/// <exception cref="NotSupportedException">Thrown if the solution contains changes not supported according to the
Microsoft.CodeAnalysis.Workspaces.MSBuild (1)
MSBuild\MSBuildWorkspace.cs (1)
537catch (NotSupportedException exception)
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (2)
src\Compilers\Core\Portable\FileSystem\FileUtilities.cs (1)
264catch (NotSupportedException e)
src\Compilers\Core\Portable\FileSystem\PathUtilities.cs (1)
777ex is NotSupportedException) // fileName contains a colon (:) in the middle of the string.
Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests (2)
VisualStudioMSBuildWorkspaceTests.cs (2)
2189Assert.Throws<NotSupportedException>(delegate 2199Assert.Throws<NotSupportedException>(delegate
Microsoft.CodeAnalysis.Workspaces.UnitTests (14)
SolutionTests\SolutionTests.cs (4)
1322Assert.Throws<NotSupportedException>(() => solution.WithProjectInfo(newInfo)); 1357Assert.Throws<NotSupportedException>(() => solution.WithProjectInfo(newInfo)); 1392Assert.Throws<NotSupportedException>(() => solution.WithProjectInfo(newInfo)); 1427Assert.Throws<NotSupportedException>(() => solution.WithProjectInfo(newInfo));
SolutionTests\TryApplyChangesTests.cs (4)
105var exception = Assert.Throws<NotSupportedException>( 152var exception = Assert.Throws<NotSupportedException>(
WorkspaceTests\WorkspaceTests.cs (6)
30Assert.Throws<NotSupportedException>(() => ws.TryApplyChanges(changedDoc.Project.Solution)).Message); 46Assert.Throws<NotSupportedException>(() => ws.TryApplyChanges(changedDoc.Project.Solution)).Message); 64Assert.Throws<NotSupportedException>(() => ws.TryApplyChanges(changedDoc.Project.Solution)).Message); 81Assert.Throws<NotSupportedException>(() => ws.TryApplyChanges(changedDoc.Project.Solution)).Message); 97Assert.Throws<NotSupportedException>(() => ws.TryApplyChanges(changedDoc.Project.Solution)).Message); 109Assert.Throws<NotSupportedException>(() => ws.TryApplyChanges(newSolution)).Message);
Microsoft.Data.Analysis.Tests (86)
DataFrameTests.BinaryOperations.cs (10)
162Assert.Throws<NotSupportedException>(() => df.Add(true)); 167Assert.Throws<NotSupportedException>(() => df.And(true)); 180Assert.Throws<NotSupportedException>(() => df.Add(5)); 182Assert.Throws<NotSupportedException>(() => df.LeftShift(5)); 214Assert.Throws<NotSupportedException>(() => df.Add(5)); 216Assert.Throws<NotSupportedException>(() => df.LeftShift(5)); 218Assert.Throws<NotSupportedException>(() => df.RightShift(5)); 221Assert.Throws<NotSupportedException>(() => df.And(true)); 223Assert.Throws<NotSupportedException>(() => df.Or(true)); 225Assert.Throws<NotSupportedException>(() => df.Xor(true));
DataFrameTests.Computations.cs (76)
31Assert.Throws<NotSupportedException>(() => df.Columns["Byte"].All()); 32Assert.Throws<NotSupportedException>(() => df.Columns["Byte"].Any()); 33Assert.Throws<NotSupportedException>(() => df.Columns["Char"].All()); 34Assert.Throws<NotSupportedException>(() => df.Columns["Char"].Any()); 35Assert.Throws<NotSupportedException>(() => df.Columns["DateTime"].All()); 36Assert.Throws<NotSupportedException>(() => df.Columns["DateTime"].Any()); 37Assert.Throws<NotSupportedException>(() => df.Columns["Decimal"].All()); 38Assert.Throws<NotSupportedException>(() => df.Columns["Decimal"].Any()); 39Assert.Throws<NotSupportedException>(() => df.Columns["Double"].All()); 40Assert.Throws<NotSupportedException>(() => df.Columns["Double"].Any()); 41Assert.Throws<NotSupportedException>(() => df.Columns["Float"].All()); 42Assert.Throws<NotSupportedException>(() => df.Columns["Float"].Any()); 43Assert.Throws<NotSupportedException>(() => df.Columns["Int"].All()); 44Assert.Throws<NotSupportedException>(() => df.Columns["Int"].Any()); 45Assert.Throws<NotSupportedException>(() => df.Columns["Long"].All()); 46Assert.Throws<NotSupportedException>(() => df.Columns["Long"].Any()); 47Assert.Throws<NotSupportedException>(() => df.Columns["Sbyte"].All()); 48Assert.Throws<NotSupportedException>(() => df.Columns["Sbyte"].Any()); 49Assert.Throws<NotSupportedException>(() => df.Columns["Short"].All()); 50Assert.Throws<NotSupportedException>(() => df.Columns["Short"].Any()); 51Assert.Throws<NotSupportedException>(() => df.Columns["Uint"].All()); 52Assert.Throws<NotSupportedException>(() => df.Columns["Uint"].Any()); 53Assert.Throws<NotSupportedException>(() => df.Columns["Ulong"].All()); 54Assert.Throws<NotSupportedException>(() => df.Columns["Ulong"].Any()); 55Assert.Throws<NotSupportedException>(() => df.Columns["Ushort"].All()); 56Assert.Throws<NotSupportedException>(() => df.Columns["Ushort"].Any()); 133Assert.Throws<NotSupportedException>(() => column.CumulativeMax()); 134Assert.Throws<NotSupportedException>(() => column.CumulativeMin()); 135Assert.Throws<NotSupportedException>(() => column.CumulativeProduct()); 136Assert.Throws<NotSupportedException>(() => column.CumulativeSum()); 137Assert.Throws<NotSupportedException>(() => column.Max()); 138Assert.Throws<NotSupportedException>(() => column.Min()); 139Assert.Throws<NotSupportedException>(() => column.Product()); 140Assert.Throws<NotSupportedException>(() => column.Sum()); 162Assert.Throws<NotSupportedException>(() => column.CumulativeProduct()); 163Assert.Throws<NotSupportedException>(() => column.CumulativeSum()); 164Assert.Throws<NotSupportedException>(() => column.Product()); 165Assert.Throws<NotSupportedException>(() => column.Sum()); 193Assert.Throws<NotSupportedException>(() => df.Columns["Byte"].All()); 194Assert.Throws<NotSupportedException>(() => df.Columns["Byte"].Any()); 195Assert.Throws<NotSupportedException>(() => df.Columns["Char"].All()); 196Assert.Throws<NotSupportedException>(() => df.Columns["Char"].Any()); 197Assert.Throws<NotSupportedException>(() => df.Columns["Decimal"].All()); 198Assert.Throws<NotSupportedException>(() => df.Columns["Decimal"].Any()); 199Assert.Throws<NotSupportedException>(() => df.Columns["Double"].All()); 200Assert.Throws<NotSupportedException>(() => df.Columns["Double"].Any()); 201Assert.Throws<NotSupportedException>(() => df.Columns["Float"].All()); 202Assert.Throws<NotSupportedException>(() => df.Columns["Float"].Any()); 203Assert.Throws<NotSupportedException>(() => df.Columns["Int"].All()); 204Assert.Throws<NotSupportedException>(() => df.Columns["Int"].Any()); 205Assert.Throws<NotSupportedException>(() => df.Columns["Long"].All()); 206Assert.Throws<NotSupportedException>(() => df.Columns["Long"].Any()); 207Assert.Throws<NotSupportedException>(() => df.Columns["Sbyte"].All()); 208Assert.Throws<NotSupportedException>(() => df.Columns["Sbyte"].Any()); 209Assert.Throws<NotSupportedException>(() => df.Columns["Short"].All()); 210Assert.Throws<NotSupportedException>(() => df.Columns["Short"].Any()); 211Assert.Throws<NotSupportedException>(() => df.Columns["Uint"].All()); 212Assert.Throws<NotSupportedException>(() => df.Columns["Uint"].Any()); 213Assert.Throws<NotSupportedException>(() => df.Columns["Ulong"].All()); 214Assert.Throws<NotSupportedException>(() => df.Columns["Ulong"].Any()); 215Assert.Throws<NotSupportedException>(() => df.Columns["Ushort"].All()); 216Assert.Throws<NotSupportedException>(() => df.Columns["Ushort"].Any()); 217Assert.Throws<NotSupportedException>(() => df.Columns["DateTime"].All()); 218Assert.Throws<NotSupportedException>(() => df.Columns["DateTime"].Any()); 302Assert.Throws<NotSupportedException>(() => column.CumulativeMax()); 303Assert.Throws<NotSupportedException>(() => column.CumulativeMin()); 304Assert.Throws<NotSupportedException>(() => column.CumulativeProduct()); 305Assert.Throws<NotSupportedException>(() => column.CumulativeSum()); 306Assert.Throws<NotSupportedException>(() => column.Max()); 307Assert.Throws<NotSupportedException>(() => column.Min()); 308Assert.Throws<NotSupportedException>(() => column.Product()); 309Assert.Throws<NotSupportedException>(() => column.Sum()); 326Assert.Throws<NotSupportedException>(() => column.CumulativeProduct()); 327Assert.Throws<NotSupportedException>(() => column.CumulativeSum()); 328Assert.Throws<NotSupportedException>(() => column.Product()); 329Assert.Throws<NotSupportedException>(() => column.Sum());
Microsoft.DotNet.Build.Tasks.Feed (1)
src\PushToBuildStorage.cs (1)
622|| e is NotSupportedException
Microsoft.Extensions.AI.Abstractions (2)
src\Shared\JsonSchemaExporter\JsonSchemaExporter.cs (2)
48/// <exception cref="NotSupportedException">The <paramref name="options"/> parameter contains unsupported exporterOptions.</exception> 68/// <exception cref="NotSupportedException">The <paramref name="typeInfo"/> parameter contains unsupported exporterOptions.</exception>
Microsoft.Extensions.AI.Abstractions.Tests (4)
Contents\FunctionCallContentTests..cs (4)
141var ex = Assert.Throws<NotSupportedException>(() => AIFunctionFactory.Create((CustomType arg) => { }, serializerOptions: TestJsonSerializerContext.Default.Options)); 145ex = Assert.Throws<NotSupportedException>(() => AIFunctionFactory.Create(() => new CustomType(), serializerOptions: TestJsonSerializerContext.Default.Options)); 302[InlineData(typeof(NotSupportedException))]
Microsoft.Extensions.AI.AzureAIInference (1)
AzureAIInferenceChatClient.cs (1)
433catch (NotSupportedException)
Microsoft.Extensions.AI.OpenAI (2)
OpenAIChatClient.cs (1)
139catch (NotSupportedException)
OpenAIResponseChatClient.cs (1)
470catch (NotSupportedException)
Microsoft.Extensions.AI.Tests (2)
Functions\AIFunctionFactoryTest.cs (2)
321Assert.Throws<NotSupportedException>(() => AIFunctionFactory.Create((MyService myService) => myService.Value)); 334Assert.Throws<NotSupportedException>(() => AIFunctionFactory.Create((MyService myService) => myService.Value));
Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests (3)
Linux\LinuxUtilizationParserCgroupV1Tests.cs (3)
38Assert.Throws<NotSupportedException>(() => parser.GetCgroupCpuUsageInNanosecondsV2()); 39Assert.Throws<NotSupportedException>(() => parser.GetCgroupLimitV2()); 40Assert.Throws<NotSupportedException>(() => parser.GetCgroupRequestCpuV2());
Microsoft.Extensions.Http.Diagnostics.Tests (4)
Logging\AcceptanceTests.cs (1)
81Assert.IsType<NotSupportedException>(firstLogRecord.Exception);
Logging\HttpClientLoggerTest.cs (3)
1004Assert.Throws<NotSupportedException>(() => logger.LogRequestStart(httpRequestMessage)); 1005Assert.Throws<NotSupportedException>(() => logger.LogRequestStop(null, httpRequestMessage, httpResponseMessage, TimeSpan.Zero)); 1006Assert.Throws<NotSupportedException>(() => logger.LogRequestFailed(null, httpRequestMessage, null, new InvalidOperationException(), TimeSpan.Zero));
Microsoft.Extensions.Identity.Core (2)
RoleManager.cs (2)
97/// otherwise throws a <see cref="NotSupportedException"/>. 100/// <exception cref="NotSupportedException">Thrown if the persistence store is not an <see cref="IQueryableRoleStore{TRole}"/>.</exception>
Microsoft.Extensions.Primitives (1)
StringValues.cs (1)
121/// <exception cref="NotSupportedException">Set operations are not supported on readonly <see cref="StringValues"/>.</exception>
Microsoft.Gen.Metrics.Unit.Tests (1)
EmitterTests.cs (1)
92Assert.Throws<NotSupportedException>(() =>
Microsoft.Gen.MetricsReports.Unit.Tests (1)
EmitterTests.cs (1)
125Assert.Throws<NotSupportedException>(() => emitter.GenerateReport(new[] { metricClass }, CancellationToken.None));
Microsoft.JSInterop.Tests (3)
Infrastructure\DotNetStreamReferenceJsonConverterTest.cs (2)
26var ex = Assert.Throws<NotSupportedException>(() => JsonSerializer.Deserialize<DotNetStreamReference>(json, JsonSerializerOptions));
JSRuntimeTest.cs (1)
421var exception = await Assert.ThrowsAsync<NotSupportedException>(async () => await runtime.ReadJSDataAsStreamAsync(dataReference, 10, CancellationToken.None));
Microsoft.Maui.Controls (1)
Visuals\VisualTypeConverter.cs (1)
84 catch (NotSupportedException)
Microsoft.ML.AutoML (1)
Experiment\MetricsAgents\MetricsAgentUtil.cs (1)
11public static NotSupportedException BuildMetricNotSupportedException<T>(T optimizingMetric)
Microsoft.ML.AutoML.Tests (2)
MetricsAgentsTests.cs (2)
163var ex = MetricsAgentUtil.BuildMetricNotSupportedException(BinaryClassificationMetric.Accuracy); 164Assert.Equal(typeof(NotSupportedException), ex.GetType());
Microsoft.ML.Core (2)
Utilities\Stream.cs (1)
853catch (NotSupportedException exc)
Utilities\SubsetStream.cs (1)
52catch (NotSupportedException)
Microsoft.ML.Core.Tests (2)
UnitTests\TestResourceDownload.cs (2)
61await Assert.ThrowsAsync<NotSupportedException>(() => ResourceManagerUtils.Instance.EnsureResourceAsync(env, ch, "Image/ResNet_18_Updated.model", fileName, saveToDir, 10 * 1000)); 90await Assert.ThrowsAsync<NotSupportedException>(() => ResourceManagerUtils.Instance.EnsureResourceAsync(env, ch, "Image/ResNet_18_Updated.model", fileName, saveToDir, 10 * 1000));
Microsoft.ML.TorchSharp (1)
Utils\FileUtils.cs (1)
39/// <exception cref="NotSupportedException">When the generic type T is not a valid numeric type.</exception>
Microsoft.Net.Http.Headers.Tests (3)
MediaTypeHeaderValueTest.cs (3)
184Assert.Throws<NotSupportedException>(() => mediaType1.Parameters.Add(new NameValueHeaderValue("name"))); 185Assert.Throws<NotSupportedException>(() => mediaType1.Parameters.Remove(new NameValueHeaderValue("name"))); 186Assert.Throws<NotSupportedException>(() => mediaType1.Parameters.Clear());
Microsoft.VisualBasic.Core (5)
Microsoft\VisualBasic\FileIO\FileSystem.vb (5)
1024TypeOf ex Is IO.DirectoryNotFoundException OrElse TypeOf ex Is NotSupportedException OrElse 1045TypeOf ex Is SecurityException OrElse TypeOf ex Is NotSupportedException) Then 1338TypeOf ex Is NotSupportedException Or 1512TypeOf ex Is NotSupportedException OrElse 1520TypeOf ex Is NotSupportedException), "These exceptions should be caught above")
MSBuild (4)
ExceptionHandling.cs (1)
165|| e is NotSupportedException
XMake.cs (3)
1951catch (NotSupportedException) 2288catch (NotSupportedException e) 3379catch (NotSupportedException ex)
MSBuildTaskHost (1)
ExceptionHandling.cs (1)
165|| e is NotSupportedException
mscorlib (1)
src\libraries\shims\mscorlib\ref\mscorlib.cs (1)
374[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.NotSupportedException))]
netstandard (1)
netstandard.cs (1)
1327[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.NotSupportedException))]
PresentationBuildTasks (2)
MS\Internal\MarkupCompiler\MarkupCompiler.cs (2)
1667catch (NotSupportedException) 1732catch (NotSupportedException)
PresentationCore (82)
MS\Internal\FontFace\CompositeFontParser.cs (2)
81catch (NotSupportedException) 104catch (NotSupportedException)
MS\Internal\IO\Packaging\NetStream.cs (2)
298/// <exception cref="NotSupportedException">not supported</exception> 308/// <exception cref="NotSupportedException">not supported</exception>
MS\Internal\IO\Packaging\PseudoWebRequest.cs (1)
69/// <exception cref="NotSupportedException">writing not supported</exception>
MS\Internal\IO\Packaging\ResponseStream.cs (3)
124/// <exception cref="NotSupportedException">not supported</exception> 134/// <exception cref="NotSupportedException">not supported</exception> 144/// <exception cref="NotSupportedException">not supported</exception>
MS\Internal\WpfWebRequestHelper.cs (1)
269catch (NotSupportedException)
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\IO\SynchronizingStream.cs (3)
108/// <exception cref="NotSupportedException">not supported</exception> 121/// <exception cref="NotSupportedException">not supported</exception> 134/// <exception cref="NotSupportedException">not supported</exception>
System\IO\Packaging\PackWebRequest.cs (6)
98/// <exception cref="NotSupportedException">writing not supported</exception> 240/// <exception cref="NotSupportedException">Set is not supported as PackWebRequest is read-only.</exception> 427/// <exception cref="NotSupportedException">Inner uri is not resolvable to a valid transport protocol (such as 462/// <exception cref="NotSupportedException">protocol does not have a registered handler</exception> 473/// <exception cref="NotSupportedException">protocol does not have a registered handler</exception> 498catch (NotSupportedException)
System\Windows\clipboard.cs (2)
301/// <see cref="TypeName"/> is allowed or throws a <see cref="NotSupportedException"/> if <see cref="TypeName"/> is not 382/// <exception cref="NotSupportedException">
System\Windows\DataObjectExtensions.cs (4)
30/// <exception cref="NotSupportedException">if the <paramref name="dataObject"/> does not implement <see cref="ITypedDataObject" />.</exception> 38/// <exception cref="NotSupportedException">if the <paramref name="dataObject"/> does not implement <see cref="ITypedDataObject" />.</exception> 47/// <exception cref="NotSupportedException">if the <paramref name="dataObject"/> does not implement <see cref="ITypedDataObject" />.</exception> 57/// <exception cref="NotSupportedException">if the <paramref name="dataObject"/> does not implement <see cref="ITypedDataObject" />.</exception>
System\Windows\FontStretchConverter.cs (2)
50/// <exception cref="NotSupportedException"> 78/// <exception cref="NotSupportedException">
System\Windows\FontStyleConverter.cs (2)
50/// <exception cref="NotSupportedException"> 78/// <exception cref="NotSupportedException">
System\Windows\FontWeightConverter.cs (2)
50/// <exception cref="NotSupportedException"> 78/// <exception cref="NotSupportedException">
System\Windows\ITypedDataObject.cs (2)
19/// will throw a <see cref="NotSupportedException"/>. This is replacement of <see cref="IDataObject"/> 21/// will throw a <see cref="NotSupportedException"/>.
System\Windows\Media\ColorConverter.cs (2)
64/// <exception cref="NotSupportedException"> 88/// <exception cref="NotSupportedException">
System\Windows\Media\FontFamily.cs (1)
537catch (NotSupportedException)
System\Windows\Media\Generated\BrushConverter.cs (2)
87/// <exception cref="NotSupportedException"> 116/// <exception cref="NotSupportedException">
System\Windows\Media\Generated\CacheModeConverter.cs (2)
87/// <exception cref="NotSupportedException"> 116/// <exception cref="NotSupportedException">
System\Windows\Media\Generated\DoubleCollectionConverter.cs (2)
74/// <exception cref="NotSupportedException"> 103/// <exception cref="NotSupportedException">
System\Windows\Media\Generated\GeometryConverter.cs (2)
87/// <exception cref="NotSupportedException"> 116/// <exception cref="NotSupportedException">
System\Windows\Media\Generated\Int32CollectionConverter.cs (2)
74/// <exception cref="NotSupportedException"> 103/// <exception cref="NotSupportedException">
System\Windows\Media\Generated\PathFigureCollectionConverter.cs (2)
87/// <exception cref="NotSupportedException"> 116/// <exception cref="NotSupportedException">
System\Windows\Media\Generated\PointCollectionConverter.cs (2)
74/// <exception cref="NotSupportedException"> 103/// <exception cref="NotSupportedException">
System\Windows\Media\Generated\TransformConverter.cs (2)
87/// <exception cref="NotSupportedException"> 116/// <exception cref="NotSupportedException">
System\Windows\Media\Generated\VectorCollectionConverter.cs (2)
74/// <exception cref="NotSupportedException"> 103/// <exception cref="NotSupportedException">
System\Windows\Media\ImageSourceConverter.cs (2)
75/// <exception cref="NotSupportedException"> 176/// <exception cref="NotSupportedException">
System\Windows\Media\Imaging\BitmapFrame.cs (2)
227catch (System.NotSupportedException) 259catch (System.NotSupportedException)
System\Windows\Media\Imaging\BitmapImage.cs (2)
520catch (NotSupportedException) 549catch (NotSupportedException)
System\Windows\Media\Imaging\BitmapSource.cs (2)
1093catch (NotSupportedException) 1123catch (NotSupportedException)
System\Windows\Media\RequestCachePolicyConverter.cs (1)
57/// <exception cref="NotSupportedException">
System\Windows\Media3D\Generated\Matrix3DConverter.cs (2)
72/// <exception cref="NotSupportedException"> 101/// <exception cref="NotSupportedException">
System\Windows\Media3D\Generated\Point3DCollectionConverter.cs (2)
72/// <exception cref="NotSupportedException"> 101/// <exception cref="NotSupportedException">
System\Windows\Media3D\Generated\Point3DConverter.cs (2)
72/// <exception cref="NotSupportedException"> 101/// <exception cref="NotSupportedException">
System\Windows\Media3D\Generated\Point4DConverter.cs (2)
72/// <exception cref="NotSupportedException"> 101/// <exception cref="NotSupportedException">
System\Windows\Media3D\Generated\QuaternionConverter.cs (2)
72/// <exception cref="NotSupportedException"> 101/// <exception cref="NotSupportedException">
System\Windows\Media3D\Generated\Rect3DConverter.cs (2)
72/// <exception cref="NotSupportedException"> 101/// <exception cref="NotSupportedException">
System\Windows\Media3D\Generated\Size3DConverter.cs (2)
72/// <exception cref="NotSupportedException"> 101/// <exception cref="NotSupportedException">
System\Windows\Media3D\Generated\Vector3DCollectionConverter.cs (2)
72/// <exception cref="NotSupportedException"> 101/// <exception cref="NotSupportedException">
System\Windows\Media3D\Generated\Vector3DConverter.cs (2)
72/// <exception cref="NotSupportedException"> 101/// <exception cref="NotSupportedException">
System\Windows\Nrbf\SerializationRecordExtensions.cs (2)
309/// Trys to get this object as a binary recordted <see cref="NotSupportedException"/>. 322|| !classInfo.TypeNameMatches(typeof(NotSupportedException)))
PresentationCore.Tests (16)
System\Windows\DurationConverter.Tests.cs (2)
88Assert.Throws<NotSupportedException>(() => converter.ConvertTo(null, null, new Duration(new TimeSpan(17, 22, 10, 15, 457, 123)), destinationType)); 145Assert.Throws<NotSupportedException>(() => converter.ConvertFrom(null, culture, value));
System\Windows\Input\Command\KeyGestureConverter.Tests.cs (2)
127Assert.Throws<NotSupportedException>(() => converter.ConvertFrom(null, cultureInfo, value)); 199Assert.Throws<NotSupportedException>(() => converter.ConvertTo(null, CultureInfo.InvariantCulture, value, destinationType));
System\Windows\Input\Command\MouseGestureConverter.Tests.cs (2)
120Assert.Throws<NotSupportedException>(() => converter.ConvertFrom(null, cultureInfo, value)); 185Assert.Throws<NotSupportedException>(() => converter.ConvertTo(null, CultureInfo.InvariantCulture, value, destinationType));
System\Windows\Input\MouseActionConverter.Tests.cs (2)
119Assert.Throws<NotSupportedException>(() => converter.ConvertFrom(null, null, value)); 166Assert.Throws<NotSupportedException>(() => converter.ConvertTo(value, destinationType));
System\Windows\Media\Animation\KeySplineConverter.Tests.cs (2)
145Assert.Throws<NotSupportedException>(() => converter.ConvertFrom(null, CultureInfo.InvariantCulture, null!)); 288Assert.Throws<NotSupportedException>(() => converter.ConvertTo(null, culture, input, destinationType));
System\Windows\Media\ColorConverter.Tests.cs (1)
418Assert.Throws<NotSupportedException>(() => converter.ConvertFrom(null!));
System\Windows\Media\Generated\BrushConverter.Tests.cs (2)
350Assert.Throws<NotSupportedException>(() => converter.ConvertFrom(notString)); 359Assert.Throws<NotSupportedException>(() => converter.ConvertFrom(null!));
System\Windows\Media\Imaging\BitmapImage.Tests.cs (2)
30Assert.Throws<NotSupportedException>(image.EndInit); 76Assert.Throws<NotSupportedException>(image.EndInit);
System\Windows\TextDecorationCollectionConverter.Tests.cs (1)
263Assert.Throws<NotSupportedException>(() => converter.ConvertTo(null, null, new TextDecorationCollection(), typeof(TextDecorationCollection)));
PresentationFramework (26)
MS\Internal\Data\CollectionViewProxy.cs (2)
92/// <exception cref="NotSupportedException"> 122/// <exception cref="NotSupportedException">
MS\Internal\Data\DefaultValueConverter.cs (2)
278NotSupportedException savedEx = null; 309catch (NotSupportedException ex)
MS\Internal\Data\EnumerableCollectionView.cs (2)
102/// <exception cref="NotSupportedException"> 132/// <exception cref="NotSupportedException">
MS\Internal\IO\Packaging\UnsafeIndexingFilterStream.cs (2)
147/// <exception cref="NotSupportedException">not supported</exception> 160/// <exception cref="NotSupportedException">not supported</exception>
MS\Internal\WindowsRuntime\Windows\Data\Text\WordsSegmenter.cs (2)
35/// <exception cref="System.NotSupportedException"><paramref name="language"/> is not supported</exception> 69when ((e is NotSupportedException) ||
System\Windows\Controls\DocumentViewer.cs (2)
250/// <exception cref="NotSupportedException">There must be a ScrollViewer in 2046/// <exception cref="NotSupportedException">There must be a ScrollViewer in
System\Windows\Controls\ItemCollection.cs (2)
623/// <exception cref="NotSupportedException"> 737/// <exception cref="NotSupportedException">
System\Windows\Data\CollectionView.cs (1)
204/// <exception cref="NotSupportedException">
System\Windows\Data\ListCollectionView.cs (1)
421/// <exception cref="NotSupportedException">
System\Windows\Documents\SpellerInteropBase.cs (1)
121catch (NotSupportedException)
System\Windows\Documents\WinRTSpellerInterop.cs (3)
34/// <exception cref="NotSupportedException"> 61catch (Exception ex) when (ex is ArgumentException || ex is NotSupportedException || ex is PlatformNotSupportedException) 66if ((ex is PlatformNotSupportedException) || (ex is NotSupportedException))
System\Windows\Documents\XamlToRtfWriter.cs (1)
3653catch (System.NotSupportedException)
System\Windows\Markup\Primitives\ElementMarkupObject.cs (1)
369catch (NotSupportedException)
System\Windows\Navigation\NavigationService.cs (2)
1825catch (NotSupportedException) 2719catch (NotSupportedException)
System\Windows\PropertyPathConverter.cs (1)
270catch (NotSupportedException)
System\Windows\ThemeModeConverter.cs (1)
80/// <exception cref="NotSupportedException">
PresentationFramework.Tests (2)
System\Windows\Controls\VirtualizationCacheLengthConverter.Tests.cs (2)
149Assert.Throws<NotSupportedException>(() => converter.ConvertFrom(null, culture, value)); 274Assert.Throws<NotSupportedException>(() => converter.ConvertTo(null, culture, input, destinationType));
PresentationUI (2)
MS\Internal\Documents\Application\RightsManagementErrorHandler.cs (1)
267(exception is NotSupportedException) ||
MS\Internal\Documents\Application\WriteableOnDemandStream.cs (1)
273/// <exception cref="System.NotSupportedException" />
Shared (2)
JsonSchemaExporter\JsonSchemaExporter.cs (2)
48/// <exception cref="NotSupportedException">The <paramref name="options"/> parameter contains unsupported exporterOptions.</exception> 68/// <exception cref="NotSupportedException">The <paramref name="typeInfo"/> parameter contains unsupported exporterOptions.</exception>
Shared.Tests (7)
EmptyCollections\EmptyReadonlyDictionaryTests.cs (4)
37Assert.Throws<NotSupportedException>(() => dict.Add(1, "One")); 47Assert.Throws<NotSupportedException>(() => dict[1] = "One"); 48Assert.Throws<NotSupportedException>(() => dict.Add(1, "One")); 60Assert.Throws<NotSupportedException>(() => coll.Add(new KeyValuePair<int, string>(1, "One")));
EmptyCollections\EmptyReadOnlyListTests.cs (1)
57Assert.Throws<NotSupportedException>(() => coll.Add(1));
JsonSchemaExporter\JsonSchemaExporterTests.cs (2)
167var ex = Assert.Throws<NotSupportedException>(() => options.GetJsonSchemaAsNode(typeof(TestTypes.SimplePoco)));
Sockets.FunctionalTests (2)
src\Servers\Kestrel\test\FunctionalTests\Http2\HandshakeTests.cs (2)
48var ex = Assert.Throws<NotSupportedException>(() => new TestServer(context =>
System.Collections.Concurrent (7)
System\Collections\Concurrent\BlockingCollection.cs (1)
128/// <exception cref="System.NotSupportedException">The SyncRoot property is not supported.</exception>
System\Collections\Concurrent\ConcurrentBag.cs (1)
594/// <exception cref="System.NotSupportedException">The SyncRoot property is not supported.</exception>
System\Collections\Concurrent\ConcurrentDictionary.cs (1)
1952/// <exception cref="NotSupportedException">The SyncRoot property is not supported.</exception>
System\Collections\Concurrent\ConcurrentStack.cs (1)
179/// <exception cref="System.NotSupportedException">The SyncRoot property is not supported</exception>
System\Collections\Concurrent\OrderablePartitioner.cs (2)
124/// <exception cref="NotSupportedException">Dynamic partitioning is not supported by this 204/// <exception cref="NotSupportedException">Dynamic partitioning is not supported by this
System\Collections\Concurrent\Partitioner.cs (1)
92/// <exception cref="NotSupportedException">Dynamic partitioning is not supported by this
System.Collections.Immutable (40)
System\Collections\Immutable\ImmutableArray_1.cs (7)
22/// <exception cref="NotSupportedException">Always thrown from the setter.</exception> 1195/// <exception cref="System.NotSupportedException"></exception> 1204/// <exception cref="System.NotSupportedException"></exception> 1258/// <exception cref="System.NotSupportedException"></exception> 1329/// <exception cref="System.NotSupportedException"></exception> 1339/// <exception cref="System.NotSupportedException"></exception> 1353/// <exception cref="NotSupportedException">Always thrown from the setter.</exception>
System\Collections\Immutable\ImmutableDictionary_2.Builder.cs (6)
406/// <exception cref="NotSupportedException">The property is set and the <see cref="IDictionary{TKey, TValue}"/> is read-only.</exception> 522/// <exception cref="NotSupportedException">The <see cref="IDictionary{TKey, TValue}"/> is read-only.</exception> 575/// <exception cref="NotSupportedException">The <see cref="IDictionary{TKey, TValue}"/> is read-only.</exception> 608/// <exception cref="NotSupportedException">The <see cref="ICollection{T}"/> is read-only.</exception> 617/// <exception cref="NotSupportedException">The <see cref="ICollection{T}"/> is read-only. </exception> 660/// <exception cref="NotSupportedException">The <see cref="ICollection{T}"/> is read-only.</exception>
System\Collections\Immutable\ImmutableDictionary_2.cs (3)
565/// <exception cref="NotSupportedException"> 582/// <exception cref="NotSupportedException"> 734/// <exception cref="System.NotSupportedException"></exception>
System\Collections\Immutable\ImmutableHashSet_1.Builder.cs (3)
241/// <exception cref="NotSupportedException">The <see cref="ICollection{T}"/> is read-only.</exception> 264/// <exception cref="NotSupportedException">The <see cref="ICollection{T}"/> is read-only. </exception> 384/// <exception cref="NotSupportedException">The <see cref="ICollection{T}"/> is read-only.</exception>
System\Collections\Immutable\ImmutableList_1.cs (12)
925/// <exception cref="NotSupportedException">Always thrown.</exception> 932/// <exception cref="NotSupportedException">In all cases.</exception> 939/// <exception cref="NotSupportedException">In all cases from the setter.</exception> 954/// <exception cref="NotSupportedException">Always thrown.</exception> 960/// <exception cref="NotSupportedException">Always thrown.</exception> 975/// <exception cref="NotSupportedException">Always thrown.</exception> 998/// <exception cref="NotSupportedException">Always thrown.</exception> 1005/// <exception cref="NotSupportedException">Always thrown.</exception> 1011/// <exception cref="NotSupportedException">Always thrown.</exception> 1037/// <exception cref="NotSupportedException">Always thrown.</exception> 1057/// <exception cref="NotSupportedException">In all cases.</exception> 1069/// <exception cref="NotSupportedException">In call cases from the setter.</exception>
System\Collections\Immutable\ImmutableSortedDictionary_2.cs (3)
477/// <exception cref="NotSupportedException"> 494/// <exception cref="NotSupportedException"> 638/// <exception cref="System.NotSupportedException"></exception>
System\Collections\Immutable\ImmutableSortedSet_1.cs (6)
834/// <exception cref="System.NotSupportedException"></exception> 843/// <exception cref="System.NotSupportedException"></exception> 893/// <exception cref="System.NotSupportedException"></exception> 903/// <exception cref="System.NotSupportedException"></exception> 913/// <exception cref="System.NotSupportedException"></exception> 926/// <exception cref="System.NotSupportedException"></exception>
System.ComponentModel.Annotations (2)
System\ComponentModel\DataAnnotations\CustomValidationAttribute.cs (1)
342catch (NotSupportedException)
System\ComponentModel\DataAnnotations\RangeAttribute.cs (1)
156catch (NotSupportedException)
System.Data.Common (7)
src\libraries\Common\src\System\Data\Common\AdapterUtil.cs (4)
119internal static NotSupportedException NotSupported() 121NotSupportedException e = new NotSupportedException(); 126internal static NotSupportedException NotSupported(string error) 128NotSupportedException e = new NotSupportedException(error);
System\Data\Common\DbTransaction.cs (1)
77/// well as their synchronous counterparts are expected to throw <see cref="NotSupportedException" />.
System\Data\DataSetUtil.cs (1)
43internal static NotSupportedException NotSupported(string message)
System\Data\DataViewManager.cs (1)
23private static readonly NotSupportedException s_notSupported = new NotSupportedException();
System.Data.Odbc (4)
src\libraries\Common\src\System\Data\Common\AdapterUtil.cs (4)
119internal static NotSupportedException NotSupported() 121NotSupportedException e = new NotSupportedException(); 126internal static NotSupportedException NotSupported(string error) 128NotSupportedException e = new NotSupportedException(error);
System.Drawing.Common.Tests (78)
System\Drawing\FontConverterTests.cs (2)
35Assert.Throws<NotSupportedException>(() => converter.ConvertFrom(null)); 36Assert.Throws<NotSupportedException>(() => converter.ConvertFrom(1));
System\Drawing\IconConverterTests.cs (26)
112Assert.Throws<NotSupportedException>(() => _icoConv.ConvertFrom("System.Drawing.String")); 113Assert.Throws<NotSupportedException>(() => _icoConv.ConvertFrom(null, CultureInfo.InvariantCulture, "System.Drawing.String")); 114Assert.Throws<NotSupportedException>(() => _icoConv.ConvertFrom(null, CultureInfo.InvariantCulture, new Bitmap(20, 20))); 115Assert.Throws<NotSupportedException>(() => _icoConv.ConvertFrom(null, CultureInfo.InvariantCulture, new Point(10, 10))); 116Assert.Throws<NotSupportedException>(() => _icoConv.ConvertFrom(null, CultureInfo.InvariantCulture, new SizeF(10, 10))); 117Assert.Throws<NotSupportedException>(() => _icoConv.ConvertFrom(null, CultureInfo.InvariantCulture, new object())); 124Assert.Throws<NotSupportedException>(() => _icoConvFrmTD.ConvertFrom("System.Drawing.String")); 125Assert.Throws<NotSupportedException>(() => _icoConvFrmTD.ConvertFrom(null, CultureInfo.InvariantCulture, "System.Drawing.String")); 126Assert.Throws<NotSupportedException>(() => _icoConvFrmTD.ConvertFrom(null, CultureInfo.InvariantCulture, new Bitmap(20, 20))); 127Assert.Throws<NotSupportedException>(() => _icoConvFrmTD.ConvertFrom(null, CultureInfo.InvariantCulture, new Point(10, 10))); 128Assert.Throws<NotSupportedException>(() => _icoConvFrmTD.ConvertFrom(null, CultureInfo.InvariantCulture, new SizeF(10, 10))); 129Assert.Throws<NotSupportedException>(() => _icoConvFrmTD.ConvertFrom(null, CultureInfo.InvariantCulture, new object())); 144Assert.Throws<NotSupportedException>(() => _icoConv.ConvertTo(null, CultureInfo.InvariantCulture, _icon, typeof(Rectangle))); 145Assert.Throws<NotSupportedException>(() => _icoConv.ConvertTo(null, CultureInfo.InvariantCulture, _icon, _icon.GetType())); 146Assert.Throws<NotSupportedException>(() => _icoConv.ConvertTo(null, CultureInfo.InvariantCulture, _icon, typeof(Size))); 147Assert.Throws<NotSupportedException>(() => _icoConv.ConvertTo(null, CultureInfo.InvariantCulture, _icon, typeof(Point))); 148Assert.Throws<NotSupportedException>(() => _icoConv.ConvertTo(null, CultureInfo.InvariantCulture, _icon, typeof(Metafile))); 149Assert.Throws<NotSupportedException>(() => _icoConv.ConvertTo(null, CultureInfo.InvariantCulture, _icon, typeof(object))); 150Assert.Throws<NotSupportedException>(() => _icoConv.ConvertTo(null, CultureInfo.InvariantCulture, _icon, typeof(int))); 161Assert.Throws<NotSupportedException>(() => _icoConvFrmTD.ConvertTo(null, CultureInfo.InvariantCulture, _icon, typeof(Rectangle))); 162Assert.Throws<NotSupportedException>(() => _icoConvFrmTD.ConvertTo(null, CultureInfo.InvariantCulture, _icon, _icon.GetType())); 163Assert.Throws<NotSupportedException>(() => _icoConvFrmTD.ConvertTo(null, CultureInfo.InvariantCulture, _icon, typeof(Size))); 164Assert.Throws<NotSupportedException>(() => _icoConvFrmTD.ConvertTo(null, CultureInfo.InvariantCulture, _icon, typeof(Point))); 165Assert.Throws<NotSupportedException>(() => _icoConvFrmTD.ConvertTo(null, CultureInfo.InvariantCulture, _icon, typeof(Metafile))); 166Assert.Throws<NotSupportedException>(() => _icoConvFrmTD.ConvertTo(null, CultureInfo.InvariantCulture, _icon, typeof(object))); 167Assert.Throws<NotSupportedException>(() => _icoConvFrmTD.ConvertTo(null, CultureInfo.InvariantCulture, _icon, typeof(int)));
System\Drawing\ImageConverterTests.cs (28)
139Assert.Throws<NotSupportedException>(() => _imgConv.ConvertFrom("System.Drawing.String")); 140Assert.Throws<NotSupportedException>(() => _imgConv.ConvertFrom(null, CultureInfo.InvariantCulture, "System.Drawing.String")); 141Assert.Throws<NotSupportedException>(() => _imgConv.ConvertFrom(null, CultureInfo.InvariantCulture, new Bitmap(20, 20))); 142Assert.Throws<NotSupportedException>(() => _imgConv.ConvertFrom(null, CultureInfo.InvariantCulture, new Point(10, 10))); 143Assert.Throws<NotSupportedException>(() => _imgConv.ConvertFrom(null, CultureInfo.InvariantCulture, new SizeF(10, 10))); 144Assert.Throws<NotSupportedException>(() => _imgConv.ConvertFrom(null, CultureInfo.InvariantCulture, new object())); 146Assert.Throws<NotSupportedException>(() => _imgConvFrmTD.ConvertFrom("System.Drawing.String")); 147Assert.Throws<NotSupportedException>(() => _imgConvFrmTD.ConvertFrom(null, CultureInfo.InvariantCulture, "System.Drawing.String")); 148Assert.Throws<NotSupportedException>(() => _imgConvFrmTD.ConvertFrom(null, CultureInfo.InvariantCulture, new Bitmap(20, 20))); 149Assert.Throws<NotSupportedException>(() => _imgConvFrmTD.ConvertFrom(null, CultureInfo.InvariantCulture, new Point(10, 10))); 150Assert.Throws<NotSupportedException>(() => _imgConvFrmTD.ConvertFrom(null, CultureInfo.InvariantCulture, new SizeF(10, 10))); 151Assert.Throws<NotSupportedException>(() => _imgConvFrmTD.ConvertFrom(null, CultureInfo.InvariantCulture, new object())); 197Assert.Throws<NotSupportedException>(() => _imgConv.ConvertTo(null, CultureInfo.InvariantCulture, _image, typeof(Rectangle))); 198Assert.Throws<NotSupportedException>(() => _imgConv.ConvertTo(null, CultureInfo.InvariantCulture, _image, _image.GetType())); 199Assert.Throws<NotSupportedException>(() => _imgConv.ConvertTo(null, CultureInfo.InvariantCulture, _image, typeof(Size))); 200Assert.Throws<NotSupportedException>(() => _imgConv.ConvertTo(null, CultureInfo.InvariantCulture, _image, typeof(Bitmap))); 201Assert.Throws<NotSupportedException>(() => _imgConv.ConvertTo(null, CultureInfo.InvariantCulture, _image, typeof(Point))); 202Assert.Throws<NotSupportedException>(() => _imgConv.ConvertTo(null, CultureInfo.InvariantCulture, _image, typeof(Metafile))); 203Assert.Throws<NotSupportedException>(() => _imgConv.ConvertTo(null, CultureInfo.InvariantCulture, _image, typeof(object))); 204Assert.Throws<NotSupportedException>(() => _imgConv.ConvertTo(null, CultureInfo.InvariantCulture, _image, typeof(int))); 206Assert.Throws<NotSupportedException>(() => _imgConvFrmTD.ConvertTo(null, CultureInfo.InvariantCulture, _image, typeof(Rectangle))); 207Assert.Throws<NotSupportedException>(() => _imgConvFrmTD.ConvertTo(null, CultureInfo.InvariantCulture, _image, _image.GetType())); 208Assert.Throws<NotSupportedException>(() => _imgConvFrmTD.ConvertTo(null, CultureInfo.InvariantCulture, _image, typeof(Size))); 209Assert.Throws<NotSupportedException>(() => _imgConvFrmTD.ConvertTo(null, CultureInfo.InvariantCulture, _image, typeof(Bitmap))); 210Assert.Throws<NotSupportedException>(() => _imgConvFrmTD.ConvertTo(null, CultureInfo.InvariantCulture, _image, typeof(Point))); 211Assert.Throws<NotSupportedException>(() => _imgConvFrmTD.ConvertTo(null, CultureInfo.InvariantCulture, _image, typeof(Metafile))); 212Assert.Throws<NotSupportedException>(() => _imgConvFrmTD.ConvertTo(null, CultureInfo.InvariantCulture, _image, typeof(object))); 213Assert.Throws<NotSupportedException>(() => _imgConvFrmTD.ConvertTo(null, CultureInfo.InvariantCulture, _image, typeof(int)));
System\Drawing\ImageFormatConverterTests.cs (16)
72Assert.Throws<NotSupportedException>(() => _imgFmtConv.ConvertFrom(null, CultureInfo.InvariantCulture, ImageFormat.Bmp)); 73Assert.Throws<NotSupportedException>(() => _imgFmtConv.ConvertFrom(null, CultureInfo.InvariantCulture, ImageFormat.Bmp.Guid)); 74Assert.Throws<NotSupportedException>(() => _imgFmtConv.ConvertFrom(null, CultureInfo.InvariantCulture, new object())); 75Assert.Throws<NotSupportedException>(() => _imgFmtConv.ConvertFrom(null, CultureInfo.InvariantCulture, 10)); 77Assert.Throws<NotSupportedException>(() => _imgFmtConvFrmTD.ConvertFrom(null, CultureInfo.InvariantCulture, ImageFormat.Bmp)); 78Assert.Throws<NotSupportedException>(() => _imgFmtConvFrmTD.ConvertFrom(null, CultureInfo.InvariantCulture, ImageFormat.Bmp.Guid)); 79Assert.Throws<NotSupportedException>(() => _imgFmtConvFrmTD.ConvertFrom(null, CultureInfo.InvariantCulture, new object())); 80Assert.Throws<NotSupportedException>(() => _imgFmtConvFrmTD.ConvertFrom(null, CultureInfo.InvariantCulture, 10)); 146Assert.Throws<NotSupportedException>(() => _imgFmtConv.ConvertTo(null, CultureInfo.InvariantCulture, _imageFmt, typeof(ImageFormat))); 147Assert.Throws<NotSupportedException>(() => _imgFmtConv.ConvertTo(null, CultureInfo.InvariantCulture, _imageFmt, typeof(Guid))); 148Assert.Throws<NotSupportedException>(() => _imgFmtConv.ConvertTo(null, CultureInfo.InvariantCulture, _imageFmt, typeof(object))); 149Assert.Throws<NotSupportedException>(() => _imgFmtConv.ConvertTo(null, CultureInfo.InvariantCulture, _imageFmt, typeof(int))); 151Assert.Throws<NotSupportedException>(() => _imgFmtConvFrmTD.ConvertTo(null, CultureInfo.InvariantCulture, _imageFmt, typeof(ImageFormat))); 152Assert.Throws<NotSupportedException>(() => _imgFmtConvFrmTD.ConvertTo(null, CultureInfo.InvariantCulture, _imageFmt, typeof(Guid))); 153Assert.Throws<NotSupportedException>(() => _imgFmtConvFrmTD.ConvertTo(null, CultureInfo.InvariantCulture, _imageFmt, typeof(object))); 154Assert.Throws<NotSupportedException>(() => _imgFmtConvFrmTD.ConvertTo(null, CultureInfo.InvariantCulture, _imageFmt, typeof(int)));
System\Drawing\Printing\MarginsConverterTests.cs (6)
109Assert.Throws<NotSupportedException>(() => mc.ConvertFrom(context, null, null)); 110Assert.Throws<NotSupportedException>(() => mc.ConvertFrom(context, culture, null)); 111Assert.Throws<NotSupportedException>(() => mc.ConvertFrom(context, culture, Guid.NewGuid())); 139Assert.Throws<NotSupportedException>(() => mc.ConvertTo(context, culture, new object(), typeof(object))); 140Assert.Throws<NotSupportedException>(() => mc.ConvertTo(context, culture, 12, typeof(int))); 141Assert.Throws<NotSupportedException>(() => mc.ConvertTo(context, culture, guid, typeof(Guid)));
System.Formats.Nrbf (2)
System\Formats\Nrbf\NrbfDecoder.cs (2)
52/// <exception cref="NotSupportedException">The stream does not support reading or seeking.</exception> 105/// <exception cref="NotSupportedException">
System.IO.Compression (10)
System\IO\Compression\ZipArchive.cs (4)
222/// <exception cref="NotSupportedException">The ZipArchive does not support reading.</exception> 261/// <exception cref="NotSupportedException">The ZipArchive does not support writing.</exception> 275/// <exception cref="NotSupportedException">The ZipArchive does not support writing.</exception> 325/// <exception cref="NotSupportedException">The ZipArchive does not support reading.</exception>
System\IO\Compression\ZipArchiveEntry.cs (2)
266/// <exception cref="NotSupportedException">An attempt to set this property was made, but the ZipArchive that this entry belongs to was 321/// <exception cref="NotSupportedException">The ZipArchive that this entry belongs to was opened in a mode other than ZipArchiveMode.Update. </exception>
System\IO\Compression\ZLibStream.cs (4)
69/// <summary>This property is not supported and always throws a <see cref="NotSupportedException"/>.</summary> 72/// <summary>This property is not supported and always throws a <see cref="NotSupportedException"/>.</summary> 95/// <summary>This method is not supported and always throws a <see cref="NotSupportedException"/>.</summary> 98/// <summary>This method is not supported and always throws a <see cref="NotSupportedException"/>.</summary>
System.IO.Compression.Brotli (9)
System\IO\Compression\BrotliStream.cs (7)
151/// <summary>This property is not supported and always throws a <see cref="System.NotSupportedException" />.</summary> 155/// <exception cref="System.NotSupportedException">This property is not supported on this stream.</exception> 157/// <summary>This property is not supported and always throws a <see cref="System.NotSupportedException" />.</summary> 159/// <exception cref="System.NotSupportedException">This property is not supported on this stream.</exception> 161/// <summary>This property is not supported and always throws a <see cref="System.NotSupportedException" />.</summary> 163/// <exception cref="System.NotSupportedException">This property is not supported on this stream.</exception> 169/// <summary>This property is not supported and always throws a <see cref="System.NotSupportedException" />.</summary>
System\IO\Compression\dec\BrotliStream.Decompress.cs (1)
96/// <exception cref="System.NotSupportedException">The current <see cref="System.IO.Compression.BrotliStream" /> implementation does not support the read operation.</exception>
System\IO\Compression\enc\BrotliStream.Compress.cs (1)
110/// <exception cref="System.NotSupportedException">The current <see cref="System.IO.Compression.BrotliStream" /> implementation does not support the write operation.</exception>
System.IO.Compression.ZipFile (46)
System\IO\Compression\ZipFile.Create.Async.cs (9)
28/// <exception cref="NotSupportedException">archiveFileName is in an invalid format. </exception> 53/// <exception cref="NotSupportedException"><code>archiveFileName</code> is in an invalid format.</exception> 92/// <exception cref="NotSupportedException"><code>archiveFileName</code> is in an invalid format.</exception> 208/// <exception cref="NotSupportedException"><code>sourceDirectoryName</code> or <code>destinationArchiveFileName</code> is 252/// <exception cref="NotSupportedException"><code>sourceDirectoryName</code> or <code>destinationArchiveFileName</code> 300/// <exception cref="NotSupportedException"><code>sourceDirectoryName</code> or <code>destinationArchiveFileName</code> 360/// <exception cref="NotSupportedException"><paramref name="sourceDirectoryName" /> contains an invalid format.</exception> 388/// <exception cref="NotSupportedException"><paramref name="sourceDirectoryName" /> contains an invalid format.</exception> 418/// <exception cref="NotSupportedException"><paramref name="sourceDirectoryName" /> contains an invalid format.</exception>
System\IO\Compression\ZipFile.Create.cs (9)
26/// <exception cref="NotSupportedException">archiveFileName is in an invalid format. </exception> 49/// <exception cref="NotSupportedException"><code>archiveFileName</code> is in an invalid format.</exception> 86/// <exception cref="NotSupportedException"><code>archiveFileName</code> is in an invalid format.</exception> 198/// <exception cref="NotSupportedException"><code>sourceDirectoryName</code> or <code>destinationArchiveFileName</code> is 240/// <exception cref="NotSupportedException"><code>sourceDirectoryName</code> or <code>destinationArchiveFileName</code> 286/// <exception cref="NotSupportedException"><code>sourceDirectoryName</code> or <code>destinationArchiveFileName</code> 343/// <exception cref="NotSupportedException"><paramref name="sourceDirectoryName" /> contains an invalid format.</exception> 369/// <exception cref="NotSupportedException"><paramref name="sourceDirectoryName" /> contains an invalid format.</exception> 397/// <exception cref="NotSupportedException"><paramref name="sourceDirectoryName" /> contains an invalid format.</exception>
System\IO\Compression\ZipFile.Extract.Async.cs (8)
33/// <exception cref="NotSupportedException">sourceArchive or destinationDirectoryName is in an invalid format. </exception> 67/// <exception cref="NotSupportedException">sourceArchive or destinationDirectoryName is in an invalid format. </exception> 102/// <exception cref="NotSupportedException">sourceArchive or destinationDirectoryName is in an invalid format. </exception> 158/// <exception cref="NotSupportedException">sourceArchive or destinationDirectoryName is in an invalid format. </exception> 224/// <exception cref="NotSupportedException"><paramref name="destinationDirectoryName" /> contains an invalid format.</exception> 255/// <exception cref="NotSupportedException"><paramref name="destinationDirectoryName" /> contains an invalid format.</exception> 294/// <exception cref="NotSupportedException"><paramref name="destinationDirectoryName" /> contains an invalid format.</exception> 334/// <exception cref="NotSupportedException"><paramref name="destinationDirectoryName" /> contains an invalid format.</exception>
System\IO\Compression\ZipFile.Extract.cs (8)
31/// <exception cref="NotSupportedException">sourceArchive or destinationDirectoryName is in an invalid format. </exception> 63/// <exception cref="NotSupportedException">sourceArchive or destinationDirectoryName is in an invalid format. </exception> 96/// <exception cref="NotSupportedException">sourceArchive or destinationDirectoryName is in an invalid format. </exception> 150/// <exception cref="NotSupportedException">sourceArchive or destinationDirectoryName is in an invalid format. </exception> 210/// <exception cref="NotSupportedException"><paramref name="destinationDirectoryName" /> contains an invalid format.</exception> 239/// <exception cref="NotSupportedException"><paramref name="destinationDirectoryName" /> contains an invalid format.</exception> 276/// <exception cref="NotSupportedException"><paramref name="destinationDirectoryName" /> contains an invalid format.</exception> 314/// <exception cref="NotSupportedException"><paramref name="destinationDirectoryName" /> contains an invalid format.</exception>
System\IO\Compression\ZipFileExtensions.ZipArchive.Create.Async.cs (2)
36/// <exception cref="NotSupportedException">sourceFileName is in an invalid format or the ZipArchive does not support writing.</exception> 68/// <exception cref="NotSupportedException">sourceFileName is in an invalid format or the ZipArchive does not support writing.</exception>
System\IO\Compression\ZipFileExtensions.ZipArchive.Create.cs (2)
36/// <exception cref="NotSupportedException">sourceFileName is in an invalid format or the ZipArchive does not support writing.</exception> 67/// <exception cref="NotSupportedException">sourceFileName is in an invalid format or the ZipArchive does not support writing.</exception>
System\IO\Compression\ZipFileExtensions.ZipArchive.Extract.Async.cs (2)
30/// <exception cref="NotSupportedException">destinationDirectoryName is in an invalid format. </exception> 62/// <exception cref="NotSupportedException">destinationDirectoryName is in an invalid format. </exception>
System\IO\Compression\ZipFileExtensions.ZipArchive.Extract.cs (2)
28/// <exception cref="NotSupportedException">destinationDirectoryName is in an invalid format. </exception> 58/// <exception cref="NotSupportedException">destinationDirectoryName is in an invalid format. </exception>
System\IO\Compression\ZipFileExtensions.ZipArchiveEntry.Extract.Async.cs (2)
27/// <exception cref="NotSupportedException">destinationFileName is in an invalid format 56/// <exception cref="NotSupportedException">destinationFileName is in an invalid format
System\IO\Compression\ZipFileExtensions.ZipArchiveEntry.Extract.cs (2)
24/// <exception cref="NotSupportedException">destinationFileName is in an invalid format 53/// <exception cref="NotSupportedException">destinationFileName is in an invalid format
System.IO.Hashing (2)
System\IO\Hashing\NonCryptographicHashAlgorithm.cs (2)
295/// <returns>This method will always throw a <see cref="NotSupportedException"/>.</returns> 296/// <exception cref="NotSupportedException">In all cases.</exception>
System.IO.Packaging (1)
System\IO\Packaging\PackagePart.cs (1)
242/// <exception cref="NotSupportedException">By default, this method throws a NotSupportedException. If a subclass wants to
System.IO.Pipelines (1)
System\IO\Pipelines\ThrowHelper.cs (1)
90public static NotSupportedException CreateNotSupportedException_UnflushedBytes() => new NotSupportedException(SR.UnflushedBytesNotSupported);
System.Linq.Expressions (6)
System\Linq\Expressions\Error.cs (4)
66internal static NotSupportedException CollectionReadOnly() 1155internal static NotSupportedException TryNotSupportedForMethodsWithRefArgs(object? p0) 1162internal static NotSupportedException TryNotSupportedForValueTypeInstances(object? p0) 1203internal static NotSupportedException NotSupported()
System\Linq\Expressions\Interpreter\CallInstruction.cs (2)
97if (!(tie.InnerException is NotSupportedException)) 104catch (NotSupportedException)
System.Linq.Parallel (42)
System\Linq\ParallelEnumerable.cs (42)
634/// <see cref="System.NotSupportedException"/> when invoked. 642/// <returns>This overload always throws a <see cref="System.NotSupportedException"/>.</returns> 643/// <exception cref="System.NotSupportedException">The exception that occurs when this method is called.</exception> 693/// This method is marked as obsolete and always throws <see cref="System.NotSupportedException"/> when invoked. 704/// <returns>This overload always throws a <see cref="System.NotSupportedException"/>.</returns> 705/// <exception cref="System.NotSupportedException">The exception that occurs when this method is called.</exception> 759/// This method is marked as obsolete and always throws <see cref="System.NotSupportedException"/> when invoked. 771/// <returns>This overload always throws a <see cref="System.NotSupportedException"/>.</returns> 772/// <exception cref="System.NotSupportedException">The exception that occurs when this method is called.</exception> 825/// This method is marked as obsolete and always throws <see cref="System.NotSupportedException"/> when called. 836/// <returns>This overload always throws a <see cref="System.NotSupportedException"/>.</returns> 837/// <exception cref="System.NotSupportedException">The exception that occurs when this method is called.</exception> 893/// This method is marked as obsolete and always throws <see cref="System.NotSupportedException"/> when called. 905/// <returns>This overload always throws a <see cref="System.NotSupportedException"/>.</returns> 906/// <exception cref="System.NotSupportedException">The exception that occurs when this method is called.</exception> 4278/// This method is marked as obsolete and always throws <see cref="System.NotSupportedException"/> when called. 4283/// <returns>This overload always throws a <see cref="System.NotSupportedException"/>.</returns> 4284/// <exception cref="System.NotSupportedException">The exception that occurs when this method is called.</exception> 4331/// This method is marked as obsolete and always throws <see cref="System.NotSupportedException"/> when called. 4336/// <returns>This overload always throws a <see cref="System.NotSupportedException"/>.</returns> 4337/// <exception cref="System.NotSupportedException">Thrown every time this method is called.</exception> 4437/// This method is marked as obsolete and always throws <see cref="System.NotSupportedException"/> when called. 4443/// <returns>This overload always throws a <see cref="System.NotSupportedException"/>.</returns> 4444/// <exception cref="System.NotSupportedException">Thrown every time this method is called.</exception> 4518/// This method is marked as obsolete and always throws <see cref="System.NotSupportedException"/> when called. 4523/// <returns>This overload always throws a <see cref="System.NotSupportedException"/>.</returns> 4524/// <exception cref="System.NotSupportedException">The exception that occurs when this method is called.</exception> 4560/// This method is marked as obsolete and always throws <see cref="System.NotSupportedException"/> when called. 4566/// <returns>This overload always throws a <see cref="System.NotSupportedException"/>.</returns> 4567/// <exception cref="System.NotSupportedException">The exception that occurs when this method is called.</exception> 4608/// This method is marked as obsolete and always throws <see cref="System.NotSupportedException"/> when called. 4613/// <returns>This overload always throws a <see cref="System.NotSupportedException"/>.</returns> 4614/// <exception cref="System.NotSupportedException">The exception that occurs when this method is called.</exception> 4655/// This method is marked as obsolete and always throws <see cref="System.NotSupportedException"/> when called. 4661/// <returns>This overload always throws a <see cref="System.NotSupportedException"/>.</returns> 4662/// <exception cref="System.NotSupportedException">The exception that occurs when this method is called.</exception> 4705/// This method is marked as obsolete and always throws <see cref="System.NotSupportedException"/> when called. 4710/// <returns>This overload always throws a <see cref="System.NotSupportedException"/>.</returns> 4711/// <exception cref="System.NotSupportedException">The exception that occurs when this method is called.</exception> 4751/// This method is marked as obsolete and always throws <see cref="System.NotSupportedException"/> when called. 4757/// <returns>This overload always throws a <see cref="System.NotSupportedException"/>.</returns> 4758/// <exception cref="System.NotSupportedException">The exception that occurs when this method is called.</exception>
System.Net.Quic (8)
System\Net\Quic\QuicStream.Stream.cs (8)
21/// <summary>Gets the length of the data available on the stream. This property is not currently supported and always throws a <see cref="NotSupportedException" />.</summary> 22/// <exception cref="NotSupportedException">In all cases.</exception> 26/// <summary>Gets or sets the position within the current stream. This property is not currently supported and always throws a <see cref="NotSupportedException" />.</summary> 27/// <exception cref="NotSupportedException">In all cases.</exception> 31/// <summary>Sets the current position of the stream to the given value. This method is not currently supported and always throws a <see cref="NotSupportedException" />.</summary> 32/// <exception cref="NotSupportedException">In all cases.</exception> 36/// <summary>Sets the length of the stream. This method is not currently supported and always throws a <see cref="NotSupportedException" />.</summary> 37/// <exception cref="NotSupportedException">In all cases.</exception>
System.Net.Requests (1)
System\Net\ExceptionHelper.cs (1)
8internal static NotSupportedException PropertyNotSupportedException => new NotSupportedException(SR.net_PropertyNotSupportedException);
System.Net.Sockets (5)
System\Net\Sockets\Socket.cs (2)
1290/// <exception cref="NotSupportedException">The <see cref="Socket"/> object is not connected to a remote host.</exception> 1318/// <exception cref="NotSupportedException">The <see cref="Socket"/> object is not connected to a remote host.</exception>
System\Net\Sockets\Socket.Tasks.cs (3)
730/// <exception cref="NotSupportedException">The <see cref="Socket"/> object is not connected to a remote host.</exception> 748/// <exception cref="NotSupportedException">The <see cref="Socket"/> object is not connected to a remote host.</exception> 760var ex = new NotSupportedException(SR.net_notconnected);
System.Net.WebClient (1)
System\Net\WebClient.cs (1)
1100catch (Exception e) when (e is NotImplementedException || e is NotSupportedException) // some types do this
System.Numerics.Tensors (2)
System\Numerics\Tensors\netcore\ReadOnlyTensorSpan_1.cs (2)
365/// <exception cref="NotSupportedException">Calls to this method are not supported.</exception> 386/// <exception cref="NotSupportedException">Calls to this method are not supported.</exception>
System.Private.CoreLib (589)
src\libraries\System.Private.CoreLib\src\Internal\Runtime\InteropServices\ComponentActivator.cs (1)
249if (e is NotSupportedException)
src\libraries\System.Private.CoreLib\src\System\Collections\Concurrent\ConcurrentQueue.cs (1)
166/// <exception cref="NotSupportedException">The SyncRoot property is not supported.</exception>
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\EqualityComparer.cs (1)
24/// will throw <see cref="NotSupportedException"/>.
src\libraries\System.Private.CoreLib\src\System\IO\Enumeration\FileSystemEnumerator.cs (1)
97/// <summary>Always throws <see cref="NotSupportedException" />.</summary>
src\libraries\System.Private.CoreLib\src\System\IO\File.cs (7)
654/// <exception cref="NotSupportedException"><paramref name="path"/> is in an invalid format.</exception> 687/// <exception cref="NotSupportedException"><paramref name="path"/> is in an invalid format.</exception> 758/// <exception cref="NotSupportedException"><paramref name="path"/> is in an invalid format.</exception> 784/// <exception cref="NotSupportedException"><paramref name="path"/> is in an invalid format.</exception> 808/// <exception cref="NotSupportedException"><paramref name="path"/> is in an invalid format.</exception> 965/// <exception cref="NotSupportedException"><paramref name="path"/> is in an invalid format.</exception> 998/// <exception cref="NotSupportedException"><paramref name="path"/> is in an invalid format.</exception>
src\libraries\System.Private.CoreLib\src\System\IO\Strategies\FileStreamHelpers.cs (1)
56e is NotSupportedException ||
src\libraries\System.Private.CoreLib\src\System\IO\Stream.cs (1)
984/// <exception cref="NotSupportedException"><paramref name="destination"/> does not support writing.</exception>
src\libraries\System.Private.CoreLib\src\System\Numerics\INumberBase.cs (3)
53/// <exception cref="NotSupportedException"><typeparamref name="TOther" /> is not supported.</exception> 79/// <exception cref="NotSupportedException"><typeparamref name="TOther" /> is not supported.</exception> 104/// <exception cref="NotSupportedException"><typeparamref name="TOther" /> is not supported.</exception>
src\libraries\System.Private.CoreLib\src\System\Numerics\Vector.cs (30)
126/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="TFrom" />) or the type of the target (<typeparamref name="TTo" />) is not supported.</exception> 145/// <exception cref="NotSupportedException">The type of <paramref name="value" /> (<typeparamref name="T" />) is not supported.</exception> 153/// <exception cref="NotSupportedException">The type of <paramref name="value" /> (<typeparamref name="T" />) is not supported.</exception> 161/// <exception cref="NotSupportedException">The type of <paramref name="value" /> (<typeparamref name="T" />) is not supported.</exception> 169/// <exception cref="NotSupportedException">The type of <paramref name="value" /> (<typeparamref name="T" />) is not supported.</exception> 177/// <exception cref="NotSupportedException">The type of <paramref name="value" /> (<typeparamref name="T" />) is not supported.</exception> 185/// <exception cref="NotSupportedException">The type of <paramref name="value" /> (<typeparamref name="T" />) is not supported.</exception> 193/// <exception cref="NotSupportedException">The type of <paramref name="value" /> (<typeparamref name="T" />) is not supported.</exception> 202/// <exception cref="NotSupportedException">The type of <paramref name="value" /> (<typeparamref name="T" />) is not supported.</exception> 211/// <exception cref="NotSupportedException">The type of <paramref name="value" /> (<typeparamref name="T" />) is not supported.</exception> 219/// <exception cref="NotSupportedException">The type of <paramref name="value" /> (<typeparamref name="T" />) is not supported.</exception> 228/// <exception cref="NotSupportedException">The type of <paramref name="value" /> (<typeparamref name="T" />) is not supported.</exception> 237/// <exception cref="NotSupportedException">The type of <paramref name="value" /> (<typeparamref name="T" />) is not supported.</exception> 718/// <exception cref="NotSupportedException">The type of <paramref name="value" /> (<typeparamref name="T" />) is not supported.</exception> 737/// <exception cref="NotSupportedException">The type of <paramref name="values" /> (<typeparamref name="T" />) is not supported.</exception> 752/// <exception cref="NotSupportedException">The type of <paramref name="value" /> (<typeparamref name="T" />) is not supported.</exception> 765/// <exception cref="NotSupportedException">The type of <paramref name="value" /> (<typeparamref name="T" />) is not supported.</exception> 1101/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 1849/// <exception cref="NotSupportedException">The type of <paramref name="source" /> (<typeparamref name="T" />) is not supported.</exception> 1858/// <exception cref="NotSupportedException">The type of <paramref name="source" /> (<typeparamref name="T" />) is not supported.</exception> 1879/// <exception cref="NotSupportedException">The type of <paramref name="source" /> (<typeparamref name="T" />) is not supported.</exception> 1888/// <exception cref="NotSupportedException">The type of <paramref name="source" /> (<typeparamref name="T" />) is not supported.</exception> 1903/// <exception cref="NotSupportedException">The type of <paramref name="source" /> (<typeparamref name="T" />) is not supported.</exception> 2936/// <exception cref="NotSupportedException">The type of <paramref name="source" /> (<typeparamref name="T" />) is not supported.</exception> 2945/// <exception cref="NotSupportedException">The type of <paramref name="source" /> (<typeparamref name="T" />) is not supported.</exception> 2966/// <exception cref="NotSupportedException">The type of <paramref name="source" /> (<typeparamref name="T" />) is not supported.</exception> 2975/// <exception cref="NotSupportedException">The type of <paramref name="source" /> (<typeparamref name="T" />) is not supported.</exception> 2990/// <exception cref="NotSupportedException">The type of <paramref name="source" /> (<typeparamref name="T" />) is not supported.</exception> 3030/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 3467/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception>
src\libraries\System.Private.CoreLib\src\System\Numerics\Vector_1.cs (19)
128/// <exception cref="NotSupportedException">The type of the current instance (<typeparamref name="T" />) is not supported.</exception> 136/// <exception cref="NotSupportedException">The type of the current instance (<typeparamref name="T" />) is not supported.</exception> 148/// <exception cref="NotSupportedException">The type of the vector (<typeparamref name="T" />) is not supported.</exception> 188/// <exception cref="NotSupportedException">The type of the current instance (<typeparamref name="T" />) is not supported.</exception> 196/// <exception cref="NotSupportedException">The type of the current instance (<typeparamref name="T" />) is not supported.</exception> 212/// <exception cref="NotSupportedException">The type of the current instance (<typeparamref name="T" />) is not supported.</exception> 367/// <exception cref="NotSupportedException">The type of <paramref name="value" /> (<typeparamref name="T" />) is not supported.</exception> 374/// <exception cref="NotSupportedException">The type of <paramref name="value" /> (<typeparamref name="T" />) is not supported.</exception> 381/// <exception cref="NotSupportedException">The type of <paramref name="value" /> (<typeparamref name="T" />) is not supported.</exception> 388/// <exception cref="NotSupportedException">The type of <paramref name="value" /> (<typeparamref name="T" />) is not supported.</exception> 395/// <exception cref="NotSupportedException">The type of <paramref name="value" /> (<typeparamref name="T" />) is not supported.</exception> 402/// <exception cref="NotSupportedException">The type of <paramref name="value" /> (<typeparamref name="T" />) is not supported.</exception> 409/// <exception cref="NotSupportedException">The type of <paramref name="value" /> (<typeparamref name="T" />) is not supported.</exception> 417/// <exception cref="NotSupportedException">The type of <paramref name="value" /> (<typeparamref name="T" />) is not supported.</exception> 425/// <exception cref="NotSupportedException">The type of <paramref name="value" /> (<typeparamref name="T" />) is not supported.</exception> 432/// <exception cref="NotSupportedException">The type of <paramref name="value" /> (<typeparamref name="T" />) is not supported.</exception> 440/// <exception cref="NotSupportedException">The type of <paramref name="value" /> (<typeparamref name="T" />) is not supported.</exception> 448/// <exception cref="NotSupportedException">The type of <paramref name="value" /> (<typeparamref name="T" />) is not supported.</exception> 595/// <exception cref="NotSupportedException">The type of the vector (<typeparamref name="T" />) is not supported.</exception>
src\libraries\System.Private.CoreLib\src\System\ReadOnlySpan.cs (2)
181/// <exception cref="NotSupportedException"> 192/// <exception cref="NotSupportedException">
src\libraries\System.Private.CoreLib\src\System\Reflection\ConstructorInvoker.cs (1)
83/// <exception cref="NotSupportedException">
src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\ILGenerator.cs (2)
207/// <exception cref="NotSupportedException">Emitting debug info is not supported.</exception>" 245/// <exception cref="NotSupportedException">Emitting debug info is not supported.</exception>"
src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\LocalBuilder.cs (1)
34/// <exception cref="NotSupportedException">Emitting debug info is not supported.</exception>"
src\libraries\System.Private.CoreLib\src\System\Reflection\MethodInvoker.cs (1)
113/// <exception cref="NotSupportedException">
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\Unsafe.cs (1)
249/// <exception cref="NotSupportedException">The sizes of <typeparamref name="TFrom" /> and <typeparamref name="TTo" /> are not the same
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\ISimdVector_2.cs (84)
36/// <exception cref="NotSupportedException">The type of the elements in the vector (<typeparamref name="T" />) is not supported.</exception> 40/// <exception cref="NotSupportedException">The type of the elements in the vector (<typeparamref name="T" />) is not supported.</exception> 44/// <exception cref="NotSupportedException">The type of the elements in the vector (<typeparamref name="T" />) is not supported.</exception> 56/// <exception cref="NotSupportedException">The type of the elements in the vector (<typeparamref name="T" />) is not supported.</exception> 60/// <exception cref="NotSupportedException">The type of the elements in the vector (<typeparamref name="T" />) is not supported.</exception> 67/// <exception cref="NotSupportedException">The type of the elements in the vector (<typeparamref name="T" />) is not supported.</exception> 80/// <exception cref="NotSupportedException">The type of the vector (<typeparamref name="T" />) is not supported.</exception> 86/// <exception cref="NotSupportedException">The type of the elements in the vector (<typeparamref name="T" />) is not supported.</exception> 93/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 100/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> and <paramref name="value" /> (<typeparamref name="T" />) is not supported.</exception> 106/// <exception cref="NotSupportedException">The type of <paramref name="vector" />(<typeparamref name="T" />) is not supported.</exception> 119/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> and <paramref name="value" /> (<typeparamref name="T" />) is not supported.</exception> 125/// <exception cref="NotSupportedException">The type of <paramref name="vector" />(<typeparamref name="T" />) is not supported.</exception> 132/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 139/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 152/// <exception cref="NotSupportedException">The type of the elements in the vector (<typeparamref name="T" />) is not supported.</exception> 160/// <exception cref="NotSupportedException">The type of the elements in the vector (<typeparamref name="T" />) is not supported.</exception> 168/// <exception cref="NotSupportedException">The type of the elements in the vector (<typeparamref name="T" />) is not supported.</exception> 182/// <exception cref="NotSupportedException">The type of the elements in the vector (<typeparamref name="T" />) is not supported.</exception> 192/// <exception cref="NotSupportedException">The type of the elements in the vector (<typeparamref name="T" />) is not supported.</exception> 200/// <exception cref="NotSupportedException">The type of the elements in the vector (<typeparamref name="T" />) is not supported.</exception> 214/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> and <paramref name="value" /> (<typeparamref name="T" />) is not supported.</exception> 220/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 226/// <exception cref="NotSupportedException">The type of the elements in the vector (<typeparamref name="T" />) is not supported.</exception> 233/// <exception cref="NotSupportedException">The type of the elements in the vector (<typeparamref name="T" />) is not supported.</exception> 242/// <exception cref="NotSupportedException">The type of the elements in the vector (<typeparamref name="T" />) is not supported.</exception> 250/// <exception cref="NotSupportedException">The type of the elements in the vector (<typeparamref name="T" />) is not supported.</exception> 263/// <exception cref="NotSupportedException">The type of the elements in the vector (<typeparamref name="T" />) is not supported.</exception> 269/// <exception cref="NotSupportedException">The type of the elements in the vector (<typeparamref name="T" />) is not supported.</exception> 283/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 296/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 303/// <exception cref="NotSupportedException">The type of the elements in the vector (<typeparamref name="T" />) is not supported.</exception> 310/// <exception cref="NotSupportedException">The type of the elements in the vector (<typeparamref name="T" />) is not supported.</exception> 317/// <exception cref="NotSupportedException">The type of the elements in the vector (<typeparamref name="T" />) is not supported.</exception> 330/// <exception cref="NotSupportedException">The type of the elements in the vector (<typeparamref name="T" />) is not supported.</exception> 337/// <exception cref="NotSupportedException">The type of the elements in the vector (<typeparamref name="T" />) is not supported.</exception> 344/// <exception cref="NotSupportedException">The type of the elements in the vector (<typeparamref name="T" />) is not supported.</exception> 351/// <exception cref="NotSupportedException">The type of the elements in the vector (<typeparamref name="T" />) is not supported.</exception> 358/// <exception cref="NotSupportedException">The type of the elements in the vector (<typeparamref name="T" />) is not supported.</exception> 365/// <exception cref="NotSupportedException">The type of the elements in the vector (<typeparamref name="T" />) is not supported.</exception> 372/// <exception cref="NotSupportedException">The type of the elements in the vector (<typeparamref name="T" />) is not supported.</exception> 379/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> and <paramref name="value" /> (<typeparamref name="T" />) is not supported.</exception> 385/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 470/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> and <paramref name="value" /> (<typeparamref name="T" />) is not supported.</exception> 476/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 483/// <exception cref="NotSupportedException">The type of the elements in the vector (<typeparamref name="T" />) is not supported.</exception> 490/// <exception cref="NotSupportedException">The type of the elements in the vector (<typeparamref name="T" />) is not supported.</exception> 497/// <exception cref="NotSupportedException">The type of the elements in the vector (<typeparamref name="T" />) is not supported.</exception> 504/// <exception cref="NotSupportedException">The type of the elements in the vector (<typeparamref name="T" />) is not supported.</exception> 511/// <exception cref="NotSupportedException">The type of the elements in the vector (<typeparamref name="T" />) is not supported.</exception> 518/// <exception cref="NotSupportedException">The type of the elements in the vector (<typeparamref name="T" />) is not supported.</exception> 524/// <exception cref="NotSupportedException">The type of <paramref name="source" /> (<typeparamref name="T" />) is not supported.</exception> 530/// <exception cref="NotSupportedException">The type of <paramref name="source" /> (<typeparamref name="T" />) is not supported.</exception> 544/// <exception cref="NotSupportedException">The type of <paramref name="source" /> (<typeparamref name="T" />) is not supported.</exception> 550/// <exception cref="NotSupportedException">The type of the elements in the vector (<typeparamref name="T" />) is not supported.</exception> 557/// <exception cref="NotSupportedException">The type of the elements in the vector (<typeparamref name="T" />) is not supported.</exception> 565/// <exception cref="NotSupportedException">The type of the elements in the vector (<typeparamref name="T" />) is not supported.</exception> 573/// <exception cref="NotSupportedException">The type of the elements in the vector (<typeparamref name="T" />) is not supported.</exception> 581/// <exception cref="NotSupportedException">The type of the elements in the vector (<typeparamref name="T" />) is not supported.</exception> 588/// <exception cref="NotSupportedException">The type of the elements in the vector (<typeparamref name="T" />) is not supported.</exception> 596/// <exception cref="NotSupportedException">The type of the elements in the vector (<typeparamref name="T" />) is not supported.</exception> 604/// <exception cref="NotSupportedException">The type of the elements in the vector (<typeparamref name="T" />) is not supported.</exception> 612/// <exception cref="NotSupportedException">The type of the elements in the vector (<typeparamref name="T" />) is not supported.</exception> 620/// <exception cref="NotSupportedException">The type of the elements in the vector (<typeparamref name="T" />) is not supported.</exception> 627/// <exception cref="NotSupportedException">The type of the elements in the vector (<typeparamref name="T" />) is not supported.</exception> 635/// <exception cref="NotSupportedException">The type of the elements in the vector (<typeparamref name="T" />) is not supported.</exception> 642/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 649/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 666/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 673/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> and <paramref name="value" /> (<typeparamref name="T" />) is not supported.</exception> 679/// <exception cref="NotSupportedException">The type of <paramref name="vector" />(<typeparamref name="T" />) is not supported.</exception> 685/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 714/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 720/// <exception cref="NotSupportedException">The type of <paramref name="source" /> (<typeparamref name="T" />) is not supported.</exception> 726/// <exception cref="NotSupportedException">The type of <paramref name="source" /> (<typeparamref name="T" />) is not supported.</exception> 740/// <exception cref="NotSupportedException">The type of <paramref name="source" /> (<typeparamref name="T" />) is not supported.</exception> 746/// <exception cref="NotSupportedException">The type of the elements in the vector (<typeparamref name="T" />) is not supported.</exception> 753/// <exception cref="NotSupportedException">The type of the elements in the vector (<typeparamref name="T" />) is not supported.</exception> 760/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 766/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 772/// <exception cref="NotSupportedException">The type of the elements in the vector (<typeparamref name="T" />) is not supported.</exception> 784/// <exception cref="NotSupportedException">The type of the elements in the vector (<typeparamref name="T" />) is not supported.</exception> 802/// <exception cref="NotSupportedException">The type of the elements in the vector (<typeparamref name="T" />) is not supported.</exception> 809/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception>
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\SimdVectorExtensions.cs (12)
17/// <exception cref="NotSupportedException">The type of the elements in the vector (<typeparamref name="T" />) is not supported.</exception> 33/// <exception cref="NotSupportedException">The type of the elements in the vector (<typeparamref name="T" />) is not supported.</exception> 46/// <exception cref="NotSupportedException">The type of the elements in the vector (<typeparamref name="T" />) is not supported.</exception> 60/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 72/// <exception cref="NotSupportedException">The type of <paramref name="source" /> (<typeparamref name="T" />) is not supported.</exception> 84/// <exception cref="NotSupportedException">The type of <paramref name="source" /> (<typeparamref name="T" />) is not supported.</exception> 97/// <exception cref="NotSupportedException">The type of <paramref name="source" /> (<typeparamref name="T" />) is not supported.</exception> 109/// <exception cref="NotSupportedException">The type of the elements in the vector (<typeparamref name="T" />) is not supported.</exception> 122/// <exception cref="NotSupportedException">The type of the elements in the vector (<typeparamref name="T" />) is not supported.</exception> 134/// <exception cref="NotSupportedException">The type of the elements in the vector (<typeparamref name="T" />) is not supported.</exception> 147/// <exception cref="NotSupportedException">The type of the elements in the vector (<typeparamref name="T" />) is not supported.</exception> 162/// <exception cref="NotSupportedException">The type of the elements in the vector (<typeparamref name="T" />) is not supported.</exception>
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector128.cs (76)
56/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 83/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 149/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="TFrom" />) or the type of the target (<typeparamref name="TTo" />) is not supported.</exception> 168/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 176/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 184/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 192/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 200/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 208/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 216/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 225/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 234/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 242/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 251/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 260/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 270/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 279/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 348/// <exception cref="NotSupportedException">The type of <paramref name="condition" />, <paramref name="left" />, and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 644/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> and <paramref name="destination" /> (<typeparamref name="T" />) is not supported.</exception> 666/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> and <paramref name="destination" /> (<typeparamref name="T" />) is not supported.</exception> 691/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> and <paramref name="destination" /> (<typeparamref name="T" />) is not supported.</exception> 772/// <exception cref="NotSupportedException">The type of <paramref name="value" /> (<typeparamref name="T" />) is not supported.</exception> 872/// <exception cref="NotSupportedException">The type of <paramref name="values" /> (<typeparamref name="T" />) is not supported.</exception> 893/// <exception cref="NotSupportedException">The type of <paramref name="values" /> (<typeparamref name="T" />) is not supported.</exception> 913/// <exception cref="NotSupportedException">The type of <paramref name="values" /> (<typeparamref name="T" />) is not supported.</exception> 1129/// <exception cref="NotSupportedException">The type of <paramref name="value" /> (<typeparamref name="T" />) is not supported.</exception> 1138/// <exception cref="NotSupportedException">The type of <paramref name="lower" /> and <paramref name="upper" /> (<typeparamref name="T" />) is not supported.</exception> 1241/// <exception cref="NotSupportedException">The type of <paramref name="value" /> (<typeparamref name="T" />) is not supported.</exception> 1326/// <exception cref="NotSupportedException">The type of <paramref name="value" /> (<typeparamref name="T" />) is not supported.</exception> 1468/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 1485/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 1495/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 1511/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 1520/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 1574/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 1656/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 1675/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 1687/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 1700/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 1716/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 1730/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 1744/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 1760/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 1774/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 2124/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 2140/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 2154/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 2168/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 2184/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 2198/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 2211/// <exception cref="NotSupportedException">The type of <paramref name="source" /> (<typeparamref name="T" />) is not supported.</exception> 2220/// <exception cref="NotSupportedException">The type of <paramref name="source" /> (<typeparamref name="T" />) is not supported.</exception> 2241/// <exception cref="NotSupportedException">The type of <paramref name="source" /> (<typeparamref name="T" />) is not supported.</exception> 2250/// <exception cref="NotSupportedException">The type of <paramref name="source" /> (<typeparamref name="T" />) is not supported.</exception> 2265/// <exception cref="NotSupportedException">The type of <paramref name="source" /> (<typeparamref name="T" />) is not supported.</exception> 2540/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 2549/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 2558/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 2700/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 2732/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 3689/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 3703/// <exception cref="NotSupportedException">The type of <paramref name="source" /> (<typeparamref name="T" />) is not supported.</exception> 3712/// <exception cref="NotSupportedException">The type of <paramref name="source" /> (<typeparamref name="T" />) is not supported.</exception> 3733/// <exception cref="NotSupportedException">The type of <paramref name="source" /> (<typeparamref name="T" />) is not supported.</exception> 3759/// <exception cref="NotSupportedException">The type of <paramref name="source" /> (<typeparamref name="T" />) is not supported.</exception> 3774/// <exception cref="NotSupportedException">The type of <paramref name="source" /> (<typeparamref name="T" />) is not supported.</exception> 3790/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 3798/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 3816/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 3828/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 3844/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 3898/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> and <paramref name="destination" /> (<typeparamref name="T" />) is not supported.</exception> 4182/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 4202/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 4219/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 4236/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception>
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector128.Numerics.cs (2)
133/// <exception cref="NotSupportedException">The type of <paramref name="value" /> (<typeparamref name="T" />) is not supported.</exception> 212/// <exception cref="NotSupportedException">The type of <paramref name="value" /> (<typeparamref name="T" />) is not supported.</exception>
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector128_1.cs (23)
38/// <exception cref="NotSupportedException">The type of the vector (<typeparamref name="T" />) is not supported.</exception> 46/// <exception cref="NotSupportedException">The type of the vector (<typeparamref name="T" />) is not supported.</exception> 58/// <exception cref="NotSupportedException">The type of the vector (<typeparamref name="T" />) is not supported.</exception> 101/// <exception cref="NotSupportedException">The type of the current instance (<typeparamref name="T" />) is not supported.</exception> 109/// <exception cref="NotSupportedException">The type of the vector (<typeparamref name="T" />) is not supported.</exception> 126/// <exception cref="NotSupportedException">The type of the vector (<typeparamref name="T" />) is not supported.</exception> 133/// <exception cref="NotSupportedException">The type of the vector (<typeparamref name="T" />) is not supported.</exception> 148/// <exception cref="NotSupportedException">The type of the vector (<typeparamref name="T" />) is not supported.</exception> 163/// <exception cref="NotSupportedException">The type of the vector (<typeparamref name="T" />) is not supported.</exception> 178/// <exception cref="NotSupportedException">The type of the vector (<typeparamref name="T" />) is not supported.</exception> 207/// <exception cref="NotSupportedException">The type of the vector (<typeparamref name="T" />) is not supported.</exception> 220/// <exception cref="NotSupportedException">The type of the vector (<typeparamref name="T" />) is not supported.</exception> 235/// <exception cref="NotSupportedException">The type of the vector (<typeparamref name="T" />) is not supported.</exception> 257/// <exception cref="NotSupportedException">The type of the vector (<typeparamref name="T" />) is not supported.</exception> 272/// <exception cref="NotSupportedException">The type of the vector (<typeparamref name="T" />) is not supported.</exception> 287/// <exception cref="NotSupportedException">The type of the vector (<typeparamref name="T" />) is not supported.</exception> 295/// <exception cref="NotSupportedException">The type of the vector (<typeparamref name="T" />) is not supported.</exception> 324/// <exception cref="NotSupportedException">The type of the vector (<typeparamref name="T" />) is not supported.</exception> 338/// <exception cref="NotSupportedException">The type of the vector (<typeparamref name="T" />) is not supported.</exception> 360/// <exception cref="NotSupportedException">The type of the vector (<typeparamref name="T" />) is not supported.</exception> 385/// <exception cref="NotSupportedException">The type of the vector (<typeparamref name="T" />) is not supported.</exception> 427/// <exception cref="NotSupportedException">The type of the vector (<typeparamref name="T" />) is not supported.</exception> 443/// <exception cref="NotSupportedException">The type of the vector (<typeparamref name="T" />) is not supported.</exception>
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector256.cs (80)
60/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 87/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 120/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 154/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="TFrom" />) or the type of the target (<typeparamref name="TTo" />) is not supported.</exception> 173/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 181/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 189/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 197/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 205/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 213/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 221/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 230/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 239/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 247/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 256/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 265/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 274/// <exception cref="NotSupportedException">The type of <paramref name="value" /> (<typeparamref name="T" />) is not supported.</exception> 298/// <exception cref="NotSupportedException">The type of <paramref name="value" /> (<typeparamref name="T" />) is not supported.</exception> 323/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 332/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 401/// <exception cref="NotSupportedException">The type of <paramref name="condition" />, <paramref name="left" />, and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 671/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> and <paramref name="destination" /> (<typeparamref name="T" />) is not supported.</exception> 693/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> and <paramref name="destination" /> (<typeparamref name="T" />) is not supported.</exception> 718/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> and <paramref name="destination" /> (<typeparamref name="T" />) is not supported.</exception> 799/// <exception cref="NotSupportedException">The type of <paramref name="value" /> (<typeparamref name="T" />) is not supported.</exception> 899/// <exception cref="NotSupportedException">The type of <paramref name="values" /> (<typeparamref name="T" />) is not supported.</exception> 920/// <exception cref="NotSupportedException">The type of <paramref name="values" /> (<typeparamref name="T" />) is not supported.</exception> 940/// <exception cref="NotSupportedException">The type of <paramref name="values" /> (<typeparamref name="T" />) is not supported.</exception> 1224/// <exception cref="NotSupportedException">The type of <paramref name="value" /> (<typeparamref name="T" />) is not supported.</exception> 1232/// <exception cref="NotSupportedException">The type of <paramref name="value" /> (<typeparamref name="T" />) is not supported.</exception> 1241/// <exception cref="NotSupportedException">The type of <paramref name="lower" /> and <paramref name="upper" /> (<typeparamref name="T" />) is not supported.</exception> 1347/// <exception cref="NotSupportedException">The type of <paramref name="value" /> (<typeparamref name="T" />) is not supported.</exception> 1432/// <exception cref="NotSupportedException">The type of <paramref name="value" /> (<typeparamref name="T" />) is not supported.</exception> 1574/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 1591/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 1601/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 1617/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 1626/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 1680/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 1762/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 1779/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 1791/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 1804/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 1820/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 1834/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 1848/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 1864/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 1878/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 2228/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 2244/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 2258/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 2272/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 2288/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 2302/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 2315/// <exception cref="NotSupportedException">The type of <paramref name="source" /> (<typeparamref name="T" />) is not supported.</exception> 2324/// <exception cref="NotSupportedException">The type of <paramref name="source" /> (<typeparamref name="T" />) is not supported.</exception> 2344/// <exception cref="NotSupportedException">The type of <paramref name="source" /> (<typeparamref name="T" />) is not supported.</exception> 2354/// <exception cref="NotSupportedException">The type of <paramref name="source" /> (<typeparamref name="T" />) is not supported.</exception> 2369/// <exception cref="NotSupportedException">The type of <paramref name="source" /> (<typeparamref name="T" />) is not supported.</exception> 2644/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 2653/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 2662/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 2804/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 2836/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 3741/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 3756/// <exception cref="NotSupportedException">The type of <paramref name="source" /> and <paramref name="destination" /> (<typeparamref name="T" />) is not supported.</exception> 3765/// <exception cref="NotSupportedException">The type of <paramref name="source" /> and <paramref name="destination" /> (<typeparamref name="T" />) is not supported.</exception> 3785/// <exception cref="NotSupportedException">The type of <paramref name="source" /> and <paramref name="destination" /> (<typeparamref name="T" />) is not supported.</exception> 3795/// <exception cref="NotSupportedException">The type of <paramref name="source" /> and <paramref name="destination" /> (<typeparamref name="T" />) is not supported.</exception> 3810/// <exception cref="NotSupportedException">The type of <paramref name="source" /> and <paramref name="destination" /> (<typeparamref name="T" />) is not supported.</exception> 3826/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 3834/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 3852/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 3864/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 3879/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 3932/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> and <paramref name="destination" /> (<typeparamref name="T" />) is not supported.</exception> 4215/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 4234/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 4251/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 4268/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception>
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector256_1.cs (23)
37/// <exception cref="NotSupportedException">The type of the vector (<typeparamref name="T" />) is not supported.</exception> 45/// <exception cref="NotSupportedException">The type of the vector (<typeparamref name="T" />) is not supported.</exception> 57/// <exception cref="NotSupportedException">The type of the vector (<typeparamref name="T" />) is not supported.</exception> 100/// <exception cref="NotSupportedException">The type of the current instance (<typeparamref name="T" />) is not supported.</exception> 108/// <exception cref="NotSupportedException">The type of the vector (<typeparamref name="T" />) is not supported.</exception> 125/// <exception cref="NotSupportedException">The type of the vector (<typeparamref name="T" />) is not supported.</exception> 132/// <exception cref="NotSupportedException">The type of the vector (<typeparamref name="T" />) is not supported.</exception> 147/// <exception cref="NotSupportedException">The type of the vector (<typeparamref name="T" />) is not supported.</exception> 162/// <exception cref="NotSupportedException">The type of the vector (<typeparamref name="T" />) is not supported.</exception> 177/// <exception cref="NotSupportedException">The type of the vector (<typeparamref name="T" />) is not supported.</exception> 206/// <exception cref="NotSupportedException">The type of the vector (<typeparamref name="T" />) is not supported.</exception> 219/// <exception cref="NotSupportedException">The type of the vector (<typeparamref name="T" />) is not supported.</exception> 234/// <exception cref="NotSupportedException">The type of the vector (<typeparamref name="T" />) is not supported.</exception> 256/// <exception cref="NotSupportedException">The type of the vector (<typeparamref name="T" />) is not supported.</exception> 271/// <exception cref="NotSupportedException">The type of the vector (<typeparamref name="T" />) is not supported.</exception> 286/// <exception cref="NotSupportedException">The type of the vector (<typeparamref name="T" />) is not supported.</exception> 293/// <exception cref="NotSupportedException">The type of the vector (<typeparamref name="T" />) is not supported.</exception> 322/// <exception cref="NotSupportedException">The type of the vector (<typeparamref name="T" />) is not supported.</exception> 336/// <exception cref="NotSupportedException">The type of the vector (<typeparamref name="T" />) is not supported.</exception> 358/// <exception cref="NotSupportedException">The type of the vector (<typeparamref name="T" />) is not supported.</exception> 388/// <exception cref="NotSupportedException">The type of the vector (<typeparamref name="T" />) is not supported.</exception> 416/// <exception cref="NotSupportedException">The type of the vector (<typeparamref name="T" />) is not supported.</exception> 432/// <exception cref="NotSupportedException">The type of the vector (<typeparamref name="T" />) is not supported.</exception>
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector512.cs (79)
60/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 87/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 120/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 154/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="TFrom" />) or the type of the target (<typeparamref name="TTo" />) is not supported.</exception> 173/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 181/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 189/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 197/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 205/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 213/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 221/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 230/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 239/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 247/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 256/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 265/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 274/// <exception cref="NotSupportedException">The type of <paramref name="value" /> (<typeparamref name="T" />) is not supported.</exception> 291/// <exception cref="NotSupportedException">The type of <paramref name="value" /> (<typeparamref name="T" />) is not supported.</exception> 308/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 317/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 386/// <exception cref="NotSupportedException">The type of <paramref name="condition" />, <paramref name="left" />, and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 585/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> and <paramref name="destination" /> (<typeparamref name="T" />) is not supported.</exception> 606/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> and <paramref name="destination" /> (<typeparamref name="T" />) is not supported.</exception> 630/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> and <paramref name="destination" /> (<typeparamref name="T" />) is not supported.</exception> 703/// <exception cref="NotSupportedException">The type of <paramref name="value" /> (<typeparamref name="T" />) is not supported.</exception> 803/// <exception cref="NotSupportedException">The type of <paramref name="values" /> (<typeparamref name="T" />) is not supported.</exception> 823/// <exception cref="NotSupportedException">The type of <paramref name="values" /> (<typeparamref name="T" />) is not supported.</exception> 842/// <exception cref="NotSupportedException">The type of <paramref name="values" /> (<typeparamref name="T" />) is not supported.</exception> 1264/// <exception cref="NotSupportedException">The type of <paramref name="value" /> (<typeparamref name="T" />) is not supported.</exception> 1272/// <exception cref="NotSupportedException">The type of <paramref name="value" /> (<typeparamref name="T" />) is not supported.</exception> 1280/// <exception cref="NotSupportedException">The type of <paramref name="value" /> (<typeparamref name="T" />) is not supported.</exception> 1289/// <exception cref="NotSupportedException">The type of <paramref name="lower" /> and <paramref name="upper" /> (<typeparamref name="T" />) is not supported.</exception> 1387/// <exception cref="NotSupportedException">The type of <paramref name="value" /> (<typeparamref name="T" />) is not supported.</exception> 1472/// <exception cref="NotSupportedException">The type of <paramref name="value" /> (<typeparamref name="T" />) is not supported.</exception> 1614/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 1632/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 1642/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 1658/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 1667/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 1714/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 1796/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 1813/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 1825/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 1838/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 1854/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 1868/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 1882/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 1898/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 1912/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 2255/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 2271/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 2285/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 2299/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 2315/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 2329/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 2342/// <exception cref="NotSupportedException">The type of <paramref name="source" /> (<typeparamref name="T" />) is not supported.</exception> 2351/// <exception cref="NotSupportedException">The type of <paramref name="source" /> (<typeparamref name="T" />) is not supported.</exception> 2371/// <exception cref="NotSupportedException">The type of <paramref name="source" /> (<typeparamref name="T" />) is not supported.</exception> 2381/// <exception cref="NotSupportedException">The type of <paramref name="source" /> (<typeparamref name="T" />) is not supported.</exception> 2396/// <exception cref="NotSupportedException">The type of <paramref name="source" /> (<typeparamref name="T" />) is not supported.</exception> 2671/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 2680/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 2689/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 2830/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 2862/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 3753/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 3768/// <exception cref="NotSupportedException">The type of <paramref name="source" /> and <paramref name="destination" /> (<typeparamref name="T" />) is not supported.</exception> 3777/// <exception cref="NotSupportedException">The type of <paramref name="source" /> and <paramref name="destination" /> (<typeparamref name="T" />) is not supported.</exception> 3797/// <exception cref="NotSupportedException">The type of <paramref name="source" /> and <paramref name="destination" /> (<typeparamref name="T" />) is not supported.</exception> 3807/// <exception cref="NotSupportedException">The type of <paramref name="source" /> and <paramref name="destination" /> (<typeparamref name="T" />) is not supported.</exception> 3822/// <exception cref="NotSupportedException">The type of <paramref name="source" /> and <paramref name="destination" /> (<typeparamref name="T" />) is not supported.</exception> 3838/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 3846/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 3864/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 3911/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> and <paramref name="destination" /> (<typeparamref name="T" />) is not supported.</exception> 4193/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 4212/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 4229/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 4246/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception>
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector512_1.cs (23)
37/// <exception cref="NotSupportedException">The type of the vector (<typeparamref name="T" />) is not supported.</exception> 45/// <exception cref="NotSupportedException">The type of the vector (<typeparamref name="T" />) is not supported.</exception> 57/// <exception cref="NotSupportedException">The type of the vector (<typeparamref name="T" />) is not supported.</exception> 100/// <exception cref="NotSupportedException">The type of the current instance (<typeparamref name="T" />) is not supported.</exception> 108/// <exception cref="NotSupportedException">The type of the vector (<typeparamref name="T" />) is not supported.</exception> 125/// <exception cref="NotSupportedException">The type of the vector (<typeparamref name="T" />) is not supported.</exception> 132/// <exception cref="NotSupportedException">The type of the vector (<typeparamref name="T" />) is not supported.</exception> 147/// <exception cref="NotSupportedException">The type of the vector (<typeparamref name="T" />) is not supported.</exception> 162/// <exception cref="NotSupportedException">The type of the vector (<typeparamref name="T" />) is not supported.</exception> 177/// <exception cref="NotSupportedException">The type of the vector (<typeparamref name="T" />) is not supported.</exception> 206/// <exception cref="NotSupportedException">The type of the vector (<typeparamref name="T" />) is not supported.</exception> 219/// <exception cref="NotSupportedException">The type of the vector (<typeparamref name="T" />) is not supported.</exception> 234/// <exception cref="NotSupportedException">The type of the vector (<typeparamref name="T" />) is not supported.</exception> 256/// <exception cref="NotSupportedException">The type of the vector (<typeparamref name="T" />) is not supported.</exception> 271/// <exception cref="NotSupportedException">The type of the vector (<typeparamref name="T" />) is not supported.</exception> 286/// <exception cref="NotSupportedException">The type of the vector (<typeparamref name="T" />) is not supported.</exception> 293/// <exception cref="NotSupportedException">The type of the vector (<typeparamref name="T" />) is not supported.</exception> 322/// <exception cref="NotSupportedException">The type of the vector (<typeparamref name="T" />) is not supported.</exception> 336/// <exception cref="NotSupportedException">The type of the vector (<typeparamref name="T" />) is not supported.</exception> 358/// <exception cref="NotSupportedException">The type of the vector (<typeparamref name="T" />) is not supported.</exception> 388/// <exception cref="NotSupportedException">The type of the vector (<typeparamref name="T" />) is not supported.</exception> 416/// <exception cref="NotSupportedException">The type of the vector (<typeparamref name="T" />) is not supported.</exception> 432/// <exception cref="NotSupportedException">The type of the vector (<typeparamref name="T" />) is not supported.</exception>
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector64.cs (82)
34/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 66/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 75/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> and <paramref name="value" /> (<typeparamref name="T" />) is not supported.</exception> 84/// <exception cref="NotSupportedException">The type of <paramref name="vector" />(<typeparamref name="T" />) is not supported.</exception> 108/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 117/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> and <paramref name="value" /> (<typeparamref name="T" />) is not supported.</exception> 126/// <exception cref="NotSupportedException">The type of <paramref name="vector" />(<typeparamref name="T" />) is not supported.</exception> 150/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="TFrom" />) or the type of the target (<typeparamref name="TTo" />) is not supported.</exception> 169/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 177/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 185/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 193/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 201/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 209/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 217/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 226/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 235/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 243/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 252/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 261/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 271/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 280/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 354/// <exception cref="NotSupportedException">The type of <paramref name="condition" />, <paramref name="left" />, and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 618/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> and <paramref name="destination" /> (<typeparamref name="T" />) is not supported.</exception> 640/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> and <paramref name="destination" /> (<typeparamref name="T" />) is not supported.</exception> 665/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> and <paramref name="destination" /> (<typeparamref name="T" />) is not supported.</exception> 735/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> and <paramref name="value" /> (<typeparamref name="T" />) is not supported.</exception> 744/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 869/// <exception cref="NotSupportedException">The type of <paramref name="values" /> (<typeparamref name="T" />) is not supported.</exception> 890/// <exception cref="NotSupportedException">The type of <paramref name="values" /> (<typeparamref name="T" />) is not supported.</exception> 910/// <exception cref="NotSupportedException">The type of <paramref name="values" /> (<typeparamref name="T" />) is not supported.</exception> 1065/// <exception cref="NotSupportedException">The type of <paramref name="value" /> (<typeparamref name="T" />) is not supported.</exception> 1156/// <exception cref="NotSupportedException">The type of <paramref name="value" /> (<typeparamref name="T" />) is not supported.</exception> 1310/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 1327/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 1336/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 1357/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 1366/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 1439/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 1558/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 1576/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 1597/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 1618/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 1639/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 1660/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 1681/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 1757/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> and <paramref name="value" /> (<typeparamref name="T" />) is not supported.</exception> 1770/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 2001/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> and <paramref name="value" /> (<typeparamref name="T" />) is not supported.</exception> 2010/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 2086/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 2107/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 2128/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 2149/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 2170/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 2191/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 2211/// <exception cref="NotSupportedException">The type of <paramref name="source" /> (<typeparamref name="T" />) is not supported.</exception> 2220/// <exception cref="NotSupportedException">The type of <paramref name="source" /> (<typeparamref name="T" />) is not supported.</exception> 2241/// <exception cref="NotSupportedException">The type of <paramref name="source" /> (<typeparamref name="T" />) is not supported.</exception> 2250/// <exception cref="NotSupportedException">The type of <paramref name="source" /> (<typeparamref name="T" />) is not supported.</exception> 2265/// <exception cref="NotSupportedException">The type of <paramref name="source" /> (<typeparamref name="T" />) is not supported.</exception> 2603/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 2612/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 2621/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 2871/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 2880/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> and <paramref name="value" /> (<typeparamref name="T" />) is not supported.</exception> 2889/// <exception cref="NotSupportedException">The type of <paramref name="vector" />(<typeparamref name="T" />) is not supported.</exception> 2912/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 3721/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 3741/// <exception cref="NotSupportedException">The type of <paramref name="source" /> (<typeparamref name="T" />) is not supported.</exception> 3750/// <exception cref="NotSupportedException">The type of <paramref name="source" /> (<typeparamref name="T" />) is not supported.</exception> 3771/// <exception cref="NotSupportedException">The type of <paramref name="source" /> (<typeparamref name="T" />) is not supported.</exception> 3780/// <exception cref="NotSupportedException">The type of <paramref name="source" /> (<typeparamref name="T" />) is not supported.</exception> 3795/// <exception cref="NotSupportedException">The type of <paramref name="source" /> (<typeparamref name="T" />) is not supported.</exception> 3811/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception> 3819/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 3838/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 3850/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 3866/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 3925/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> and <paramref name="destination" /> (<typeparamref name="T" />) is not supported.</exception> 4251/// <exception cref="NotSupportedException">The type of <paramref name="vector" /> (<typeparamref name="T" />) is not supported.</exception> 4271/// <exception cref="NotSupportedException">The type of <paramref name="left" /> and <paramref name="right" /> (<typeparamref name="T" />) is not supported.</exception>
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector64_1.cs (20)
37/// <exception cref="NotSupportedException">The type of the vector (<typeparamref name="T" />) is not supported.</exception> 45/// <exception cref="NotSupportedException">The type of the vector (<typeparamref name="T" />) is not supported.</exception> 57/// <exception cref="NotSupportedException">The type of the vector (<typeparamref name="T" />) is not supported.</exception> 100/// <exception cref="NotSupportedException">The type of the current instance (<typeparamref name="T" />) is not supported.</exception> 108/// <exception cref="NotSupportedException">The type of the vector (<typeparamref name="T" />) is not supported.</exception> 125/// <exception cref="NotSupportedException">The type of the vector (<typeparamref name="T" />) is not supported.</exception> 132/// <exception cref="NotSupportedException">The type of the vector (<typeparamref name="T" />) is not supported.</exception> 152/// <exception cref="NotSupportedException">The type of the vector (<typeparamref name="T" />) is not supported.</exception> 169/// <exception cref="NotSupportedException">The type of the vector (<typeparamref name="T" />) is not supported.</exception> 186/// <exception cref="NotSupportedException">The type of the vector (<typeparamref name="T" />) is not supported.</exception> 225/// <exception cref="NotSupportedException">The type of the vector (<typeparamref name="T" />) is not supported.</exception> 244/// <exception cref="NotSupportedException">The type of the vector (<typeparamref name="T" />) is not supported.</exception> 261/// <exception cref="NotSupportedException">The type of the vector (<typeparamref name="T" />) is not supported.</exception> 288/// <exception cref="NotSupportedException">The type of the vector (<typeparamref name="T" />) is not supported.</exception> 308/// <exception cref="NotSupportedException">The type of the vector (<typeparamref name="T" />) is not supported.</exception> 328/// <exception cref="NotSupportedException">The type of the vector (<typeparamref name="T" />) is not supported.</exception> 335/// <exception cref="NotSupportedException">The type of the vector (<typeparamref name="T" />) is not supported.</exception> 371/// <exception cref="NotSupportedException">The type of the vector (<typeparamref name="T" />) is not supported.</exception> 390/// <exception cref="NotSupportedException">The type of the vector (<typeparamref name="T" />) is not supported.</exception> 412/// <exception cref="NotSupportedException">The type of the vector (<typeparamref name="T" />) is not supported.</exception>
src\libraries\System.Private.CoreLib\src\System\Span.cs (2)
186/// <exception cref="NotSupportedException"> 197/// <exception cref="NotSupportedException">
src\libraries\System.Private.CoreLib\src\System\Threading\Interlocked.cs (2)
235/// <exception cref="NotSupportedException">An unsupported <typeparamref name="T"/> is specified.</exception> 487/// <exception cref="NotSupportedException">An unsupported <typeparamref name="T"/> is specified.</exception>
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskScheduler.cs (3)
119/// cref="NotSupportedException"/> 141/// <exception cref="NotSupportedException"> 446/// <exception cref="NotSupportedException">
src\System\Reflection\Metadata\MetadataUpdater.cs (1)
36/// <exception cref="NotSupportedException">The update could not be applied.</exception>
src\System\Runtime\CompilerServices\RuntimeHelpers.CoreCLR.cs (1)
555/// <exception cref="NotSupportedException">The passed in type is a by-ref-like type.</exception>
src\System\Runtime\InteropServices\ComWrappers.cs (2)
238/// If the <paramref name="wrapper"/> instance already has an associated external object a <see cref="NotSupportedException"/> will be thrown. 259/// If the <paramref name="wrapper"/> instance already has an associated external object a <see cref="NotSupportedException"/> will be thrown.
src\System\RuntimeType.ActivatorCache.cs (1)
67case NotSupportedException: throw new NotSupportedException(friendlyMessage);
System.Private.Windows.Core (17)
System\Private\Windows\BinaryFormat\BinaryFormatWriter.cs (3)
632/// Writes a <see cref="NotSupportedException"/> in binary format. 634public static void WriteNotSupportedException(Stream stream, NotSupportedException exception) 712case NotSupportedException exception:
System\Private\Windows\Nrbf\CoreNrbfSerializer.cs (1)
54{ TypeName.Parse(Types.NotSupportedExceptionType), typeof(NotSupportedException) },
System\Private\Windows\Nrbf\SerializationRecordExtensions.cs (3)
518/// Tries to get this object as a binary formatted <see cref="NotSupportedException"/>. 531|| !classInfo.TypeNameMatches(typeof(NotSupportedException))) 582/// <exception cref="NotSupportedException">If an exception occurred while JSON deserializing.</exception>
System\Private\Windows\Ole\BinaryFormatUtilities.cs (4)
21/// <exception cref="NotSupportedException"> 73/// <exception cref="NotSupportedException">Thrown when <see cref="BinaryFormatter"/> is not enabled.</exception> 105catch (NotSupportedException) 208catch (SerializationException e) when (e.InnerException is NotSupportedException nse)
System\Private\Windows\Ole\Composition.ManagedToNativeAdapter.cs (1)
134catch (NotSupportedException ex)
System\Private\Windows\Ole\Composition.NativeToManagedAdapter.cs (3)
248/// <exception cref="NotSupportedException"> is deserialization failed.</exception> 278Debug.Assert(e is NotSupportedException, e.Message); 333catch (Exception ex) when (!request.TypedRequest || ex is not NotSupportedException)
System\Private\Windows\Ole\IDataObjectInternal.cs (1)
142/// The <paramref name="resolver"/> should throw <see cref="NotSupportedException"/> for types it does not
System\Private\Windows\Ole\TypeBinder.cs (1)
25/// Unbound types will throw a <see cref="NotSupportedException"/> when attempting to bind.
System.Private.Windows.Core.Tests (30)
System\Private\Windows\Ole\BinaryFormatUtilitiesTests.cs (28)
147public static TheoryData<NotSupportedException> NotSupportedException_TestData => 183public void RoundTrip_NotSupportedException(NotSupportedException value) 191public void RoundTrip_PredefinedFormat_NotSupportedException(NotSupportedException value) 200NotSupportedException value = new("Error message", new ArgumentException()); 208NotSupportedException value = new("Error message", new ArgumentException()); 262action.Should().Throw<NotSupportedException>(); 265action.Should().Throw<NotSupportedException>(); 268action.Should().Throw<NotSupportedException>(); 353writer.Should().Throw<NotSupportedException>(); 359writer.Should().Throw<NotSupportedException>(); 367reader.Should().Throw<NotSupportedException>(); 371reader.Should().Throw<NotSupportedException>(); 379writer.Should().Throw<NotSupportedException>(); 419read.Should().Throw<NotSupportedException>(); 466action.Should().Throw<NotSupportedException>(); 486action.Should().Throw<NotSupportedException>(); 525action.Should().Throw<NotSupportedException>(); 558action.Should().Throw<NotSupportedException>(); 572action.Should().Throw<NotSupportedException>(); 611action.Should().Throw<NotSupportedException>(); 666action.Should().Throw<NotSupportedException>(); 744(typeof(NotSupportedException).FullName!, typeof(NotSupportedException)), 778read.Should().Throw<NotSupportedException>(); 791action.Should().Throw<NotSupportedException>(); 803action.Should().Throw<NotSupportedException>(); 836action.Should().Throw<NotSupportedException>(); 1003public NotSupportedException Exception = new();
System\Private\Windows\Ole\TypeBinderTests.cs (2)
66action.Should().Throw<NotSupportedException>(); 109action.Should().Throw<NotSupportedException>();
System.Private.Windows.Core.TestUtilities (1)
BinarySerialization.cs (1)
17/// <paramref name="serializableTypes"/>. If not, <see cref="NotSupportedException"/> is thrown.
System.Private.Xml (5)
System\Xml\BinaryXml\XmlBinaryReader.cs (1)
4409private NotSupportedException CreateNotSupportedException(string res)
System\Xml\Core\XmlTextReaderImpl.cs (1)
3261catch (NotSupportedException innerEx)
System\Xml\Schema\SchemaCollectionCompiler.cs (1)
2414catch (NotSupportedException)
System\Xml\Schema\SchemaSetCompiler.cs (1)
2883catch (NotSupportedException)
System\Xml\Xsl\XsltOld\XsltOutput.cs (1)
145catch (System.NotSupportedException) { }
System.Reflection.DispatchProxy (1)
System\Reflection\DispatchProxyGenerator.cs (1)
449ConstructorInfo exCtor = typeof(NotSupportedException).GetConstructor([typeof(string)])!;
System.Reflection.Metadata (3)
System\Reflection\Metadata\Ecma335\MetadataTokens.cs (3)
39/// <exception cref="NotSupportedException">The operation is not supported for the specified <paramref name="handle"/>.</exception> 60/// <exception cref="NotSupportedException">The operation is not supported for the specified <paramref name="handle"/>.</exception> 79/// <exception cref="NotSupportedException">The operation is not supported for the specified <paramref name="handle"/>.</exception>
System.Runtime (1)
artifacts\obj\System.Runtime\Debug\net10.0\System.Runtime.Forwards.cs (1)
366[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.NotSupportedException))]
System.Security.Cryptography (23)
System\Security\Cryptography\ECAlgorithm.cs (14)
35/// <exception cref="NotSupportedException"> 50/// <exception cref="NotSupportedException"> 63/// <exception cref="NotSupportedException"> 75/// <exception cref="NotSupportedException"> 109/// <exception cref="NotSupportedException"> 189/// <exception cref="NotSupportedException"> 252/// <exception cref="NotSupportedException"> 292/// <exception cref="NotSupportedException"> 343/// <exception cref="NotSupportedException"> 418/// <exception cref="NotSupportedException"> 470/// <exception cref="NotSupportedException"> 529/// <exception cref="NotSupportedException"> 578/// <exception cref="NotSupportedException"> 648/// <exception cref="NotSupportedException">
System\Security\Cryptography\ECDiffieHellmanPublicKey.ExportParameters.cs (2)
45/// <exception cref="NotSupportedException"> 63/// <exception cref="NotSupportedException">
System\Security\Cryptography\SymmetricAlgorithm.cs (6)
1502/// <exception cref="NotSupportedException"> 1531/// <exception cref="NotSupportedException"> 1556/// <exception cref="NotSupportedException"> 1587/// <exception cref="NotSupportedException"> 1615/// <exception cref="NotSupportedException"> 1643/// <exception cref="NotSupportedException">
System\Security\Cryptography\X509Certificates\X509Certificate2.cs (1)
588catch (NotSupportedException)
System.Security.Cryptography.ProtectedData (6)
System\Security\Cryptography\ProtectedData.cs (6)
48/// <exception cref="NotSupportedException">The operating system does not support this method.</exception> 96/// <exception cref="NotSupportedException">The operating system does not support this method.</exception> 136/// <exception cref="NotSupportedException">The operating system does not support this method.</exception> 200/// <exception cref="NotSupportedException">The operating system does not support this method.</exception> 249/// <exception cref="NotSupportedException">The operating system does not support this method.</exception> 289/// <exception cref="NotSupportedException">The operating system does not support this method.</exception>
System.Security.Cryptography.Xml (1)
System\Security\Cryptography\Xml\CryptoHelpers.cs (1)
77catch (NotSupportedException)
System.Text.Json (65)
System\Text\Json\Serialization\JsonConverterFactory.cs (1)
31/// If <see langword="null"/> is returned, a <see cref="NotSupportedException"/> will be thrown.
System\Text\Json\Serialization\JsonConverterOfT.ReadCore.cs (1)
82case NotSupportedException when !ex.Message.Contains(" Path: "):
System\Text\Json\Serialization\JsonConverterOfT.WriteCore.cs (1)
41case NotSupportedException when !ex.Message.Contains(" Path: "):
System\Text\Json\Serialization\JsonSerializer.Read.Document.cs (3)
25/// <exception cref="NotSupportedException"> 53/// <exception cref="NotSupportedException"> 147/// <exception cref="NotSupportedException">
System\Text\Json\Serialization\JsonSerializer.Read.Element.cs (4)
22/// <exception cref="NotSupportedException"> 48/// <exception cref="NotSupportedException"> 76/// <exception cref="NotSupportedException"> 131/// <exception cref="NotSupportedException">
System\Text\Json\Serialization\JsonSerializer.Read.Node.cs (3)
24/// <exception cref="NotSupportedException"> 46/// <exception cref="NotSupportedException"> 122/// <exception cref="NotSupportedException">
System\Text\Json\Serialization\JsonSerializer.Read.Span.cs (3)
25/// <exception cref="NotSupportedException"> 52/// <exception cref="NotSupportedException"> 119/// <exception cref="NotSupportedException">
System\Text\Json\Serialization\JsonSerializer.Read.Stream.cs (6)
38/// <exception cref="NotSupportedException"> 71/// <exception cref="NotSupportedException"> 106/// <exception cref="NotSupportedException"> 141/// <exception cref="NotSupportedException"> 290/// <exception cref="NotSupportedException"> 328/// <exception cref="NotSupportedException">
System\Text\Json\Serialization\JsonSerializer.Read.String.cs (6)
38/// <exception cref="NotSupportedException"> 72/// <exception cref="NotSupportedException"> 107/// <exception cref="NotSupportedException"> 145/// <exception cref="NotSupportedException"> 316/// <exception cref="NotSupportedException"> 361/// <exception cref="NotSupportedException">
System\Text\Json\Serialization\JsonSerializer.Read.Utf8JsonReader.cs (3)
29/// <exception cref="NotSupportedException"> 83/// <exception cref="NotSupportedException"> 231/// <exception cref="NotSupportedException">
System\Text\Json\Serialization\JsonSerializer.Write.ByteArray.cs (3)
19/// <exception cref="NotSupportedException"> 46/// <exception cref="NotSupportedException"> 112/// <exception cref="NotSupportedException">
System\Text\Json\Serialization\JsonSerializer.Write.Document.cs (3)
20/// <exception cref="NotSupportedException"> 42/// <exception cref="NotSupportedException"> 103/// <exception cref="NotSupportedException">
System\Text\Json\Serialization\JsonSerializer.Write.Element.cs (3)
20/// <exception cref="NotSupportedException"> 42/// <exception cref="NotSupportedException"> 103/// <exception cref="NotSupportedException">
System\Text\Json\Serialization\JsonSerializer.Write.Node.cs (3)
21/// <exception cref="NotSupportedException"> 43/// <exception cref="NotSupportedException"> 104/// <exception cref="NotSupportedException">
System\Text\Json\Serialization\JsonSerializer.Write.Pipe.cs (3)
52/// <exception cref="NotSupportedException"> 112/// <exception cref="NotSupportedException"> 147/// <exception cref="NotSupportedException">
System\Text\Json\Serialization\JsonSerializer.Write.Stream.cs (6)
35/// <exception cref="NotSupportedException"> 63/// <exception cref="NotSupportedException"> 95/// <exception cref="NotSupportedException"> 128/// <exception cref="NotSupportedException"> 260/// <exception cref="NotSupportedException"> 292/// <exception cref="NotSupportedException">
System\Text\Json\Serialization\JsonSerializer.Write.String.cs (3)
20/// <exception cref="NotSupportedException"> 46/// <exception cref="NotSupportedException"> 122/// <exception cref="NotSupportedException">
System\Text\Json\Serialization\JsonSerializer.Write.Utf8JsonWriter.cs (3)
22/// <exception cref="NotSupportedException"> 52/// <exception cref="NotSupportedException"> 124/// <exception cref="NotSupportedException">
System\Text\Json\Serialization\JsonSerializerOptions.Caching.cs (1)
343NotSupportedException nse = ThrowHelper.GetNotSupportedException_AmbiguousMetadataForType(type, candidateType, interfaceType);
System\Text\Json\Serialization\JsonSerializerOptions.Converters.cs (1)
35/// <exception cref="NotSupportedException">
System\Text\Json\Serialization\Metadata\JsonMetadataServices.Converters.cs (2)
268/// Creates a <see cref="JsonConverter{T}"/> instance that throws <see cref="NotSupportedException"/>. 271/// <returns>A <see cref="JsonConverter{T}"/> instance that throws <see cref="NotSupportedException"/></returns>
System\Text\Json\ThrowHelper.Node.cs (1)
69public static NotSupportedException GetNotSupportedException_CollectionIsReadOnly()
System\Text\Json\ThrowHelper.Serialization.cs (2)
406NotSupportedException ex = new NotSupportedException( 818public static NotSupportedException GetNotSupportedException_AmbiguousMetadataForType(Type type, Type match1, Type match2)
System.Text.RegularExpressions (2)
System\Text\RegularExpressions\RegexRunner.cs (1)
117/// <exception cref="NotSupportedException">
System\Text\RegularExpressions\Symbolic\SymbolicRegexThresholds.cs (1)
30/// If the AST exceeds this threshold then <see cref="NotSupportedException"/> is thrown.
System.Threading.Channels (1)
System\Threading\Channels\ChannelReader.cs (1)
30/// <exception cref="NotSupportedException">Counting is not supported on this instance.</exception>
System.Threading.Tasks.Dataflow (1)
Internal\Common.cs (1)
392catch (NotSupportedException) { }
System.Transactions.Local (1)
System\Transactions\TransactionManager.cs (1)
402/// If set to <see langword="false" /> (the default), escalation to a distributed transaction will throw a <see cref="NotSupportedException" />.
System.Windows.Controls.Ribbon (2)
Microsoft\Windows\Controls\GenericValueConverters.cs (1)
53/// <exception cref="NotSupportedException">Operation not supported.</exception>
Microsoft\Windows\Controls\Ribbon\StringCollectionConverter.cs (1)
89/// <exception cref="NotSupportedException">
System.Windows.Forms (17)
System\Resources\ResXDataNode.cs (1)
373catch (NotSupportedException nse)
System\Windows\Forms\Accessibility\AccessibleObject.cs (1)
947catch (NotSupportedException)
System\Windows\Forms\DataBinding\ListBindingHelper.cs (1)
683catch (NotSupportedException)
System\Windows\Forms\DataBinding\PropertyManager.cs (4)
200/// Throws a <see cref="NotSupportedException" /> in all cases. 202/// <exception cref="NotSupportedException">In all cases.</exception> 209/// Throws a <see cref="NotSupportedException" /> in all cases. 212/// <exception cref="NotSupportedException">In all cases.</exception>
System\Windows\Forms\OLE\Clipboard.cs (2)
165/// <see cref="TypeName"/> is allowed or throws a <see cref="NotSupportedException"/> if <see cref="TypeName"/> is not 246/// <exception cref="NotSupportedException">
System\Windows\Forms\OLE\DataObject.cs (1)
66/// <see cref="Clipboard.TryGetData{T}(string, out T)"/> will throw <see cref="NotSupportedException"/>
System\Windows\Forms\OLE\DataObjectExtensions.cs (4)
26/// <exception cref="NotSupportedException">if the <paramref name="dataObject"/> does not implement <see cref="ITypedDataObject" />.</exception> 34/// <exception cref="NotSupportedException">if the <paramref name="dataObject"/> does not implement <see cref="ITypedDataObject" />.</exception> 43/// <exception cref="NotSupportedException">if the <paramref name="dataObject"/> does not implement <see cref="ITypedDataObject" />.</exception> 53/// <exception cref="NotSupportedException">if the <paramref name="dataObject"/> does not implement <see cref="ITypedDataObject" />.</exception>
System\Windows\Forms\OLE\IDataObject.cs (1)
17/// such as <see cref="Clipboard.TryGetData{T}(string, out T)"/>, will throw a <see cref="NotSupportedException"/>.
System\Windows\Forms\OLE\ITypedDataObject.cs (2)
17/// will throw a <see cref="NotSupportedException"/>. This is replacement of <see cref="IDataObject"/> 19/// will throw a <see cref="NotSupportedException"/>.
System.Windows.Forms.Design.Tests (8)
System\ComponentModel\Design\CollectionEditorTests.cs (1)
873Assert.Throws<NotSupportedException>(() => editor.SetItems(new object[1], new object[1]));
System\ComponentModel\Design\DesignSurfaceTests.cs (1)
339Assert.Throws<NotSupportedException>(() => surface.View);
System\ComponentModel\Design\ExceptionCollectionTests.cs (1)
60Assert.Throws<NotSupportedException>(() => formatter.Serialize(stream, collection));
System\ComponentModel\Design\Serialization\CodeDomComponentSerializationServiceTests.cs (1)
701Assert.Throws<NotSupportedException>(() => formatter.Serialize(stream, store));
System\ComponentModel\Design\Serialization\CodeDomSerializerExceptionTests.cs (1)
103Assert.Throws<NotSupportedException>(() => formatter.Serialize(stream, exception));
System\Windows\Forms\Design\ContextMenuStripActionListTests.cs (1)
99.Should().Throw<NotSupportedException>();
System\Windows\Forms\Design\DataMemberFieldConverterTests.cs (1)
47Assert.Throws<NotSupportedException>(
System\Windows\Forms\Design\ToolStripActionListTests.cs (1)
85.Should().Throw<NotSupportedException>();
System.Windows.Forms.Tests (270)
System\Windows\Forms\AbstractButtonBaseTests.cs (1)
20.Should().Throw<NotSupportedException>();
System\Windows\Forms\AxHost.PropertyBagStreamTests.cs (1)
59Assert.Throws<NotSupportedException>(() => bag.Save(stream));
System\Windows\Forms\AxHostTests.cs (37)
933Assert.Throws<NotSupportedException>(() => control.BackColorChanged += handler); 942Assert.Throws<NotSupportedException>(() => control.BackgroundImageChanged += handler); 951Assert.Throws<NotSupportedException>(() => control.BackgroundImageLayoutChanged += handler); 960Assert.Throws<NotSupportedException>(() => control.BindingContextChanged += handler); 969Assert.Throws<NotSupportedException>(() => control.ChangeUICues += handler); 978Assert.Throws<NotSupportedException>(() => control.Click += handler); 987Assert.Throws<NotSupportedException>(() => control.CursorChanged += handler); 996Assert.Throws<NotSupportedException>(() => control.DoubleClick += handler); 1005Assert.Throws<NotSupportedException>(() => control.DragDrop += handler); 1014Assert.Throws<NotSupportedException>(() => control.DragEnter += handler); 1023Assert.Throws<NotSupportedException>(() => control.DragLeave += handler); 1032Assert.Throws<NotSupportedException>(() => control.DragOver += handler); 1041Assert.Throws<NotSupportedException>(() => control.EnabledChanged += handler); 1050Assert.Throws<NotSupportedException>(() => control.FontChanged += handler); 1059Assert.Throws<NotSupportedException>(() => control.ForeColorChanged += handler); 1068Assert.Throws<NotSupportedException>(() => control.GiveFeedback += handler); 1077Assert.Throws<NotSupportedException>(() => control.HelpRequested += handler); 1086Assert.Throws<NotSupportedException>(() => control.ImeModeChanged += handler); 1095Assert.Throws<NotSupportedException>(() => control.KeyDown += handler); 1104Assert.Throws<NotSupportedException>(() => control.KeyPress += handler); 1113Assert.Throws<NotSupportedException>(() => control.KeyUp += handler); 1122Assert.Throws<NotSupportedException>(() => control.Layout += handler); 1131Assert.Throws<NotSupportedException>(() => control.MouseClick += handler); 1140Assert.Throws<NotSupportedException>(() => control.MouseDoubleClick += handler); 1149Assert.Throws<NotSupportedException>(() => control.MouseDown += handler); 1158Assert.Throws<NotSupportedException>(() => control.MouseEnter += handler); 1167Assert.Throws<NotSupportedException>(() => control.MouseHover += handler); 1176Assert.Throws<NotSupportedException>(() => control.MouseLeave += handler); 1185Assert.Throws<NotSupportedException>(() => control.MouseMove += handler); 1194Assert.Throws<NotSupportedException>(() => control.MouseUp += handler); 1203Assert.Throws<NotSupportedException>(() => control.MouseWheel += handler); 1212Assert.Throws<NotSupportedException>(() => control.Paint += handler); 1221Assert.Throws<NotSupportedException>(() => control.QueryAccessibilityHelp += handler); 1230Assert.Throws<NotSupportedException>(() => control.QueryContinueDrag += handler); 1239Assert.Throws<NotSupportedException>(() => control.RightToLeftChanged += handler); 1248Assert.Throws<NotSupportedException>(() => control.StyleChanged += handler); 1257Assert.Throws<NotSupportedException>(() => control.TextChanged += handler);
System\Windows\Forms\BindingSourceTests.cs (1)
467Assert.Throws<NotSupportedException>(() => new BindingSource(dataSource, "dataMember"));
System\Windows\Forms\CheckedListBox.CheckedIndexCollectionTests.cs (6)
48((Action)(() => ((IList)_collection)[0] = 1)).Should().Throw<NotSupportedException>(); 49((IList)_collection).Invoking(c => c.Add(1)).Should().Throw<NotSupportedException>(); 50((IList)_collection).Invoking(c => c.Clear()).Should().Throw<NotSupportedException>(); 51((IList)_collection).Invoking(c => c.Insert(0, 1)).Should().Throw<NotSupportedException>(); 52((IList)_collection).Invoking(c => c.Remove(1)).Should().Throw<NotSupportedException>(); 53((IList)_collection).Invoking(c => c.RemoveAt(0)).Should().Throw<NotSupportedException>();
System\Windows\Forms\CheckedListBox.CheckedItemCollectionTests.cs (6)
42((Action)(() => ((IList)_collection)[0] = 1)).Should().Throw<NotSupportedException>(); 43((IList)_collection).Invoking(c => c.Add(1)).Should().Throw<NotSupportedException>(); 44((IList)_collection).Invoking(c => c.Clear()).Should().Throw<NotSupportedException>(); 45((IList)_collection).Invoking(c => c.Insert(0, 1)).Should().Throw<NotSupportedException>(); 46((IList)_collection).Invoking(c => c.Remove(1)).Should().Throw<NotSupportedException>(); 47((IList)_collection).Invoking(c => c.RemoveAt(0)).Should().Throw<NotSupportedException>();
System\Windows\Forms\ClipboardTests.cs (12)
456Clipboard.TryGetData(format, out NotSupportedException? exception).Should().BeTrue(); 458Clipboard.GetData(format).Should().BeOfType<NotSupportedException>(); 718tryGetData.Should().Throw<NotSupportedException>(); 721tryGetData.Should().Throw<NotSupportedException>(); 733tryGetData.Should().Throw<NotSupportedException>(); 736tryGetData.Should().Throw<NotSupportedException>(); 754tryGetData.Should().Throw<NotSupportedException>(); 757tryGetData.Should().Throw<NotSupportedException>(); 980a1.Should().Throw<NotSupportedException>(); 1000Clipboard.GetData(format).Should().BeOfType<NotSupportedException>(); 1025tryGetData.Should().Throw<NotSupportedException>(); 1287tryGetData.Should().Throw<NotSupportedException>()
System\Windows\Forms\ColumnHeaderCollectionTests.cs (1)
100Assert.Throws<NotSupportedException>(() => collection[index] = new ColumnHeader());
System\Windows\Forms\ColumnHeaderConverterTests.cs (3)
33Assert.Throws<NotSupportedException>(() => converter.ConvertFrom(value)); 132Assert.Throws<NotSupportedException>(() => converter.ConvertTo(1, typeof(InstanceDescriptor))); 141Assert.Throws<NotSupportedException>(() => converter.ConvertTo(new ColumnHeader(), destinationType));
System\Windows\Forms\Control.ActiveXImplTests.cs (1)
48Assert.Throws<NotSupportedException>(() => persistStream.Save(istreamPointer, fClearDirty: BOOL.FALSE));
System\Windows\Forms\CursorConverterTests.cs (5)
54Assert.Throws<NotSupportedException>(() => converter.ConvertFrom(value)); 108Assert.Throws<NotSupportedException>(() => converter.ConvertTo(new Cursor(Cursors.AppStarting.Handle), typeof(InstanceDescriptor))); 115Assert.Throws<NotSupportedException>(() => converter.ConvertTo(new Cursor(2), typeof(InstanceDescriptor))); 122Assert.Throws<NotSupportedException>(() => converter.ConvertTo(null, typeof(InstanceDescriptor))); 180Assert.Throws<NotSupportedException>(() => converter.ConvertTo(1, destinationType));
System\Windows\Forms\DataGridViewCellConverterTests.cs (1)
36action.Should().Throw<NotSupportedException>()
System\Windows\Forms\DataGridViewCellStyleConverterTests.cs (1)
44action.Should().Throw<NotSupportedException>();
System\Windows\Forms\DataGridViewColumnConverterTests.cs (1)
62action.Should().Throw<NotSupportedException>();
System\Windows\Forms\DataGridViewSelectedCellCollectionTests.cs (8)
96Assert.Throws<NotSupportedException>(collection.Clear); 179Assert.Throws<NotSupportedException>(() => collection.Insert(index, dataGridViewCell)); 282Assert.Throws<NotSupportedException>(() => iList[index] = value); 299Assert.Throws<NotSupportedException>(() => iList.Add(value)); 308Assert.Throws<NotSupportedException>(iList.Clear); 490Assert.Throws<NotSupportedException>(() => iList.Insert(index, value)); 507Assert.Throws<NotSupportedException>(() => iList.Remove(value)); 519Assert.Throws<NotSupportedException>(() => iList.RemoveAt(index));
System\Windows\Forms\DataGridViewSelectedColumnCollectionTests.cs (8)
108Assert.Throws<NotSupportedException>(collection.Clear); 199Assert.Throws<NotSupportedException>(() => collection.Insert(index, dataGridViewColumn)); 314Assert.Throws<NotSupportedException>(() => iList[index] = value); 331Assert.Throws<NotSupportedException>(() => iList.Add(value)); 340Assert.Throws<NotSupportedException>(iList.Clear); 538Assert.Throws<NotSupportedException>(() => iList.Insert(index, value)); 555Assert.Throws<NotSupportedException>(() => iList.Remove(value)); 567Assert.Throws<NotSupportedException>(() => iList.RemoveAt(index));
System\Windows\Forms\DataGridViewSelectedRowCollectionTests.cs (8)
93Assert.Throws<NotSupportedException>(collection.Clear); 174Assert.Throws<NotSupportedException>(() => collection.Insert(index, dataGridRow)); 274Assert.Throws<NotSupportedException>(() => iList[index] = value); 291Assert.Throws<NotSupportedException>(() => iList.Add(value)); 300Assert.Throws<NotSupportedException>(iList.Clear); 478Assert.Throws<NotSupportedException>(() => iList.Insert(index, value)); 495Assert.Throws<NotSupportedException>(() => iList.Remove(value)); 507Assert.Throws<NotSupportedException>(() => iList.RemoveAt(index));
System\Windows\Forms\DataObjectExtensionsTests.cs (4)
37tryGetData.Should().Throw<NotSupportedException>(); 46tryGetData.Should().Throw<NotSupportedException>(); 56tryGetData.Should().Throw<NotSupportedException>(); 66tryGetData.Should().Throw<NotSupportedException>();
System\Windows\Forms\DataObjectTests.cs (6)
472tryGetData.Should().Throw<NotSupportedException>(); 486tryGetData.Should().Throw<NotSupportedException>(); 534tryGetData.Should().Throw<NotSupportedException>(); 572tryGetData.Should().Throw<NotSupportedException>(); 586tryGetData.Should().Throw<NotSupportedException>(); 1597.Should().Throw<NotSupportedException>();
System\Windows\Forms\FlatButtonAppearanceConverterTests.cs (1)
30action2.Should().Throw<NotSupportedException>();
System\Windows\Forms\FlowLayoutSettingsTests.cs (2)
124Assert.Throws<NotSupportedException>(() => settings.GetFlowBreak(new object())); 251Assert.Throws<NotSupportedException>(() => settings.SetFlowBreak(new object(), value));
System\Windows\Forms\GridItemTests.cs (1)
32Assert.Throws<NotSupportedException>(() => item.Expanded = value);
System\Windows\Forms\HtmlElementTests.cs (6)
497Assert.Throws<NotSupportedException>(() => element.InnerHtml = "InnerText"); 512Assert.Throws<NotSupportedException>(() => element.InnerHtml = "InnerHtml"); 618Assert.Throws<NotSupportedException>(() => element.InnerText = "InnerText"); 633Assert.Throws<NotSupportedException>(() => element.InnerText = "InnerText"); 924Assert.Throws<NotSupportedException>(() => element.OuterHtml = "OuterHtml"); 1030Assert.Throws<NotSupportedException>(() => element.OuterText = "OuterText");
System\Windows\Forms\ImageList.ImageCollectionTests.cs (7)
1069Assert.Throws<NotSupportedException>(() => collection.Contains(image)); 1283Assert.Throws<NotSupportedException>(() => collection.IndexOf(image)); 1299Assert.Throws<NotSupportedException>(() => collection.Remove(image)); 1741Assert.Throws<NotSupportedException>(() => collection.Contains(value)); 1772Assert.Throws<NotSupportedException>(() => collection.IndexOf(value)); 1809Assert.Throws<NotSupportedException>(() => collection.Insert(index, value)); 1824Assert.Throws<NotSupportedException>(() => collection.Remove(value));
System\Windows\Forms\Layout\FlowLayoutTests.cs (2)
26Assert.Throws<NotSupportedException>(() => engine.InitLayout("child", BoundsSpecified.All)); 283Assert.Throws<NotSupportedException>(() => engine.Layout("container", new LayoutEventArgs(control, "affectedProperty")));
System\Windows\Forms\Layout\LayoutEngineTests.cs (2)
23Assert.Throws<NotSupportedException>(() => engine.InitLayout("child", BoundsSpecified.All)); 44Assert.Throws<NotSupportedException>(() => engine.Layout("container", new LayoutEventArgs(new Component(), "affectedProperty")));
System\Windows\Forms\Layout\TableLayoutSettingsTests.cs (10)
197Assert.Throws<NotSupportedException>(() => settings.GetCellPosition("control")); 287Assert.Throws<NotSupportedException>(() => settings.GetColumn("control")); 338Assert.Throws<NotSupportedException>(() => settings.GetColumnSpan("control")); 388Assert.Throws<NotSupportedException>(() => settings.GetRow("control")); 438Assert.Throws<NotSupportedException>(() => settings.GetRowSpan("control")); 666Assert.Throws<NotSupportedException>(() => settings.SetCellPosition("control", default)); 890Assert.Throws<NotSupportedException>(() => settings.SetColumn("control", 1)); 1122Assert.Throws<NotSupportedException>(() => settings.SetColumnSpan("control", 1)); 1366Assert.Throws<NotSupportedException>(() => settings.SetRow("control", 1)); 1597Assert.Throws<NotSupportedException>(() => settings.SetRowSpan("control", 1));
System\Windows\Forms\Layout\TableLayoutSettingsTypeConverterTests.cs (2)
146Assert.Throws<NotSupportedException>(() => converter.ConvertFrom(value)); 301Assert.Throws<NotSupportedException>(() => converter.ConvertTo(toolStrip.LayoutSettings, destinationType));
System\Windows\Forms\LinkAreaConverterTests.cs (3)
50Assert.Throws<NotSupportedException>(() => converter.ConvertFrom(value)); 103Assert.Throws<NotSupportedException>(() => converter.ConvertTo(1, typeof(InstanceDescriptor))); 112Assert.Throws<NotSupportedException>(() => converter.ConvertTo(default(LinkArea), destinationType));
System\Windows\Forms\LinkConverterTests.cs (3)
48Assert.Throws<NotSupportedException>(() => converter.ConvertFrom(value)); 112Assert.Throws<NotSupportedException>(() => converter.ConvertTo(1, typeof(InstanceDescriptor))); 121Assert.Throws<NotSupportedException>(() => converter.ConvertTo(new LinkLabel.Link(), destinationType));
System\Windows\Forms\ListBindingHelperTests.cs (4)
229Assert.Throws<NotSupportedException>(() => ListBindingHelper.GetListItemType(list)); 230Assert.Throws<NotSupportedException>(() => ListBindingHelper.GetListItemType(list, null)); 231Assert.Throws<NotSupportedException>(() => ListBindingHelper.GetListItemType(list, string.Empty)); 232Assert.Throws<NotSupportedException>(() => ListBindingHelper.GetListItemType(list, "dataMember"));
System\Windows\Forms\ListBox.SelectedIndexCollectionTests.cs (6)
62Assert.Throws<NotSupportedException>(() => collection[index] = value); 73Assert.Throws<NotSupportedException>(() => collection.Add(value)); 81Assert.Throws<NotSupportedException>(collection.Clear); 98Assert.Throws<NotSupportedException>(() => collection.Insert(index, value)); 109Assert.Throws<NotSupportedException>(() => collection.Remove(value)); 120Assert.Throws<NotSupportedException>(() => collection.RemoveAt(index));
System\Windows\Forms\ListBox.SelectedObjectCollectionTests.cs (6)
57=> Assert.Throws<NotSupportedException>(() => ((IList)_collection)[index] = value); 64=> Assert.Throws<NotSupportedException>(() => ((IList)_collection).Add(value)); 68=> Assert.Throws<NotSupportedException>(() => ((IList)_collection).Clear()); 81=> Assert.Throws<NotSupportedException>(() => ((IList)_collection).Insert(index, value)); 88=> Assert.Throws<NotSupportedException>(() => ((IList)_collection).Remove(value)); 95=> Assert.Throws<NotSupportedException>(() => ((IList)_collection).RemoveAt(index));
System\Windows\Forms\ListViewGroupConverterTests.cs (5)
115Assert.Throws<NotSupportedException>(() => converter.ConvertFrom(mockContext.Object, null, "value")); 116Assert.Throws<NotSupportedException>(() => converter.ConvertFrom(mockContext.Object, null, "HEADER")); 126Assert.Throws<NotSupportedException>(() => converter.ConvertFrom(value)); 230Assert.Throws<NotSupportedException>(() => converter.ConvertTo(1, typeof(InstanceDescriptor))); 239Assert.Throws<NotSupportedException>(() => converter.ConvertTo(new ListViewGroup(), destinationType));
System\Windows\Forms\ListViewItemConverterTests.cs (3)
35Assert.Throws<NotSupportedException>(() => converter.ConvertFrom(value)); 285Assert.Throws<NotSupportedException>(() => converter.ConvertTo(1, typeof(InstanceDescriptor))); 294Assert.Throws<NotSupportedException>(() => converter.ConvertTo(new ListViewItem(), destinationType));
System\Windows\Forms\ListViewSubItemConverterTests.cs (3)
35Assert.Throws<NotSupportedException>(() => converter.ConvertFrom(value)); 98Assert.Throws<NotSupportedException>(() => converter.ConvertTo(1, typeof(InstanceDescriptor))); 107Assert.Throws<NotSupportedException>(() => converter.ConvertTo(new ListViewItem.ListViewSubItem(), destinationType));
System\Windows\Forms\ListViewTests.cs (1)
1086Assert.Throws<NotSupportedException>(() => listView.CheckBoxes = true);
System\Windows\Forms\MonthCalendar.SelectionRangeConverterTests.cs (1)
119act.Should().Throw<NotSupportedException>();
System\Windows\Forms\NativeToWinFormsAdapterTests.cs (17)
52tryGetData.Should().Throw<NotSupportedException>().WithMessage(expectedWildcardPattern: ResourceStrings.TypeRequiresResolver); 72tryGetData.Should().Throw<NotSupportedException>() 95tryGetData.Should().Throw<NotSupportedException>().WithMessage(expectedWildcardPattern: ResourceStrings.TypeRequiresResolver); 108tryGetData.Should().Throw<NotSupportedException>().WithMessage(expectedWildcardPattern: ResourceStrings.TypeRequiresResolver); 120tryGetData.Should().Throw<NotSupportedException>() 174tryGetData.Should().Throw<NotSupportedException>().WithMessage(expectedWildcardPattern: ResourceStrings.TypeRequiresResolver); 189tryGetData.Should().Throw<NotSupportedException>() 220tryGetData.Should().Throw<NotSupportedException>() 270tryGetData.Should().Throw<NotSupportedException>() 295tryGetData.Should().Throw<NotSupportedException>() 310tryGetData.Should().Throw<NotSupportedException>() 347tryGetData.Should().Throw<NotSupportedException>() 358tryGetData.Should().Throw<NotSupportedException>().WithMessage(expectedWildcardPattern: ResourceStrings.TypeRequiresResolver); 360dataObject.TryGetData(format, out NotSupportedException? ex).Should().BeTrue(); 361ex.Should().BeOfType<NotSupportedException>().Which.Message.Should().Be(FormatterDisabledMessage); 374tryGetData.Should().Throw<NotSupportedException>().WithMessage(expectedWildcardPattern: ResourceStrings.TypeRequiresResolver); 413tryGetData.Should().Throw<NotSupportedException>()
System\Windows\Forms\Ole\BinaryFormatUtilitiesTests.cs (1)
133action.Should().Throw<NotSupportedException>();
System\Windows\Forms\OpacityConverterTests.cs (3)
53Assert.Throws<NotSupportedException>(() => converter.ConvertFrom(value)); 105Assert.Throws<NotSupportedException>(() => converter.ConvertTo(1, typeof(InstanceDescriptor))); 115Assert.Throws<NotSupportedException>(() => converter.ConvertTo(1.1, destinationType));
System\Windows\Forms\PaddingConverterTests.cs (3)
52Assert.Throws<NotSupportedException>(() => converter.ConvertFrom(value)); 115Assert.Throws<NotSupportedException>(() => converter.ConvertTo(1, typeof(InstanceDescriptor))); 124Assert.Throws<NotSupportedException>(() => converter.ConvertTo(default(Padding), destinationType));
System\Windows\Forms\PropertyManagerTests.cs (2)
396Assert.Throws<NotSupportedException>(manager.AddNew); 406Assert.Throws<NotSupportedException>(() => manager.RemoveAt(index));
System\Windows\Forms\SplitterPanelTests.cs (4)
464Assert.Throws<NotSupportedException>(() => control.Height = value); 483Assert.Throws<NotSupportedException>(() => control.Height = value); 1186Assert.Throws<NotSupportedException>(() => control.Width = value); 1205Assert.Throws<NotSupportedException>(() => control.Width = value);
System\Windows\Forms\StatusStripTests.cs (1)
616Assert.Throws<NotSupportedException>(() => control.RenderMode = ToolStripRenderMode.Custom);
System\Windows\Forms\TableLayoutPanelCellPositionTests.cs (3)
135Assert.Throws<NotSupportedException>(() => converter.ConvertFrom(value)); 194Assert.Throws<NotSupportedException>(() => converter.ConvertTo(1, typeof(InstanceDescriptor))); 203Assert.Throws<NotSupportedException>(() => converter.ConvertTo(default(TableLayoutPanelCellPosition), destinationType));
System\Windows\Forms\TableLayoutPanelTests.cs (2)
581Assert.Throws<NotSupportedException>(() => control.LayoutSettings = null); 590Assert.Throws<NotSupportedException>(() => control.LayoutSettings = otherControl.LayoutSettings);
System\Windows\Forms\TableLayoutStyleTests.cs (3)
151Assert.Throws<NotSupportedException>(() => converter.ConvertTo(new SubTableLayoutStyle { SizeType = sizeType }, typeof(InstanceDescriptor))); 165Assert.Throws<NotSupportedException>(() => converter.ConvertTo(1, typeof(InstanceDescriptor))); 174Assert.Throws<NotSupportedException>(() => converter.ConvertTo(new RowStyle(), destinationType));
System\Windows\Forms\ToolStripComboBoxTests.cs (1)
99new Action(() => new ToolStripComboBox(control)).Should().Throw<NotSupportedException>();
System\Windows\Forms\ToolStripContentPanelTests.cs (1)
1431Assert.Throws<NotSupportedException>(() => control.RenderMode = ToolStripRenderMode.Custom);
System\Windows\Forms\ToolStripTests.cs (7)
805Assert.Throws<NotSupportedException>(() => control.AutoScroll = value); 852Assert.Throws<NotSupportedException>(() => control.AutoScrollMinSize = new Size(1, 2)); 3442Assert.Throws<NotSupportedException>(() => control.RenderMode = ToolStripRenderMode.Custom); 7107Assert.Throws<NotSupportedException>(() => control.SetItemLocation(item, Point.Empty)); 7119Assert.Throws<NotSupportedException>(() => control.SetItemLocation(item, Point.Empty)); 7130Assert.Throws<NotSupportedException>(() => control.SetItemLocation(item, Point.Empty)); 7142Assert.Throws<NotSupportedException>(() => control.SetItemLocation(item, Point.Empty));
System\Windows\Forms\ToolStripTextBoxTests.cs (1)
39new Action(() => new ToolStripTextBox(control)).Should().Throw<NotSupportedException>();
System\Windows\Forms\TreeNodeConverterTests.cs (1)
51.Should().Throw<NotSupportedException>();
WebBrowserBaseTests.cs (41)
292Assert.Throws<NotSupportedException>(() => control.BackColorChanged += handler); 301Assert.Throws<NotSupportedException>(() => control.BackgroundImageChanged += handler); 310Assert.Throws<NotSupportedException>(() => control.BackgroundImageLayoutChanged += handler); 319Assert.Throws<NotSupportedException>(() => control.BindingContextChanged += handler); 328Assert.Throws<NotSupportedException>(() => control.ChangeUICues += handler); 337Assert.Throws<NotSupportedException>(() => control.Click += handler); 346Assert.Throws<NotSupportedException>(() => control.CursorChanged += handler); 355Assert.Throws<NotSupportedException>(() => control.DoubleClick += handler); 364Assert.Throws<NotSupportedException>(() => control.DragDrop += handler); 373Assert.Throws<NotSupportedException>(() => control.DragEnter += handler); 382Assert.Throws<NotSupportedException>(() => control.DragLeave += handler); 391Assert.Throws<NotSupportedException>(() => control.DragOver += handler); 400Assert.Throws<NotSupportedException>(() => control.EnabledChanged += handler); 409Assert.Throws<NotSupportedException>(() => control.Enter += handler); 418Assert.Throws<NotSupportedException>(() => control.FontChanged += handler); 427Assert.Throws<NotSupportedException>(() => control.ForeColorChanged += handler); 436Assert.Throws<NotSupportedException>(() => control.GiveFeedback += handler); 445Assert.Throws<NotSupportedException>(() => control.HelpRequested += handler); 454Assert.Throws<NotSupportedException>(() => control.ImeModeChanged += handler); 463Assert.Throws<NotSupportedException>(() => control.KeyDown += handler); 472Assert.Throws<NotSupportedException>(() => control.KeyPress += handler); 481Assert.Throws<NotSupportedException>(() => control.KeyUp += handler); 490Assert.Throws<NotSupportedException>(() => control.Layout += handler); 499Assert.Throws<NotSupportedException>(() => control.Leave += handler); 508Assert.Throws<NotSupportedException>(() => control.MouseCaptureChanged += handler); 517Assert.Throws<NotSupportedException>(() => control.MouseClick += handler); 526Assert.Throws<NotSupportedException>(() => control.MouseDoubleClick += handler); 535Assert.Throws<NotSupportedException>(() => control.MouseDown += handler); 544Assert.Throws<NotSupportedException>(() => control.MouseEnter += handler); 553Assert.Throws<NotSupportedException>(() => control.MouseHover += handler); 562Assert.Throws<NotSupportedException>(() => control.MouseLeave += handler); 571Assert.Throws<NotSupportedException>(() => control.MouseMove += handler); 580Assert.Throws<NotSupportedException>(() => control.MouseUp += handler); 589Assert.Throws<NotSupportedException>(() => control.MouseWheel += handler); 598Assert.Throws<NotSupportedException>(() => control.Paint += handler); 607Assert.Throws<NotSupportedException>(() => control.QueryAccessibilityHelp += handler); 616Assert.Throws<NotSupportedException>(() => control.QueryContinueDrag += handler); 625Assert.Throws<NotSupportedException>(() => control.RightToLeftChanged += handler); 634Assert.Throws<NotSupportedException>(() => control.StyleChanged += handler); 643Assert.Throws<NotSupportedException>(() => control.TextChanged += handler); 858Assert.Throws<NotSupportedException>(() => control.UseWaitCursor = true);
System.Xaml (2)
System\Xaml\Runtime\ClrObjectRuntime.cs (1)
260catch (NotSupportedException)
System\Xaml\Schema\BuiltInValueConverter.cs (1)
204catch (NotSupportedException)
System.Xaml.Tests (54)
System\Windows\Markup\DateTimeValueSerializerTests.cs (2)
51Assert.Throws<NotSupportedException>(() => serializer.ConvertToString(value, null)); 83Assert.Throws<NotSupportedException>(() => serializer.ConvertFromString(null!, null));
System\Windows\Markup\StaticExtensionTests.cs (1)
243Assert.Throws<NotSupportedException>(() => converter.ConvertTo(extension, typeof(int)));
System\Windows\Markup\TypeExtensionTests.cs (1)
204Assert.Throws<NotSupportedException>(() => converter.ConvertTo(extension, typeof(int)));
System\Windows\Markup\ValueSerializerTests.cs (6)
43Assert.Throws<NotSupportedException>(() => serializer.ConvertToString(value, null)); 44Assert.Throws<NotSupportedException>(() => serializer.ConvertToString(value, new CustomValueSerializerContext())); 67Assert.Throws<NotSupportedException>(() => serializer.ConvertFromString(null!, null)); 68Assert.Throws<NotSupportedException>(() => serializer.ConvertFromString(null!, new CustomValueSerializerContext())); 77Assert.Throws<NotSupportedException>(() => serializer.ConvertFromString(value, null)); 78Assert.Throws<NotSupportedException>(() => serializer.ConvertFromString(value, new CustomValueSerializerContext()));
System\Xaml\Replacements\DateTimeConverter2Tests.cs (2)
53Assert.Throws<NotSupportedException>(() => converter.ConvertFrom(value!)); 104Assert.Throws<NotSupportedException>(() => converter.ConvertTo(DateTime.MinValue, destinationType));
System\Xaml\Replacements\DateTimeOffsetConverter2Tests.cs (2)
53Assert.Throws<NotSupportedException>(() => converter.ConvertFrom(value!)); 112Assert.Throws<NotSupportedException>(() => converter.ConvertTo(DateTimeOffset.MinValue, destinationType));
System\Xaml\Replacements\EventConverterTests.cs (7)
89Assert.Throws<NotSupportedException>(() => converter.ConvertFrom(context, null, "value")); 124Assert.Throws<NotSupportedException>(() => converter.ConvertFrom(context, null, "value")); 132Assert.Throws<NotSupportedException>(() => converter.ConvertFrom("value")); 142Assert.Throws<NotSupportedException>(() => converter.ConvertFrom(value!)); 143Assert.Throws<NotSupportedException>(() => converter.ConvertFrom(new CustomTypeDescriptorContext(), null, value!)); 175Assert.Throws<NotSupportedException>(() => converter.ConvertTo(typeof(int), destinationType)); 176Assert.Throws<NotSupportedException>(() => converter.ConvertTo(new CustomTypeDescriptorContext(), null, typeof(int), destinationType));
System\Xaml\Replacements\TypeListConverterTests.cs (4)
31Assert.Throws<NotSupportedException>(() => converter.ConvertFrom("value")); 41Assert.Throws<NotSupportedException>(() => converter.ConvertFrom(value!)); 42Assert.Throws<NotSupportedException>(() => converter.ConvertFrom(new CustomTypeDescriptorContext(), null, value!)); 73Assert.Throws<NotSupportedException>(() => converter.ConvertTo(Array.Empty<Type>(), destinationType));
System\Xaml\Replacements\TypeTypeConverterTests.cs (6)
65Assert.Throws<NotSupportedException>(() => converter.ConvertFrom(context, null, "value")); 73Assert.Throws<NotSupportedException>(() => converter.ConvertFrom("value")); 83Assert.Throws<NotSupportedException>(() => converter.ConvertFrom(value!)); 84Assert.Throws<NotSupportedException>(() => converter.ConvertFrom(new CustomTypeDescriptorContext(), null, value!)); 270Assert.Throws<NotSupportedException>(() => converter.ConvertTo(typeof(int), destinationType)); 271Assert.Throws<NotSupportedException>(() => converter.ConvertTo(new CustomTypeDescriptorContext(), null, typeof(int), destinationType));
System\Xaml\Replacements\TypeUriConverterTests.cs (2)
95Assert.Throws<NotSupportedException>(() => converter.ConvertFrom(value!)); 171Assert.Throws<NotSupportedException>(() => converter.ConvertTo(new Uri("http://google.com"), destinationType));
System\Xaml\Schema\XamlMemberInvokerTests.cs (4)
101Assert.Throws<NotSupportedException>(() => invoker.GetValue(instance)); 108Assert.Throws<NotSupportedException>(() => invoker.GetValue("value")); 147Assert.Throws<NotSupportedException>(() => invoker.SetValue(instance, 1)); 154Assert.Throws<NotSupportedException>(() => invoker.SetValue(new object(), "value"));
System\Xaml\Schema\XamlTypeInvokerTests.cs (8)
85Assert.Throws<NotSupportedException>(() => invoker.AddToCollection(new object(), 1)); 92Assert.Throws<NotSupportedException>(() => invoker.AddToCollection(new object(), 1)); 135Assert.Throws<NotSupportedException>(() => invoker.AddToDictionary(new object(), 1, 2)); 142Assert.Throws<NotSupportedException>(() => invoker.AddToDictionary(new object(), 1, 2)); 187Assert.Throws<NotSupportedException>(() => invoker.CreateInstance(null)); 188Assert.Throws<NotSupportedException>(() => invoker.CreateInstance(Array.Empty<object>())); 528Assert.Throws<NotSupportedException>(() => invoker.GetItems(new object())); 535Assert.Throws<NotSupportedException>(() => invoker.GetItems(new object()));
System\Xaml\Schema\XamlTypeTypeConverterTests.cs (7)
136Assert.Throws<NotSupportedException>(() => converter.ConvertFrom(context, null, "value")); 170Assert.Throws<NotSupportedException>(() => converter.ConvertFrom(context, null, "prefix:namespace")); 177Assert.Throws<NotSupportedException>(() => converter.ConvertFrom("value")); 186Assert.Throws<NotSupportedException>(() => converter.ConvertFrom(value!)); 187Assert.Throws<NotSupportedException>(() => converter.ConvertFrom(new CustomTypeDescriptorContext(), null, value)); 268Assert.Throws<NotSupportedException>(() => converter.ConvertTo(type, destinationType)); 269Assert.Throws<NotSupportedException>(() => converter.ConvertTo(new CustomTypeDescriptorContext(), null, type, destinationType));
System\Xaml\XamlDirectiveTests.cs (2)
84Assert.Throws<NotSupportedException>(() => directive.Invoker.GetValue(null)); 92Assert.Throws<NotSupportedException>(() => directive.Invoker.SetValue(null, null));
WindowsBase.Tests (134)
System\ComponentModel\SortDescriptionCollectionTests.cs (3)
791Assert.Throws<NotSupportedException>(() => collection.Add(new SortDescription("Name", ListSortDirection.Ascending))); 792Assert.Throws<NotSupportedException>(() => collection.Insert(0, new SortDescription("Name", ListSortDirection.Ascending))); 793Assert.Throws<NotSupportedException>(() => collection.Clear());
System\Windows\Converters\Int32RectValueSerializerTests.cs (4)
53Assert.Throws<NotSupportedException>(() => serializer.ConvertToString(value, null)); 54Assert.Throws<NotSupportedException>(() => serializer.ConvertToString(value, new CustomValueSerializerContext())); 86Assert.Throws<NotSupportedException>(() => serializer.ConvertFromString(null, null)); 87Assert.Throws<NotSupportedException>(() => serializer.ConvertFromString(null, new CustomValueSerializerContext()));
System\Windows\Converters\PointValueSerializerTests.cs (4)
53Assert.Throws<NotSupportedException>(() => serializer.ConvertToString(value, null)); 54Assert.Throws<NotSupportedException>(() => serializer.ConvertToString(value, new CustomValueSerializerContext())); 86Assert.Throws<NotSupportedException>(() => serializer.ConvertFromString(null, null)); 87Assert.Throws<NotSupportedException>(() => serializer.ConvertFromString(null, new CustomValueSerializerContext()));
System\Windows\Converters\RectValueSerializerTests.cs (4)
53Assert.Throws<NotSupportedException>(() => serializer.ConvertToString(value, null)); 54Assert.Throws<NotSupportedException>(() => serializer.ConvertToString(value, new CustomValueSerializerContext())); 86Assert.Throws<NotSupportedException>(() => serializer.ConvertFromString(null, null)); 87Assert.Throws<NotSupportedException>(() => serializer.ConvertFromString(null, new CustomValueSerializerContext()));
System\Windows\Converters\SizeValueSerializerTests.cs (4)
53Assert.Throws<NotSupportedException>(() => serializer.ConvertToString(value, null)); 54Assert.Throws<NotSupportedException>(() => serializer.ConvertToString(value, new CustomValueSerializerContext())); 86Assert.Throws<NotSupportedException>(() => serializer.ConvertFromString(null, null)); 87Assert.Throws<NotSupportedException>(() => serializer.ConvertFromString(null, new CustomValueSerializerContext()));
System\Windows\Converters\VectorValueSerializerTests.cs (4)
53Assert.Throws<NotSupportedException>(() => serializer.ConvertToString(value, null)); 54Assert.Throws<NotSupportedException>(() => serializer.ConvertToString(value, new CustomValueSerializerContext())); 86Assert.Throws<NotSupportedException>(() => serializer.ConvertFromString(null, null)); 87Assert.Throws<NotSupportedException>(() => serializer.ConvertFromString(null, new CustomValueSerializerContext()));
System\Windows\DependencyPropertyTests.cs (10)
236Assert.Throws<NotSupportedException>(() => DependencyProperty.Register(MethodBase.GetCurrentMethod()!.Name, typeof(void), typeof(DependencyPropertyTests))); 237Assert.Throws<NotSupportedException>(() => DependencyProperty.Register(MethodBase.GetCurrentMethod()!.Name, typeof(void), typeof(DependencyPropertyTests), new PropertyMetadata())); 238Assert.Throws<NotSupportedException>(() => DependencyProperty.Register(MethodBase.GetCurrentMethod()!.Name, typeof(void), typeof(DependencyPropertyTests), new PropertyMetadata(), value => true)); 553Assert.Throws<NotSupportedException>(() => DependencyProperty.RegisterAttached(MethodBase.GetCurrentMethod()!.Name, typeof(void), typeof(DependencyPropertyTests))); 554Assert.Throws<NotSupportedException>(() => DependencyProperty.RegisterAttached(MethodBase.GetCurrentMethod()!.Name, typeof(void), typeof(DependencyPropertyTests), new PropertyMetadata())); 555Assert.Throws<NotSupportedException>(() => DependencyProperty.RegisterAttached(MethodBase.GetCurrentMethod()!.Name, typeof(void), typeof(DependencyPropertyTests), new PropertyMetadata(), value => true)); 836Assert.Throws<NotSupportedException>(() => DependencyProperty.RegisterReadOnly(MethodBase.GetCurrentMethod()!.Name, typeof(void), typeof(DependencyObject), new PropertyMetadata())); 837Assert.Throws<NotSupportedException>(() => DependencyProperty.RegisterReadOnly(MethodBase.GetCurrentMethod()!.Name, typeof(void), typeof(DependencyObject), new PropertyMetadata(), value => true)); 1131Assert.Throws<NotSupportedException>(() => DependencyProperty.RegisterAttachedReadOnly(MethodBase.GetCurrentMethod()!.Name, typeof(void), typeof(DependencyPropertyTests), new PropertyMetadata())); 1132Assert.Throws<NotSupportedException>(() => DependencyProperty.RegisterAttachedReadOnly(MethodBase.GetCurrentMethod()!.Name, typeof(void), typeof(DependencyPropertyTests), new PropertyMetadata(), value => true));
System\Windows\ExpressionConverterTests.cs (6)
54Assert.Throws<NotSupportedException>(() => converter.ConvertTo(value, destinationType)); 55Assert.Throws<NotSupportedException>(() => converter.ConvertTo(null, null, value, destinationType)); 56Assert.Throws<NotSupportedException>(() => converter.ConvertTo(new CustomTypeDescriptorContext(), CultureInfo.InvariantCulture, value, destinationType)); 103Assert.Throws<NotSupportedException>(() => converter.ConvertFrom(value)); 104Assert.Throws<NotSupportedException>(() => converter.ConvertFrom(null, null, value)); 105Assert.Throws<NotSupportedException>(() => converter.ConvertFrom(new CustomTypeDescriptorContext(), CultureInfo.InvariantCulture, value));
System\Windows\Input\KeyConverterTests.cs (15)
154Assert.Throws<NotSupportedException>(() => converter.ConvertTo(value, typeof(string))); 155Assert.Throws<NotSupportedException>(() => converter.ConvertTo(new CustomTypeDescriptorContext(), null, value, typeof(string))); 156Assert.Throws<NotSupportedException>(() => converter.ConvertTo(new CustomTypeDescriptorContext(), CultureInfo.InvariantCulture, value, typeof(string))); 167Assert.Throws<NotSupportedException>(() => converter.ConvertTo(value, typeof(string))); 168Assert.Throws<NotSupportedException>(() => converter.ConvertTo(new CustomTypeDescriptorContext(), null, value, typeof(string))); 169Assert.Throws<NotSupportedException>(() => converter.ConvertTo(new CustomTypeDescriptorContext(), CultureInfo.InvariantCulture, value, typeof(string))); 204Assert.Throws<NotSupportedException>(() => converter.ConvertTo(value, destinationType)); 205Assert.Throws<NotSupportedException>(() => converter.ConvertTo(null, null, value, destinationType)); 206Assert.Throws<NotSupportedException>(() => converter.ConvertTo(new CustomTypeDescriptorContext(), CultureInfo.InvariantCulture, value, destinationType)); 378Assert.Throws<NotSupportedException>(() => converter.ConvertFrom(null!)); 379Assert.Throws<NotSupportedException>(() => converter.ConvertFrom(null, null, null)); 380Assert.Throws<NotSupportedException>(() => converter.ConvertFrom(new CustomTypeDescriptorContext(), CultureInfo.InvariantCulture, null)); 418Assert.Throws<NotSupportedException>(() => converter.ConvertFrom(value)); 419Assert.Throws<NotSupportedException>(() => converter.ConvertFrom(null, null, value)); 420Assert.Throws<NotSupportedException>(() => converter.ConvertFrom(new CustomTypeDescriptorContext(), CultureInfo.InvariantCulture, value));
System\Windows\Input\KeyValueSerializerTests.cs (6)
55Assert.Throws<NotSupportedException>(() => serializer.ConvertToString(key, null)); 56Assert.Throws<NotSupportedException>(() => serializer.ConvertToString(key, new CustomValueSerializerContext())); 67Assert.Throws<NotSupportedException>(() => serializer.ConvertToString(value, null)); 68Assert.Throws<NotSupportedException>(() => serializer.ConvertToString(value, new CustomValueSerializerContext())); 111Assert.Throws<NotSupportedException>(() => serializer.ConvertFromString(null, null)); 112Assert.Throws<NotSupportedException>(() => serializer.ConvertFromString(null, new CustomValueSerializerContext()));
System\Windows\Input\ModifierKeysConverterTests.cs (12)
170Assert.Throws<NotSupportedException>(() => converter.ConvertTo(value, destinationType)); 171Assert.Throws<NotSupportedException>(() => converter.ConvertTo(null, null, value, destinationType)); 172Assert.Throws<NotSupportedException>(() => converter.ConvertTo(new CustomTypeDescriptorContext(), CultureInfo.InvariantCulture, value, destinationType)); 256Assert.Throws<NotSupportedException>(() => converter.ConvertFrom(null!)); 257Assert.Throws<NotSupportedException>(() => converter.ConvertFrom(null, null, null)); 258Assert.Throws<NotSupportedException>(() => converter.ConvertFrom(new CustomTypeDescriptorContext(), CultureInfo.InvariantCulture, null)); 275Assert.Throws<NotSupportedException>(() => converter.ConvertFrom(value)); 276Assert.Throws<NotSupportedException>(() => converter.ConvertFrom(null, null, value)); 277Assert.Throws<NotSupportedException>(() => converter.ConvertFrom(new CustomTypeDescriptorContext(), CultureInfo.InvariantCulture, value)); 292Assert.Throws<NotSupportedException>(() => converter.ConvertFrom(value)); 293Assert.Throws<NotSupportedException>(() => converter.ConvertFrom(null, null, value)); 294Assert.Throws<NotSupportedException>(() => converter.ConvertFrom(new CustomTypeDescriptorContext(), CultureInfo.InvariantCulture, value));
System\Windows\Input\ModifierKeysValueSerializerTests.cs (4)
107Assert.Throws<NotSupportedException>(() => serializer.ConvertFromString(null, null)); 108Assert.Throws<NotSupportedException>(() => serializer.ConvertFromString(null, new CustomValueSerializerContext())); 116Assert.Throws<NotSupportedException>(() => serializer.ConvertFromString(value, null)); 117Assert.Throws<NotSupportedException>(() => serializer.ConvertFromString(value, new CustomValueSerializerContext()));
System\Windows\Int32RectConverterTests.cs (9)
80Assert.Throws<NotSupportedException>(() => converter.ConvertTo(value, destinationType)); 81Assert.Throws<NotSupportedException>(() => converter.ConvertTo(null, null, value, destinationType)); 82Assert.Throws<NotSupportedException>(() => converter.ConvertTo(new CustomTypeDescriptorContext(), CultureInfo.InvariantCulture, value, destinationType)); 132Assert.Throws<NotSupportedException>(() => converter.ConvertFrom(null!)); 133Assert.Throws<NotSupportedException>(() => converter.ConvertFrom(null, null, null)); 134Assert.Throws<NotSupportedException>(() => converter.ConvertFrom(new CustomTypeDescriptorContext(), CultureInfo.InvariantCulture, null)); 168Assert.Throws<NotSupportedException>(() => converter.ConvertFrom(value)); 169Assert.Throws<NotSupportedException>(() => converter.ConvertFrom(null, null, value)); 170Assert.Throws<NotSupportedException>(() => converter.ConvertFrom(new CustomTypeDescriptorContext(), CultureInfo.InvariantCulture, value));
System\Windows\Media\Converters\MatrixValueSerializerTests.cs (4)
53Assert.Throws<NotSupportedException>(() => serializer.ConvertToString(value, null)); 54Assert.Throws<NotSupportedException>(() => serializer.ConvertToString(value, new CustomValueSerializerContext())); 86Assert.Throws<NotSupportedException>(() => serializer.ConvertFromString(null, null)); 87Assert.Throws<NotSupportedException>(() => serializer.ConvertFromString(null, new CustomValueSerializerContext()));
System\Windows\Media\MatrixConverterTests.cs (9)
80Assert.Throws<NotSupportedException>(() => converter.ConvertTo(value, destinationType)); 81Assert.Throws<NotSupportedException>(() => converter.ConvertTo(null, null, value, destinationType)); 82Assert.Throws<NotSupportedException>(() => converter.ConvertTo(new CustomTypeDescriptorContext(), CultureInfo.InvariantCulture, value, destinationType)); 132Assert.Throws<NotSupportedException>(() => converter.ConvertFrom(null!)); 133Assert.Throws<NotSupportedException>(() => converter.ConvertFrom(null, null, null)); 134Assert.Throws<NotSupportedException>(() => converter.ConvertFrom(new CustomTypeDescriptorContext(), CultureInfo.InvariantCulture, null)); 168Assert.Throws<NotSupportedException>(() => converter.ConvertFrom(value)); 169Assert.Throws<NotSupportedException>(() => converter.ConvertFrom(null, null, value)); 170Assert.Throws<NotSupportedException>(() => converter.ConvertFrom(new CustomTypeDescriptorContext(), CultureInfo.InvariantCulture, value));
System\Windows\PointConverterTests.cs (9)
80Assert.Throws<NotSupportedException>(() => converter.ConvertTo(value, destinationType)); 81Assert.Throws<NotSupportedException>(() => converter.ConvertTo(null, null, value, destinationType)); 82Assert.Throws<NotSupportedException>(() => converter.ConvertTo(new CustomTypeDescriptorContext(), CultureInfo.InvariantCulture, value, destinationType)); 132Assert.Throws<NotSupportedException>(() => converter.ConvertFrom(null!)); 133Assert.Throws<NotSupportedException>(() => converter.ConvertFrom(null, null, null)); 134Assert.Throws<NotSupportedException>(() => converter.ConvertFrom(new CustomTypeDescriptorContext(), CultureInfo.InvariantCulture, null)); 168Assert.Throws<NotSupportedException>(() => converter.ConvertFrom(value)); 169Assert.Throws<NotSupportedException>(() => converter.ConvertFrom(null, null, value)); 170Assert.Throws<NotSupportedException>(() => converter.ConvertFrom(new CustomTypeDescriptorContext(), CultureInfo.InvariantCulture, value));
System\Windows\RectConverterTests.cs (9)
80Assert.Throws<NotSupportedException>(() => converter.ConvertTo(value, destinationType)); 81Assert.Throws<NotSupportedException>(() => converter.ConvertTo(null, null, value, destinationType)); 82Assert.Throws<NotSupportedException>(() => converter.ConvertTo(new CustomTypeDescriptorContext(), CultureInfo.InvariantCulture, value, destinationType)); 132Assert.Throws<NotSupportedException>(() => converter.ConvertFrom(null!)); 133Assert.Throws<NotSupportedException>(() => converter.ConvertFrom(null, null, null)); 134Assert.Throws<NotSupportedException>(() => converter.ConvertFrom(new CustomTypeDescriptorContext(), CultureInfo.InvariantCulture, null)); 178Assert.Throws<NotSupportedException>(() => converter.ConvertFrom(value)); 179Assert.Throws<NotSupportedException>(() => converter.ConvertFrom(null, null, value)); 180Assert.Throws<NotSupportedException>(() => converter.ConvertFrom(new CustomTypeDescriptorContext(), CultureInfo.InvariantCulture, value));
System\Windows\SizeConverterTests.cs (9)
80Assert.Throws<NotSupportedException>(() => converter.ConvertTo(value, destinationType)); 81Assert.Throws<NotSupportedException>(() => converter.ConvertTo(null, null, value, destinationType)); 82Assert.Throws<NotSupportedException>(() => converter.ConvertTo(new CustomTypeDescriptorContext(), CultureInfo.InvariantCulture, value, destinationType)); 132Assert.Throws<NotSupportedException>(() => converter.ConvertFrom(null!)); 133Assert.Throws<NotSupportedException>(() => converter.ConvertFrom(null, null, null)); 134Assert.Throws<NotSupportedException>(() => converter.ConvertFrom(new CustomTypeDescriptorContext(), CultureInfo.InvariantCulture, null)); 178Assert.Throws<NotSupportedException>(() => converter.ConvertFrom(value)); 179Assert.Throws<NotSupportedException>(() => converter.ConvertFrom(null, null, value)); 180Assert.Throws<NotSupportedException>(() => converter.ConvertFrom(new CustomTypeDescriptorContext(), CultureInfo.InvariantCulture, value));
System\Windows\VectorConverterTests.cs (9)
80Assert.Throws<NotSupportedException>(() => converter.ConvertTo(value, destinationType)); 81Assert.Throws<NotSupportedException>(() => converter.ConvertTo(null, null, value, destinationType)); 82Assert.Throws<NotSupportedException>(() => converter.ConvertTo(new CustomTypeDescriptorContext(), CultureInfo.InvariantCulture, value, destinationType)); 132Assert.Throws<NotSupportedException>(() => converter.ConvertFrom(null!)); 133Assert.Throws<NotSupportedException>(() => converter.ConvertFrom(null, null, null)); 134Assert.Throws<NotSupportedException>(() => converter.ConvertFrom(new CustomTypeDescriptorContext(), CultureInfo.InvariantCulture, null)); 168Assert.Throws<NotSupportedException>(() => converter.ConvertFrom(value)); 169Assert.Throws<NotSupportedException>(() => converter.ConvertFrom(null, null, value)); 170Assert.Throws<NotSupportedException>(() => converter.ConvertFrom(new CustomTypeDescriptorContext(), CultureInfo.InvariantCulture, value));