80 references to DateTime
mscorlib (10)
system\convert.cs (3)
246
case TypeCode.
DateTime
:
303
if (rtTargetType == ConvertTypes[(int)TypeCode.
DateTime
])
374
if (rtConversionType==ConvertTypes[(int)TypeCode.
DateTime
])
system\datetime.cs (1)
1574
return TypeCode.
DateTime
;
system\diagnostics\eventing\eventsource.cs (1)
6759
case TypeCode.
DateTime
:
system\rttype.cs (2)
3628
else if (this == Convert.ConvertTypes[(int)TypeCode.
DateTime
])
3629
typeCode = TypeCode.
DateTime
;
system\runtime\serialization\formatters\binary\binaryconverter.cs (2)
421
typeCodeATemp[(int)InternalPrimitiveTypeE.DateTime] = TypeCode.
DateTime
;
460
codeATemp[(int)TypeCode.
DateTime
] = InternalPrimitiveTypeE.DateTime;
system\variant.cs (1)
519
case TypeCode.
DateTime
:
System.AddIn.Contract (5)
System\Addin\Contract\RemoteArgument.cs (5)
177
case TypeCode.
DateTime
:
437
this.intrinsicTypeCode = TypeCode.
DateTime
;
445
this.intrinsicTypeCode = TypeCode.
DateTime
;
942
this.intrinsicTypeCode == TypeCode.
DateTime
)
960
this.intrinsicTypeCode == TypeCode.
DateTime
)
System.Core (2)
Microsoft\Scripting\Ast\ParameterExpression.cs (1)
52
case TypeCode.
DateTime
: return new PrimitiveParameterExpression<DateTime>(name);
Microsoft\Scripting\Compiler\ILGen.cs (1)
988
case TypeCode.
DateTime
:
System.Data (8)
fx\src\data\Microsoft\SqlServer\Server\MetadataUtilsSmi.cs (1)
267
else if (Type.GetTypeCode(value.GetType()) == TypeCode.
DateTime
)
fx\src\data\System\Data\Common\DataStorage.cs (1)
36
DateTime = TypeCode.
DateTime
, // 16
fx\src\data\System\Data\Common\ObjectStorage.cs (1)
184
case TypeCode.
DateTime
: return Families.DATETIME;
fx\src\data\System\Data\Odbc\Odbc32.cs (1)
927
case TypeCode.
DateTime
: return _DateTime;
fx\src\data\System\Data\OleDb\OLEDB_Enum.cs (1)
312
case TypeCode.
DateTime
: return NativeDBType.D_DBTimeStamp;
fx\src\data\System\Data\Sql\SqlMetaData.cs (2)
1051
case TypeCode.
DateTime
: value = this.Adjust((DateTime)value); break;
1135
case TypeCode.
DateTime
: smd = new SqlMetaData(name, SqlDbType.DateTime); break;
fx\src\data\System\Data\SqlClient\SqlEnums.cs (1)
382
case TypeCode.
DateTime
: return MetaDateTime;
System.Data.Entity (3)
System\Data\Common\Internal\Materialization\Translator.cs (1)
2181
case TypeCode.
DateTime
:
System\Data\Metadata\Edm\Provider\ClrProviderManifest.cs (1)
93
case TypeCode.
DateTime
:
System\Data\Metadata\TypeHelpers.cs (1)
759
case TypeCode.
DateTime
:
System.Data.Linq (5)
SqlClient\Common\TypeSystem.cs (1)
217
case TypeCode.
DateTime
:
SqlClient\Query\SqlFormatter.cs (1)
1246
case TypeCode.
DateTime
:
SqlClient\SqlBuilder.cs (1)
275
case TypeCode.
DateTime
:
SqlClient\SqlTypeSystemProvider.cs (2)
1443
case TypeCode.
DateTime
:
1563
case TypeCode.
DateTime
:
System.Data.SqlXml (1)
System\Xml\Xsl\XsltOld\XsltCompileContext.cs (1)
472
case TypeCode.
DateTime
:
System.Runtime.Serialization (13)
System\Runtime\Serialization\CodeGenerator.cs (3)
435
typeCode == TypeCode.
DateTime
|| typeCode == TypeCode.Decimal)
845
case TypeCode.
DateTime
:
1095
case TypeCode.
DateTime
:
System\Runtime\Serialization\DataContract.cs (1)
816
case TypeCode.
DateTime
:
System\Runtime\Serialization\ExtensionDataReader.cs (1)
692
case TypeCode.
DateTime
:
System\Runtime\Serialization\Json\JsonFormatReaderGenerator.cs (1)
969
case TypeCode.
DateTime
:
System\Runtime\Serialization\Json\JsonFormatWriterGenerator.cs (1)
606
case TypeCode.
DateTime
:
System\Runtime\Serialization\XmlFormatReaderGenerator.cs (1)
809
case TypeCode.
DateTime
:
System\Runtime\Serialization\XmlFormatWriterGenerator.cs (1)
598
case TypeCode.
DateTime
:
System\Runtime\Serialization\XmlReaderDelegator.cs (2)
255
case TypeCode.
DateTime
:
311
case TypeCode.
DateTime
:
System\Runtime\Serialization\XmlWriterDelegator.cs (2)
321
case TypeCode.
DateTime
:
398
case TypeCode.
DateTime
:
System.ServiceModel (9)
System\ServiceModel\Dispatcher\CodeGenerator.cs (2)
467
case TypeCode.
DateTime
:
1166
case TypeCode.
DateTime
:
System\ServiceModel\Dispatcher\PrimitiveOperationFormatter.cs (7)
252
case TypeCode.
DateTime
:
351
case TypeCode.
DateTime
:
377
case TypeCode.
DateTime
:
731
case TypeCode.
DateTime
:
820
case TypeCode.
DateTime
:
865
case TypeCode.
DateTime
:
912
case TypeCode.
DateTime
:
System.ServiceModel.Web (3)
System\ServiceModel\Dispatcher\JsonQueryStringConverter.cs (1)
72
case TypeCode.
DateTime
:
System\ServiceModel\Dispatcher\QueryStringConverter.cs (2)
114
case TypeCode.
DateTime
:
213
case TypeCode.
DateTime
:
System.Web (2)
UI\WebControls\Parameter.cs (2)
458
return TypeCode.
DateTime
;
496
case TypeCode.
DateTime
: // Used for Date, DateTime and DateTime2 DbTypes
System.Web.DynamicData (1)
DynamicData\DataSourceUtil.cs (1)
32
typeNameToTypeCode[typeof(DateTime)] = TypeCode.
DateTime
;
System.Web.Entity (1)
System\Data\WebControls\EntityDataSourceUtil.cs (1)
327
case TypeCode.
DateTime
:
System.Workflow.ComponentModel (1)
AuthoringOM\Compiler\TypeSystem\RTTypeWrapper.cs (1)
592
case TypeCode.
DateTime
:
System.Xml (16)
System\Xml\Schema\XmlAtomicValue.cs (9)
79
this.clrType = TypeCode.
DateTime
;
189
case TypeCode.
DateTime
: return valueConverter.ChangeType(this.unionVal.dtVal, ValueType);
207
case TypeCode.
DateTime
: return valueConverter.ToBoolean(this.unionVal.dtVal);
226
case TypeCode.
DateTime
: return this.unionVal.dtVal;
246
case TypeCode.
DateTime
: return valueConverter.ToDouble(this.unionVal.dtVal);
265
case TypeCode.
DateTime
: return valueConverter.ToInt32(this.unionVal.dtVal);
284
case TypeCode.
DateTime
: return valueConverter.ToInt64(this.unionVal.dtVal);
305
case TypeCode.
DateTime
: return valueConverter.ChangeType(this.unionVal.dtVal, type);
323
case TypeCode.
DateTime
: return valueConverter.ToString(this.unionVal.dtVal);
System\Xml\Serialization\CodeGenerator.cs (1)
1102
case TypeCode.
DateTime
:
System\Xml\Serialization\Types.cs (1)
518
case TypeCode.
DateTime
: return true;
System\Xml\Serialization\XmlSerializationWriter.cs (3)
189
case TypeCode.
DateTime
: typeName = "dateTime"; break;
262
case TypeCode.
DateTime
:
3111
case TypeCode.
DateTime
:
System\Xml\Serialization\XmlSerializer.cs (2)
764
case TypeCode.
DateTime
:
835
case TypeCode.
DateTime
: