Removed using C#7 features
parent
6074eeb335
commit
3e6f8c44fe
|
@ -0,0 +1,2 @@
|
|||
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
|
||||
<s:String x:Key="/Default/CodeInspection/CSharpLanguageProject/LanguageLevel/@EntryValue">CSharp60</s:String></wpf:ResourceDictionary>
|
|
@ -1,5 +1,4 @@
|
|||
using System.Runtime.Serialization;
|
||||
using Newtonsoft.Json;
|
||||
using Newtonsoft.Json;
|
||||
using WatchFace.Parser.Attributes;
|
||||
using WatchFace.Parser.Elements.BasicElements;
|
||||
|
||||
|
@ -23,14 +22,14 @@ namespace WatchFace.Parser.Elements.WeatherElements
|
|||
[JsonProperty("Unknown3")]
|
||||
private Coordinates Unknown3
|
||||
{
|
||||
set => DayAlt = value;
|
||||
set { DayAlt = value; }
|
||||
}
|
||||
|
||||
// For compatibility with "Unknown4" JSON attribute
|
||||
[JsonProperty("Unknown4")]
|
||||
private Coordinates Unknown4
|
||||
{
|
||||
set => NightAlt = value;
|
||||
set { NightAlt = value; }
|
||||
}
|
||||
}
|
||||
}
|
|
@ -22,7 +22,7 @@ namespace WatchFace.Parser.Elements.WeatherElements
|
|||
[JsonProperty("Unknown3")]
|
||||
private Coordinates Unknown3
|
||||
{
|
||||
set => CoordinatesAlt = value;
|
||||
set { CoordinatesAlt = value; }
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,11 +1,11 @@
|
|||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using WatchFace.Parser.Models;
|
||||
|
||||
namespace WatchFace.Parser.Utils
|
||||
{
|
||||
public class DrawingOrderIterator
|
||||
{
|
||||
public static IEnumerable Iterate(long drawingOrder)
|
||||
public static IEnumerable<DrawingOrderPosition> Iterate(long drawingOrder)
|
||||
{
|
||||
var order = drawingOrder;
|
||||
while (order != 0)
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
|
||||
<s:String x:Key="/Default/CodeInspection/CSharpLanguageProject/LanguageLevel/@EntryValue">CSharp60</s:String></wpf:ResourceDictionary>
|
|
@ -0,0 +1,2 @@
|
|||
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
|
||||
<s:String x:Key="/Default/CodeInspection/CSharpLanguageProject/LanguageLevel/@EntryValue">CSharp60</s:String></wpf:ResourceDictionary>
|
Loading…
Reference in New Issue