12 references to ToOADate
Microsoft.CSharp (1)
src\runtime\src\libraries\Common\src\System\Runtime\InteropServices\BuiltInVariantExtensions.cs (1)
98variant.GetByRefDataRef<double>() = ((DateTime)value).ToOADate();
Microsoft.VisualBasic.Core (2)
Microsoft\VisualBasic\CompilerServices\VB6File.vb (2)
1138dbl = dt.ToOADate() 1837m_bw.Write(CDbl(DateType.FromObject(obj).ToOADate()))
PresentationCore (4)
MS\Internal\Ink\InkSerializedFormat\CustomAttributeSerializer.cs (4)
165bw.Write(data[i].ToOADate()); 258bw.Write(data.ToOADate()); 930writer.Write(data[i].ToOADate()); 936writer.Write(data.ToOADate());
System.Data.OleDb (1)
ColumnBinding.cs (1)
820RowBinding.WriteDouble(ValueOffset, value.ToOADate());
System.Private.CoreLib (2)
Internal\Runtime\CompilerHelpers\InteropHelpers.cs (1)
197return value.ToOADate();
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\Marshalling\ComVariant.cs (1)
292variant._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)
3811return time.ToOADate();