Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Remove Current interface call in IteratorSelectIterator#99344

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
stephentoub merged 1 commit intodotnet:mainfromstephentoub:selectiterator
Mar 6, 2024

Conversation

stephentoub
Copy link
Member

By returningIterator<> from GetEnumerator, strongly-typed callers (such as those in IteratorSelectIterator) can bind to the non-virtual Current member, saving an interface/virtual call. The interface dispatch to MoveNext also becomes virtual for such callers.

By returning `Iterator<>` from GetEnumerator, strongly-typed callers (such as those in IteratorSelectIterator) can bind to the non-virtual Current member, saving an interface/virtual call. The interface dispatch to MoveNext also becomes virtual for such callers.
@ghost
Copy link

Tagging subscribers to this area: @dotnet/area-system-linq
See info inarea-owners.md if you want to be subscribed.

Issue Details

By returningIterator<> from GetEnumerator, strongly-typed callers (such as those in IteratorSelectIterator) can bind to the non-virtual Current member, saving an interface/virtual call. The interface dispatch to MoveNext also becomes virtual for such callers.

Author:stephentoub
Assignees:-
Labels:

area-System.Linq

Milestone:-

@stephentoubstephentoub merged commitef339ba intodotnet:mainMar 6, 2024
@stephentoubstephentoub deleted the selectiterator branchMarch 6, 2024 12:53
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsApr 7, 2024
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@eiriktsarpaliseiriktsarpaliseiriktsarpalis approved these changes

Assignees

@stephentoubstephentoub

Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@stephentoub@eiriktsarpalis

[8]ページ先頭

©2009-2025 Movatter.jp