1- using dotnetCampus . Ipc . Generators . Builders ;
2- using dotnetCampus . Ipc . Generators . Compiling ;
1+ using dotnetCampus . Ipc . Generators . Compiling ;
2+ using dotnetCampus . Ipc . Generators . Builders ;
33
44namespace dotnetCampus . Ipc . Generators . Utils ;
55
@@ -83,7 +83,7 @@ internal static string GenerateJointSource(IpcPublicCompilation ipc)
8383 . AddTypeDeclaration ( $ "internal sealed class __{ ipc . IpcType . Name } IpcJoint", t => t
8484 . AddBaseTypes ( $ "GeneratedIpcJoint<{ ipc . IpcType . ToUsingString ( ) } >")
8585 . AddGeneratedToolAndEditorBrowsingAttributes ( )
86- . AddMemberDeclaration ( $ "protected override void MatchMembers({ ipc . IpcType . ToUsingString ( ) } { realInstanceName } )", m => m
86+ . AddMethodDeclaration ( $ "protected override void MatchMembers({ ipc . IpcType . ToUsingString ( ) } { realInstanceName } )", m => m
8787 . AddRawStatements ( ipc . EnumerateMembers ( )
8888 . Select ( x => new IpcPublicMemberProxyJointGenerator ( x . IpcType , x . Member ) )
8989 . Select ( x => x . GenerateJointMatch ( realInstanceName ) ) ) ) ) ;
@@ -104,7 +104,7 @@ internal static string GenerateModuleInitializerSource(
104104 . UsingStatic ( "dotnetCampus.Ipc.CompilerServices.GeneratedProxies.GeneratedIpcFactory" )
105105 . AddTypeDeclaration ( "file static class DotNetCampusIpcModuleInitializer" , t => t
106106 . AddGeneratedToolAndEditorBrowsingAttributes ( )
107- . AddMemberDeclaration ( "internal static void Initialize()" , m => m
107+ . AddMethodDeclaration ( "internal static void Initialize()" , m => m
108108 . AddAttribute ( "[global::System.Runtime.CompilerServices.ModuleInitializerAttribute]" )
109109 . AddRawStatements ( ipcPublicCompilations . Select ( GenerateIpcPublicRegistration ) )
110110 . AddRawStatements ( ipcShapeCompilations . Select ( GenerateIpcPublicRegistration ) ) ) ) ;
0 commit comments