Language

CSharpSnapshotGeneratorParameters.Scope Property

Definition

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)

Property Value

Applies to