mirror of
https://github.com/dotMorten/NmeaParser.git
synced 2026-01-08 09:40:09 +01:00
Warning fixes
This commit is contained in:
parent
a142c9b0da
commit
c335ba2f20
|
|
@ -60,7 +60,7 @@ namespace SampleApp.Droid
|
|||
socket?.Close();
|
||||
socket?.Dispose();
|
||||
socket = null;
|
||||
listener.CloseAsync();
|
||||
_ = listener.CloseAsync();
|
||||
listener = null;
|
||||
startButton.Enabled = !(stopButton.Enabled = false);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -30,7 +30,13 @@ namespace NmeaParser.Tests
|
|||
public class NmeaMessages
|
||||
{
|
||||
[TestMethod]
|
||||
public async Task ParseNmeaFile()
|
||||
public
|
||||
#if NETFX_CORE
|
||||
async Task
|
||||
#else
|
||||
void
|
||||
#endif
|
||||
ParseNmeaFile()
|
||||
{
|
||||
#if NETFX_CORE
|
||||
var file = await Windows.Storage.StorageFile.GetFileFromApplicationUriAsync(new Uri("ms-appx:///NmeaSampleData.txt"));
|
||||
|
|
@ -56,7 +62,13 @@ namespace NmeaParser.Tests
|
|||
}
|
||||
}
|
||||
[TestMethod]
|
||||
public async Task ParseTrimbleR2NmeaFile()
|
||||
public
|
||||
#if NETFX_CORE
|
||||
async Task
|
||||
#else
|
||||
void
|
||||
#endif
|
||||
ParseTrimbleR2NmeaFile()
|
||||
{
|
||||
#if NETFX_CORE
|
||||
var file = await Windows.Storage.StorageFile.GetFileFromApplicationUriAsync(new Uri("ms-appx:///TrimbleR2SampleData.txt"));
|
||||
|
|
|
|||
Loading…
Reference in a new issue