Skip to content

Commit b8090ea

Browse files
author
Samuel Abraham
committed
v9.2.0
1 parent 442c6eb commit b8090ea

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

src/TypeCache/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@
2727
var comstructorEntity = typeof(Senator).Constructors().Find(("Bob Dole", 98)) // Passing a tuple of values
2828

2929
// Find a matching MethodInfo object based on argument values
30-
var methodInfo = Type<Senator>.Methods["RunForPresident"].Find([typeof(int), typeof(bool)]); // Find method by argument types
31-
var methodInfo = typeof(Senator).Methods()["RunForPresident"].Find([typeof(int), typeof(bool)]); // Find method by argument types
32-
var methodInfo = Type<Senator>.Methods["RunForPresident"].Find([1996, true]); // Passing an array of values
33-
var methodInfo = typeof(Senator).Methods()["RunForPresident"].Find([1996, true]); // Passing an array of values
34-
var methodInfo = Type<Senator>.Methods["RunForPresident"].Find((1996, true)); // Passing a tuple of values
35-
var methodInfo = typeof(Senator).Methods()["RunForPresident"].Find((1996, true)); // Passing a tuple of values
30+
var methodEntity = Type<Senator>.Methods["RunForPresident"].Find([typeof(int), typeof(bool)]); // Find method by argument types
31+
var methodEntity = typeof(Senator).Methods()["RunForPresident"].Find([typeof(int), typeof(bool)]); // Find method by argument types
32+
var methodEntity = Type<Senator>.Methods["RunForPresident"].Find([1996, true]); // Passing an array of values
33+
var methodEntity = typeof(Senator).Methods()["RunForPresident"].Find([1996, true]); // Passing an array of values
34+
var methodEntity = Type<Senator>.Methods["RunForPresident"].Find((1996, true)); // Passing a tuple of values
35+
var methodEntity = typeof(Senator).Methods()["RunForPresident"].Find((1996, true)); // Passing a tuple of values
3636

3737
// Get a field value
3838
var fieldValue = Type<Senator>.Fields["_Bills"].GetValue(instance);

0 commit comments

Comments
 (0)