Skip to content

Conversation

@phil-allen-msft
Copy link
Member

Summary of the changes

Rename the reference. Since the referenced file isn't actually anywhere on disk and this is being used to measure the performance of the project razor json handling code in general, it doesn't need to match an actual file.

Fixes:
https://dev.azure.com/devdiv/DevDiv/_queries/edit/1826430

@phil-allen-msft phil-allen-msft requested a review from a team as a code owner July 18, 2023 15:47
@davidwengier
Copy link
Member

Was this PoliCheck? You know you can just close those as By Design or Won't Fix if the use is not in a sensetive context? 😛

Copy link
Contributor

@allisonchou allisonchou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

edit: Ah, I see the details in the original issue now. Would CountryRegion still be flagged since it still contains the word Country?

@phil-allen-msft
Copy link
Member Author

edit: Ah, I see the details in the original issue now. Would CountryRegion still be flagged since it still contains the word Country?

According to the docs, that should be sufficient.

@phil-allen-msft phil-allen-msft force-pushed the dev/phil-allen-msft/renameCshtmlFileReference branch from 1ef92e4 to 34f6473 Compare July 26, 2023 18:13
@phil-allen-msft phil-allen-msft merged commit b25295d into main Jul 27, 2023
@phil-allen-msft phil-allen-msft deleted the dev/phil-allen-msft/renameCshtmlFileReference branch July 27, 2023 19:49
@ghost ghost added this to the Next milestone Jul 27, 2023
333fred added a commit to 333fred/razor that referenced this pull request Aug 23, 2023
* upstream/main: (188 commits)
  Rename CSHTML file reference. (dotnet#8969)
  Remove Omnisharp logic from main branch (dotnet#9027)
  Update dependencies from https://github.com/dotnet/arcade build 20230726.1
  Fixes CVE-2023-33127 and CVE-2023-33170 (dotnet#9032)
  Remove Async Keyword For Generate Async Method Code Action (dotnet#9030)
  Remove dispatcher from DocumentVersionCache (dotnet#9026)
  Restore perf work. (dotnet#8995)
  Implement priority trigger support
  Change implementations and references
  Rename ProjectSnapshotChangeTrigger and convert to interface
  Updates after merge
  Fix nullability
  Use pattern matching
  Convert to record struct
  Move CloseTextTagOnAutoInsertProvider to FindToken (dotnet#9025)
  Move GenerateMethodCodeActionProvider to FindToken (dotnet#8988)
  Add comment describing when ProjectRazorJson.Version should be incremented
  Some more violations, after the merge
  Remove TryResolveDocument method
  [Infra] 17.8 P1 snap PRs (dotnet#9021)
  ...
@Cosifne Cosifne modified the milestones: Next, 17.8 P3 Sep 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants