mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Fixing some compilation warnings.
--HG-- branch : dev
This commit is contained in:
@@ -52,7 +52,6 @@ namespace Orchard.Tests.Commands {
|
||||
public class PublicMethodsOnly {
|
||||
public bool Bar { get; set; } // no accessors
|
||||
public bool Field = true; // no field
|
||||
public event Action<int> Event; // no event adder, remover, etc.
|
||||
|
||||
// no private method
|
||||
private void Blah() {
|
||||
@@ -66,10 +65,19 @@ namespace Orchard.Tests.Commands {
|
||||
public static bool operator ==(PublicMethodsOnly a, PublicMethodsOnly b) {
|
||||
return false;
|
||||
}
|
||||
|
||||
public static bool operator !=(PublicMethodsOnly a, PublicMethodsOnly b) {
|
||||
return false;
|
||||
}
|
||||
|
||||
public override int GetHashCode() {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public override bool Equals(Object obj) {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public void Method() {
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user