internal void PreAnalyze(Analyzer/*!*/ analyzer, GenericParameter/*!*/ parameter) { this.parameter = parameter; PhpRoutine routine = parameter.DeclaringMember as PhpRoutine; PhpType type = (routine != null) ? routine.DeclaringType as PhpType : parameter.DeclaringPhpType; parameter.WriteUp(analyzer.ResolveType(defaultType, type, routine, position, false)); }