Skip to content

Commit

Permalink
Merge pull request #18052 from ewillonermsft/javascriptserializer-des…
Browse files Browse the repository at this point in the history
…erializ-stubs

Add Deserialize() and Deserialize<T> to System.Web.Serialization stubs
  • Loading branch information
michaelnebel authored Nov 21, 2024
2 parents 8c74478 + d6ceb89 commit 932ced4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions csharp/ql/test/resources/stubs/System.Web.cs
Original file line number Diff line number Diff line change
Expand Up @@ -390,6 +390,8 @@ public class JavaScriptSerializer
public JavaScriptSerializer() => throw null;
public JavaScriptSerializer(System.Web.Script.Serialization.JavaScriptTypeResolver resolver) => throw null;
public object DeserializeObject(string input) => throw null;
public T Deserialize<T> (string input) => throw null;
public object Deserialize(string input, Type targetType) => throw null;
}

// Generated from `System.Web.Script.Serialization.JavaScriptTypeResolver` in `System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35`
Expand Down

0 comments on commit 932ced4

Please sign in to comment.