Esempio n. 1
0
		public static string Good5(DerivedStringer x, IFormatProvider p)
		{
			if (x == null)
				throw new ArgumentNullException("x");
			if (p == null)
				throw new ArgumentNullException("p");

			return x.ToString("{0}", p);
		}
Esempio n. 2
0
		// D1007/UseBaseTypes
		// G1003/FormatProvider
		public static string Bad5(DerivedStringer x)
		{
			if (x == null)
				throw new ArgumentNullException("x");

			return x.ToString();
		}