[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-pnet-commits] pnetlib/runtime/System/Runtime/CompilerServices N
From: |
Rhys Weatherley <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] pnetlib/runtime/System/Runtime/CompilerServices NewConstraintAttribute.cs, NONE, 1.1 |
Date: |
Mon, 24 Nov 2003 04:08:38 +0000 |
Update of /cvsroot/dotgnu-pnet/pnetlib/runtime/System/Runtime/CompilerServices
In directory
subversions:/tmp/cvs-serv17143/runtime/System/Runtime/CompilerServices
Added Files:
NewConstraintAttribute.cs
Log Message:
Add the "NewConstraintAttribute" class, and the attribute flag bit for
generic parameters.
--- NEW FILE: NewConstraintAttribute.cs ---
/*
* NewConstraintAttribute.cs - Implementation of the
* "System.Runtime.CompilerServices.NewConstraintAttribute" class.
*
* Copyright (C) 2003 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
*/
namespace System.Runtime.CompilerServices
{
#if CONFIG_GENERICS
[AttributeUsage(AttributeTargets.GenericParameter)]
public sealed class NewConstraintAttribute : Attribute
{
// Constructor.
public NewConstraintAttribute() {}
}; // class NewConstraintAttribute
#endif // CONFIG_GENERICS
}; // namespace System.Runtime.CompilerServices
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] pnetlib/runtime/System/Runtime/CompilerServices NewConstraintAttribute.cs, NONE, 1.1,
Rhys Weatherley <address@hidden> <=