Build tidyups

This commit is contained in:
Ben Adams 2021-01-03 17:04:20 +00:00
parent 1f10ebc836
commit b49f5e257a
4 changed files with 6 additions and 6 deletions

View File

@ -1,8 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup> <PropertyGroup>
<OutputType>Exe</OutputType> <OutputType>Exe</OutputType>
<TargetFramework>netcoreapp3.0</TargetFramework> <TargetFramework>netcoreapp3.1</TargetFramework>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>

View File

@ -32,7 +32,7 @@ namespace Ben.Demystifier.Test
var s = EnhancedStackTrace.GetMethodDisplayString(sf.GetMethod()); var s = EnhancedStackTrace.GetMethodDisplayString(sf.GetMethod());
Assert.True(true, "Does not throw exception when diagnosing generic method display string."); Assert.True(true, "Does not throw exception when diagnosing generic method display string.");
} }
catch (Exception ioe) catch (Exception)
{ {
Assert.True(false, "Must not throw an exception when diagnosing generic method display string."); Assert.True(false, "Must not throw an exception when diagnosing generic method display string.");
} }

View File

@ -19,11 +19,11 @@ namespace Ben.Demystifier.Test
} }
} }
public void Throw(Generic<(int a, string b)>.Nested nested) private void Throw(Generic<(int a, string b)>.Nested nested)
{ {
throw null; throw null;
} }
} }
public class Generic<T> { public struct Nested { } } public class Generic<T> { public struct Nested { } }
} }

View File

@ -1,5 +1,5 @@
{ {
"version": "0.2.0", "version": "0.2.1",
"publicReleaseRefSpec": [ "publicReleaseRefSpec": [
"^refs/heads/master$", // we release out of master "^refs/heads/master$", // we release out of master
"^refs/heads/dev$", // we release out of develop "^refs/heads/dev$", // we release out of develop