From 3b4d8ba52e11c454c50d35eec19e75b55f7c4b8a Mon Sep 17 00:00:00 2001 From: Akeit0 <90429982+Akeit0@users.noreply.github.com> Date: Sun, 3 Mar 2024 01:10:50 +0900 Subject: [PATCH] Fix : Replace "." to "_" --- .../AlchemySerializeGenerator.cs | 2 +- .../Generator/Alchemy.SourceGenerator.dll | Bin 18944 -> 18944 bytes 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/Alchemy.SourceGenerator/AlchemySerializeGenerator.cs b/Alchemy.SourceGenerator/AlchemySerializeGenerator.cs index 11a5cc4..16224ed 100644 --- a/Alchemy.SourceGenerator/AlchemySerializeGenerator.cs +++ b/Alchemy.SourceGenerator/AlchemySerializeGenerator.cs @@ -155,7 +155,7 @@ namespace Alchemy.SourceGenerator : ""; var alchemySerializationDataName = typeSymbol.ToDisplayString(SymbolDisplayFormat.FullyQualifiedFormat) - .Replace("global::", ""); + .Replace("global::", "").Replace(".", "_"); alchemySerializationDataName = ReplaceGenericsToCount(alchemySerializationDataName,genericsCount) + "_alchemySerializationData"; var inheritedSerializationCallback = hasInheritedImplementation diff --git a/Alchemy/Assets/Alchemy/Generator/Alchemy.SourceGenerator.dll b/Alchemy/Assets/Alchemy/Generator/Alchemy.SourceGenerator.dll index 8436b83ba3984d61e878dc008d8879b89ff60eea..07002ddacd245006c41c8175b836766e7eb70a3e 100644 GIT binary patch delta 810 zcmXw%T}TvB6vzK}c6MiX^J7OVw@~sEH%*(FR(JP7!EMWr5)}fAO59I+2zJ>rst4Ug zG>amKSww;!vWGCRhRkXdS~5{0EEFAdS23EdpIUqXlBe9nHuU2^`aKu@)CFJOiN zr%5;T3D;}K)O@pXYZZ%pBQM~UMU$+NcjBE%v)+de2VD46%z2j`ExZe3KBG><2G>rM zG-=kkNAMG6O!~$Sa9u>3#hls2jUAIzvx^(T)Ip<7afBNllcwQDgm)uh(G{XyShc8u zs01Y~M%^^-Vt_BjZi^~egfGJdi_T(%FUN#Q#ep8=O)Adw;ATr{u}u#~c@Gx#V`6tX zXKUBJFya2db^$eDCvz|hwTHh5{-vK!MGBT0-eEBDyhWe zM2BBa1teLK;<02R81zSD34o_hZOMl>xoNP$VdE8UkZz8XYWKrc_B8!FY3+Hq!GlM~ z!y~s!POe;S&0Stw$ZK2S>xvcp+hzrgMv>vQvem+z>I>a_@RG{^%X?#AtJdvh>)O+! zLwZ?c%r+!LK@@R>Xa&hD2tXq3BuddrQX~c$33R|uK4s>ODv3_VD4(E{LCQsm655O2 OL2gUd#l9a*m4tuBFR@kt delta 802 zcmY+CTSyd97{~u-c6MiX^RnAgN@!|o+NL%$yF2bYXla5M(CwmV1nH`~5(I8O71_$0GYnhWaFYiE8vEE1Vkt<`=V$iUCgWzY> zVbB7};VKx-C2PhMC%ze!Fs3;1EB;>*+w`Gl;Y1DZM6*f#jMm|fN%@RYuxip}H1Mh5 zy~#cgso~SmX3|0I<dYqfc+eoJ9 zv)v)Oi@3D3nnRXQ1Yt-}*;1Gf8dijeZj>_)zz4sfL6%e4E{QD}QKq`@WRbq3i*-iy SES;`x