Use @strings where appropriate

This commit is contained in:
Drew DeVault
2016-10-12 13:36:10 -04:00
committed by Dean Herbert
parent dd86e75ea7
commit deff5ad61e
5 changed files with 46 additions and 46 deletions

View File

@ -25,10 +25,10 @@ namespace osu.Game.Beatmaps.IO
public OszArchiveReader(Stream archiveStream)
{
archive = ZipFile.Read(archiveStream);
beatmaps = archive.Entries.Where(e => e.FileName.EndsWith(".osu"))
beatmaps = archive.Entries.Where(e => e.FileName.EndsWith(@".osu"))
.Select(e => e.FileName).ToArray();
if (beatmaps.Length == 0)
throw new FileNotFoundException("This directory contains no beatmaps");
throw new FileNotFoundException(@"This directory contains no beatmaps");
using (var stream = new StreamReader(ReadFile(beatmaps[0])))
{
var decoder = BeatmapDecoder.GetDecoder(stream);