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() {
|
||||
}
|
||||
}
|
||||
|
@@ -21,7 +21,6 @@ namespace Orchard.Mvc.ViewEngines.Razor {
|
||||
private object _display;
|
||||
private object _layout;
|
||||
private WorkContext _workContext;
|
||||
private object _new;
|
||||
|
||||
public Localizer T { get { return _localizer; } }
|
||||
public dynamic Display { get { return _display; } }
|
||||
|
@@ -18,7 +18,6 @@ namespace Orchard.Mvc {
|
||||
private ResourceRegister _stylesheetRegister;
|
||||
|
||||
private object _display;
|
||||
private object _new;
|
||||
private Localizer _localizer = NullLocalizer.Instance;
|
||||
private object _layout;
|
||||
private WorkContext _workContext;
|
||||
|
Reference in New Issue
Block a user