Skip to content

fix: optimize parsing V3.1 documents by reducing GetLocation method a…

06c58a5
Select commit
Loading
Failed to load commit list.
Merged

fix: optimize parsing V3.1 documents by reducing GetLocation method allocation on hot path(#2748) #2750

fix: optimize parsing V3.1 documents by reducing GetLocation method a…
06c58a5
Select commit
Loading
Failed to load commit list.
GitHub Advanced Security / CodeQL succeeded Feb 24, 2026 in 3s

1 new alert

New alerts in code changed by this pull request

  • 1 note

Alerts not introduced by this pull request might have been detected because the code changes were too large.

See annotations below for details.

View all branch alerts.

Annotations

Check notice on line 198 in src/Microsoft.OpenApi/Reader/ParsingContext.cs

See this annotation in the file changed.

Code scanning / CodeQL

Missed opportunity to use Where Note

This foreach loop
implicitly filters its target sequence
- consider filtering the sequence explicitly using '.Where(...)'.