12 references to ToOADate
Microsoft.CSharp (1)
src\runtime\src\libraries\Common\src\System\Runtime\InteropServices\BuiltInVariantExtensions.cs (1)
98
variant.GetByRefDataRef<double>() = ((DateTime)value).
ToOADate
();
Microsoft.VisualBasic.Core (2)
Microsoft\VisualBasic\CompilerServices\VB6File.vb (2)
1138
dbl = dt.
ToOADate
()
1837
m_bw.Write(CDbl(DateType.FromObject(obj).
ToOADate
()))
PresentationCore (4)
MS\Internal\Ink\InkSerializedFormat\CustomAttributeSerializer.cs (4)
165
bw.Write(data[i].
ToOADate
());
258
bw.Write(data.
ToOADate
());
930
writer.Write(data[i].
ToOADate
());
936
writer.Write(data.
ToOADate
());
System.Data.OleDb (1)
ColumnBinding.cs (1)
820
RowBinding.WriteDouble(ValueOffset, value.
ToOADate
());
System.Private.CoreLib (2)
Internal\Runtime\CompilerHelpers\InteropHelpers.cs (1)
197
return value.
ToOADate
();
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\Marshalling\ComVariant.cs (1)
292
variant._typeUnion._unionTypes._date = ((DateTime)(object)value).
ToOADate
();
System.Runtime.InteropServices (1)
System\Runtime\InteropServices\Marshalling\ComVariantMarshaller.cs (1)
318
*(double*)_unmanaged.GetRawDataRef<nint>() = dt.
ToOADate
();
System.Windows.Forms (1)
System\Windows\Forms\ActiveX\AxHost.cs (1)
3811
return time.
ToOADate
();