public static void CheckForAssemblyFileNameMismatch(string assemblyPath) { string withoutExtension = Path.GetFileNameWithoutExtension(assemblyPath); string internalAssemblyName = AssemblyHelper.ExtractInternalAssemblyName(assemblyPath); if (!(withoutExtension != internalAssemblyName)) { return; } UnityEngine.Debug.LogWarning((object)("Assembly '" + internalAssemblyName + "' has non matching file name: '" + Path.GetFileName(assemblyPath) + "'. This can cause build issues on some platforms.")); }
public static void CheckForAssemblyFileNameMismatch(string assemblyPath) { string fileNameWithoutExtension = Path.GetFileNameWithoutExtension(assemblyPath); string text = AssemblyHelper.ExtractInternalAssemblyName(assemblyPath); if (fileNameWithoutExtension != text) { UnityEngine.Debug.LogWarning(string.Concat(new string[] { "Assembly '", text, "' has non matching file name: '", Path.GetFileName(assemblyPath), "'. This can cause build issues on some platforms." })); } }