CSharpSnapshotGeneratorParameters.Scope Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The set of identifiers currently in scope. Generators that introduce new locals
(e.g. var index = b.HasIndex(...);) should pick names from
Identifier(String, ICollection<String>, Nullable<Boolean>) with this scope
so that the chosen name doesn't collide with another identifier in the same lambda body.
public System.Collections.Generic.ICollection<string> Scope { get; init; }
member this.Scope : System.Collections.Generic.ICollection<string> with get, set
Public Property Scope As ICollection(Of String)