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.
2 parents 1ba2623 + 0ba334b commit 82f61caCopy full SHA for 82f61ca
csharp/extractor/Semmle.Extraction.CIL/Entities/PointerType.cs
@@ -11,6 +11,14 @@ internal sealed class PointerType : Type
11
public PointerType(Context cx, Type pointee) : base(cx)
12
{
13
this.pointee = pointee;
14
+
15
+ if (pointee is ModifiedType mt)
16
+ {
17
+ cx.Extractor.Logger.Log(
18
+ Util.Logging.Severity.Info,
19
+ $"Pointer to modified type {pointee.GetQualifiedName()} is changed to {mt.Unmodified.GetQualifiedName()}");
20
+ this.pointee = mt.Unmodified;
21
+ }
22
}
23
24
public override bool Equals(object? obj)
0 commit comments