Remove some random data from System.Reflection.Emit.Tests
authorHugh Bellamy <hughbellars@gmail.com>
Sun, 3 Jul 2016 12:27:07 +0000 (13:27 +0100)
committerHugh Bellamy <hughbellars@gmail.com>
Sun, 3 Jul 2016 12:27:07 +0000 (13:27 +0100)
commitcaf624c56c747f212489e6bd79c7d0b97f45d4cf
tree14f27b86ca27036da0f017d99302656517abafad
parentb3bc72af9a76541ae72c017e32f7932d5d0fa08b
Remove some random data from System.Reflection.Emit.Tests

Currently, we generate random data in some of the System.Reflection.Emit
tests
One example is om the test for PropertyBuilder.Name that generates a
random char.

Due to bug dotnet/corefx#7166 xunit crashes when there is an invalid char (e.g. lone
high surrogate) in a MemberData or InlineData

Should hopefully fix dotnet/corefx#9820

Commit migrated from https://github.com/dotnet/corefx/commit/30bfa3e05dc3b561b415d9552aa12071ec0b6aa5
src/libraries/System.Reflection.Emit/tests/FieldBuilder/FieldBuilderSetConstant.cs
src/libraries/System.Reflection.Emit/tests/PropertyBuilder/PropertyBuilderName.cs
src/libraries/System.Reflection.Emit/tests/PropertyBuilder/PropertyBuilderSetConstant.cs