src: dotnet: fix newlines

This commit is contained in:
Bill Zissimopoulos 2021-06-20 20:44:06 +03:00
parent 068270fa7f
commit 2d41693f3c
No known key found for this signature in database
GPG Key ID: 3D4F95D52C7B3EA3

View File

@ -1531,13 +1531,13 @@ namespace Fsp.Interop
#endif #endif
object[] attributes = Assembly.GetExecutingAssembly().GetCustomAttributes( object[] attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(
typeof(AssemblyProductAttribute), false); typeof(AssemblyProductAttribute), false);
if (null != attributes && if (null != attributes &&
0 < attributes.Length && 0 < attributes.Length &&
null != attributes[0] as AssemblyProductAttribute) null != attributes[0] as AssemblyProductAttribute)
{ {
ProductName = (attributes[0] as AssemblyProductAttribute).Product; ProductName = (attributes[0] as AssemblyProductAttribute).Product;
ProductFileName = ProductName.ToLowerInvariant(); ProductFileName = ProductName.ToLowerInvariant();
} }
LoadProto(LoadDll()); LoadProto(LoadDll());
CheckVersion(); CheckVersion();
} }