dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dotgnu-pnet-commits] CVS: cscctest/csharp/class property6.cs,NONE,1.1 p


From: Gopal.V <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: cscctest/csharp/class property6.cs,NONE,1.1 property6.il,NONE,1.1 property6.jl,NONE,1.1 Makefile.am,1.29,1.30
Date: Wed, 11 Dec 2002 13:01:41 -0500

Update of /cvsroot/dotgnu-pnet/cscctest/csharp/class
In directory subversions:/tmp/cvs-serv30714/csharp/class

Modified Files:
        Makefile.am 
Added Files:
        property6.cs property6.il property6.jl 
Log Message:
test'extern' qualifiers for Property


--- NEW FILE ---
/*
 * property1.cs - Test property accesses.
 *
 * Copyright (C) 2001  Southern Storm Software, Pty Ltd.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */

using System;
using System.Runtime.CompilerServices;
public class ExternPropertyTest
{
        extern public String MyValue
        {
                get;
                set;
        }
}

--- NEW FILE ---
.assembly extern '.library'
{
        .ver 0:0:0:0
}
.assembly '<Assembly>'
{
        .ver 0:0:0:0
}
.module '<Module>'
.class public auto ansi 'ExternPropertyTest' extends 
['.library']'System'.'Object'
{
.method public hidebysig specialname instance class 
['.library']'System'.'String' 'get_MyValue'() cil managed 
{
} // method get_MyValue
.method public hidebysig specialname instance void 'set_MyValue'(class 
['.library']'System'.'String' 'value') cil managed 
{
} // method set_MyValue
.property instance class ['.library']'System'.'String' 'MyValue'()
{
        .get instance class ['.library']'System'.'String' 
'ExternPropertyTest'::'get_MyValue'()
        .set instance void 'ExternPropertyTest'::'set_MyValue'(class 
['.library']'System'.'String')
} // property MyValue
.method public hidebysig specialname rtspecialname instance void '.ctor'() cil 
managed 
{
        ldarg.0
        call    instance void ['.library']'System'.'Object'::'.ctor'()
        ret
        .maxstack 1
} // method .ctor
} // class ExternPropertyTest

--- NEW FILE ---
.assembly extern '.library'
{
        .ver 0:0:0:0
}
.assembly '<Assembly>'
{
        .ver 0:0:0:0
}
.module '<Module>'
.class public auto ansi 'ExternPropertyTest' extends 
['.library']'System'.'Object'
{
.method public hidebysig specialname instance class 
['.library']'System'.'String' 'get_MyValue'() cil managed java 
{
} // method get_MyValue
.method public hidebysig specialname instance void 'set_MyValue'(class 
['.library']'System'.'String' 'value') cil managed java 
{
} // method set_MyValue
.property instance class ['.library']'System'.'String' 'MyValue'()
{
        .get instance class ['.library']'System'.'String' 
'ExternPropertyTest'::'get_MyValue'()
        .set instance void 'ExternPropertyTest'::'set_MyValue'(class 
['.library']'System'.'String')
} // property MyValue
.method public hidebysig specialname rtspecialname instance void '.ctor'() cil 
managed java 
{
        aload_0
        invokespecial   instance void ['.library']'System'.'Object'::'.ctor'()
        return
        .locals 1
        .maxstack 1
} // method .ctor
} // class ExternPropertyTest

Index: Makefile.am
===================================================================
RCS file: /cvsroot/dotgnu-pnet/cscctest/csharp/class/Makefile.am,v
retrieving revision 1.29
retrieving revision 1.30
diff -C2 -r1.29 -r1.30
*** Makefile.am 8 Dec 2002 02:52:39 -0000       1.29
--- Makefile.am 11 Dec 2002 18:01:38 -0000      1.30
***************
*** 45,48 ****
--- 45,49 ----
                property4.cs \
                property5.cs \
+               property6.cs \
                type1.cs
  




reply via email to

[Prev in Thread] Current Thread [Next in Thread]