Reporter | Igal Tabachnik (hmemcpy) |
---|---|
Created | Apr 29, 2012 11:05:29 PM |
Updated | Apr 29, 2012 11:07:03 PM |
Priority | Normal |
Type | Bug |
Fix versions | No Fix versions |
State | Submitted |
Assignee | Victor Kropp (victor.kropp) |
Subsystem | Structured Patterns (SSR) |
Affected versions | No Affected versions |
Fixed in build | No Fixed in build |
I'm trying to find the following expression: typeof($type$) where $type$ is a TypePlaceholder.
This doesn't seem to match open generic types, i.e. typeof(IEnumerable<>). It works fine on typeof(IEnumerable<string>), for example.
What's more, if I try to match this via the API, if I call QuickMatch() with the IInvocationExpression element, I get true, but calling Match() will return a NotMatched result.
This doesn't seem to match open generic types, i.e. typeof(IEnumerable<>). It works fine on typeof(IEnumerable<string>), for example.
What's more, if I try to match this via the API, if I call QuickMatch() with the IInvocationExpression element, I get true, but calling Match() will return a NotMatched result.