You want to know what and what not to include in the AssemblyInfo.cs file.
Don’t place any assembly-related attribute outside the AssemblyInfo.cs file. Also, don’t place any executable code in this file.
The AssemblyInfo.cs file provides meta-data about the assembly. If deleted, the assembly will be compiled without this information.