2171 references to NotSupportedException
Aspire.Confluent.Kafka (1)
Aspire.Dashboard (1)
Aspire.Hosting (1)
Aspire.Hosting.Azure (6)
Aspire.Hosting.Azure.AppContainers (14)
Aspire.Hosting.Azure.AppService (7)
Aspire.Hosting.Azure.CosmosDB (2)
Aspire.Hosting.Docker (2)
Aspire.Hosting.Kubernetes (3)
Aspire.Microsoft.Data.SqlClient (1)
Aspire.Microsoft.EntityFrameworkCore.SqlServer (1)
Aspire.StackExchange.Redis (2)
AutobahnTestApp (1)
dotnet-svcutil-lib (87)
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));
GenerateDocumentationAndConfigFiles (1)
GenerateRulesMissingDocumentation (1)
Http2SampleApp (1)
IdeCoreBenchmarks (1)
illink (6)
Metrics (4)
Metrics.Legacy (4)
Microsoft.AspNetCore (23)
Microsoft.AspNetCore.App.CodeFixes (2)
Microsoft.AspNetCore.Authentication.Negotiate (2)
Microsoft.AspNetCore.Components (2)
Microsoft.AspNetCore.Components.Authorization (1)
Microsoft.AspNetCore.Components.QuickGrid (2)
Microsoft.AspNetCore.Components.Server (4)
Microsoft.AspNetCore.Components.Tests (1)
Microsoft.AspNetCore.Components.Web (2)
Microsoft.AspNetCore.Components.WebAssembly (2)
Microsoft.AspNetCore.Components.WebView (1)
Microsoft.AspNetCore.Components.WebView.Test (1)
Microsoft.AspNetCore.DataProtection (1)
Microsoft.AspNetCore.DataProtection.Tests (2)
Microsoft.AspNetCore.Hosting (4)
Microsoft.AspNetCore.Http (2)
Microsoft.AspNetCore.Http.Abstractions (4)
Microsoft.AspNetCore.Http.Connections.Client (2)
Microsoft.AspNetCore.Http.Extensions (8)
Microsoft.AspNetCore.Http.RequestDelegateGenerator (2)
Microsoft.AspNetCore.Http.Results (1)
Microsoft.AspNetCore.Http.Tests (1)
Microsoft.AspNetCore.Http.ValidationsGenerator (2)
Microsoft.AspNetCore.Identity (5)
Microsoft.AspNetCore.Identity.UI (4)
Microsoft.AspNetCore.JsonPatch (1)
Microsoft.AspNetCore.JsonPatch.SystemTextJson (1)
Microsoft.AspNetCore.Mvc.Abstractions (5)
Microsoft.AspNetCore.Mvc.Core (2)
Microsoft.AspNetCore.Mvc.Core.Test (2)
Microsoft.AspNetCore.Mvc.FunctionalTests (1)
Microsoft.AspNetCore.Mvc.Testing (1)
Microsoft.AspNetCore.OpenApi (1)
Microsoft.AspNetCore.OpenApi.SourceGenerators (2)
Microsoft.AspNetCore.Owin (4)
Microsoft.AspNetCore.ResponseCaching (4)
Microsoft.AspNetCore.Rewrite (28)
Microsoft.AspNetCore.Routing (2)
Microsoft.AspNetCore.Server.HttpSys (15)
Microsoft.AspNetCore.Server.IntegrationTesting (2)
Microsoft.AspNetCore.Server.IntegrationTesting.IIS (1)
Microsoft.AspNetCore.Server.Kestrel.Core (10)
Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes (2)
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (1)
Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets (1)
Microsoft.AspNetCore.Shared.Tests (5)
Microsoft.AspNetCore.SignalR.Core (3)
Microsoft.AspNetCore.SignalR.Specification.Tests (5)
Microsoft.AspNetCore.SignalR.Tests.Utils (5)
Microsoft.AspNetCore.TestHost (6)
Microsoft.AspNetCore.WebUtilities (3)
Microsoft.Build (19)
Microsoft.Build.Framework (10)
Microsoft.Build.Tasks.Core (3)
Microsoft.Build.Utilities.Core (2)
Microsoft.Cci.Extensions (10)
Microsoft.CodeAnalysis (17)
Microsoft.CodeAnalysis.Analyzers (2)
Microsoft.CodeAnalysis.AnalyzerUtilities (40)
Microsoft.CodeAnalysis.BannedApiAnalyzers (2)
Microsoft.CodeAnalysis.CodeStyle (13)
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
Microsoft.CodeAnalysis.Collections.Package (10)
Microsoft.CodeAnalysis.CSharp (2)
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Features (2)
Microsoft.CodeAnalysis.CSharp.Test.Utilities (2)
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
Microsoft.CodeAnalysis.EditorFeatures (1)
Microsoft.CodeAnalysis.Features (2)
Microsoft.CodeAnalysis.InteractiveHost (10)
Microsoft.CodeAnalysis.LanguageServer (1)
Microsoft.CodeAnalysis.LanguageServer.Protocol (2)
Microsoft.CodeAnalysis.PublicApiAnalyzers (2)
Microsoft.CodeAnalysis.ResxSourceGenerator (2)
Microsoft.CodeAnalysis.Scripting (1)
Microsoft.CodeAnalysis.Threading.Package (10)
Microsoft.CodeAnalysis.UnitTests (3)
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (1)
Microsoft.CodeAnalysis.Workspaces (50)
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (10)
Microsoft.Data.Analysis (8)
Microsoft.DotNet.Helix.Client (1)
Microsoft.DotNet.SwaggerGenerator.CodeGenerator (6)
Microsoft.Extensions.AI.Abstractions (1)
Microsoft.Extensions.AI.Evaluation.Quality (1)
Microsoft.Extensions.AI.Evaluation.Safety (3)
Microsoft.Extensions.Caching.Hybrid.Tests (11)
Microsoft.Extensions.Caching.Memory (1)
Microsoft.Extensions.DependencyInjection (2)
Microsoft.Extensions.Diagnostics.HealthChecks.Tests (1)
Microsoft.Extensions.Hosting (3)
Microsoft.Extensions.Http.Diagnostics (3)
Microsoft.Extensions.Http.Diagnostics.PerformanceTests (2)
Microsoft.Extensions.Http.Diagnostics.Tests (2)
Microsoft.Extensions.Http.Polly.Tests (1)
Microsoft.Extensions.Identity.Core (19)
Microsoft.Gen.MetadataExtractor (1)
Microsoft.Gen.Metrics (2)
Microsoft.Gen.MetricsReports (1)
Microsoft.JSInterop (4)
Microsoft.Maui.Controls (13)
Microsoft.Maui.Controls.BindingSourceGen (1)
Microsoft.Maui.Controls.Maps (1)
Microsoft.Maui.Essentials (2)
Microsoft.Maui.Graphics.Win2D.WinUI.Desktop (1)
Microsoft.ML.AutoML (8)
Microsoft.ML.Core (6)
Microsoft.ML.CpuMath (4)
Microsoft.ML.GenAI.LLaMA (2)
Microsoft.ML.GenAI.Phi (2)
Microsoft.ML.TensorFlow (1)
Microsoft.ML.Tokenizers (2)
Microsoft.ML.TorchSharp (3)
Microsoft.VisualBasic.Tests (1)
Microsoft.VisualStudio.LanguageServices (3)
Microsoft.VisualStudio.LanguageServices.CodeLens (1)
PresentationCore (66)
PresentationFramework (127)
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));
PresentationUI (3)
ReachFramework (6)
Roslyn.Diagnostics.Analyzers (3)
Roslyn.Test.PdbUtilities (3)
ScenarioTests.Common.Tests (1)
Shared (1)
System.Collections (18)
System.Collections.Concurrent (6)
System.Collections.NonGeneric (12)
System.Collections.Specialized (22)
System.ComponentModel.Composition (1)
System.ComponentModel.TypeConverter (7)
System.Configuration.ConfigurationManager (7)
System.Console (3)
System.Data.Common (14)
System.Data.Odbc (1)
System.Diagnostics.Process (2)
System.Drawing.Common.Tests (4)
System.Formats.Nrbf (2)
System.Formats.Tar (4)
System.IO.Compression (50)
System.IO.Hashing (1)
System.IO.IsolatedStorage (1)
System.IO.MemoryMappedFiles (1)
System.IO.Packaging (7)
System.IO.Pipelines (3)
System.IO.Pipes (15)
System.IO.Ports (5)
System.Linq.Expressions (4)
System.Linq.Parallel (14)
System.Net.Http (24)
System.Net.HttpListener (11)
System.Net.Mail (18)
System.Net.NetworkInformation (13)
System.Net.Ping (2)
System.Net.Primitives (3)
System.Net.Requests (6)
System.Net.Security (17)
System.Net.Sockets (23)
System.Net.WebClient (1)
System.Numerics.Tensors (4)
System.ObjectModel (12)
System.Private.CoreLib (341)
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);
System.Private.DataContractSerialization (34)
System.Private.Windows.Core (11)
System.Private.Windows.Core.Tests (3)
System.Private.Windows.Core.TestUtilities (2)
System.Private.Xml (33)
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.Private.Xml.Linq (3)
System.Reflection.Emit (69)
System.Reflection.Metadata (1)
System.Reflection.MetadataLoadContext (33)
System.Resources.Extensions (2)
System.Runtime.Caching (10)
System.Security.Cryptography (36)
System.Security.Cryptography.Xml (2)
System.ServiceModel.Federation (9)
System.ServiceModel.NetFramingBase (5)
System.ServiceModel.Syndication (1)
System.ServiceModel.UnixDomainSocket (1)
System.Text.Encoding.CodePages (6)
System.Text.Json (18)
System\Text\Json\ThrowHelper.Serialization.cs (15)
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(
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 (40)
System.Threading.Tasks.Dataflow (10)
System.Threading.Tasks.Parallel (3)
System.Transactions.Local (1)
System.Windows.Forms (221)
System.Windows.Forms.Design (5)
System.Windows.Forms.Tests (3)
System.Windows.Forms.UI.IntegrationTests (1)
System.Windows.Input.Manipulations (1)
System.Xaml (14)
Test.Utilities (2)
Text.Analyzers (2)
UnitTests.Common (1)