Skip to content

Commit

Permalink
Refactor CS1574 to be an error
Browse files Browse the repository at this point in the history
And fix these errors.

For ShapeCrawler#677
  • Loading branch information
jcoliz committed May 12, 2024
1 parent 0e5d22d commit 7ff3509
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/ShapeCrawler/.editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ dotnet_diagnostic.SA1633.severity = none

# CSXXXX
dotnet_diagnostic.CS0649.severity = error
dotnet_diagnostic.CS1574.severity = error
dotnet_diagnostic.CS8602.severity = error
dotnet_diagnostic.CS8603.severity = error
dotnet_diagnostic.CS8604.severity = error
Expand Down
3 changes: 1 addition & 2 deletions src/ShapeCrawler/ShapeCollection/IShape.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
using DocumentFormat.OpenXml;
using ShapeCrawler.Placeholders;
using ShapeCrawler.Shapes;
using ShapeCrawler.Wrappers;

// ReSharper disable once CheckNamespace
namespace ShapeCrawler;
Expand Down Expand Up @@ -126,7 +125,7 @@ public interface IShape : IPosition

/// <summary>
/// Gets the media shape which is an audio or video.
/// Use <see cref="IShape.ShapeType"/> property to check if the shape is an <see cref="PShapeTrPShapeTreeWrappe.Audio"/> or <see cref="PShapeTreeWrap.ShapeType.Video"/>.
/// Use <see cref="IShape.ShapeType"/> property to check if the shape is an audio or video.
/// </summary>
IMediaShape AsMedia();
}

0 comments on commit 7ff3509

Please sign in to comment.