Merge pull request #1718 from madewokherd/sgenthreadcleanup
[mono.git] / mcs / class / System.ServiceProcess / System.ServiceProcess / ServiceProcessInstaller.cs
index f70b7fd8512d534afe757b73bee3f93092ba49fa..4b97721e0f74afdf5034d5414877c9a3e427ecd8 100644 (file)
@@ -38,16 +38,16 @@ namespace System.ServiceProcess
 {
        public class ServiceProcessInstaller : System.Configuration.Install.ComponentInstaller
        {
-               public ServiceProcessInstaller () {}
+               public ServiceProcessInstaller ()
+               {
+               }
 
                private ServiceAccount account;
                private string password;
                private string username;
 
                [DefaultValue (ServiceAccount.User)]
-#if NET_2_0
                [ServiceProcessDescription ("Indicates the account type under which the service will run.")]
-#endif
                public ServiceAccount Account {
                        get {
                                return account;
@@ -84,16 +84,19 @@ namespace System.ServiceProcess
                        }
                }
 
-               public override void CopyFromComponent (IComponent component) {
-                       if (!component.GetType ().IsSubclassOf (typeof (ServiceBase)))
+               public override void CopyFromComponent (IComponent comp)
+               {
+                       if (!comp.GetType ().IsSubclassOf (typeof (ServiceBase)))
                                throw new ArgumentException ();
                }
 
-               public override void Install (IDictionary stateSaver) {
+               public override void Install (IDictionary stateSaver)
+               {
                        throw new NotImplementedException ();
                }
        
-               public override void Rollback (IDictionary savedState) {
+               public override void Rollback (IDictionary savedState)
+               {
                        throw new NotImplementedException ();
                }
        }