Fix typo on comment on ReflectionEnum::InternalHasFlag (#39995)
authorPaulo Morgado <470455+paulomorgado@users.noreply.github.com>
Tue, 28 Jul 2020 16:19:18 +0000 (17:19 +0100)
committerGitHub <noreply@github.com>
Tue, 28 Jul 2020 16:19:18 +0000 (09:19 -0700)
src/coreclr/src/vm/reflectioninvocation.cpp

index f485f94..59a6431 100644 (file)
@@ -2646,7 +2646,7 @@ FCIMPL2(FC_BOOL_RET, ReflectionEnum::InternalEquals, Object *pRefThis, Object* p
 }
 FCIMPLEND
 
-// preform (this & flags) != flags
+// perform (this & flags) == flags
 FCIMPL2(FC_BOOL_RET, ReflectionEnum::InternalHasFlag, Object *pRefThis, Object* pRefFlags)
 {
     FCALL_CONTRACT;