Skip to content

Commit 8e2277e

Browse files
committed
C#: Improve some of the QL Doc string.
1 parent 4a68b74 commit 8e2277e

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2033,7 +2033,7 @@ abstract class SyntheticField extends string {
20332033
predicate containerContent(DataFlow::Content c) { c instanceof DataFlow::ElementContent }
20342034

20352035
/**
2036-
* Module containing predicates related to generating models as data.
2036+
* A module containing predicates related to generating models as data.
20372037
*/
20382038
module Csv {
20392039
private string parameterQualifiedTypeNamesToString(DataFlowCallable c) {
@@ -2045,7 +2045,7 @@ module Csv {
20452045
)
20462046
}
20472047

2048-
/** Holds if the summary should apply for all overrides of this. */
2048+
/** Holds if the summary should apply for all overrides of `c`. */
20492049
predicate isBaseCallableOrPrototype(DataFlowCallable c) {
20502050
c.getDeclaringType() instanceof Interface
20512051
or
@@ -2056,12 +2056,12 @@ module Csv {
20562056
)
20572057
}
20582058

2059-
/** Gets a string representing whether the summary should apply for all overrides of this. */
2059+
/** Gets a string representing whether the summary should apply for all overrides of `c`. */
20602060
private string getCallableOverride(DataFlowCallable c) {
20612061
if isBaseCallableOrPrototype(c) then result = "true" else result = "false"
20622062
}
20632063

2064-
/** Computes the first 6 columns for CSV rows. */
2064+
/** Computes the first 6 columns for CSV rows of `c`. */
20652065
string asPartialModel(DataFlowCallable c) {
20662066
exists(string namespace, string type |
20672067
c.getDeclaringType().hasQualifiedName(namespace, type) and

csharp/ql/src/utils/model-generator/ModelGeneratorUtilsSpecific.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ private import semmle.code.csharp.dataflow.internal.DataFlowDispatch
77
private predicate isRelevantForModels(Callable api) { not api instanceof MainMethod }
88

99
/**
10-
* A class of DataFlowCallables that are relevant generating summary, source and sinks models for.
10+
* A class of callables that are relevant generating summary, source and sinks models for.
1111
*
12-
* In the Standard library and 3rd party libraries it the Callables that can be called
12+
* In the Standard library and 3rd party libraries it the callables that can be called
1313
* from outside the library itself.
1414
*/
1515
class TargetApi extends DataFlowCallable {

0 commit comments

Comments
 (0)