Skip to content

Commit d6ceb89

Browse files
Add Deserialize() and Deserialize<T> to System.Web.Serialization stub.s
1 parent 596cfcf commit d6ceb89

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

csharp/ql/test/resources/stubs/System.Web.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -390,6 +390,8 @@ public class JavaScriptSerializer
390390
public JavaScriptSerializer() => throw null;
391391
public JavaScriptSerializer(System.Web.Script.Serialization.JavaScriptTypeResolver resolver) => throw null;
392392
public object DeserializeObject(string input) => throw null;
393+
public T Deserialize<T> (string input) => throw null;
394+
public object Deserialize(string input, Type targetType) => throw null;
393395
}
394396

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

0 commit comments

Comments
 (0)