PowerShell/test/powershell/Language/Parser
Dongbo Wang 3a21d4c3df Search the assembly cache kept by ExecutionContext for type resolution. (#3327)
Our assembly cache contains assemblies that are explicitly loaded by powershell egine, such as via module loading or the assembly entries from InitialSessionState. We should search it before searching all loaded assemblies to give preference to resolve a type against the assemblies contained in the cache, so that in case there is a conflict, we might have a preferred assembly to use for a type resolution.

Changes:
- Search from context.AssemblyCache.Values before search from all loaded assemblies.
- Skip assemblies that we already searched and found no matching type.
- Skip checking PS types kept in the scope and type accelerators when it's not necessary.
2017-03-17 13:19:31 -07:00
..
Ast.Tests.ps1 Fix GetType() bad pattern and related issues in tests (#3134) 2017-02-15 16:40:51 -08:00
AutomaticVariables.Tests.ps1 Skip $input type test per #1563 2016-07-28 18:02:24 -07:00
BNotOperator.Tests.ps1 Fix GetType() bad pattern and related issues in tests (#3134) 2017-02-15 16:40:51 -08:00
Conversions.Tests.ps1 Search the assembly cache kept by ExecutionContext for type resolution. (#3327) 2017-03-17 13:19:31 -07:00
ExtensibleCompletion.Tests.ps1 Fix tab completion of native parameters (#2919) 2017-02-13 16:02:56 -08:00
LanguageAndParser.TestFollowup.Tests.ps1 Remove trailing whitespace (#3001) 2017-01-16 13:31:14 -08:00
MethodInvocation.Tests.ps1 Remove trailing whitespace (#3001) 2017-01-16 13:31:14 -08:00
ParameterBinding.Tests.ps1 Language tests now run clean on Linux 2016-07-20 12:10:12 -07:00
Parser.Tests.ps1 Make small optimization in parser tests (#3072) 2017-02-08 17:42:44 -08:00
Parsing.Tests.ps1 Fix error position reporting on classes (#3103) 2017-02-13 16:45:00 -08:00
RedirectionOperator.Tests.ps1 Remove trailing whitespace (#3001) 2017-01-16 13:31:14 -08:00
TypeAccelerator.Tests.ps1 changes tags for tests 2016-07-27 12:06:51 -07:00
UsingAssembly.Tests.ps1 Remove trailing whitespace (#3001) 2017-01-16 13:31:14 -08:00
UsingNamespace.Tests.ps1 Remove trailing whitespace (#3001) 2017-01-16 13:31:14 -08:00