private void handleSignature(string[] chunks) { if (chunks.Length < 9) return; var reference = new CodeReference( _language, chunks[4], _currentFile, chunks[1], chunks[2], chunks[3], chunks[5], tryParse(chunks[6]), tryParse(chunks[7]), chunks[8]); var args = getArguments(chunks, 9); if (_addAllToTypeSearch || args.Contains("typesearch")) reference.SetTypeSearch(); _builder.Add(reference); }
private void handleSignature(string[] chunks) { var reference = new CodeReference( _language, chunks[3], _currentFile, chunks[1], chunks[2], int.Parse(chunks[4]), int.Parse(chunks[5]), int.Parse(chunks[6])); var args = getArguments(chunks, 7); if (args.Contains("typesearch")) reference.SetTypeSearch(); _builder.Add(reference); }