Comments in the head of a script file must not throw the error "Encountered directive after the start of code" · Issue #1185 · scriptcs/scriptcs · GitHub
Skip to content

Comments in the head of a script file must not throw the error "Encountered directive after the start of code" #1185

Description

@ZurielCorrea

The Visual Studio 2015 C# Interactive (CSI.exe) and the Roslyn assemblies don't generate this error thus it seems that it is generated by scriptcs.

Typically the copyright information is in the header of the file as comments. It seams more natural to have those above the #r and #load directives.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions