Browse Source

Merge pull request #2324 from AvaloniaUI/fix-cue-parse-xamlil

Make Cue Parse method explicitly typed.
Steven Kirk 6 years ago
parent
commit
3ba4d6510e
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/Avalonia.Animation/Cue.cs

+ 2 - 2
src/Avalonia.Animation/Cue.cs

@@ -30,7 +30,7 @@ namespace Avalonia.Animation
         /// <summary>
         /// Parses a string to a <see cref="Cue"/> object.
         /// </summary>
-        public static object Parse(string value, CultureInfo culture)
+        public static Cue Parse(string value, CultureInfo culture)
         {
             string v = value;
 
@@ -70,7 +70,7 @@ namespace Avalonia.Animation
         }
     }
 
-    public class CueTypeConverter : TypeConverter 
+    public class CueTypeConverter : TypeConverter
     {
         public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
         {