Forum member
jxnnik
3 posts
Posts by jxnnik
-
Unable to hash type 'Code' due to exception: System.NotSupportedException: Unknown element type: Var
That fixed the problem! Thank you very much.
23 Jan 2024 13:04 UTC
-
Unable to hash type 'Code' due to exception: System.NotSupportedException: Unknown element type: Var
Thank you, that works for the basic example I provided! However, in the acutal project the build still fails. I've included a new minimum example that still gives the same exception, when a generic constructor parameter is not the first argument. This does work: [code=csharp][AttributeUsage(A…
23 Jan 2024 08:35 UTC
-
Unable to hash type 'Code' due to exception: System.NotSupportedException: Unknown element type: Var
Hi together, i've tried the provided version 4.19.0.8 in VS2022 but it still does not seem to work. Here is a minimum example for reproducing the issue (same for .NET7 / 8): [code=csharp][AttributeUsage(AttributeTargets.Property)] public sealed class GenericAttribute<T> : Attribute { …
22 Jan 2024 12:42 UTC