Netjs icon indicating copy to clipboard operation
Netjs copied to clipboard

Compile .NET assemblies to TypeScript and JavaScript

Results 29 Netjs issues
Sort by recently updated
recently updated
newest added

How best to go about generating camel case typescript property names from pascal case C# names?

This looks neat! I see the example of using the Person class from js, but can you monkey around with the dom directly from C#? Or is that not the...

enhancement

C# code: ``` c# char c = line[i]; if (c == '\"') { if (inDoubleQuote) { inDoubleQuote = false; dataFields.Add('\"' + field); field = string.Empty; } else { inDoubleQuote =...

bug

I want to use NetJS to have some shared code between my typescript and csharp codebase. I am however using --strictNullChecks in typescript 2.0 and would like to keep using...

bug

Hello. I'm using Netjs from commit 0f90e9248b69c9c5025aff77a7a0409008b010f2 When compiling a C# DTO containing Guid type field, output typescript field type is also Guid. But it does not compile with included...

bug

This code: ```cs public class Class1 { private object X = new object(); } ``` results in typescript: ```ts class Class1 extends NObject { private X: any = new any();...

bug

OS X El Capitan comes with what they call rootless mode that disallow changes to /usr folder except for /usr/local subfolder.

bug

System.OverflowException: 值对于 Int64 太大或太小。 在 System.Convert.ToInt64(UInt64 value) 在 System.UInt64.System.IConvertible.ToInt64(IFormatProvider provider) 在 System.Convert.ToInt64(Object value) 在 ICSharpCode.Decompiler.Ast.AstBuilder.ConvertArgumentValue(CustomAttributeArgument argument) 位置 C:\Users\ZhangFan\Desktop\Netjs\Dependencies\NRefactory\ICSharpCode.Decompiler\Ast\AstBuilder.cs:行号 1528 在 ICSharpCode.Decompiler.Ast.AstBuilder.ConvertArgumentValue(CustomAttributeArgument argument) 位置 C:\Users\ZhangFan\Desktop\Netjs\Dependencies\NRefactory\ICSharpCode.Decompiler\Ast\AstBuilder.cs:行号 1524 在 ICSharpCode.Decompiler.Ast.AstBuilder.ConvertCustomAttributes(AstNode attributedNode, ICustomAttributeProvider customAttributeProvider,...

There are 40+ methods in mscorlib that do nothing but "throw new NotImplementedException ();" making it much harder for devs to assess whether code generated by Netjs will actually work...

``` C# Func assembler; assembler = m_Opcodes[opcode.ToLowerInvariant()]; bool result = assembler(param, opcodeFlag, state); ``` After transpilation to typescript, any calls to "this." in the assigned "assembler" function will resolve to...