diff --git a/tools/distrib/check_copyright.py b/tools/distrib/check_copyright.py
index 4577ab3d11d4543e8fa89d502b5177735954ab7c..f06e5f1d1a15c0747b9b19fe1df4903d0a3b1aaf 100755
--- a/tools/distrib/check_copyright.py
+++ b/tools/distrib/check_copyright.py
@@ -157,7 +157,7 @@ for filename in filename_list:
   m = re.search(re_license, text)
   if m:
     pass
-  elif 'DO NOT EDIT' not in text and 'AssemblyInfo.cs' not in filename and filename != 'src/boringssl/err_data.c':
+  elif 'DO NOT EDIT' not in text and filename != 'src/boringssl/err_data.c':
     log(1, 'copyright missing', filename)
     ok = False