Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corefx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Toub <stoub@microsoft.com>2017-03-14 18:58:40 +0300
committerDan Moseley <danmose@microsoft.com>2017-03-14 18:58:40 +0300
commit3a64d4a5cf1f233d423e98531a6650443f449f51 (patch)
tree7d3856436d36202d2ef19f8e6e08886180ccf6ac /src/System.Private.Xml.Linq
parent30a0e81f868151a8fc5bd1fcd55f1d402d45794c (diff)
Use nameof in a few more MemberDatas (#17102)
Search and replace through the repo, after noticing a few of these.
Diffstat (limited to 'src/System.Private.Xml.Linq')
-rw-r--r--src/System.Private.Xml.Linq/tests/misc/LoadSaveAsyncTests.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/System.Private.Xml.Linq/tests/misc/LoadSaveAsyncTests.cs b/src/System.Private.Xml.Linq/tests/misc/LoadSaveAsyncTests.cs
index 0c09af3d86..5fcab26a8f 100644
--- a/src/System.Private.Xml.Linq/tests/misc/LoadSaveAsyncTests.cs
+++ b/src/System.Private.Xml.Linq/tests/misc/LoadSaveAsyncTests.cs
@@ -49,7 +49,7 @@ namespace CoreXml.Test.XLinq
}
[Theory]
- [MemberData("RoundtripOptions_MemberData")]
+ [MemberData(nameof(RoundtripOptions_MemberData))]
public static async Task RoundtripSyncAsyncMatches_XmlReader(bool document, LoadOptions loadOptions, SaveOptions saveOptions)
{
// Create reader and writer settings
@@ -106,7 +106,7 @@ namespace CoreXml.Test.XLinq
}
[Theory]
- [MemberData("RoundtripOptions_MemberData")]
+ [MemberData(nameof(RoundtripOptions_MemberData))]
public static async Task RoundtripSyncAsyncMatches_StreamReader(bool document, LoadOptions loadOptions, SaveOptions saveOptions)
{
// Roundtrip XML using synchronous and StreamReader/Writer
@@ -148,7 +148,7 @@ namespace CoreXml.Test.XLinq
}
[Theory]
- [MemberData("RoundtripOptions_MemberData")]
+ [MemberData(nameof(RoundtripOptions_MemberData))]
public static async Task RoundtripSyncAsyncMatches_Stream(bool document, LoadOptions loadOptions, SaveOptions saveOptions)
{
// Roundtrip XML using synchronous and Stream