CLI: Merge some options into --must-compile

This commit is contained in:
Katy Coe
2019-11-17 22:43:58 +01:00
parent 37c63608df
commit f0134e0d16
3 changed files with 22 additions and 30 deletions

View File

@@ -56,9 +56,8 @@ namespace Il2CppInspector
foreach (var il2cpp in inspectors)
new Il2CppCSharpDumper(new Il2CppModel(il2cpp)) {
ExcludedNamespaces = excludedNamespaces,
SuppressGenerated = true,
SuppressMetadata = false,
CommentAttributes = true
MustCompile = true
}.WriteSingleFile(testPath + @"\test-result" + (i++ > 0 ? "-" + (i - 1) : "") + ".cs");
// Compare test result with expected result