dotnet/roslyn

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

Open

#4.680 geöffnet am 20. Aug. 2015

Auf GitHub ansehen
 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)C# (4.257 Forks)batch import
Area-CompilersTesthelp wanted

Repository-Metriken

Stars
 (20.414 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 6T 17h) (256 gemergte PRs in 30 T)

Beschreibung

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