You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
C:\dev\FastExpressionCompiler\test\FastExpressionCompiler.TestsRunner\FastExpressionCompiler.TestsRunner.csproj : warning NU1900: Error occurred while getting package vulnerability data: Unable to load the service index for source https://api.nuget.org/v3/index.json.
2
+
C:\dev\FastExpressionCompiler\test\FastExpressionCompiler.IssueTests\FastExpressionCompiler.IssueTests.csproj : warning NU1900: Error occurred while getting package vulnerability data: Unable to load the service index for source https://api.nuget.org/v3/index.json. [C:\dev\FastExpressionCompiler\test\FastExpressionCompiler.TestsRunner\FastExpressionCompiler.TestsRunner.csproj]
3
+
C:\dev\FastExpressionCompiler\test\FastExpressionCompiler.LightExpression.IssueTests\FastExpressionCompiler.LightExpression.IssueTests.csproj : warning NU1900: Error occurred while getting package vulnerability data: Unable to load the service index for source https://api.nuget.org/v3/index.json. [C:\dev\FastExpressionCompiler\test\FastExpressionCompiler.TestsRunner\FastExpressionCompiler.TestsRunner.csproj]
4
+
C:\dev\FastExpressionCompiler\test\FastExpressionCompiler.UnitTests\FastExpressionCompiler.UnitTests.csproj : warning NU1900: Error occurred while getting package vulnerability data: Unable to load the service index for source https://api.nuget.org/v3/index.json. [C:\dev\FastExpressionCompiler\test\FastExpressionCompiler.TestsRunner\FastExpressionCompiler.TestsRunner.csproj]
5
+
C:\dev\FastExpressionCompiler\test\FastExpressionCompiler.LightExpression.UnitTests\FastExpressionCompiler.LightExpression.UnitTests.csproj : warning NU1900: Error occurred while getting package vulnerability data: Unable to load the service index for source https://api.nuget.org/v3/index.json. [C:\dev\FastExpressionCompiler\test\FastExpressionCompiler.TestsRunner\FastExpressionCompiler.TestsRunner.csproj]
6
+
C:\dev\FastExpressionCompiler\test\FastExpressionCompiler.TestsRunner\FastExpressionCompiler.TestsRunner.csproj : warning NU1900: Error occurred while getting package vulnerability data: Unable to load the service index for source https://api.nuget.org/v3/index.json. [TargetFramework=net9.0]
7
+
C:\dev\FastExpressionCompiler\test\FastExpressionCompiler.LightExpression.IssueTests\FastExpressionCompiler.LightExpression.IssueTests.csproj : warning NU1900: Error occurred while getting package vulnerability data: Unable to load the service index for source https://api.nuget.org/v3/index.json. [TargetFramework=net9.0]
8
+
C:\dev\FastExpressionCompiler\test\FastExpressionCompiler.LightExpression.UnitTests\FastExpressionCompiler.LightExpression.UnitTests.csproj : warning NU1900: Error occurred while getting package vulnerability data: Unable to load the service index for source https://api.nuget.org/v3/index.json. [TargetFramework=net9.0]
9
+
C:\dev\FastExpressionCompiler\test\FastExpressionCompiler.IssueTests\FastExpressionCompiler.IssueTests.csproj : warning NU1900: Error occurred while getting package vulnerability data: Unable to load the service index for source https://api.nuget.org/v3/index.json. [TargetFramework=net9.0]
10
+
C:\dev\FastExpressionCompiler\test\FastExpressionCompiler.UnitTests\FastExpressionCompiler.UnitTests.csproj : warning NU1900: Error occurred while getting package vulnerability data: Unable to load the service index for source https://api.nuget.org/v3/index.json. [TargetFramework=net9.0]
11
+
CSC : error CS0016: Could not write to output file 'C:\dev\FastExpressionCompiler\src\FastExpressionCompiler\obj\Debug\net9.0\FastExpressionCompiler.sourcelink.json' -- 'Could not find file 'C:\dev\FastExpressionCompiler\src\FastExpressionCompiler\obj\Debug\net9.0\FastExpressionCompiler.sourcelink.json'.' [C:\dev\FastExpressionCompiler\src\FastExpressionCompiler\FastExpressionCompiler.csproj::TargetFramework=net9.0]
12
+
CSC : error CS0016: Could not write to output file 'C:\dev\FastExpressionCompiler\src\FastExpressionCompiler.LightExpression\obj\Debug\net9.0\FastExpressionCompiler.LightExpression.sourcelink.json' -- 'Could not find file 'C:\dev\FastExpressionCompiler\src\FastExpressionCompiler.LightExpression\obj\Debug\net9.0\FastExpressionCompiler.LightExpression.sourcelink.json'.' [C:\dev\FastExpressionCompiler\src\FastExpressionCompiler.LightExpression\FastExpressionCompiler.LightExpression.csproj::TargetFramework=net9.0]
if (x.Value.GetType() != x.Type) // add the Type cast
10068
+
var actualType = val.GetType();
10069
+
if (actualType != x.Type && (actualType.IsValueType || x.Type != typeof(object))) // add the Type cast, but avoid cast to object for the reference types
// todo: @wip @feat add around the ex var the "#pragma warning disable CS0168 // unused var" "#pragma warning restore CS0168", see #495, or better check inside the catch block for the usage. We need to completely remove the var, because prefix '_' does not remove the warning.
/// <summary>Exclude NOP opcodes from the output</summary>
37
-
SkipNop
37
+
SkipNop=1<<1
38
38
}
39
39
40
40
[UnconditionalSuppressMessage("Trimming","IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code",Justification="Uses reflection on internal types and is not trim-compatible.")]
Copy file name to clipboardExpand all lines: test/FastExpressionCompiler.IssueTests/Issue495_Incomplete_pattern_detection_for_NotSupported_1007_Return_goto_from_TryCatch_with_Assign_generates_invalid_IL.cs
+93-19Lines changed: 93 additions & 19 deletions
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,7 @@ public struct Issue495_Incomplete_pattern_detection_for_NotSupported_1007_Return
0 commit comments