Commit Graph
13 Commits
Author SHA1 Message Date
Gert Driesen c2e45d79b9 * ConfigurationExceptionTest.cs: Added ctor tests.
* System_test.dll.sources: Added ConfigurationExceptionTest.cs.
* ConfigurationExceptionTest.cs: Removed local bareMessage field, and
use base.Message instead. Fixed default cor to invoke String ctor of 
SystemException. Fixed Message property to only add filename if not
null or zero-length string, and only add line if not zero.

svn path=/trunk/mcs/; revision=106582
2008-06-25 17:18:35 +00:00
Gert Driesen 9f1846d6ae * ConfigurationException.cs: BareMessage, Filename and Line properties
are only virtual on 2.0 profile.
* ConfigurationSettings.cs: Marked GetConfig (string) obsolete on
2.0 profile.

svn path=/trunk/mcs/; revision=61256
2006-05-30 10:06:47 +00:00
Atsushi Eno 3b17956214 2006-04-28 Atsushi Enomoto <[email protected]>
* System.dll.sources : added a bunch of missing
        * sys.configuration
          files.

        * NoSettingsVersionUpgradeAttribute.cs
          SettingsDescriptionAttribute.cs
          SettingsGroupDescriptionAttribute.cs
          SettingsGroupNameAttribute.cs
          SettingsManageability.cs
          SettingsManageabilityAttribute.cs
          SpecialSetting.cs
          SpecialSettingAttribute.cs : new files.
        * ConfigurationException.cs
          SettingsPropertyCollection.cs : minor API compat fixes.


svn path=/trunk/mcs/; revision=60029
2006-04-28 11:46:24 +00:00
Chris Toshok f442c04839 2005-11-03 Chris Toshok <[email protected]>
* ConfigurationSettings.cs: add ObsoleteAttribute's.

	* ConfigurationException.cs: add ObsoleteAttribute's.

	* IConfigurationSystem.cs: add ComVisibleAttribute.

	* ApplicationSettingsBase.cs: new stubs, with a broken/naive
	implementation.

	* SettingElementCollection.cs, IPersistComponentSettings.cs,
	SettingElement.cs, LocalFileSettingsProvider.cs,
	SettingValueElement.cs: new stubs.

	* SettingAttribute.cs: fix typo.


svn path=/trunk/mcs/; revision=52553
2005-11-04 05:07:44 +00:00
Lluis Sanchez 62d863de11 * Configuration.cs, ConfigurationElement.cs, ConfigurationLocation.cs,
ConfigurationLocationCollection.cs, ConfigurationProperty.cs,
	  ConfigurationPropertyAttribute.cs, ConfigurationSection.cs,
	  ConfigurationSectionCollection.cs, ConfigurationSectionGroup.cs,
	  ConfigurationSectionGroupCollection.cs,IntegerConfigurationProperty.cs,
	  RuntimeOnlySection.cs: Initial implementation.
	* ConfigurationAllowDefinition.cs: Removed XML_DEP ifdef
	* ConfigurationException.cs: format fix.
	* ConfigInfo.cs, SectionInfo.cs, SectionGroupInfo.cs: New support
	  classes.

svn path=/trunk/mcs/; revision=35640
2004-11-04 12:38:39 +00:00
Duncan Mak 24f5ef2c44 Add MIT license to System.dll
svn path=/trunk/mcs/; revision=30054
2004-06-21 18:02:11 +00:00
Marek Safar 69e8f23c41 2004-02-04 Marek Safar <[email protected]>
* Makefile: Build System.dll in two steps. Because of the circular
        dependency with System.XML.dll.

svn path=/trunk/mcs/; revision=22761
2004-02-04 08:30:20 +00:00
Gonzalo Paniagua Javier 3dafc5d7a9 2002-10-03 Gonzalo Paniagua Javier <[email protected]>
* list.unix: added new files in System.Configuration.

	* System.Configuration/ConfigHelper.cs: New file. Contains some
	helper functions for getting key-value collections from the config file.

	* System.Configuration/ConfigXmlDocument.cs: wrapper around xml
	elements to provide line number and file name info.
	* System.Configuration/IConfigXmlNode.cs: used in ConfigXmlDocument
	and ConfigurationException.

	* System.Configuration/ConfigurationException.cs: get file name and line
	number from the wrapped XmlNode. Display this info in Message.

	* System.Configuration/NameValueFileSectionHandler.cs: new handler.
	* System.Configuration/DictionarySectionHandler.cs:
	* System.Configuration/NameValueSectionHandler.cs: modified to use the
	helper methods in ConfigHelper.

svn path=/trunk/mcs/; revision=7953
2002-10-03 04:37:54 +00:00
Duncan Mak a7867a2e45 Added more stuff to various Exceptions to make them serializable
svn path=/trunk/mcs/; revision=2211
2002-01-31 12:32:31 +00:00
Christopher Podurgiel 2cd0a23ee2 Now returns proper message rather than "System Exception".
svn path=/trunk/mcs/; revision=661
2001-08-28 22:29:13 +00:00
Christopher Podurgiel 4c0ea544d8 2001-08-24 Christopher Podurgiel <[email protected]>
* SingleTagSectionHandler.cs: Added.
	* DictionarySectionHandler.cs: Added.
	
	* NameValueSectionHandler.cs: Compile errors are now fixed.
	* IgnoreSectionHandler.cs: Compile errors are now fixed.

	* ConfigurationSettings.cs: Added Implementation code for the entire class.
	  Note the LAMESPEC: in GetConfig().

svn path=/trunk/mcs/; revision=601
2001-08-24 08:10:04 +00:00
Jim Richardson 40055a32f4 Corrected some minor issues that were preventing compilation.
svn path=/trunk/mcs/; revision=553
2001-08-22 07:56:24 +00:00
Miguel de Icaza c868a9d062 Add System.Configuration classes from Chris Podurgiel
svn path=/trunk/mcs/; revision=545
2001-08-21 23:37:54 +00:00