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

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

[Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/Reflection AssemblyCom


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/Reflection AssemblyCompanyAttribute.cs,NONE,1.1 AssemblyConfigurationAttribute.cs,NONE,1.1 AssemblyCopyrightAttribute.cs,NONE,1.1 AssemblyCultureAttribute.cs,NONE,1.1 AssemblyDefaultAliasAttribute.cs,NONE,1.1 AssemblyDelaySignAttribute.cs,NONE,1.1 AssemblyDescriptionAttribute.cs,NONE,1.1 AssemblyFileVersionAttribute.cs,NONE,1.1 AssemblyFlagsAttribute.cs,NONE,1.1 AssemblyInformationalVersionAttribute.cs,NONE,1.1 AssemblyKeyFileAttribute.cs,NONE,1.1 AssemblyKeyNameAttribute.cs,NONE,1.1 AssemblyProductAttribute.cs,NONE,1.1 AssemblyTitleAttribute.cs,NONE,1.1 AssemblyTrademarkAttribute.cs,NONE,1.1 AssemblyVersionAttribute.cs,NONE,1.1
Date: Wed, 06 Nov 2002 23:20:15 -0500

Update of /cvsroot/dotgnu-pnet/pnetlib/runtime/System/Reflection
In directory subversions:/tmp/cvs-serv16482/runtime/System/Reflection

Added Files:
        AssemblyCompanyAttribute.cs AssemblyConfigurationAttribute.cs 
        AssemblyCopyrightAttribute.cs AssemblyCultureAttribute.cs 
        AssemblyDefaultAliasAttribute.cs AssemblyDelaySignAttribute.cs 
        AssemblyDescriptionAttribute.cs 
        AssemblyFileVersionAttribute.cs AssemblyFlagsAttribute.cs 
        AssemblyInformationalVersionAttribute.cs 
        AssemblyKeyFileAttribute.cs AssemblyKeyNameAttribute.cs 
        AssemblyProductAttribute.cs AssemblyTitleAttribute.cs 
        AssemblyTrademarkAttribute.cs AssemblyVersionAttribute.cs 
Log Message:


Add a number of non-ECMA reflection attributes.


--- NEW FILE ---
/*
 * AssemblyCompanyAttribute.cs - Implementation of the
 *                      "System.Reflection.AssemblyCompanyAttribute" class.
 *
 * Copyright (C) 2002  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.Reflection
{

#if !ECMA_COMPAT

using System;
using System.Configuration.Assemblies;

[AttributeUsage(AttributeTargets.Assembly)]
public sealed class AssemblyCompanyAttribute : Attribute
{

        // Internal state.
        private String companyName;

        // Constructors.
        public AssemblyCompanyAttribute(String company)
                        : base()
                        {
                                companyName = company;
                        }

        // Properties.
        public String Company
                        {
                                get
                                {
                                        return companyName;
                                }
                        }

}; // class AssemblyCompanyAttribute

#endif // !ECMA_COMPAT

}; // namespace System.Reflection

--- NEW FILE ---
/*
 * AssemblyConfigurationAttribute.cs - Implementation of the
 *                      "System.Reflection.AssemblyConfigurationAttribute" 
class.
 *
 * Copyright (C) 2002  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.Reflection
{

#if !ECMA_COMPAT

using System;
using System.Configuration.Assemblies;

[AttributeUsage(AttributeTargets.Assembly)]
public sealed class AssemblyConfigurationAttribute : Attribute
{

        // Internal state.
        private String config;

        // Constructors.
        public AssemblyConfigurationAttribute(String configuration)
                        : base()
                        {
                                config = configuration;
                        }

        // Properties.
        public String Configuration
                        {
                                get
                                {
                                        return config;
                                }
                        }

}; // class AssemblyConfigurationAttribute

#endif // !ECMA_COMPAT

}; // namespace System.Reflection

--- NEW FILE ---
/*
 * AssemblyCopyrightAttribute.cs - Implementation of the
 *                      "System.Reflection.AssemblyCopyrightAttribute" class.
 *
 * Copyright (C) 2002  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.Reflection
{

#if !ECMA_COMPAT

using System;
using System.Configuration.Assemblies;

[AttributeUsage(AttributeTargets.Assembly)]
public sealed class AssemblyCopyrightAttribute : Attribute
{

        // Internal state.
        private String copy;

        // Constructors.
        public AssemblyCopyrightAttribute(String copyright)
                        : base()
                        {
                                copy = copyright;
                        }

        // Properties.
        public String Copyright
                        {
                                get
                                {
                                        return copy;
                                }
                        }

}; // class AssemblyCopyrightAttribute

#endif // !ECMA_COMPAT

}; // namespace System.Reflection

--- NEW FILE ---
/*
 * AssemblyCultureAttribute.cs - Implementation of the
 *                      "System.Reflection.AssemblyCultureAttribute" class.
 *
 * Copyright (C) 2002  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.Reflection
{

#if !ECMA_COMPAT

using System;
using System.Configuration.Assemblies;

[AttributeUsage(AttributeTargets.Assembly)]
public sealed class AssemblyCultureAttribute : Attribute
{

        // Internal state.
        private String cultureName;

        // Constructors.
        public AssemblyCultureAttribute(String culture)
                        : base()
                        {
                                cultureName = culture;
                        }

        // Properties.
        public String Culture
                        {
                                get
                                {
                                        return cultureName;
                                }
                        }

}; // class AssemblyCultureAttribute

#endif // !ECMA_COMPAT

}; // namespace System.Reflection

--- NEW FILE ---
/*
 * AssemblyDefaultAliasAttribute.cs - Implementation of the
 *                      "System.Reflection.AssemblyDefaultAliasAttribute" class.
 *
 * Copyright (C) 2002  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.Reflection
{

#if !ECMA_COMPAT

using System;
using System.Configuration.Assemblies;

[AttributeUsage(AttributeTargets.Assembly)]
public sealed class AssemblyDefaultAliasAttribute : Attribute
{

        // Internal state.
        private String alias;

        // Constructors.
        public AssemblyDefaultAliasAttribute(String defaultAlias)
                        : base()
                        {
                                alias = defaultAlias;
                        }

        // Properties.
        public String DefaultAlias
                        {
                                get
                                {
                                        return alias;
                                }
                        }

}; // class AssemblyDefaultAliasAttribute

#endif // !ECMA_COMPAT

}; // namespace System.Reflection

--- NEW FILE ---
/*
 * AssemblyDelaySignAttribute.cs - Implementation of the
 *                      "System.Reflection.AssemblyDelaySignAttribute" class.
 *
 * Copyright (C) 2002  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.Reflection
{

#if !ECMA_COMPAT

using System;
using System.Configuration.Assemblies;

[AttributeUsage(AttributeTargets.Assembly)]
public sealed class AssemblyDelaySignAttribute : Attribute
{

        // Internal state.
        private bool delay;

        // Constructors.
        public AssemblyDelaySignAttribute(bool delaySign)
                        : base()
                        {
                                delay = delaySign;
                        }

        // Properties.
        public bool DelaySign
                        {
                                get
                                {
                                        return delay;
                                }
                        }

}; // class AssemblyDelaySignAttribute

#endif // !ECMA_COMPAT

}; // namespace System.Reflection

--- NEW FILE ---
/*
 * AssemblyDescriptionAttribute.cs - Implementation of the
 *                      "System.Reflection.AssemblyDescriptionAttribute" class.
 *
 * Copyright (C) 2002  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.Reflection
{

#if !ECMA_COMPAT

using System;
using System.Configuration.Assemblies;

[AttributeUsage(AttributeTargets.Assembly)]
public sealed class AssemblyDescriptionAttribute : Attribute
{

        // Internal state.
        private String desc;

        // Constructors.
        public AssemblyDescriptionAttribute(String description)
                        : base()
                        {
                                desc = description;
                        }

        // Properties.
        public String Description
                        {
                                get
                                {
                                        return desc;
                                }
                        }

}; // class AssemblyDescriptionAttribute

#endif // !ECMA_COMPAT

}; // namespace System.Reflection

--- NEW FILE ---
/*
 * AssemblyFileVersionAttribute.cs - Implementation of the
 *                      "System.Reflection.AssemblyFileVersionAttribute" class.
 *
 * Copyright (C) 2002  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.Reflection
{

#if !ECMA_COMPAT

using System;
using System.Configuration.Assemblies;

[AttributeUsage(AttributeTargets.Assembly)]
public sealed class AssemblyFileVersionAttribute : Attribute
{

        // Internal state.
        private String vers;

        // Constructors.
        public AssemblyFileVersionAttribute(String version)
                        : base()
                        {
                                if(version == null)
                                {
                                        throw new 
ArgumentNullException("version");
                                }
                                vers = version;
                        }

        // Properties.
        public String Version
                        {
                                get
                                {
                                        return vers;
                                }
                        }

}; // class AssemblyFileVersionAttribute

#endif // !ECMA_COMPAT

}; // namespace System.Reflection

--- NEW FILE ---
/*
 * AssemblyFlagsAttribute.cs - Implementation of the
 *                      "System.Reflection.AssemblyFlagsAttribute" class.
 *
 * Copyright (C) 2002  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.Reflection
{

#if !ECMA_COMPAT

using System;
using System.Configuration.Assemblies;

[AttributeUsage(AttributeTargets.Assembly)]
public sealed class AssemblyFlagsAttribute : Attribute
{

        // Internal state.
        private uint flagValues;

        // Constructors.
        public AssemblyFlagsAttribute(uint flags)
                        : base()
                        {
                                flagValues = flags;
                        }

        // Properties.
        public uint Flags
                        {
                                get
                                {
                                        return flagValues;
                                }
                        }

}; // class AssemblyFlagsAttribute

#endif // !ECMA_COMPAT

}; // namespace System.Reflection

--- NEW FILE ---
/*
 * AssemblyInformationalVersionAttribute.cs - Implementation of the
 *                      
"System.Reflection.AssemblyInformationalVersionAttribute" class.
 *
 * Copyright (C) 2002  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.Reflection
{

#if !ECMA_COMPAT

using System;
using System.Configuration.Assemblies;

[AttributeUsage(AttributeTargets.Assembly)]
public sealed class AssemblyInformationalVersionAttribute : Attribute
{

        // Internal state.
        private String vers;

        // Constructors.
        public AssemblyInformationalVersionAttribute(String 
informationalVersion)
                        : base()
                        {
                                vers = informationalVersion;
                        }

        // Properties.
        public String InformationalVersion
                        {
                                get
                                {
                                        return vers;
                                }
                        }

}; // class AssemblyInformationalVersionAttribute

#endif // !ECMA_COMPAT

}; // namespace System.Reflection

--- NEW FILE ---
/*
 * AssemblyKeyFileAttribute.cs - Implementation of the
 *                      "System.Reflection.AssemblyKeyFileAttribute" class.
 *
 * Copyright (C) 2002  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.Reflection
{

#if !ECMA_COMPAT

using System;
using System.Configuration.Assemblies;

[AttributeUsage(AttributeTargets.Assembly)]
public sealed class AssemblyKeyFileAttribute : Attribute
{

        // Internal state.
        private String file;

        // Constructors.
        public AssemblyKeyFileAttribute(String keyFile)
                        : base()
                        {
                                file = keyFile;
                        }

        // Properties.
        public String KeyFile
                        {
                                get
                                {
                                        return file;
                                }
                        }

}; // class AssemblyKeyFileAttribute

#endif // !ECMA_COMPAT

}; // namespace System.Reflection

--- NEW FILE ---
/*
 * AssemblyKeyNameAttribute.cs - Implementation of the
 *                      "System.Reflection.AssemblyKeyNameAttribute" class.
 *
 * Copyright (C) 2002  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.Reflection
{

#if !ECMA_COMPAT

using System;
using System.Configuration.Assemblies;

[AttributeUsage(AttributeTargets.Assembly)]
public sealed class AssemblyKeyNameAttribute : Attribute
{

        // Internal state.
        private String name;

        // Constructors.
        public AssemblyKeyNameAttribute(String keyName)
                        : base()
                        {
                                name = keyName;
                        }

        // Properties.
        public String KeyName
                        {
                                get
                                {
                                        return name;
                                }
                        }

}; // class AssemblyKeyNameAttribute

#endif // !ECMA_COMPAT

}; // namespace System.Reflection

--- NEW FILE ---
/*
 * AssemblyProductAttribute.cs - Implementation of the
 *                      "System.Reflection.AssemblyProductAttribute" class.
 *
 * Copyright (C) 2002  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.Reflection
{

#if !ECMA_COMPAT

using System;
using System.Configuration.Assemblies;

[AttributeUsage(AttributeTargets.Assembly)]
public sealed class AssemblyProductAttribute : Attribute
{

        // Internal state.
        private String productName;

        // Constructors.
        public AssemblyProductAttribute(String product)
                        : base()
                        {
                                productName = product;
                        }

        // Properties.
        public String Product
                        {
                                get
                                {
                                        return productName;
                                }
                        }

}; // class AssemblyProductAttribute

#endif // !ECMA_COMPAT

}; // namespace System.Reflection

--- NEW FILE ---
/*
 * AssemblyTitleAttribute.cs - Implementation of the
 *                      "System.Reflection.AssemblyTitleAttribute" class.
 *
 * Copyright (C) 2002  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.Reflection
{

#if !ECMA_COMPAT

using System;
using System.Configuration.Assemblies;

[AttributeUsage(AttributeTargets.Assembly)]
public sealed class AssemblyTitleAttribute : Attribute
{

        // Internal state.
        private String titleName;

        // Constructors.
        public AssemblyTitleAttribute(String title)
                        : base()
                        {
                                titleName = title;
                        }

        // Properties.
        public String TitleName
                        {
                                get
                                {
                                        return titleName;
                                }
                        }

}; // class AssemblyTitleAttribute

#endif // !ECMA_COMPAT

}; // namespace System.Reflection

--- NEW FILE ---
/*
 * AssemblyTrademarkAttribute.cs - Implementation of the
 *                      "System.Reflection.AssemblyTrademarkAttribute" class.
 *
 * Copyright (C) 2002  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.Reflection
{

#if !ECMA_COMPAT

using System;
using System.Configuration.Assemblies;

[AttributeUsage(AttributeTargets.Assembly)]
public sealed class AssemblyTrademarkAttribute : Attribute
{

        // Internal state.
        private String trademarkName;

        // Constructors.
        public AssemblyTrademarkAttribute(String trademark)
                        : base()
                        {
                                trademarkName = trademark;
                        }

        // Properties.
        public String Trademark
                        {
                                get
                                {
                                        return trademarkName;
                                }
                        }

}; // class AssemblyTrademarkAttribute

#endif // !ECMA_COMPAT

}; // namespace System.Reflection

--- NEW FILE ---
/*
 * AssemblyVersionAttribute.cs - Implementation of the
 *                      "System.Reflection.AssemblyVersionAttribute" class.
 *
 * Copyright (C) 2002  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.Reflection
{

#if !ECMA_COMPAT

using System;
using System.Configuration.Assemblies;

[AttributeUsage(AttributeTargets.Assembly)]
public sealed class AssemblyVersionAttribute : Attribute
{

        // Internal state.
        private String vers;

        // Constructors.
        public AssemblyVersionAttribute(String version)
                        : base()
                        {
                                vers = version;
                        }

        // Properties.
        public String Version
                        {
                                get
                                {
                                        return vers;
                                }
                        }

}; // class AssemblyVersionAttribute

#endif // !ECMA_COMPAT

}; // namespace System.Reflection





reply via email to

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