Minor fix to address ?: VC conformance improvement. (dotnet/coreclr#10208)
authorYuriy Solodkyy <solodon4@users.noreply.github.com>
Thu, 16 Mar 2017 04:55:53 +0000 (21:55 -0700)
committerJan Kotas <jkotas@microsoft.com>
Thu, 16 Mar 2017 04:55:53 +0000 (21:55 -0700)
commite08aee866ba3b21eda96e8d33f9d2de5e8a44c64
tree3a5032eb358aae9e9a2fff15dcb575c8d81a55e7
parent194b57924dd4cc8d2cdaf113e78eb31046902691
Minor fix to address ?: VC conformance improvement. (dotnet/coreclr#10208)

Visual C++ has made some conformance changes to conditional operator
that will be available under /permissive- and which make the inference of
result type of the conditional operator in these 2 places ambiguous. This
happens because the class type in one of the arguments provides both: the
constructor from and the conversion operator to T - LCWSTR here.

Commit migrated from https://github.com/dotnet/coreclr/commit/67f40646d76d914ab7f099df25768c73c4f55bad
src/coreclr/src/vm/dwreport.cpp
src/coreclr/src/vm/eventreporter.cpp