Skip to content

Commit 6fe2c71

Browse files
committed
Merge branch 'master' of https://github.com/yanghuan/CSharp.lua
2 parents 4ff551b + b0c0afe commit 6fe2c71

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎CSharp.lua/CoreSystem.Lua/CoreSystem/Reflection/Assembly.lua‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ local FieldInfo = define("System.Reflection.FieldInfo", {
219219
if type(metadata[index]) == "string" then
220220
index = 5
221221
end
222-
return fillMetadataCustomAttributes(t, metadata, index, attributeType)
222+
fillMetadataCustomAttributes(t, metadata, index, attributeType)
223223
end
224224
return arrayFromTable(t, System.Attribute)
225225
end
@@ -353,7 +353,7 @@ local PropertyInfo = define("System.Reflection.PropertyInfo", {
353353
local metadata = this.metadata
354354
if metadata then
355355
local index = getPropertyAttributesIndex(metadata)
356-
return fillMetadataCustomAttributes(t, metadata, index, attributeType)
356+
fillMetadataCustomAttributes(t, metadata, index, attributeType)
357357
end
358358
return arrayFromTable(t, System.Attribute)
359359
end
@@ -467,7 +467,7 @@ local MethodInfo = define("System.Reflection.MethodInfo", {
467467
local metadata = this.metadata
468468
if metadata then
469469
local index = getMethodAttributesIndex(metadata)
470-
return fillMetadataCustomAttributes(t, metadata, index, attributeType)
470+
fillMetadataCustomAttributes(t, metadata, index, attributeType)
471471
end
472472
return arrayFromTable(t, System.Attribute)
473473
end

0 commit comments

Comments
 (0)