5 references to GetCurrentMethod
Microsoft.DotNet.Build.Tasks.Workloads (1)
EmbeddedTemplates.cs (1)
66
string ns = MethodBase.
GetCurrentMethod
().DeclaringType.Namespace;
Microsoft.DotNet.XUnitExtensions.Tests (3)
ConditionalAttributeTests.cs (3)
32
var method = System.Reflection.MethodBase.
GetCurrentMethod
();
42
var method = System.Reflection.MethodBase.
GetCurrentMethod
();
53
var method = System.Reflection.MethodBase.
GetCurrentMethod
();
System.Windows.Forms.Primitives.TestUtilities (1)
Metafiles\EmfValidateHelper.cs (1)
17
/// The name of the calling method. Use <see cref="MethodBase.
GetCurrentMethod
()"/> and property <see cref="MemberInfo.Name"/>.