Skip to content

intermediate-script.cs: error CS1038: #endregion directive expected #41

Description

@dosluke

1>Writing intermediate script to C:\Users\me\source\repos\NewFancyFlightInfo\obj\intermediate-script.WhitespaceTrimmer.cs 1>Verifying that nothing went wrong 1>C:\Users\me\source\repos\NewFancyFlightInfo\obj\intermediate-script.cs(597,7): error CS1038: #endregion directive expected 1>Failed to compile the project.

i checked every cs file in the solution and they all close the in-game region directive with an endregion. I opened the intermediate script and this is what i found:
first line:
#region pre-script using System; using System.Linq;

a ways down:

public class Program : MyGridProgram { #endregion #region in-game

a ways down:
`
}

#endregion
#region post-script

}
class Skin`

no other region directives past that in the intermediate file.

my Program.cs file in which that last section of code came from DOES close the regions(the first endregion is from the in-game region above the code):

`};
}

	#endregion
	#region post-script
}

}
#endregion`

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions