Skip to content

Conversation

@AlekseyTs
Copy link
Contributor

No description provided.

davidwengier and others added 30 commits June 13, 2025 12:19
This API was lifted and shifted entirely to the ManagedProvider package
in azdo.

Obsoleting this fully to ensure that nothing ever uses it. Will also
take through API review to eventually make the change to remove this
entirely.
* [VMR] Codeflow a528f84-a528f84

[[ commit created by automation ]]

* Update dependencies from https://github.com/dotnet/dotnet build 270315
No dependency updates to commit

* [VMR] Codeflow f5faea9-f5faea9

[[ commit created by automation ]]

* Update dependencies from https://github.com/dotnet/dotnet build 270450
No dependency updates to commit

* Update dependencies from https://github.com/dotnet/dotnet build 270603
No dependency updates to commit

* Update dependencies from https://github.com/dotnet/dotnet build 270662
No dependency updates to commit

* [VMR] Codeflow 86826d3-86826d3

[[ commit created by automation ]]

* Update dependencies from https://github.com/dotnet/dotnet build 271018
No dependency updates to commit

* [VMR] Codeflow 32a2620-32a2620

[[ commit created by automation ]]

* Update dependencies from https://github.com/dotnet/dotnet build 271181
No dependency updates to commit

* [VMR] Codeflow 25357a9-25357a9

[[ commit created by automation ]]

* Update dependencies from https://github.com/dotnet/dotnet build 271343
No dependency updates to commit

* Update dependencies from https://github.com/dotnet/dotnet build 271417
No dependency updates to commit

* Revert incorrect Roslyn.sln changes

---------

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Viktor Hofer <viktor.hofer@microsoft.com>
* Expose `IsIterator` as a public API

* Fix workspace generated method symbol implementation

* Implement new property in yet another non-compiler-owned method symbol implementation

* SemanticSearch.ReferenceAssemblies

* Verify public code path in C#

* Add negative tests

* Add C# local function tests

* Test VB lambda iterators

* Revert accessibility change

* Disable warnings

* Use explicit type

* Simplify lambda tests

* Test interface property

* Add additional VB case
This existed back from when the input to the function was a namespace,
but that's not the case anymore.
CPS passes us an INamespaceSymbol that is the global namespace symbol;
it doesn't have a containing assembly. It does have a containing
Compilation though, which is what we actually need.

Fixes https://devdiv.visualstudio.com/DevDiv/_workitems/edit/2506795
Fixes dotnet#78697
I'm not sure why this ever took an INamespaceSymbol in the first place,
but we either have code working around it, or having an (old) comment
saying the code was wrong.
Allow Razor to not have to copy the complex edit command name, and
override formatting settings (in tests for now, but possibly more later)

Razor side: dotnet/razor#11949
CPS passes us an INamespaceSymbol that is the global namespace symbol;
it doesn't have a containing assembly. It does have a containing
Compilation though, which is what we actually need.

While I'm here, let's expose a better API for this to avoid this silly
dance in the first place.

Fixes https://devdiv.visualstudio.com/DevDiv/_workitems/edit/2506795
Fixes dotnet#78697
* Fix SubText ctor parameter verification.

This ctor currently throws given a zero length span at the end (and only the end) of the subtext. This evidently became far more prevalent with this (fairly) recent change to optimize newline information in our sourcetext classes. (dotnet#74728)

It doesn't make to allow zero length spans at all locations but at the end of the subtext, so the fix is just to allow construction in that case too.

Big props to Manish Vasani for providing a very actionable repro for this.

Fixes dotnet#78985.

Note there is a potentially related issue outlined in dotnet#76225 that looks attributable to the PR above too. It possible that this addresses that issue too, but I'm not completely convinced.
@AlekseyTs AlekseyTs requested review from jcouv and jjonescz June 23, 2025 18:14
@AlekseyTs AlekseyTs requested review from a team as code owners June 23, 2025 18:14
@AlekseyTs AlekseyTs added Area-Compilers Feature - Extension Everything The extension everything feature labels Jun 23, 2025
@dotnet-policy-service dotnet-policy-service bot added VSCode Needs API Review Needs to be reviewed by the API review council labels Jun 23, 2025
@dotnet-policy-service
Copy link
Contributor

This PR modifies public API files. Please follow the instructions at https://github.com/dotnet/roslyn/blob/main/docs/contributing/API%20Review%20Process.md for ensuring all public APIs are reviewed before merging.

@AlekseyTs
Copy link
Contributor Author

@jcouv, @jjonescz, @dotnet/roslyn-compiler Need a sign-off on a merge PR.

@AlekseyTs AlekseyTs merged commit b224364 into dotnet:features/extensions Jun 24, 2025
28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area-Compilers Feature - Extension Everything The extension everything feature Needs API Review Needs to be reviewed by the API review council VSCode

Projects

None yet

Development

Successfully merging this pull request may close these issues.