UnityEngine.Events.ArgumentCache.TidyAssemblyTypeName C# (CSharp) Method

TidyAssemblyTypeName() private method

private TidyAssemblyTypeName ( ) : void
return void
        private void TidyAssemblyTypeName()
        {
            if (!string.IsNullOrEmpty(this.m_ObjectArgumentAssemblyTypeName))
            {
                int num = 0x7fffffff;
                int index = this.m_ObjectArgumentAssemblyTypeName.IndexOf(", Version=");
                if (index != -1)
                {
                    num = Math.Min(index, num);
                }
                index = this.m_ObjectArgumentAssemblyTypeName.IndexOf(", Culture=");
                if (index != -1)
                {
                    num = Math.Min(index, num);
                }
                index = this.m_ObjectArgumentAssemblyTypeName.IndexOf(", PublicKeyToken=");
                if (index != -1)
                {
                    num = Math.Min(index, num);
                }
                if (num != 0x7fffffff)
                {
                    this.m_ObjectArgumentAssemblyTypeName = this.m_ObjectArgumentAssemblyTypeName.Substring(0, num);
                }
            }
        }