1 implementation of CreateDelegate
System.Private.Windows.Core.TestUtilities (1)
TestAccessor.cs (1)
62
public TDelegate
CreateDelegate
<TDelegate>(string? methodName = null)
3 references to CreateDelegate
System.Windows.Forms.Tests (3)
TestAccessorTests.cs (3)
123
Assert.Equal(4, accessor.
CreateDelegate
<Func<int, int>>("ToStringLength")(2001));
124
Assert.Equal(7, accessor.
CreateDelegate
<Func<string, int>>("ToStringLength")("Flubber"));
132
Assert.Equal(5, accessor.
CreateDelegate
<ToStringLength>()("25624"));