virtualx-engine/modules/mono/glue/Managed
Ignacio Etcheverry 20d7013c60 Mono/C#: Fix project export and fix FindLast/GetFile regression
d09193b08a introduced a regression in
StringExtensions.FindLast. StringExtensions.GetFile was also affected as it
relies on FindLast. This in turn broke the project exporter as it uses GetFile.
The cause of the regression is that now FindLast is calling LastIndexOf
with 'startIndex: 0'. This should be 'startIndex: str.Length - 1' instead.

Also fixed another regression in the project exporter:
de7c2ad21b moved 'GodotTools/GodotSharpExport.cs'
to 'GodotTools/Export/ExportPlugin.cs' and in doing so accidently reverted
the changes from commit e439581198.
2019-12-17 13:06:41 +01:00
..
Files Mono/C#: Fix project export and fix FindLast/GetFile regression 2019-12-17 13:06:41 +01:00
IgnoredFiles Fix C# build error in MarshalUtils debug code 2019-05-21 19:09:00 +02:00
Properties Remove trailing whitespace 2018-11-20 11:15:02 +01:00
.gitignore Re-write mono module editor code in C# 2019-07-05 09:38:23 +02:00
Managed.csproj Mono formatting 2019-12-11 16:32:47 -05:00
Managed.sln Move modules/mono/glue/cs_files to modules/mono/glue/Managed/Files 2018-09-12 22:03:36 +02:00
README.md Move modules/mono/glue/cs_files to modules/mono/glue/Managed/Files 2018-09-12 22:03:36 +02:00

The directory Files contains C# files from the core assembly project that are not part of the generated API. Any file with the .cs extension in this directory will be added to the core assembly project.

A dummy solution and project is provided to get tooling help while editing these files, like code completion and name refactoring.

The directory IgnoredFiles contains C# files that are needed to build the dummy project but must not be added to the core assembly project. They contain placeholders for the declarations that are part of the generated API.