Mark a bug.

From ReSharper code analysis.
This commit is contained in:
Kuba Ober 2019-08-30 15:01:16 -04:00
parent 8b210d8b66
commit 778613dccb

View File

@ -67,7 +67,7 @@ namespace CapnpC.Model
declaringType = (declaringType as TypeDefinition)?.DeclaringElement as IHasGenericParameters;
}
ElementType?.InheritFreeParameters(declaringType);
ElementType?.InheritFreeParameters(declaringType); // BUG: this is always null
}
Type SubstituteGenerics(Type type)