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.
1 parent 812bc20 commit db047c2Copy full SHA for db047c2
csharp/extractor/Semmle.Extraction.CIL/Entities/Field.cs
@@ -1,7 +1,4 @@
1
-using System;
2
-using System.Collections.Generic;
3
-using Microsoft.CodeAnalysis;
4
-using System.IO;
+using System.Collections.Generic;
5
6
namespace Semmle.Extraction.CIL.Entities
7
{
@@ -38,6 +35,11 @@ public override IEnumerable<IExtractionProduct> Contents
38
35
t = mt.Unmodified;
39
36
yield return Tuples.cil_custom_modifiers(this, mt.Modifier, mt.IsRequired);
40
37
}
+ if (t is ByRefType brt)
+ {
+ t = brt.ElementType;
41
+ yield return Tuples.cil_type_annotation(this, TypeAnnotation.Ref);
42
+ }
43
yield return Tuples.cil_field(this, DeclaringType, Name, t);
44
45
0 commit comments