Commit cf5e870a authored by justcoding121's avatar justcoding121 Committed by justcoding121

Fix unsupported C# operators in VS 2015

parent e0e4131f
...@@ -22,7 +22,7 @@ namespace Titanium.Web.Proxy.Models ...@@ -22,7 +22,7 @@ namespace Titanium.Web.Proxy.Models
/// Username. /// Username.
/// </summary> /// </summary>
public string UserName { public string UserName {
get => UseDefaultCredentials ? DefaultCredentials.Value.UserName : userName; get { return UseDefaultCredentials ? DefaultCredentials.Value.UserName : userName; }
set set
{ {
userName = value; userName = value;
...@@ -39,7 +39,7 @@ namespace Titanium.Web.Proxy.Models ...@@ -39,7 +39,7 @@ namespace Titanium.Web.Proxy.Models
/// </summary> /// </summary>
public string Password public string Password
{ {
get => UseDefaultCredentials ? DefaultCredentials.Value.Password : password; get { return UseDefaultCredentials ? DefaultCredentials.Value.Password : password; }
set set
{ {
password = value; password = value;
......
...@@ -140,8 +140,8 @@ namespace Titanium.Web.Proxy ...@@ -140,8 +140,8 @@ namespace Titanium.Web.Proxy
/// </summary> /// </summary>
public Action<Exception> ExceptionFunc public Action<Exception> ExceptionFunc
{ {
get => exceptionFunc ?? defaultExceptionFunc.Value; get { return exceptionFunc ?? defaultExceptionFunc.Value; }
set => exceptionFunc = value; set { exceptionFunc = value; }
} }
/// <summary> /// <summary>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment