You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 24, 2022. It is now read-only.
I don't think I ever built any infrastructure for this feature of
attributes, and I don't know how it works. You'd want to update
EmitCustomAttributes (
https://github.com/sq/JSIL/blob/master/JSIL/JavascriptAssemblyEmitter.cs#L297)
and then change the .Attribute function in the JSIL runtime (if necessary,
which it probably is? I don't remember whether these named args are
properties or just named arguments to the ctor.)
On Tue, 11 Dec 2018 at 08:34, Denis Dik ***@***.***> wrote:
JSIL does not include attribute properties in the output... example:
*C#*
[ProtoMember(3, AsReference = true)]
*JSIL*
.Attribute($asm10.TypeRef("ProtoBuf.ProtoMemberAttribute"), function () {
return [3]; });
1. Is there a possibility to include the AsReference=true into the
JSIL generated output?
2. Where do I have to look?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#1056>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAMF8ntcSYmBsyi9X_t2h40zGJDECw0yks5u396igaJpZM4ZNyCw>
.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
JSIL does not include attribute properties in the output... example:
C#
[ProtoMember(3, AsReference = true)]
JSIL
.Attribute($asm10.TypeRef("ProtoBuf.ProtoMemberAttribute"), function () { return [3]; });
AsReference=true
into the JSIL generated output?The text was updated successfully, but these errors were encountered: