Skip to content

src for System.Collections.Generic.List<T> #98773

Discussion options

You must be logged in to vote

A large number of types exist as part of System.Private.Corelib for layering reasons and so do not live in same place as the reference assembly that exposes it publicly.

In general you can use https://source.dot.net to locate types and then click the Web Access link to find the specific version of the file that had been indexed. For example, List<T> is https://source.dot.net/#System.Private.CoreLib/src/libraries/System.Private.CoreLib/src/System/Collections/Generic/List.cs,cf7f4095e4de7646

The Web Access link at the bottom of the page then goes to https://github.com/dotnet/runtime/blob/8cc7586135856499ea5123bbfb71a5df3fa7f717/src/libraries/System.Private.CoreLib/src/System/Collections/Gen…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ActivistInvestor
Comment options

Answer selected by tannergooding
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants