Граф коммитов

15547 Коммитов

Автор SHA1 Сообщение Дата
dotnet bot 9678b91d4d
Merge release/dev17.12 to main (#10847)
This is an automatically generated pull request from release/dev17.12
into main.


Once all conflicts are resolved and all the tests pass, you are free to
merge the pull request. 🐯

## Troubleshooting conflicts

### Identify authors of changes which introduced merge conflicts
Scroll to the bottom, then for each file containing conflicts copy its
path into the following searches:
- https://github.com/dotnet/razor/find/release/dev17.12
- https://github.com/dotnet/razor/find/main

Usually the most recent change to a file between the two branches is
considered to have introduced the conflicts, but sometimes it will be
necessary to look for the conflicting lines and check the blame in each
branch. Generally the author whose change introduced the conflicts
should pull down this PR, fix the conflicts locally, then push up a
commit resolving the conflicts.

### Resolve merge conflicts using your local repo
Sometimes merge conflicts may be present on GitHub but merging locally
will work without conflicts. This is due to differences between the
merge algorithm used in local git versus the one used by GitHub.
``` bash
git fetch --all
git checkout -t upstream/merges/release/dev17.12-to-main
git reset --hard upstream/main
git merge upstream/release/dev17.12
# Fix merge conflicts
git commit
git push upstream merges/release/dev17.12-to-main --force
```
2024-09-05 20:30:39 -07:00
David Wengier a3ee54d9a5 Merge remote-tracking branch 'upstream/main' into CohostSpellCheck
# Conflicts:
#	eng/targets/Services.props
#	src/Razor/src/Microsoft.CodeAnalysis.Razor.Workspaces/Remote/RazorServices.cs
2024-09-06 13:28:23 +10:00
David Wengier 49e727b90e
Cohost Go To Implementation (#10824)
Needs https://github.com/dotnet/roslyn/pull/74978
Fixes https://github.com/dotnet/razor/issues/10695
Part of https://github.com/dotnet/razor/issues/9519

Pretty straightforward. A tiny bit of code moved to be shared with Go To
Def, but that's it.
2024-09-06 13:24:56 +10:00
David Wengier 70f110d19d Fix test
This should have been fixed with #10807 but without the Roslyn bump I guess I didn't realise. Oops!
2024-09-06 12:30:04 +10:00
David Wengier f7681c2f19 Fix build 2024-09-06 12:09:16 +10:00
David Wengier 054f9ee41e Merge remote-tracking branch 'upstream/main' into CohostGoToImplementation
# Conflicts:
#	eng/targets/Services.props
2024-09-06 11:53:30 +10:00
David Wengier 6e121618bb Bump to real Roslyn version 2024-09-06 11:52:14 +10:00
David Wengier b69b08cbe3 PR Feedback 2024-09-06 11:51:32 +10:00
David Wengier d37da8b3de Bump to real Roslyn version 2024-09-06 11:51:26 +10:00
dotnet bot 459e9d6d9e
Merge release/dev17.12 to main (#10841)
This is an automatically generated pull request from release/dev17.12
into main.


Once all conflicts are resolved and all the tests pass, you are free to
merge the pull request. 🐯

## Troubleshooting conflicts

### Identify authors of changes which introduced merge conflicts
Scroll to the bottom, then for each file containing conflicts copy its
path into the following searches:
- https://github.com/dotnet/razor/find/release/dev17.12
- https://github.com/dotnet/razor/find/main

Usually the most recent change to a file between the two branches is
considered to have introduced the conflicts, but sometimes it will be
necessary to look for the conflicting lines and check the blame in each
branch. Generally the author whose change introduced the conflicts
should pull down this PR, fix the conflicts locally, then push up a
commit resolving the conflicts.

### Resolve merge conflicts using your local repo
Sometimes merge conflicts may be present on GitHub but merging locally
will work without conflicts. This is due to differences between the
merge algorithm used in local git versus the one used by GitHub.
``` bash
git fetch --all
git checkout -t upstream/merges/release/dev17.12-to-main
git reset --hard upstream/main
git merge upstream/release/dev17.12
# Fix merge conflicts
git commit
git push upstream merges/release/dev17.12-to-main --force
```
2024-09-05 17:36:35 -07:00
Jared Parsons fdda4bbae9
CodeQL suppressions (#10845) 2024-09-05 22:42:30 +00:00
Jan Jones dde7fe8c2f
Ensure type arguments are `global::` qualified (#10834)
* Add a test

* Use fully globally qualified type name

* Update baselines

* Fix delegates and child content

* Update baselines

* Fix other child content scenarios

* Update baselines

* Encapsulate shared code
2024-09-05 09:28:48 +02:00
David Wengier 9b339ba27c
Cohost formatting (#10822)
Fixes https://github.com/dotnet/razor/issues/10743
Part of https://github.com/dotnet/razor/issues/9519

Brings formatting to cohosting. Relatively simple because of previous
PRs. Have left sharing full test coverage of the formatting engine for
later
2024-09-05 14:28:23 +10:00
David Wengier e0b2935d30 PR Feedback 2024-09-05 14:01:52 +10:00
dotnet bot c5b9ab8160
Merge release/dev17.11 to release/dev17.12 (#10840)
This is an automatically generated pull request from release/dev17.11
into release/dev17.12.


Once all conflicts are resolved and all the tests pass, you are free to
merge the pull request. 🐯

## Troubleshooting conflicts

### Identify authors of changes which introduced merge conflicts
Scroll to the bottom, then for each file containing conflicts copy its
path into the following searches:
- https://github.com/dotnet/razor/find/release/dev17.11
- https://github.com/dotnet/razor/find/release/dev17.12

Usually the most recent change to a file between the two branches is
considered to have introduced the conflicts, but sometimes it will be
necessary to look for the conflicting lines and check the blame in each
branch. Generally the author whose change introduced the conflicts
should pull down this PR, fix the conflicts locally, then push up a
commit resolving the conflicts.

### Resolve merge conflicts using your local repo
Sometimes merge conflicts may be present on GitHub but merging locally
will work without conflicts. This is due to differences between the
merge algorithm used in local git versus the one used by GitHub.
``` bash
git fetch --all
git checkout -t upstream/merges/release/dev17.11-to-release/dev17.12
git reset --hard upstream/release/dev17.12
git merge upstream/release/dev17.11
# Fix merge conflicts
git commit
git push upstream merges/release/dev17.11-to-release/dev17.12 --force
```
2024-09-04 20:54:40 -07:00
David Wengier 4dcc2c4f4d Merge remote-tracking branch 'upstream/main' into CohostSpellCheck 2024-09-05 13:29:48 +10:00
David Wengier b7cd05e453 Remove unused parameter 2024-09-05 13:15:10 +10:00
David Wengier d87ad016dd Move initialization logic 2024-09-05 13:09:33 +10:00
David Wengier a795f32f17 Merge remote-tracking branch 'upstream/main' into CohostFormatting
# Conflicts:
#	src/Razor/src/Microsoft.CodeAnalysis.Razor.Workspaces/Formatting/RazorFormattingService.cs
2024-09-05 12:20:13 +10:00
David Wengier 7d8be8e167 Most PR feedback 2024-09-05 12:12:55 +10:00
David Wengier fbf8c8ef4d
Remove some things from `IProjectSnapshot` for cohostings benefit (#10831)
Chris found these to be problematic in his branch where he enabled the
source generator, but fortunately they're simply unnecessary in
cohosting.
2024-09-05 10:16:54 +10:00
dotnet bot d6f6a52861
Merge release/dev17.10 to release/dev17.11 (#10833)
This is an automatically generated pull request from release/dev17.10
into release/dev17.11.


Once all conflicts are resolved and all the tests pass, you are free to
merge the pull request. 🐯

## Troubleshooting conflicts

### Identify authors of changes which introduced merge conflicts
Scroll to the bottom, then for each file containing conflicts copy its
path into the following searches:
- https://github.com/dotnet/razor/find/release/dev17.10
- https://github.com/dotnet/razor/find/release/dev17.11

Usually the most recent change to a file between the two branches is
considered to have introduced the conflicts, but sometimes it will be
necessary to look for the conflicting lines and check the blame in each
branch. Generally the author whose change introduced the conflicts
should pull down this PR, fix the conflicts locally, then push up a
commit resolving the conflicts.

### Resolve merge conflicts using your local repo
Sometimes merge conflicts may be present on GitHub but merging locally
will work without conflicts. This is due to differences between the
merge algorithm used in local git versus the one used by GitHub.
``` bash
git fetch --all
git checkout -t upstream/merges/release/dev17.10-to-release/dev17.11
git reset --hard upstream/release/dev17.11
git merge upstream/release/dev17.10
# Fix merge conflicts
git commit
git push upstream merges/release/dev17.10-to-release/dev17.11 --force
```
2024-09-04 16:04:26 -07:00
David Wengier 42cc39e4a9 PR Feedback 2024-09-05 08:34:32 +10:00
David Wengier 6718dbcb40
[main] Update dependencies from dotnet/source-build-reference-packages (#10562)
This pull request updates the following dependencies

[marker]: <> (Begin:011df26a-fbd1-45b0-94b9-08db3601dcca)
## From https://github.com/dotnet/source-build-reference-packages
- **Subscription**: 011df26a-fbd1-45b0-94b9-08db3601dcca
- **Build**: 20240828.1
- **Date Produced**: August 28, 2024 4:47:08 PM UTC
- **Commit**: 6bcf90f99d13da86c5e9753a6f34b6484673d0a0
- **Branch**: refs/heads/main

[DependencyUpdate]: <> (Begin)

- **Updates**:
-
**Microsoft.SourceBuild.Intermediate.source-build-reference-packages**:
[from 10.0.0-alpha.1.24421.1 to 10.0.0-alpha.1.24428.1][10]

[10]:
bdd698774d...6bcf90f99d

[DependencyUpdate]: <> (End)


[marker]: <> (End:011df26a-fbd1-45b0-94b9-08db3601dcca)
2024-09-05 07:59:52 +10:00
Jordi Ramos 148d71a9a3
Fix LF line-ending auto format bug (#10802)
* Implemented a line normalization function that prevents the language server from sending /r to LF line ending docs

* check if indentation location has been processed

* added LF line ending document to all previous razor formatting test cases

* skipping some LF line ending formatting tests. Created an issue to track the progress
2024-09-04 14:43:47 -07:00
dotnet bot 1d04db3d31
Merge release/dev17.11 to release/dev17.12 (#10832)
This is an automatically generated pull request from release/dev17.11
into release/dev17.12.


Once all conflicts are resolved and all the tests pass, you are free to
merge the pull request. 🐯

## Troubleshooting conflicts

### Identify authors of changes which introduced merge conflicts
Scroll to the bottom, then for each file containing conflicts copy its
path into the following searches:
- https://github.com/dotnet/razor/find/release/dev17.11
- https://github.com/dotnet/razor/find/release/dev17.12

Usually the most recent change to a file between the two branches is
considered to have introduced the conflicts, but sometimes it will be
necessary to look for the conflicting lines and check the blame in each
branch. Generally the author whose change introduced the conflicts
should pull down this PR, fix the conflicts locally, then push up a
commit resolving the conflicts.

### Resolve merge conflicts using your local repo
Sometimes merge conflicts may be present on GitHub but merging locally
will work without conflicts. This is due to differences between the
merge algorithm used in local git versus the one used by GitHub.
``` bash
git fetch --all
git checkout -t upstream/merges/release/dev17.11-to-release/dev17.12
git reset --hard upstream/release/dev17.12
git merge upstream/release/dev17.11
# Fix merge conflicts
git commit
git push upstream merges/release/dev17.11-to-release/dev17.12 --force
```
2024-09-04 14:39:13 -07:00
David Wengier 460ae5b1a4
Merge branch 'main' into darc-main-a925341a-a0ef-49f7-bc6e-6525c5d13555 2024-09-05 07:29:55 +10:00
David Wengier 976f723840
Merge branch 'release/dev17.12' into merges/release/dev17.11-to-release/dev17.12 2024-09-05 07:01:28 +10:00
David Wengier cb2fd72b5f
Merge branch 'release/dev17.11' into merges/release/dev17.10-to-release/dev17.11 2024-09-05 06:58:43 +10:00
dotnet-maestro[bot] de7eddc0e9
Update dependencies from https://github.com/dotnet/arcade build 20240903.1 (#10835)
Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
 From Version 9.0.0-beta.24429.5 -> To Version 9.0.0-beta.24453.1

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2024-09-04 12:33:30 -07:00
Dustin Campbell 90b1855f86
Change RazorSyntaxTree.Diagnostics from an IReadOnlyList<RazorDiagnostic> to an ImmutableArray<RazorDiagnostic> (#10797)
This pull request represents several changes with the ultimate goal of
exposing `RazorSyntaxTree.Diagnostics` as an
`ImmutableArray<RazorDiagnostic>` rather than an
`IReadOnlyList<RazorDiagnostic>`:

- Clean up `RazorSyntaxTree` and get rid of `DefaultRazorSyntaxTree`.
- Add `(Drain)ToImmutableOrdered*` methods to `PooledArrayBuilder<T>`.
Note that this change also includes a refactoring to the various unit
tests for ordering to share test data that I've isolated to a single
commit.
- Clean up and improve `ErrorSink` to no longer greedily create a new
`List<T>` before any errors are encountered.
- Clean up `ParserContext` and make it used pooled collections.
- Use pooled collections when computing and caching the result of
`RazorSyntaxTree.Diagnostics`.
2024-09-04 08:41:16 -07:00
dotnet-maestro[bot] 187962c177
[release/dev17.10] Update dependencies from dotnet/arcade (#10529)
* Update dependencies from https://github.com/dotnet/arcade build 20240624.1

Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
 From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24324.1

* Update dependencies from https://github.com/dotnet/arcade build 20240624.7

Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
 From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24324.7

* Update dependencies from https://github.com/dotnet/arcade build 20240624.7

Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
 From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24324.7

* Update dependencies from https://github.com/dotnet/arcade build 20240624.7

Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
 From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24324.7

* Update dependencies from https://github.com/dotnet/arcade build 20240624.7

Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
 From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24324.7

* Update dependencies from https://github.com/dotnet/arcade build 20240626.4

Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
 From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24326.4

* Update dependencies from https://github.com/dotnet/arcade build 20240626.4

Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
 From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24326.4

* Update dependencies from https://github.com/dotnet/arcade build 20240628.2

Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
 From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24328.2

* Update dependencies from https://github.com/dotnet/arcade build 20240628.2

Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
 From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24328.2

* Update dependencies from https://github.com/dotnet/arcade build 20240702.1

Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
 From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24352.1

* Update dependencies from https://github.com/dotnet/arcade build 20240702.1

Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
 From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24352.1

* Update dependencies from https://github.com/dotnet/arcade build 20240702.1

Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
 From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24352.1

* Update dependencies from https://github.com/dotnet/arcade build 20240702.1

Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
 From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24352.1

* Update dependencies from https://github.com/dotnet/arcade build 20240702.1

Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
 From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24352.1

* Update dependencies from https://github.com/dotnet/arcade build 20240702.1

Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
 From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24352.1

* Update dependencies from https://github.com/dotnet/arcade build 20240702.1

Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
 From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24352.1

* Update dependencies from https://github.com/dotnet/arcade build 20240709.3

Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
 From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24359.3

* Update dependencies from https://github.com/dotnet/arcade build 20240710.5

Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
 From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24360.5

* Update dependencies from https://github.com/dotnet/arcade build 20240710.5

Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
 From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24360.5

* Update dependencies from https://github.com/dotnet/arcade build 20240710.5

Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
 From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24360.5

* Update dependencies from https://github.com/dotnet/arcade build 20240710.5

Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
 From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24360.5

* Update dependencies from https://github.com/dotnet/arcade build 20240710.5

Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
 From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24360.5

* Update dependencies from https://github.com/dotnet/arcade build 20240710.5

Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
 From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24360.5

* Update dependencies from https://github.com/dotnet/arcade build 20240710.5

Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
 From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24360.5

* Update dependencies from https://github.com/dotnet/arcade build 20240716.7

Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
 From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24366.7

* Update dependencies from https://github.com/dotnet/arcade build 20240717.1

Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
 From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24367.1

* Update dependencies from https://github.com/dotnet/arcade build 20240717.1

Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
 From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24367.1

* Update dependencies from https://github.com/dotnet/arcade build 20240717.1

Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
 From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24367.1

* Update dependencies from https://github.com/dotnet/arcade build 20240717.1

Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
 From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24367.1

* Update dependencies from https://github.com/dotnet/arcade build 20240717.1

Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
 From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24367.1

* Update dependencies from https://github.com/dotnet/arcade build 20240722.3

Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
 From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24372.3

* Update dependencies from https://github.com/dotnet/arcade build 20240722.3

Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
 From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24372.3

* Update dependencies from https://github.com/dotnet/arcade build 20240722.3

Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
 From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24372.3

* Update dependencies from https://github.com/dotnet/arcade build 20240726.1

Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
 From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24376.1

* Update dependencies from https://github.com/dotnet/arcade build 20240726.1

Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
 From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24376.1

* Update dependencies from https://github.com/dotnet/arcade build 20240726.1

Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
 From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24376.1

* Update dependencies from https://github.com/dotnet/arcade build 20240726.1

Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
 From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24376.1

* Update dependencies from https://github.com/dotnet/arcade build 20240726.1

Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
 From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24376.1

* Update dependencies from https://github.com/dotnet/arcade build 20240726.1

Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
 From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24376.1

* Update dependencies from https://github.com/dotnet/arcade build 20240726.1

Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
 From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24376.1

* Update dependencies from https://github.com/dotnet/arcade build 20240726.1

Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
 From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24376.1

* Update dependencies from https://github.com/dotnet/arcade build 20240726.1

Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
 From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24376.1

* Update dependencies from https://github.com/dotnet/arcade build 20240726.1

Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
 From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24376.1

* Update dependencies from https://github.com/dotnet/arcade build 20240726.1

Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
 From Version 8.0.0-beta.24321.3 -> To Version 8.0.0-beta.24376.1

* Update dependencies from https://github.com/dotnet/arcade build 20240812.1

Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
 From Version 8.0.0-beta.24376.1 -> To Version 8.0.0-beta.24412.1

* Update dependencies from https://github.com/dotnet/arcade build 20240813.2

Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
 From Version 8.0.0-beta.24412.1 -> To Version 8.0.0-beta.24413.2

* Update dependencies from https://github.com/dotnet/arcade build 20240821.4

Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
 From Version 8.0.0-beta.24413.2 -> To Version 8.0.0-beta.24421.4

* Update dependencies from https://github.com/dotnet/arcade build 20240826.2

Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
 From Version 8.0.0-beta.24421.4 -> To Version 8.0.0-beta.24426.2

---------

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2024-09-04 09:00:43 +02:00
dotnet-maestro[bot] 41acbdeb66
Update dependencies from https://github.com/dotnet/arcade build 20240826.2 (#10808)
Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
 From Version 8.0.0-beta.24421.4 -> To Version 8.0.0-beta.24426.2

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2024-09-03 23:00:56 -07:00
dotnet-maestro[bot] 4ec65fb914
[main] Update dependencies from dotnet/arcade (#10816)
* Update dependencies from https://github.com/dotnet/arcade build 20240829.3

Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
 From Version 9.0.0-beta.24426.3 -> To Version 9.0.0-beta.24429.3

* Update dependencies from https://github.com/dotnet/arcade build 20240829.5

Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
 From Version 9.0.0-beta.24429.3 -> To Version 9.0.0-beta.24429.5

* Failed to perform coherency update for one or more dependencies.

---------

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2024-09-03 23:00:10 -07:00
David Wengier 7107165cd4 Remove GetRelatedDocuments from IProjectSnapshot
This is only called from the LSP server, and shouldn't be called from cohosting, so now it can't be!
2024-09-04 13:58:57 +10:00
David Wengier 074043b516 Remove IsImportDocument
Was only used in one place, and that place could never have any result except false due to a FileKind check above
2024-09-04 13:35:33 +10:00
David Wengier 915c4c34e4
Remap Html uris in cohost Go To Def (#10826)
Fixes https://github.com/dotnet/razor/issues/10823
2024-09-04 11:31:59 +10:00
David Wengier 84c2983392 Whitespace 2024-09-04 11:21:13 +10:00
David Wengier d9e380b533 Rename service 2024-09-04 11:17:50 +10:00
David Wengier 467ff246de PR feedback 2024-09-04 11:04:31 +10:00
Dustin Campbell 277663c9a5
Clarify [EventHandler] tag helper discovery logic and avoid exception (#10828)
This fixes an issue that @tmat pointed out to me over email. In a recent
change (#10720), I added a call to `Assumed.Unreachable()` when
`[EventHandler]` tag helper discovery encounters an attribute with
invalid constructor attributes. However, throwing an exception during
tag helper discovery is usually the wrong approach. Normally, if Roslyn
symbols aren't in the proper shape during tag helper discovery, Razor
will simply not produce a tag helper. (We _do_ support diagnostics for
tag helpers, but those are usually reserved for warnings and errors that
are related to a tag helper's data that would make it unusable, such as
a name containing whitespace.)

It turns out that the "unreachable" condition wasn't actually all that
unreachable and @tmat was hitting it while working on hot reload tests.
So, I've changed the code to make the success conditions clearer, i.e.,
the attribute data must match one of the two constructor calls. And, I
changed the logic to simply skip `[EventHandler]` attributes that don't
meet the success conditions.
2024-09-03 15:43:31 -07:00
Dustin Campbell 5c0677ad27 Ensure PooledArrayBuilder<T> resets capacity of builder after drain
It is perfectly legal for a PooledArrayBuilder<T> to be drained via one of the DrainToImmutable* methods and then continue adding items to the builder. However, if the inner ImmutableArray<T>.Builder's capacity was set to 0 during the drain, its capacity will not be reset to any specified value when adding new items. This change fixes that.
2024-09-03 14:46:52 -07:00
Dustin Campbell abc48b312c Test that the DrainToImmutableOrdered* methods actually drain 2024-09-03 13:30:01 -07:00
Dustin Campbell 277c780a68 Clarify [EventHandler] tag helper discovery logic and avoid exception 2024-09-03 10:53:32 -07:00
David Wengier f867a03926 Remap Html uris if we get them 2024-09-03 16:57:46 +10:00
David Wengier 1e82de71fe Add failing test, and add verification to existing tests 2024-09-03 16:54:11 +10:00
David Wengier a7cd940cd7 Cohost go to implementation 2024-09-03 16:21:10 +10:00
David Wengier 391f322704 Test 2024-09-03 09:31:12 +10:00
David Wengier 4a44a99239 Create cohost spell check endpoints and services 2024-09-03 09:27:57 +10:00
David Wengier 56128c3c26 Refactor out spell check endpoints to services, and clean up a little 2024-09-03 08:48:32 +10:00