diff options
Diffstat (limited to 'mcs/class/System.Net.Http/System.Net.Http.Headers/ContentDispositionHeaderValue.cs')
-rw-r--r-- | mcs/class/System.Net.Http/System.Net.Http.Headers/ContentDispositionHeaderValue.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mcs/class/System.Net.Http/System.Net.Http.Headers/ContentDispositionHeaderValue.cs b/mcs/class/System.Net.Http/System.Net.Http.Headers/ContentDispositionHeaderValue.cs index a4d1ae275b..9dd41b3d33 100644 --- a/mcs/class/System.Net.Http/System.Net.Http.Headers/ContentDispositionHeaderValue.cs +++ b/mcs/class/System.Net.Http/System.Net.Http.Headers/ContentDispositionHeaderValue.cs @@ -394,7 +394,7 @@ namespace System.Net.Http.Headers switch (t.Kind) { case Token.Type.SeparatorSemicolon: - if (!NameValueHeaderValue.TryParseParameters (lexer, out parameters)) + if (!NameValueHeaderValue.TryParseParameters (lexer, out parameters, out t) || t != Token.Type.End) return false; break; case Token.Type.End: |