public int IndexOf(ITypeNameScope child) { if ((child != null) && (child.Parent == this)) { var args = GenericsArguments; if (args != null) { return(args.IndexOf(child)); } } return(-1); }
public TypeNameParseResult(ITypeNameScope scope, IStack <TypeNameParseTrace> trace) { Scope = scope; Trace = trace; }