Partilhar via


SpeculativeBindingOption Enum

Definition

Describes the kind of binding to be performed in one of the SemanticModel speculative binding methods.

public enum class SpeculativeBindingOption
public enum SpeculativeBindingOption
type SpeculativeBindingOption = 
Public Enum SpeculativeBindingOption
Inheritance
SpeculativeBindingOption

Fields

Name Value Description
BindAsExpression 0

Binds the given expression using the normal expression binding rules that would occur during normal binding of expressions.

BindAsTypeOrNamespace 1

Binds the given expression as a type or namespace only. If this option is selected, then the given expression must derive from TypeSyntax.

Applies to