You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make usage as simple as possible when member info can be inferred.
Background and Motivation
The use case below should be simplified:
publicclassBase{publicstaticIEnumerable<object[]>GetData()=>yield return new object[]{1};}[TestClass]publicclassMyTest:Base{[TestMethod][DynamicData(nameof(GetData),DynamicDataSourceType.Method)]// MSTEST0018 + error at runtimepublicvoidM(inti){}}
Proposed Feature
Do not require the typeof when we know the member is part of the class (through inheritance).
The text was updated successfully, but these errors were encountered:
Summary
Make usage as simple as possible when member info can be inferred.
Background and Motivation
The use case below should be simplified:
Proposed Feature
Do not require the
typeof
when we know the member is part of the class (through inheritance).The text was updated successfully, but these errors were encountered: