2 instantiations of DecoderFallbackException
Microsoft.AspNetCore.HttpLogging (1)
BufferingStream.cs (1)
93throw new DecoderFallbackException("Failed to decode after 10 calls to Decoder.Convert");
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\System\Text\DecoderExceptionFallback.cs (1)
65throw new DecoderFallbackException(
79 references to DecoderFallbackException
dotnet-svcutil-lib (7)
FrameworkFork\System.Runtime.Serialization\System\Xml\EncodingStreamWrapper.cs (3)
109catch (DecoderFallbackException ex) 529catch (DecoderFallbackException e) 651catch (DecoderFallbackException ex)
FrameworkFork\System.Runtime.Serialization\System\Xml\XmlConverter.cs (4)
374catch (DecoderFallbackException exception) 386catch (DecoderFallbackException exception) 399catch (DecoderFallbackException exception) 411catch (DecoderFallbackException exception)
http2cat (1)
src\Shared\ServerInfrastructure\StringUtilities.cs (1)
44catch (DecoderFallbackException)
IIS.FunctionalTests (1)
src\Shared\ServerInfrastructure\StringUtilities.cs (1)
44catch (DecoderFallbackException)
IIS.LongTests (1)
src\Shared\ServerInfrastructure\StringUtilities.cs (1)
44catch (DecoderFallbackException)
IIS.NewHandler.FunctionalTests (1)
src\Shared\ServerInfrastructure\StringUtilities.cs (1)
44catch (DecoderFallbackException)
IIS.NewShim.FunctionalTests (1)
src\Shared\ServerInfrastructure\StringUtilities.cs (1)
44catch (DecoderFallbackException)
IIS.ShadowCopy.Tests (1)
src\Shared\ServerInfrastructure\StringUtilities.cs (1)
44catch (DecoderFallbackException)
IISExpress.FunctionalTests (1)
src\Shared\ServerInfrastructure\StringUtilities.cs (1)
44catch (DecoderFallbackException)
Microsoft.AspNetCore.DataProtection.Abstractions.Tests (1)
DataProtectionCommonExtensionsTests.cs (1)
296Assert.IsAssignableFrom<DecoderFallbackException>(ex.InnerException);
Microsoft.AspNetCore.HttpLogging (1)
BufferingStream.cs (1)
95catch (DecoderFallbackException ex)
Microsoft.AspNetCore.Server.HttpSys (1)
src\Shared\ServerInfrastructure\StringUtilities.cs (1)
44catch (DecoderFallbackException)
Microsoft.AspNetCore.Server.IIS (1)
src\Shared\ServerInfrastructure\StringUtilities.cs (1)
44catch (DecoderFallbackException)
Microsoft.AspNetCore.Server.Kestrel.Core (2)
Internal\Infrastructure\HttpUtilities.cs (1)
171catch (DecoderFallbackException ex)
src\Shared\ServerInfrastructure\StringUtilities.cs (1)
44catch (DecoderFallbackException)
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (1)
src\Shared\ServerInfrastructure\StringUtilities.cs (1)
44catch (DecoderFallbackException)
Microsoft.AspNetCore.Shared.Tests (1)
src\Shared\ServerInfrastructure\StringUtilities.cs (1)
44catch (DecoderFallbackException)
Microsoft.Build.Tasks.Core (2)
CSharpParserUtilities.cs (1)
29catch (DecoderFallbackException)
VisualBasicParserUtilities.cs (1)
30catch (DecoderFallbackException)
Microsoft.CodeAnalysis (8)
EncodedStringText.cs (4)
17/// Encoding to use when there is no byte order mark (BOM) on the stream. This encoder may throw a <see cref="DecoderFallbackException"/> 100catch (DecoderFallbackException) 110catch (DecoderFallbackException e) 125/// <exception cref="DecoderFallbackException">The decoder was unable to decode the stream with the given encoding.</exception>
Text\SourceText.cs (4)
176/// <exception cref="DecoderFallbackException">If the given encoding is set to use a throwing decoder as a fallback</exception> 247/// <exception cref="DecoderFallbackException">If the given encoding is set to use a throwing decoder as a fallback</exception> 289/// <exception cref="DecoderFallbackException">If the given encoding is set to use a throwing decoder as a fallback</exception> 332/// <exception cref="DecoderFallbackException">If the given encoding is set to use a throwing decoder as a fallback</exception>
Microsoft.CodeAnalysis.CodeStyle (4)
src\Compilers\Core\Portable\EncodedStringText.cs (4)
17/// Encoding to use when there is no byte order mark (BOM) on the stream. This encoder may throw a <see cref="DecoderFallbackException"/> 100catch (DecoderFallbackException) 110catch (DecoderFallbackException e) 125/// <exception cref="DecoderFallbackException">The decoder was unable to decode the stream with the given encoding.</exception>
Microsoft.CodeAnalysis.EditorFeatures (2)
Workspaces\EditorTextFactoryService.cs (2)
47catch (DecoderFallbackException) 58catch (DecoderFallbackException)
Microsoft.CodeAnalysis.UnitTests (1)
Text\StringTextDecodingTests.cs (1)
159Assert.Throws<DecoderFallbackException>(() =>
Microsoft.CodeAnalysis.Workspaces (4)
src\Compilers\Core\Portable\EncodedStringText.cs (4)
17/// Encoding to use when there is no byte order mark (BOM) on the stream. This encoder may throw a <see cref="DecoderFallbackException"/> 100catch (DecoderFallbackException) 110catch (DecoderFallbackException e) 125/// <exception cref="DecoderFallbackException">The decoder was unable to decode the stream with the given encoding.</exception>
mscorlib (1)
src\libraries\shims\mscorlib\ref\mscorlib.cs (1)
1095[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Text.DecoderFallbackException))]
netstandard (1)
netstandard.cs (1)
2030[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Text.DecoderFallbackException))]
System.Formats.Asn1 (7)
System\Formats\Asn1\AsnCharacterStringEncodings.cs (5)
461catch (DecoderFallbackException) 473catch (DecoderFallbackException) 486catch (DecoderFallbackException) 499catch (DecoderFallbackException) 511catch (DecoderFallbackException)
System\Formats\Asn1\AsnDecoder.Text.cs (2)
422catch (DecoderFallbackException e) 463catch (DecoderFallbackException e)
System.Formats.Cbor (2)
System\Formats\Cbor\Reader\CborReader.String.cs (2)
197catch (DecoderFallbackException e) 512catch (DecoderFallbackException e)
System.Formats.Nrbf (1)
System\Formats\Nrbf\NrbfDecoder.cs (1)
111/// <exception cref="DecoderFallbackException">Reading from <paramref name="payload"/>
System.Memory (6)
System\Text\EncodingExtensions.cs (6)
223/// <exception cref="DecoderFallbackException">Thrown if <paramref name="bytes"/> contains data that cannot be decoded and <paramref name="encoding"/> is configured 259/// <exception cref="DecoderFallbackException">Thrown if <paramref name="bytes"/> contains data that cannot be decoded and <paramref name="encoding"/> is configured 289/// <exception cref="DecoderFallbackException">Thrown if <paramref name="bytes"/> contains data that cannot be decoded and <paramref name="encoding"/> is configured 331/// <exception cref="DecoderFallbackException">Thrown if <paramref name="bytes"/> contains data that cannot be decoded and <paramref name="encoding"/> is configured 505/// <exception cref="DecoderFallbackException">Thrown if <paramref name="bytes"/> contains data that cannot be encoded and <paramref name="decoder"/> is configured 553/// <exception cref="DecoderFallbackException">Thrown if <paramref name="bytes"/> contains data that cannot be decoded and <paramref name="decoder"/> is configured
System.Net.HttpListener (1)
System\Net\HttpListenerRequestUriBuilder.cs (1)
321catch (DecoderFallbackException e)
System.Net.Security (1)
System\Net\Security\TlsFrameHelper.cs (1)
772catch (DecoderFallbackException)
System.Net.WebSockets (1)
System\Net\WebSockets\ManagedWebSocket.cs (1)
1119catch (DecoderFallbackException exc)
System.Private.DataContractSerialization (10)
System\Runtime\Serialization\Json\JsonEncodingStreamWrapper.cs (3)
153catch (DecoderFallbackException e) 217catch (DecoderFallbackException ex) 456catch (DecoderFallbackException ex)
System\Xml\EncodingStreamWrapper.cs (3)
109catch (DecoderFallbackException ex) 491catch (DecoderFallbackException e) 625catch (DecoderFallbackException ex)
System\Xml\XmlConverter.cs (4)
341catch (DecoderFallbackException exception) 353catch (DecoderFallbackException exception) 366catch (DecoderFallbackException exception) 378catch (DecoderFallbackException exception)
System.Runtime (1)
artifacts\obj\System.Runtime\Debug\net10.0\System.Runtime.Forwards.cs (1)
784[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Text.DecoderFallbackException))]
System.Text.Encoding (1)
System.Text.Encoding.cs (1)
8[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Text.DecoderFallbackException))]
System.Text.Json (3)
System\Text\Json\Reader\JsonReaderHelper.Unescaping.cs (2)
273catch (DecoderFallbackException ex) 305catch (DecoderFallbackException dfe)
System\Text\Json\ThrowHelper.cs (1)
575public static InvalidOperationException GetInvalidOperationException_ReadInvalidUTF8(DecoderFallbackException? innerException = null)