}
}
-#if NET_2_0
private static char[] invalidServiceNameChars = new char[] { '/', '\\' };
internal static void ValidateServiceName (string name)
throw new ArgumentException (msg, "ServiceName");
}
}
-#else
- internal static void ValidateServiceName (string name)
- {
- if (name == null)
- throw new ArgumentNullException ("ServiceName");
- // FIXME: maybe other checks are required (but not documented)
- }
-#endif
}
}