Skip to content

Commit 8847986

Browse files
committed
C#: Add default overlay annotations.
1 parent d95ebc7 commit 8847986

File tree

205 files changed

+457
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

205 files changed

+457
-0
lines changed

csharp/ql/lib/Customizations.qll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,7 @@
88
* the `RemoteFlowSource` and `SummarizedCallable` classes associated with the security queries
99
* to model frameworks that are not covered by the standard library.
1010
*/
11+
overlay[local?]
12+
module;
1113

1214
import csharp

csharp/ql/lib/IDEContextual.qll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
/**
22
* Provides shared predicates related to contextual queries in the code viewer.
33
*/
4+
overlay[local?]
5+
module;
46

57
import semmle.files.FileSystem
68
private import codeql.util.FileSystem

csharp/ql/lib/Linq/Helpers.qll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
* Helpers.qll
33
* Provides helper classes and methods related to LINQ.
44
*/
5+
overlay[local?]
6+
module;
57

68
private import csharp
79
private import semmle.code.csharp.frameworks.system.collections.Generic as GenericCollections

csharp/ql/lib/csharp.qll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
/**
22
* The default C# QL library.
33
*/
4+
overlay[local?]
5+
module;
46

57
import Customizations
68
import semmle.code.csharp.Attribute

csharp/ql/lib/default.qll

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
1+
overlay[local?]
2+
module;
3+
14
import csharp

csharp/ql/lib/definitions.qll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
* Provides classes and predicates related to jump-to-definition links
33
* in the code viewer.
44
*/
5+
overlay[local?]
6+
module;
57

68
import csharp
79
import IDEContextual

csharp/ql/lib/experimental/code/csharp/Cryptography/NonCryptographicHashes.qll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
* These predicates are intended for helping detect non-cryptographic hashes that may be used
66
* in a context that is not appropriate, or for detecting modified hash functions
77
*/
8+
overlay[local?]
9+
module;
810

911
import csharp
1012
private import DataFlow

csharp/ql/lib/semmle/code/asp/AspNet.qll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
*
44
* All ASP.NET elements have the common base class `AspElement`.
55
*/
6+
overlay[local?]
7+
module;
68

79
import csharp
810
private import semmle.code.csharp.commons.QualifiedName

csharp/ql/lib/semmle/code/asp/WebConfig.qll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
/**
22
* Provides classes and predicates related to ASP.NET Web.config files.
33
*/
4+
overlay[local?]
5+
module;
46

57
import csharp
68

csharp/ql/lib/semmle/code/csharp/AnnotatedType.qll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
* for annotations on the type. Use the corresponding `getAnnotatedType()` predicate to
66
* get the annotated type, that includes this additional information.
77
*/
8+
overlay[local?]
9+
module;
810

911
import csharp
1012
private import TypeRef

0 commit comments

Comments
 (0)