diff --git a/src/coreclr/tools/Common/TypeSystem/Common/ResolutionFailure.cs b/src/coreclr/tools/Common/TypeSystem/Common/ResolutionFailure.cs
index 04d75a5e5ae9c3..882537e27f73f6 100644
--- a/src/coreclr/tools/Common/TypeSystem/Common/ResolutionFailure.cs
+++ b/src/coreclr/tools/Common/TypeSystem/Common/ResolutionFailure.cs
@@ -84,7 +84,7 @@ public static ResolutionFailure GetAssemblyResolutionFailure(string simpleName)
public void Throw()
{
- switch(_failureType)
+ switch (_failureType)
{
case FailureType.TypeLoadException1:
ThrowHelper.ThrowTypeLoadException(_name, _module);
diff --git a/src/coreclr/tools/Common/TypeSystem/IL/MethodIL.cs b/src/coreclr/tools/Common/TypeSystem/IL/MethodIL.cs
index b5eb21fcba4297..cfe1f93998b08b 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.