We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
op_Checked*
1 parent eda0287 commit a749212Copy full SHA for a749212
csharp/extractor/Semmle.Extraction.CSharp/Entities/UserOperator.cs
@@ -2,6 +2,7 @@
2
using Microsoft.CodeAnalysis.CSharp.Syntax;
3
using System.IO;
4
using System.Linq;
5
+using System.Text.RegularExpressions;
6
7
namespace Semmle.Extraction.CSharp.Entities
8
{
@@ -161,6 +162,9 @@ public static bool OperatorSymbol(string methodName, out string operatorName)
161
162
case "op_False":
163
operatorName = "false";
164
break;
165
+ case var @checked when Regex.IsMatch(@checked, "^op_Checked.*"):
166
+ operatorName = @checked;
167
+ break;
168
default:
169
operatorName = methodName;
170
success = false;
0 commit comments