Add two more renamer tests

This commit is contained in:
de4dot 2011-12-04 18:22:02 +01:00
parent 7a6af40832
commit 4efd4e17d5

View File

@ -18,6 +18,7 @@
*/
using System;
using System.Collections;
using System.Collections.Generic;
namespace Test.Rename.Dll {
@ -1587,4 +1588,43 @@ namespace Test.Rename.Dll {
public override bool meth2() { return true; }
}
}
namespace test.Virtual.properties.overrides {
class Class1 : ICollection {
int ICollection.Count {
get { return 0; }
}
bool ICollection.IsSynchronized {
get { return false; }
}
object ICollection.SyncRoot {
get { return null; }
}
void ICollection.CopyTo(Array array, int index) {
}
IEnumerator IEnumerable.GetEnumerator() {
return null;
}
}
}
namespace test.Virtual.properties.names {
class Class1<T> {
public virtual byte[] Prop1 { get; set; }
public virtual unsafe byte* Prop2 {
get { throw new NotImplementedException(); }
set { }
}
public virtual T Prop3 { get; set; }
public virtual T[] Prop4 { get; set; }
public virtual int this[int i] {
get { return 0; }
set { }
}
public virtual int this[string s] {
get { return 0; }
set { }
}
}
}
}