Approved
Last Updated: 26 Aug 2019 07:18 by ADMIN
adem
Created on: 20 Aug 2019 08:47
Type: Bug Report
0
Decompile Code of VB Source as C# is not a working code

Compile this simple code in VB Net


    Public Property Test(ByVal v As Integer) As Integer
        Get
            Return Math.Abs(v)
        End Get
        Set
            v = 1
        End Set
    End Property

   Then decompile it, what yo see is not working as C# code


        public int Test(int v)
        {
            get
                {
               return Math.Abs(v);
            }
            set
                {
                v = 1;
            }
        }

 

 

0 comments