If I decompile an assembly which contains a VB.NET class with this property (note that the assignment statement in the Setter uses Value with an uppper-case V)
I get the following C# code which contains the upper-case Value (which is invalid):
Public
Property
ArchiveDateTime
As
DateTime
Get
Dim
dateTime
As
DateTime =
Me
.mdtmArchiveDateTime
Return
dateTime
End
Get
Set
(
ByVal
value
As
DateTime)
Me
.mdtmArchiveDateTime = Value
End
Set
End
Property
I get the following C# code which contains the upper-case Value (which is invalid):
public
DateTime ArchiveDateTime
{
get
{
DateTime dateTime =
this
.mdtmArchiveDateTime;
return
dateTime;
}
set
{
this
.mdtmArchiveDateTime = Value;
}
}