Closed catstrike closed 3 years ago
@ryanmolden Do you have some time to take a look? I'll likely put a try catch at the bottom of Parse in the next release either way.
@leculver wow, I never use GitHub (sorry), so I never saw this tag. Anyhow, ironically I am running into the same issue here, the problem is the non-assembly qualified names (T and TPluginType). The parser assumes all generic args will be assembly qualified (i.e. [Foo, Bar]), which clearly is not true. I am working on a fix but as you stated in the fix to add the catch...this area is a massive pain due to the complexity of the DAC name stuff.
I'm enumerating all the types in a dump with ClrMD 2.0 For one of the types, DAC returns the following name:
StructureMap.Pipeline.ExpressedInstance`3[[StructureMap.Pipeline.LambdaInstance`2, EnforceHttpsModule],T,TPluginType]
DacNameParser can't parse it and throws System.IndexOutOfRangeException.
CLR version: 4.7.2650.0 Architecture: Amd64