[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-pnet-commits] CVS: pnetlib/JScript/Execute GlobalField.cs,1.1,1
From: |
Rhys Weatherley <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] CVS: pnetlib/JScript/Execute GlobalField.cs,1.1,1.2 JSField.cs,1.1,1.2 |
Date: |
Fri, 14 Feb 2003 00:57:44 -0500 |
Update of /cvsroot/dotgnu-pnet/pnetlib/JScript/Execute
In directory subversions:/tmp/cvs-serv746/JScript/Execute
Modified Files:
GlobalField.cs JSField.cs
Log Message:
Fix some problems with the ECMA-compatible build.
Index: GlobalField.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/JScript/Execute/GlobalField.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** GlobalField.cs 13 Jan 2003 10:53:19 -0000 1.1
--- GlobalField.cs 14 Feb 2003 05:57:41 -0000 1.2
***************
*** 47,51 ****
CultureInfo
culture)
{
! if((IsLiteral || IsInitOnly) && !(this.value is
Missing))
{
throw new JScriptException
--- 47,54 ----
CultureInfo
culture)
{
! bool isLiteral = ((Attributes &
FieldAttributes.Literal) != 0);
! bool isInitOnly =
! ((Attributes &
FieldAttributes.InitOnly) != 0);
! if((isLiteral || isInitOnly) && !(this.value is
Missing))
{
throw new JScriptException
Index: JSField.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/JScript/Execute/JSField.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** JSField.cs 13 Jan 2003 10:53:19 -0000 1.1
--- JSField.cs 14 Feb 2003 05:57:41 -0000 1.2
***************
*** 46,49 ****
--- 46,50 ----
}
+ #if !ECMA_COMPAT
// Get the handle for the underlying "real" field.
public override RuntimeFieldHandle FieldHandle
***************
*** 54,57 ****
--- 55,59 ----
}
}
+ #endif
// Get the type of this field's value.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] CVS: pnetlib/JScript/Execute GlobalField.cs,1.1,1.2 JSField.cs,1.1,1.2,
Rhys Weatherley <address@hidden> <=
- Prev by Date:
[Dotgnu-pnet-commits] CVS: pnetlib ChangeLog,1.683,1.684
- Next by Date:
[Dotgnu-pnet-commits] CVS: pnetlib/JScript/Vsa BaseVsaEngine.cs,1.1,1.2 JScriptException.cs,1.1,1.2 VsaEngine.cs,1.2,1.3
- Previous by thread:
[Dotgnu-pnet-commits] CVS: pnetlib ChangeLog,1.683,1.684
- Next by thread:
[Dotgnu-pnet-commits] CVS: pnetlib/JScript/Vsa BaseVsaEngine.cs,1.1,1.2 JScriptException.cs,1.1,1.2 VsaEngine.cs,1.2,1.3
- Index(es):