AsmResolver.Net.Signatures.TypeNameParser.ReadPropertyName C# (CSharp) Method

ReadPropertyName() private static method

private static ReadPropertyName ( string name, int &position ) : string
name string
position int
return string
        private static string ReadPropertyName(string name, ref int position)
        {
            var equalsIndex = name.IndexOf('=', position);
            if (equalsIndex == -1)
                throw new ArgumentException();
            var propertyName = name.Substring(position, equalsIndex - position);
            position += propertyName.Length;
            return propertyName;
        }