Как то худо-бедно начинает работать лучше

This commit is contained in:
2025-03-08 23:22:59 +03:00
parent 0e09b479af
commit 493f56c99a
6 changed files with 16 additions and 6 deletions
+1
View File
@@ -436,6 +436,7 @@ namespace mROA.Codegen
{level}{{
{level} IsVoid = false,
{level} ReturnType = typeof({method.ReturnType.ToDisplayString()}),
{level} ParameterTypes = new Type[] {{ typeof({method.Parameters.First().Type.ToDisplayString()}) }},
{level} SuitableType = typeof({method.ContainingType.ToDisplayString()}),
{level} Invoking = (i, parameters, _) => (i as {method.ContainingType.ToDisplayString()}).{(method.AssociatedSymbol as IPropertySymbol)!.Name} = {Caster((method.AssociatedSymbol as IPropertySymbol)!.Type, "parameters[0]")},
{level}}}";