Click or drag to resize

SpeculativeBindingOption Class



Describes the kind of binding to be performed in one of the SemanticModel speculative binding methods.
Inheritance Hierarchy
SystemEnum
  Microsoft.CodeAnalysisSpeculativeBindingOption

Namespace:  Microsoft.CodeAnalysis
Assembly:  Microsoft.CodeAnalysis (in Microsoft.CodeAnalysis.dll) Version: 2.3.0-dev-56735-00. Commit Hash: <developer build>
Syntax
public sealed class SpeculativeBindingOption : Enum

The SpeculativeBindingOption type exposes the following members.

Fields
  NameDescription
Public fieldStatic memberBindAsExpression
Binds the given expression using the normal expression binding rules that would occur during normal binding of expressions.
Public fieldStatic memberBindAsTypeOrNamespace
Binds the given expression as a type or namespace only. If this option is selected, then the given expression must derive from TypeSyntax.
Public fieldvalue__
Top
See Also