Allow use as git submodule
* build in sentry csproj * typo * public GetFrames
This commit is contained in:
@@ -44,7 +44,7 @@ namespace Ben.Demystifier.Test
|
||||
.ToArray())
|
||||
// Remove Full framework back arrow
|
||||
.Replace("<---", "");
|
||||
#if NET5_0 || NETCOREAPP3_1
|
||||
#if NET5_0 || NETCOREAPP3_1 || NETCOREAPP3_0
|
||||
var expected = string.Join("", new[] {
|
||||
" ---> System.ArgumentException: Value does not fall within the expected range.",
|
||||
" at async Task Ben.Demystifier.Test.AggregateException.Throw1()",
|
||||
|
||||
@@ -109,7 +109,7 @@ namespace Ben.Demystifier.Test
|
||||
static Func<string, bool, (string val, bool)> s_func = (string s, bool b) => (RefMethod(s), b);
|
||||
static string s = "";
|
||||
|
||||
class GenericClass<T>
|
||||
static class GenericClass<T>
|
||||
{
|
||||
[MethodImpl(MethodImplOptions.NoOptimization | MethodImplOptions.NoInlining)]
|
||||
public static string GenericMethod<V>(ref V value)
|
||||
|
||||
@@ -31,7 +31,7 @@ namespace Ben.Demystifier.Test
|
||||
stackTrace = LineEndingsHelper.RemoveLineEndings(stackTrace);
|
||||
var trace = stackTrace.Split(new[]{Environment.NewLine}, StringSplitOptions.None);
|
||||
|
||||
#if NETCOREAPP3_1 || NET5_0
|
||||
#if NET5_0 || NETCOREAPP3_1 || NETCOREAPP3_0
|
||||
Assert.Equal(
|
||||
new[] {
|
||||
"System.Exception: Exception of type 'System.Exception' was thrown.",
|
||||
@@ -65,7 +65,7 @@ namespace Ben.Demystifier.Test
|
||||
stackTrace = LineEndingsHelper.RemoveLineEndings(stackTrace);
|
||||
trace = stackTrace.Split(new[] { Environment.NewLine }, StringSplitOptions.None);
|
||||
|
||||
#if NETCOREAPP3_1 || NET5_0
|
||||
#if NET5_0 || NETCOREAPP3_1 || NETCOREAPP3_0
|
||||
Assert.Equal(
|
||||
new[] {
|
||||
"System.Exception: Exception of type 'System.Exception' was thrown.",
|
||||
|
||||
@@ -25,5 +25,5 @@ namespace Ben.Demystifier.Test
|
||||
}
|
||||
}
|
||||
|
||||
public class Generic<T> { public struct Nested { } }
|
||||
public static class Generic<T> { public struct Nested { } }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user