projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixes build
[mono.git]
/
mcs
/
class
/
System
/
System.Net.Configuration
/
AuthenticationModuleElement.cs
diff --git
a/mcs/class/System/System.Net.Configuration/AuthenticationModuleElement.cs
b/mcs/class/System/System.Net.Configuration/AuthenticationModuleElement.cs
old mode 100755
(executable)
new mode 100644
(file)
index
d4f5698
..
62413a1
--- a/
mcs/class/System/System.Net.Configuration/AuthenticationModuleElement.cs
+++ b/
mcs/class/System/System.Net.Configuration/AuthenticationModuleElement.cs
@@
-3,9
+3,10
@@
//
// Authors:
// Tim Coleman (tim@timcoleman.com)
//
// Authors:
// Tim Coleman (tim@timcoleman.com)
+// Chris Toshok (toshok@ximian.com)
//
// Copyright (C) Tim Coleman, 2004
//
// Copyright (C) Tim Coleman, 2004
-// (
c) 2004
Novell, Inc. (http://www.novell.com)
+// (
C) 2004,2005
Novell, Inc. (http://www.novell.com)
//
//
//
//
@@
-29,7
+30,7
@@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
-#if NET_2_0 &&
XML
_DEP
+#if NET_2_0 &&
CONFIGURATION
_DEP
using System.Configuration;
using System.Configuration;
@@
-39,21
+40,26
@@
namespace System.Net.Configuration
{
#region Fields
{
#region Fields
- ConfigurationPropertyCollection properties;
- static ConfigurationProperty type
= new ConfigurationProperty ("Type", typeof (string), null)
;
+
static
ConfigurationPropertyCollection properties;
+ static ConfigurationProperty type
Prop
;
#endregion // Fields
#region Constructors
#endregion // Fields
#region Constructors
-
publ
ic AuthenticationModuleElement ()
+
stat
ic AuthenticationModuleElement ()
{
{
+ typeProp = new ConfigurationProperty ("type", typeof (string), null, ConfigurationPropertyOptions.IsRequired | ConfigurationPropertyOptions.IsKey);
properties = new ConfigurationPropertyCollection ();
properties = new ConfigurationPropertyCollection ();
- properties.Add (type);
+
+ properties.Add (typeProp);
+ }
+
+ public AuthenticationModuleElement ()
+ {
}
public AuthenticationModuleElement (string typeName)
}
public AuthenticationModuleElement (string typeName)
- : this ()
{
Type = typeName;
}
{
Type = typeName;
}
@@
-66,9
+72,10
@@
namespace System.Net.Configuration
get { return properties; }
}
get { return properties; }
}
+ [ConfigurationProperty ("type", Options = ConfigurationPropertyOptions.IsRequired | ConfigurationPropertyOptions.IsKey)]
public string Type {
public string Type {
- get { return (string) base [type]; }
- set { base [type] = value; }
+ get { return (string) base [type
Prop
]; }
+ set { base [type
Prop
] = value; }
}
#endregion // Properties
}
#endregion // Properties