たとえば、「Foo」という単語で始まるすべての ObjectSet を取得したいと考えています。以下のコードを書きましたが、if コンストラクトにステップ インしません。
foreach (PropertyDescriptor prop in TypeDescriptor.GetProperties(context))
{
if (prop.PropertyType == typeof(ObjectSet<>))
{
// It doesn't step here even though
// prop.PropertyType is an ObjectSet`1...
助けてください。