public Candidate(CallableResolutionService crs, IMethod entity) { _crs = crs; Method = entity; _scores = new int[crs._arguments.Count]; }
public override void Run() { NameResolutionService.Reset(); _currentModule = null; _currentMethod = null; _methodStack = new Stack(); _memberStack = new Stack(); _callableResolution = new CallableResolutionService(); _callableResolution.Initialize(_context); InitializeMemberCache(); Visit(CompileUnit); }
public override void Dispose() { base.Dispose(); if (null != _callableResolution) { _callableResolution.Dispose(); _callableResolution = null; } _currentModule = null; _currentMethod = null; _methodStack = null; _memberStack = null; _RuntimeServices_Len = null; _RuntimeServices_Mid = null; _RuntimeServices_NormalizeStringIndex = null; _RuntimeServices_AddArrays = null; _RuntimeServices_GetRange1 = null; _RuntimeServices_GetRange2 = null; _RuntimeServices_GetMultiDimensionalRange1 = null; _RuntimeServices_SetMultiDimensionalRange1 = null; _RuntimeServices_GetEnumerable = null; _RuntimeServices_EqualityOperator = null; _Array_get_Length = null; _Array_GetLength = null; _String_get_Length = null; _String_Substring_Int = null; _ICollection_get_Count = null; _List_GetRange1 = null; _List_GetRange2 = null; _ICallable_Call = null; _Activator_CreateInstance = null; _Exception_StringConstructor = null; _TextReaderEnumerator_lines = null; }