39 references to InvalidDataException
dotnet-svcutil-lib (1)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\FramingDecoders.cs (1)
230throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataException(string.Format(SRServiceModel.FramingViaNotUri, value), exception));
Microsoft.Arcade.Common (1)
NupkgInfoFactory.cs (1)
47throw new InvalidDataException(string.Format(CultureInfo.CurrentCulture, "Invalid package: {0}", path), ex);
Microsoft.AspNetCore.Components.Server (9)
BlazorPack\BlazorPackHubProtocolWorker.cs (1)
65throw new InvalidDataException($"Deserializing object of the `{type.Name}` type for '{field}' failed.", ex);
src\SignalR\common\Protocols.MessagePack\src\Protocol\MessagePackHubProtocolWorker.cs (8)
318throw new InvalidDataException("Error binding arguments. Make sure that the types of the provided values match the types of the hub method being invoked.", ex); 623throw new InvalidDataException($"Reading '{field}' as Boolean failed.", ex); 635throw new InvalidDataException($"Reading '{field}' as Int32 failed.", ex); 647throw new InvalidDataException($"Reading '{field}' as Int64 failed.", ex); 667throw new InvalidDataException($"Reading '{field}' as String failed.", ex); 679throw new InvalidDataException($"Reading '{field}' as String failed.", ex); 691throw new InvalidDataException($"Reading map length for '{field}' failed.", ex); 703throw new InvalidDataException($"Reading array length for '{field}' failed.", ex);
Microsoft.AspNetCore.Http.Connections.Common (1)
NegotiateProtocol.cs (1)
269throw new InvalidDataException("Invalid negotiation response received.", ex);
Microsoft.AspNetCore.SignalR.Protocols.Json (2)
Protocol\JsonHubProtocol.cs (2)
477throw new InvalidDataException("Error reading JSON.", jrex); 853throw new InvalidDataException("Error binding arguments. Make sure that the types of the provided values match the types of the hub method being invoked.", ex);
Microsoft.AspNetCore.SignalR.Protocols.MessagePack (9)
Protocol\DefaultMessagePackHubProtocolWorker.cs (1)
27throw new InvalidDataException($"Deserializing object of the `{type.Name}` type for '{field}' failed.", ex);
Protocol\MessagePackHubProtocolWorker.cs (8)
318throw new InvalidDataException("Error binding arguments. Make sure that the types of the provided values match the types of the hub method being invoked.", ex); 623throw new InvalidDataException($"Reading '{field}' as Boolean failed.", ex); 635throw new InvalidDataException($"Reading '{field}' as Int32 failed.", ex); 647throw new InvalidDataException($"Reading '{field}' as Int64 failed.", ex); 667throw new InvalidDataException($"Reading '{field}' as String failed.", ex); 679throw new InvalidDataException($"Reading '{field}' as String failed.", ex); 691throw new InvalidDataException($"Reading map length for '{field}' failed.", ex); 703throw new InvalidDataException($"Reading array length for '{field}' failed.", ex);
Microsoft.AspNetCore.SignalR.Protocols.NewtonsoftJson (3)
Protocol\NewtonsoftJsonHubProtocol.cs (3)
474throw new InvalidDataException("Error reading JSON.", jrex); 857throw new InvalidDataException("Error binding arguments. Make sure that the types of the provided values match the types of the hub method being invoked.", ex); 923throw new InvalidDataException("Error binding arguments. Make sure that the types of the provided values match the types of the hub method being invoked.", ex);
Microsoft.AspNetCore.WebUtilities (1)
FormPipeReader.cs (1)
409throw new InvalidDataException("The form value contains invalid characters.", ex);
Microsoft.Build (1)
Logging\BinaryLogger\BuildEventArgsReader.cs (1)
294throw new InvalidDataException(msgFactory(), innerException);
Microsoft.CodeAnalysis.Features (2)
EditAndContinue\EditAndContinueMethodDebugInfoReader.cs (2)
82throw new InvalidDataException(e.Message, e); 104throw new InvalidDataException(e.Message, e);
Microsoft.Extensions.Configuration.FileExtensions (1)
FileConfigurationProvider.cs (1)
107var exception = new InvalidDataException(SR.Format(SR.Error_FailedToLoad, file.PhysicalPath), ex);
Microsoft.ML.Parquet (2)
ParquetLoader.cs (2)
167throw new InvalidDataException("Cannot read Parquet file", ex); 227throw new InvalidDataException("Cannot read Parquet file", ex);
Roslyn.Test.PdbUtilities (1)
EditAndContinue\EditAndContinueTestUtilities.cs (1)
29throw new InvalidDataException(e.Message, e);
System.IO.Compression (4)
System\IO\Compression\ZipArchive.Async.cs (2)
264throw new InvalidDataException(SR.CDCorrupt, ex); 268throw new InvalidDataException(SR.CDCorrupt, ex);
System\IO\Compression\ZipArchive.cs (2)
641throw new InvalidDataException(SR.CDCorrupt, ex); 645throw new InvalidDataException(SR.CDCorrupt, ex);
System.ServiceModel.NetFramingBase (1)
System\ServiceModel\Channels\FramingDecoders.cs (1)
236throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataException(SR.Format(SR.FramingViaNotUri, value), exception));