private static TableInfo WriteCCWMarshalingFunctions(NPath outputDir, IMethodCollectorResults methodCollector) { using (TinyProfiler.Section("CCWMarshalingFunctions", "Il2CppCcwMarshalingFunctionsTable.cpp")) { TableInfo empty = TableInfo.Empty; ReadOnlyCollection <TypeDefinition> cCWMarshalingFunctions = methodCollector.GetCCWMarshalingFunctions(); if (cCWMarshalingFunctions.Count > 0) { string[] append = new string[] { "Il2CppCcwMarshalingFunctionsTable.cpp" }; using (SourceCodeWriter writer = new SourceCodeWriter(outputDir.Combine(append))) { writer.AddCodeGenIncludes(); foreach (TypeDefinition definition in cCWMarshalingFunctions) { object[] args = new object[] { Naming.ForCreateComCallableWrapperFunction(definition) }; writer.WriteLine("extern \"C\" void {0} ();", args); } if (< > f__am$cache2 == null) {
public TableInfo Write(InflatedCollectionCollector generics, MethodTables methodTables, IMethodCollectorResults methodCollector) { IncludeWriter.WriteRegistrationIncludes(this._writer); WriteIncludesFor(this._writer, generics); if (<>f__am$cache0 == null) {
public TableInfo Write(InflatedCollectionCollector generics, MethodTables methodTables, IMethodCollectorResults methodCollector) { IncludeWriter.WriteRegistrationIncludes(this._writer); WriteIncludesFor(this._writer, generics); if (< > f__am$cache0 == null) {