From de57531aa658dfbcc3ae76149256e7bfa4da43fd Mon Sep 17 00:00:00 2001 From: Jan Kotas Date: Wed, 31 Mar 2021 20:08:37 -0700 Subject: [PATCH] Fix test failure --- src/coreclr/tools/Common/TypeSystem/IL/MethodIL.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/coreclr/tools/Common/TypeSystem/IL/MethodIL.cs b/src/coreclr/tools/Common/TypeSystem/IL/MethodIL.cs index b5eb21fcba42..cfe1f93998b0 100644 --- a/src/coreclr/tools/Common/TypeSystem/IL/MethodIL.cs +++ b/src/coreclr/tools/Common/TypeSystem/IL/MethodIL.cs @@ -86,7 +86,7 @@ public abstract partial class MethodIL /// (typically a , , , /// or ). /// - public abstract Object GetObject(int token, NotFoundBehavior notFoundBehavior = NotFoundBehavior.ReturnNull); + public abstract Object GetObject(int token, NotFoundBehavior notFoundBehavior = NotFoundBehavior.Throw); /// /// Gets a list of exception regions this method body defines.