Skip to content

Any way to skip invalid names? #22

@IMB11

Description

@IMB11

Eg: Skip the following:

System.IO.IOException: The filename, directory name, or volume label syntax is incorrect. : 'D:\Il2Cpp-Modding-Codegen\Codegen-CLI\bin\Debug\netcoreapp3.1\output\include\<PrivateImplementationDetails>{FF33C43E-3513-4C16-A62D-5F1EFE332B71}'
   at System.IO.FileSystem.CreateDirectory(String fullPath, Byte[] securityDescriptor)
   at System.IO.Directory.CreateDirectory(String path)
   at Il2CppModdingCodegen.Serialization.CppHeaderCreator.Serialize(CppTypeContext context) in D:\Il2Cpp-Modding-Codegen\Il2Cpp-Modding-Codegen\Serialization\CppHeaderCreator.cs:line 34
   at Il2CppModdingCodegen.Serialization.CppDataSerializer.Serialize(CppStreamWriter writer, IParsedData data, Boolean _unused_) in D:\Il2Cpp-Modding-Codegen\Il2Cpp-Modding-Codegen\Serialization\CppDataSerializer.cs:line 146
   at Codegen_CLI.Program.Main(String[] args) in D:\Il2Cpp-Modding-Codegen\Codegen-CLI\Program.cs:line 169
[op_Implicit, 208], [op_Equality, 122], [op_Inequality, 101], [op_Explicit, 136], [op_Addition, 60], [op_Subtraction, 57], [op_UnaryNegation, 27], [op_Multiply, 77], [op_Division, 37], [op_LessThan, 27], [op_LessThanOrEqual, 13], [op_GreaterThan, 25], [op_GreaterThanOrEqual, 10], [op_Increment, 1], [op_Modulus, 5], [op_LeftShift, 2], [op_RightShift, 2], [op_BitwiseAnd, 17], [op_BitwiseOr, 15], [op_OnesComplement, 10], [op_UnaryPlus, 8], [op_ExclusiveOr, 5], [op_True, 1]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions