public void InstantiationOfGenericTypeThatReferencesReactElementIsFineIfTypeHasIgnoreGeneri()
{
var testContent = @"
using Bridge;
using Bridge.React;
namespace TestCase
{
public class Example
{
public void Go()
{
var x = new GenericTypeThatStripsTypeParamsFromJavaScript<ReactElement>();
}
}
[IgnoreGeneric]
public class GenericTypeThatStripsTypeParamsFromJavaScript<T>
{
}
}";
VerifyCSharpDiagnostic(testContent);
}