Commit cf2e0b20 authored by justcoding121's avatar justcoding121

Fix unsupported C# operators in VS 2015

parent 1057c2ff
......@@ -22,7 +22,7 @@ namespace Titanium.Web.Proxy.Models
/// Username.
/// </summary>
public string UserName {
get => UseDefaultCredentials ? DefaultCredentials.Value.UserName : userName;
get { return UseDefaultCredentials ? DefaultCredentials.Value.UserName : userName; }
set
{
userName = value;
......@@ -39,7 +39,7 @@ namespace Titanium.Web.Proxy.Models
/// </summary>
public string Password
{
get => UseDefaultCredentials ? DefaultCredentials.Value.Password : password;
get { return UseDefaultCredentials ? DefaultCredentials.Value.Password : password; }
set
{
password = value;
......
......@@ -140,8 +140,8 @@ namespace Titanium.Web.Proxy
/// </summary>
public Action<Exception> ExceptionFunc
{
get => exceptionFunc ?? defaultExceptionFunc.Value;
set => exceptionFunc = value;
get { return exceptionFunc ?? defaultExceptionFunc.Value; }
set { exceptionFunc = value; }
}
/// <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