Allow use as git submodule

* build in sentry csproj

* typo

* public GetFrames
This commit is contained in:
Bruno Garcia
2021-01-10 22:44:04 -05:00
committed by GitHub
parent ef4d143d2a
commit 243029cc29
11 changed files with 51 additions and 33 deletions

View File

@@ -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()",

View File

@@ -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)

View File

@@ -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.",

View File

@@ -25,5 +25,5 @@ namespace Ben.Demystifier.Test
}
}
public class Generic<T> { public struct Nested { } }
public static class Generic<T> { public struct Nested { } }
}