SyntaxTreeCollection
Gets the syntax trees in the current subset.
Declaration
IReadOnlyCollection<SyntaxTree> SyntaxTreeCollection { get; }Property Value
| Type | Description |
|---|---|
| IReadOnlyCollection<SyntaxTree> |
Remarks
Replaces SyntaxTrees for the majority of uses, which enumerate the trees and never read the path that keyed them. The collection is identified by the trees themselves, so it costs no string hashing, and it is not an ImmutableDictionary<TKey, TValue>, which is only useful to a caller building a modified copy.