Skip to content

Commit 8d0cb07

Browse files
committed
C#: Update the internal MaD attribute documentation.
1 parent bdc0084 commit 8d0cb07

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

csharp/ql/lib/semmle/code/csharp/dataflow/internal/ExternalFlow.qll

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,14 @@
2828
* types can be short names or fully qualified names (mixing these two options
2929
* is not allowed within a single signature).
3030
* 6. The `ext` column specifies additional API-graph-like edges. Currently
31-
* there are only two valid values: "" and "Attribute". The empty string has no
32-
* effect. "Attribute" applies if `name` and `signature` were left blank and
33-
* acts by selecting an element that is attributed with the attribute type
34-
* selected by the first 4 columns. This can be another member such as a field,
35-
* property, method, or parameter.
31+
* there are only a few valid values: "", "Attribute", "Attribute.Getter" and "Attribute.Setter".
32+
* The empty string has no effect. "Attribute" applies if `name` and `signature` were left blank
33+
* and acts by selecting an element (except for properties and indexers) that is attributed with
34+
* the attribute type selected by the first 4 columns. This can be another member such as
35+
* a field, method, or parameter. "Attribute.Getter" and "Attribute.Setter" work similar to
36+
* "Attribute", except that they can only be applied to properties and indexers.
37+
* "Attribute.Setter" selects the setter element of a property/indexer and "Attribute.Getter"
38+
* selects the getter.
3639
* 7. The `input` column specifies how data enters the element selected by the
3740
* first 6 columns, and the `output` column specifies how data leaves the
3841
* element selected by the first 6 columns. For sinks, an `input` can be either "",

0 commit comments

Comments
 (0)