Click or drag to resize

SourceCodeKind Class



Specifies the C# or VB source code kind.
Inheritance Hierarchy
SystemEnum
  Microsoft.CodeAnalysisSourceCodeKind

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 SourceCodeKind : Enum

The SourceCodeKind type exposes the following members.

Fields
  NameDescription
Public fieldStatic memberInteractive Obsolete.
The same as Script.
Public fieldStatic memberRegular
No scripting. Used for .cs/.vb file parsing.
Public fieldStatic memberScript
Allows top-level statements, declarations, and optional trailing expression. Used for parsing .csx/.vbx and interactive submissions.
Public fieldvalue__
Top
See Also