Files
codeql/csharp/old-change-notes/2021-02-01-Preprocessor-directives.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

606 B

lgtm,codescanning

  • The PreprocessorDirective class and its base classes have been added to support preprocessor directives, such as #if, #define, #undef, #line, #region, #warning, #error, #pragma warning, #pragma checksum and #nullable. Furthermore, #line directives are now taken into account when querying the location of any code construct. Files referenced in preprocessor directives are also included in the extraction sources. This change is expected to lead to better error reporting locations in generated code, such as generated code from .cshtml files in ASP.NET Core.