mirror of
https://github.com/github/codeql.git
synced 2026-04-30 03:05:15 +02:00
C#: Sync identical files.
This commit is contained in:
@@ -4,8 +4,8 @@ class Bad
|
||||
{
|
||||
public static object Deserialize(string s)
|
||||
{
|
||||
// BAD
|
||||
JavaScriptSerializer sr = new JavaScriptSerializer(new SimpleTypeResolver());
|
||||
// BAD
|
||||
return sr.DeserializeObject(s);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user