Skip to content

Commit feb68b6

Browse files
committed
Update vbObject.vb
1 parent 611582a commit feb68b6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

R#/Runtime/Internal/objects/dataset/vbObject.vb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,8 +171,10 @@ Namespace Runtime.Internal.Object
171171
Private Shared Iterator Function propertyParserInternal(p As PropertyInfo) As IEnumerable(Of NamedValue(Of PropertyInfo))
172172
Dim attrs = p.CustomAttributes.ToArray
173173
Dim name As String
174-
Dim nameAttr As CustomAttributeNamedArgument
175174
Dim typeAttr As CustomAttributeTypedArgument
175+
#If NETCOREAPP Then
176+
Dim nameAttr As CustomAttributeNamedArgument
177+
#End If
176178

177179
' Column
178180
Yield New NamedValue(Of PropertyInfo)(p.Name, p)

0 commit comments

Comments
 (0)