79 references to Object
mscorlib (14)
system\convert.cs (5)
178
return TypeCode.
Object
;
207
if (value == null && (typeCode == TypeCode.Empty || typeCode == TypeCode.String || typeCode == TypeCode.
Object
)) {
250
case TypeCode.
Object
:
307
if (rtTargetType == ConvertTypes[(int)TypeCode.
Object
])
378
if (rtConversionType==ConvertTypes[(int)TypeCode.
Object
])
system\reflection\emit\customattributebuilder.cs (1)
159
if (paramTC != TypeCode.
Object
|| !ValidateType(constructorArgs[i].GetType()))
system\rttype.cs (2)
3633
typeCode = TypeCode.
Object
;
3641
typeCode = TypeCode.
Object
;
system\runtime\serialization\formatters\binary\binaryconverter.cs (3)
409
typeCodeATemp[(int)InternalPrimitiveTypeE.Invalid] = TypeCode.
Object
;
420
typeCodeATemp[(int)InternalPrimitiveTypeE.TimeSpan] = TypeCode.
Object
;
443
codeATemp[(int)TypeCode.
Object
] = InternalPrimitiveTypeE.Invalid;
system\stubhelpers.cs (1)
1046
case TypeCode.
Object
:
system\type.cs (1)
250
return TypeCode.
Object
;
system\variant.cs (1)
459
case TypeCode.
Object
:
System.AddIn.Contract (14)
System\Addin\Contract\RemoteArgument.cs (14)
111
if ((typeCodeToUse == TypeCode.
Object
) && (contractValue == null) && (value != null))
123
else if ((convertibleValue == null) && (value != null) && (arrayValue == null) && (typeCodeToUse != TypeCode.
Object
) && (typeCodeToUse != TypeCode.Empty))
135
if ((arrayTypeCode == TypeCode.
Object
) || (arrayTypeCode != typeCodeToUse))
299
case TypeCode.
Object
:
323
this.intrinsicTypeCode = TypeCode.
Object
;
331
this.intrinsicTypeCode = TypeCode.
Object
;
356
if (typeCode == TypeCode.
Object
||
363
if (typeCode != TypeCode.
Object
)
694
if (Type.GetTypeCode(array.GetType().GetElementType()) == TypeCode.
Object
)
716
if (Type.GetTypeCode(array.GetType().GetElementType()) == TypeCode.
Object
)
775
this.intrinsicTypeCode == TypeCode.
Object
)
790
this.intrinsicTypeCode == TypeCode.
Object
)
1418
this.intrinsicTypeCode != TypeCode.
Object
)
1433
this.intrinsicTypeCode != TypeCode.
Object
)
System.Core (3)
Microsoft\Scripting\Ast\ParameterExpression.cs (1)
59
case TypeCode.
Object
:
Microsoft\Scripting\Compiler\ILGen.cs (1)
987
case TypeCode.
Object
:
Microsoft\Scripting\Compiler\StackSpiller.cs (1)
981
if (instance != null && instance.Type.IsValueType && Type.GetTypeCode(instance.Type) == TypeCode.
Object
) {
System.Data (8)
fx\src\data\System\Data\Common\DataStorage.cs (2)
21
Object = TypeCode.
Object
,
331
if (TypeCode.
Object
!= tcode) { // enum -> Int64/Int32/Int16/Byte
fx\src\data\System\Data\Common\ObjectStorage.cs (1)
392
if (Type.GetTypeCode(value.GetType()) != TypeCode.
Object
) {
fx\src\data\System\Data\Odbc\Odbc32.cs (1)
896
case TypeCode.
Object
:
fx\src\data\System\Data\OleDb\OLEDB_Enum.cs (1)
297
case TypeCode.
Object
: return NativeDBType.D_Variant;
fx\src\data\System\Data\Sql\SqlMetaData.cs (2)
1065
case TypeCode.
Object
:
1165
case TypeCode.
Object
:
fx\src\data\System\Data\SqlClient\SqlEnums.cs (1)
287
case TypeCode.
Object
:
System.Data.Entity (3)
System\Data\Metadata\Edm\Provider\ClrProviderManifest.cs (1)
125
case TypeCode.
Object
:
System\Data\Metadata\TypeHelpers.cs (1)
705
case TypeCode.
Object
:
System\Data\SqlClient\SqlProviderServices.cs (1)
415
Type.GetTypeCode(value.GetType()) == TypeCode.
Object
)
System.Data.Linq (8)
SqlClient\Common\TypeSystem.cs (1)
219
case TypeCode.
Object
:
SqlClient\Query\SqlFormatter.cs (1)
1267
case TypeCode.
Object
: {
SqlClient\Reader\ObjectReaderCompiler.cs (1)
2051
case TypeCode.
Object
:
SqlClient\SqlBuilder.cs (2)
228
case TypeCode.
Object
:
278
case TypeCode.
Object
:
SqlClient\SqlTypeSystemProvider.cs (3)
1445
case TypeCode.
Object
: {
1521
if (System.Type.GetTypeCode(type) == TypeCode.
Object
&&
1565
case TypeCode.
Object
: {
System.Data.Services (2)
System\Data\Services\Parsing\RequestQueryParser.cs (2)
658
TypeCode sourceCode = sourceType.IsEnum ? TypeCode.
Object
: Type.GetTypeCode(sourceType);
659
TypeCode targetCode = targetType.IsEnum ? TypeCode.
Object
: Type.GetTypeCode(targetType);
System.Data.SqlXml (2)
System\Xml\Xsl\XsltOld\NumberAction.cs (1)
327
if (Type.GetTypeCode(value.GetType()) == TypeCode.
Object
) {
System\Xml\Xsl\XsltOld\XsltCompileContext.cs (1)
460
case TypeCode.
Object
:
System.Runtime.Serialization (9)
System\Runtime\Serialization\CodeGenerator.cs (4)
434
if ((typeCode == TypeCode.
Object
&& type.IsValueType) ||
1093
case TypeCode.
Object
:
1371
case TypeCode.
Object
:
1436
case TypeCode.
Object
:
System\Runtime\Serialization\ExtensionDataReader.cs (1)
711
case TypeCode.
Object
:
System\Runtime\Serialization\XmlReaderDelegator.cs (2)
270
case TypeCode.
Object
:
325
case TypeCode.
Object
:
System\Runtime\Serialization\XmlWriterDelegator.cs (2)
341
case TypeCode.
Object
:
418
case TypeCode.
Object
:
System.ServiceModel (4)
System\ServiceModel\Dispatcher\CodeGenerator.cs (3)
465
case TypeCode.
Object
:
998
case TypeCode.
Object
:
1035
case TypeCode.
Object
:
System\ServiceModel\Dispatcher\PrimitiveOperationFormatter.cs (1)
359
case TypeCode.
Object
:
System.Web (3)
UI\WebControls\Parameter.cs (3)
295
if (type == TypeCode.
Object
|| type == TypeCode.Empty) {
482
return TypeCode.
Object
;
522
case TypeCode.
Object
:
System.Web.DynamicData (2)
DynamicData\DataSourceUtil.cs (2)
43
typeNameToTypeCode[typeof(Guid)] = TypeCode.
Object
;
57
return TypeCode.
Object
;
System.Web.Entity (2)
System\Data\WebControls\EntityDataSourceUtil.cs (1)
351
case TypeCode.
Object
:
System\Data\WebControls\EntityDataSourceView.cs (1)
1727
if (parameter.TypeCode == TypeCode.
Object
|| parameter.TypeCode == TypeCode.Empty)
System.Web.Extensions (2)
UI\WebControls\Dynamic.cs (2)
1597
TypeCode sc = st.IsEnum ? TypeCode.
Object
: Type.GetTypeCode(st);
1598
TypeCode tc = tt.IsEnum ? TypeCode.
Object
: Type.GetTypeCode(tt);
System.Workflow.Activities (1)
Rules\RuleValidation.cs (1)
2661
case TypeCode.
Object
:
System.Xml (2)
System\Xml\Serialization\CodeGenerator.cs (1)
1112
case TypeCode.
Object
:
System\Xml\Serialization\XmlSerializationWriter.cs (1)
1180
if (Convert.GetTypeCode(o) == TypeCode.
Object
&& !(o is Guid) && (t != typeof(XmlQualifiedName)) && !(o is XmlNode[]) && (t != typeof(byte[]))) {