dotnet/roslyn

Add test to demonstrate that retargeted error symbols cause use-site errors

Open

#4,680 opened on Aug 20, 2015

View on GitHub
 (0 comments) (0 reactions) (0 assignees)C# (4,257 forks)batch import
Area-CompilersTesthelp wanted

Repository metrics

Stars
 (20,414 stars)
PR merge metrics
 (Avg merge 6d 17h) (256 merged PRs in 30d)

Description

We should add a test for any fix for 1090472, demonstrating that retargeted error symbols cause the dependent compilation to produce an error rather than compiling without error.

One approach to testing it, if it is hard to find a repro otherwise, is to add a compiler flag that forces an error symbol that requires retargeting.

Migrated from TFS/DevDiv 1090473

Contributor guide