File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
csharp/ql/lib/semmle/code/csharp/dataflow/internal Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -136,6 +136,11 @@ SummaryComponent interpretComponentSpecific(string c) {
136
136
c .regexpCapture ( "Property\\[(.+)\\]" , 1 ) = p .getQualifiedName ( ) and
137
137
result = SummaryComponent:: content ( any ( PropertyContent pc | pc .getProperty ( ) = p ) )
138
138
)
139
+ or
140
+ exists ( SyntheticField f |
141
+ c .regexpCapture ( "SyntheticField\\[(.+)\\]" , 1 ) = f and
142
+ result = SummaryComponent:: content ( any ( SyntheticFieldContent sfc | sfc .getField ( ) = f ) )
143
+ )
139
144
}
140
145
141
146
/** Gets the textual representation of the content in the format used for flow summaries. */
@@ -145,6 +150,8 @@ private string getContentSpecificCsv(Content c) {
145
150
exists ( Field f | c = TFieldContent ( f ) and result = "Field[" + f .getQualifiedName ( ) + "]" )
146
151
or
147
152
exists ( Property p | c = TPropertyContent ( p ) and result = "Property[" + p .getQualifiedName ( ) + "]" )
153
+ or
154
+ exists ( SyntheticField f | c = TSyntheticFieldContent ( f ) and result = "SyntheticField[" + f + "]" )
148
155
}
149
156
150
157
/** Gets the textual representation of a summary component in the format used for flow summaries. */
You can’t perform that action at this time.
0 commit comments