Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions csharp/ql/src/semmle/code/csharp/Unification.qll
Original file line number Diff line number Diff line change
Expand Up @@ -485,6 +485,7 @@ module Gvn {
/**
* Gets the leaf GVN inside GVN `t`, by following the path `path`, if any.
*/
pragma[noinline]
private GvnType getLeafTypeAt(GvnType t, TTypePath path) {
result = getTypeAt(t, path) and
not result instanceof ConstructedGvnType
Expand Down
1 change: 1 addition & 0 deletions csharp/ql/src/semmle/code/dotnet/Element.qll
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ class NamedElement extends Element, @dotnet_named_element {
* }
* ```
*/
cached
final string getQualifiedName() {
exists(string qualifier, string name | this.hasQualifiedName(qualifier, name) |
if qualifier = "" then result = name else result = qualifier + "." + name
Expand Down