Files
codeql/csharp/old-change-notes/2021-08-17-callable-qualified-names.md
Dave Bartolomeo fa40d59332 Move older change notes to old-change-notes
Now that change notes are per-package, new change notes should be created in the `change-notes` folder under the affected pack (e.g., `cpp/ql/src/change-notes` for C++ query change notes. I've moved all of the change note files that were added before we started publishing them in packs to an `old-change-notes` directory under each language, to reduce the temptation to add new change notes there.

I'm working on a document to describe how and when to create change notes for packs separately.
2021-12-14 12:35:04 -05:00

744 B

lgtm,codescanning

  • Generic methods return their names (getName(), getQualifiedName() and toStringWithTypes()) with angle brackets, for example System.Linq.Enumerable.Empty<TResult>() returns Empty<>, System.Linq.Enumerable.Empty<> and Empty<TResult>() respectively for the unbound generic method; and Empty<Int32>, System.Linq.Enumerable.Empty<System.Int32> and Empty<int>() respectively for the constructed generic case.
  • When accessing getName(), getQualifiedName() and toStringWithTypes() on constructed types, the type argument names are rendered by getName(), getQualifiedName() and toStringWithTypes() respectively.
  • getUndecoratedName() can be used to access the name without angle brackets.