Skip to content

SemanticViolationException: No matching override for Button #4

Description

@friuns2

Hi i'm working on modding tool using slowsharp https://github.com/friuns2/LuaMod/tree/SharpMod

if i type GUILayout.Button("test"); it throws exception, can you help?

SemanticViolationException: No matching override for `Button`
Slowsharp.Runner.RunInvocation (Microsoft.CodeAnalysis.CSharp.Syntax.InvocationExpressionSyntax node) (at <2cd81ad168544a2391dd8ded9b2f4f87>:0)
Slowsharp.Runner.RunExpression (Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax node) (at <2cd81ad168544a2391dd8ded9b2f4f87>:0)
Slowsharp.Runner.RunIf (Microsoft.CodeAnalysis.CSharp.Syntax.IfStatementSyntax node) (at <2cd81ad168544a2391dd8ded9b2f4f87>:0)
Slowsharp.Runner.RunAsExecution (Microsoft.CodeAnalysis.SyntaxNode node) (at <2cd81ad168544a2391dd8ded9b2f4f87>:0)
Slowsharp.Runner.Run (Microsoft.CodeAnalysis.SyntaxNode node) (at <2cd81ad168544a2391dd8ded9b2f4f87>:0)
Slowsharp.Runner.RunBlock (Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax node, Slowsharp.VarFrame vf, System.Int32 pc) (at <2cd81ad168544a2391dd8ded9b2f4f87>:0)
Slowsharp.Runner.RunMethod (Slowsharp.SSMethodInfo method, Slowsharp.HybInstance[] args) (at <2cd81ad168544a2391dd8ded9b2f4f87>:0)
Slowsharp.Runner.RunMethod (Slowsharp.HybInstance _this, Slowsharp.SSMethodInfo method, Slowsharp.HybInstance[] args) (at <2cd81ad168544a2391dd8ded9b2f4f87>:0)
Slowsharp.Invokable.Invoke (Slowsharp.HybInstance _this, Slowsharp.HybInstance[] args, System.Boolean hasRefOrOut) (at <2cd81ad168544a2391dd8ded9b2f4f87>:0)
Slowsharp.SSMethodInfo.Invoke (Slowsharp.HybInstance _this, Slowsharp.HybInstance[] args) (at <2cd81ad168544a2391dd8ded9b2f4f87>:0)
MethodPool.Execute1 () (at Assets/Scripts/SharpMod/MethodPool.cs:34)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions