Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
NLua
Commits
3618add1
Commit
3618add1
authored
Oct 27, 2014
by
Vinicius Jarina
Browse files
Fixed Flags typo.
parent
29ebdf90
Changes
1
Show whitespace changes
Inline
Side-by-side
Core/NLua/Method/LuaMethodWrapper.cs
View file @
3618add1
...
@@ -101,9 +101,9 @@ namespace NLua.Method
...
@@ -101,9 +101,9 @@ namespace NLua.Method
MethodInfo
[]
GetMethodsRecursively
(
Type
type
,
string
methodName
,
BindingFlags
bindingType
)
MethodInfo
[]
GetMethodsRecursively
(
Type
type
,
string
methodName
,
BindingFlags
bindingType
)
{
{
if
(
type
==
typeof
(
object
))
if
(
type
==
typeof
(
object
))
return
type
.
GetMethods
(
methodName
,
bindingType
|
BindingFlags
.
Public
);
return
type
.
GetMethods
(
methodName
,
bindingType
);
var
methods
=
type
.
GetMethods
(
methodName
,
bindingType
|
BindingFlags
.
Public
);
var
methods
=
type
.
GetMethods
(
methodName
,
bindingType
);
var
baseMethods
=
GetMethodsRecursively
(
type
.
BaseType
,
methodName
,
bindingType
);
var
baseMethods
=
GetMethodsRecursively
(
type
.
BaseType
,
methodName
,
bindingType
);
return
methods
.
Concat
(
baseMethods
).
ToArray
();
return
methods
.
Concat
(
baseMethods
).
ToArray
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment