-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Support field keyword in EE.
#80515
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Support field keyword in EE.
#80515
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
|
@RikkiGibson, @333fred, @dotnet/roslyn-compiler Please review |
333fred
approved these changes
Oct 1, 2025
333fred
reviewed
Oct 1, 2025
| var moveNextMethod = stateMachineType.GetMember<MethodSymbol>("MoveNext"); | ||
|
|
||
| var guessedIterator = CompilationContext.GetSubstitutedSourceMethod(new EECompilationContextMethod(comp2, moveNextMethod), sourceMethodMustBeInstance: true); | ||
| var guessedIterator = new CompilationContext(comp2, moveNextMethod, moveNextMethod, [], [], MethodDebugInfo<TypeSymbol, LocalSymbol>.None). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider adding parameter names for readability. #Resolved
333fred
approved these changes
Oct 1, 2025
|
@RikkiGibson, @dotnet/roslyn-compiler For a second review |
|
@RikkiGibson, @dotnet/roslyn-compiler For a second review |
|
Taking a look this afternoon |
RikkiGibson
reviewed
Oct 3, 2025
src/ExpressionEvaluator/CSharp/Source/ExpressionCompiler/EvaluationContext.cs
Outdated
Show resolved
Hide resolved
RikkiGibson
approved these changes
Oct 3, 2025
AlekseyTs
commented
Oct 4, 2025
src/ExpressionEvaluator/CSharp/Source/ExpressionCompiler/EvaluationContext.cs
Outdated
Show resolved
Hide resolved
333fred
added a commit
to 333fred/roslyn
that referenced
this pull request
Oct 6, 2025
* upstream/main: Extensions: Close some tracked follow-ups (dotnet#80527) Fix outdated 17.15 to 18.0 (dotnet#80570) Update dependencies from https://github.com/dotnet/dotnet build 285582 (dotnet#80551) Fix all-in-one tests [main] Update dependencies from dotnet/arcade (dotnet#80559) Improve error recovery when object initializer uses ':' instead of '=' (dotnet#80553) Support `field` keyword in EE. (dotnet#80515) Log a debug message for ContentModified exceptions. (dotnet#80549) Update dependencies from https://github.com/dotnet/arcade build 20251002.2 (dotnet#80550)
333fred
added a commit
to 333fred/roslyn
that referenced
this pull request
Oct 7, 2025
* upstream/main: (252 commits) Move Watch EA to a separate assembly Microsoft.CodeAnalysis.ExternalAccess.HotReload (dotnet#80556) Enable long paths for Windows DartLab CI (dotnet#80581) Ensure that CS8659 is reported on partial properties (dotnet#80573) Fix a wrong relative link in a doc (dotnet#80567) [main] Source code updates from dotnet/dotnet (dotnet#80578) Update dependencies from https://github.com/dotnet/arcade build 20251006.2 (dotnet#80577) Update main configs after VS snap (dotnet#80523) Add followup async public apis (dotnet#80455) Reduce allocations in CSharpSyntaxNode.GetStructure (dotnet#80562) Extensions: Close some tracked follow-ups (dotnet#80527) Fix outdated 17.15 to 18.0 (dotnet#80570) Update dependencies from https://github.com/dotnet/dotnet build 285582 (dotnet#80551) Fix all-in-one tests [main] Update dependencies from dotnet/arcade (dotnet#80559) Improve error recovery when object initializer uses ':' instead of '=' (dotnet#80553) Support `field` keyword in EE. (dotnet#80515) Log a debug message for ContentModified exceptions. (dotnet#80549) Update dependencies from https://github.com/dotnet/arcade build 20251002.2 (dotnet#80550) Fix Simplify and add additional asserts ...
This was referenced Oct 8, 2025
qvalda
pushed a commit
to JetBrains/roslyn
that referenced
this pull request
Oct 21, 2025
cherry pick roslyn fixb02727d6c002cae550b4429e8e18101a7821a3fd Support `field` keyword in EE. (dotnet#80515) Fixes dotnet#80442. (cherry picked from commit b02727d) # Conflicts: # src/ExpressionEvaluator/CSharp/Source/ExpressionCompiler/EvaluationContext.cs
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #80442.