From 6e2a617ed81bd44e11fb8c3e2943e4be0fe5968a Mon Sep 17 00:00:00 2001 From: Ryan Brandenburg Date: Thu, 13 Jun 2019 12:01:28 -0700 Subject: [PATCH] Update ref package --- .../Mvc.Core/ref/Microsoft.AspNetCore.Mvc.Core.netcoreapp3.0.cs | 2 +- src/Mvc/Mvc.Core/src/Formatters/SystemTextJsonInputFormatter.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Mvc/Mvc.Core/ref/Microsoft.AspNetCore.Mvc.Core.netcoreapp3.0.cs b/src/Mvc/Mvc.Core/ref/Microsoft.AspNetCore.Mvc.Core.netcoreapp3.0.cs index bf33019b86..b270c45725 100644 --- a/src/Mvc/Mvc.Core/ref/Microsoft.AspNetCore.Mvc.Core.netcoreapp3.0.cs +++ b/src/Mvc/Mvc.Core/ref/Microsoft.AspNetCore.Mvc.Core.netcoreapp3.0.cs @@ -1876,7 +1876,7 @@ namespace Microsoft.AspNetCore.Mvc.Formatters } public partial class SystemTextJsonInputFormatter : Microsoft.AspNetCore.Mvc.Formatters.TextInputFormatter, Microsoft.AspNetCore.Mvc.Formatters.IInputFormatterExceptionPolicy { - public SystemTextJsonInputFormatter(Microsoft.AspNetCore.Mvc.JsonOptions options) { } + public SystemTextJsonInputFormatter(Microsoft.AspNetCore.Mvc.JsonOptions options, Microsoft.Extensions.Logging.ILogger logger) { } Microsoft.AspNetCore.Mvc.Formatters.InputFormatterExceptionPolicy Microsoft.AspNetCore.Mvc.Formatters.IInputFormatterExceptionPolicy.ExceptionPolicy { get { throw null; } } public System.Text.Json.JsonSerializerOptions SerializerOptions { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } [System.Diagnostics.DebuggerStepThroughAttribute] diff --git a/src/Mvc/Mvc.Core/src/Formatters/SystemTextJsonInputFormatter.cs b/src/Mvc/Mvc.Core/src/Formatters/SystemTextJsonInputFormatter.cs index 15f59080d1..9c4bfe402d 100644 --- a/src/Mvc/Mvc.Core/src/Formatters/SystemTextJsonInputFormatter.cs +++ b/src/Mvc/Mvc.Core/src/Formatters/SystemTextJsonInputFormatter.cs @@ -132,7 +132,7 @@ namespace Microsoft.AspNetCore.Mvc.Formatters return new TranscodingReadStream(httpContext.Request.Body, encoding); } - // Keep in sync with NewtonsoftJsonInputFormatter.GetPatMetadata + // Keep in sync with NewtonsoftJsonInputFormatter.GetPathMetadata private ModelMetadata GetPathMetadata(ModelMetadata metadata, string path) { var index = 0;