Exemple #1
0
 public void NonGenericExplicitImplementationPositive()
 {
   IGenericInterface<string> j = new NonGenericExplicitImpl();
   j.M("abcd", true);
 }
Exemple #2
0
 public void NonGenericExplicitImplementationClosurePostPositive()
 {
   IGenericInterface<string> j = new NonGenericExplicitImpl();
   string[] x = new string[] { "abcd", "defg" };
   j.WithStaticClosure(x, true);
 }
Exemple #3
0
 public void NonGenericExplicitImplementationClosure2PostNegative()
 {
   IGenericInterface<string> j = new NonGenericExplicitImpl();
   string[] x = new string[] { "abcd", "defg" };
   j.WithClosureObject(x, false);
 }
Exemple #4
0
 public void NonGenericExplicitImplementationPreNegative()
 {
   IGenericInterface<string> j = new NonGenericExplicitImpl();
   j.M(null, true);
 }