Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FieldBlock: Convert.ChangeType is failed. #67

Open
ghost opened this issue Nov 17, 2022 · 0 comments
Open

FieldBlock: Convert.ChangeType is failed. #67

ghost opened this issue Nov 17, 2022 · 0 comments

Comments

@ghost
Copy link

ghost commented Nov 17, 2022

It is logged as warning, but it happens in absolutely normal circumstances.

For example if I assign int value to some class which has implicit cast operator. Generated JS is correct, so not need to warn about such events.

FieldBlock: Convert.ChangeType is failed. Value type: System.Int32, Target type: MyNamespace.MyClass
public static implicit operator MyClass(int value)
{
    return new MyClass(value);
}

MyClass mc = 0xAABB;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants