45 references to TypeOfObject
dotnet-svcutil-lib (45)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\ClassDataContract.cs (2)
800
if (baseType != null && baseType != Globals.
TypeOfObject
&& baseType != Globals.TypeOfValueType && baseType != Globals.TypeOfUri)
1088
field.FieldType != Globals.
TypeOfObject
; // Don't really know how to serialize plain System.Object instance;
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\CodeExporter.cs (3)
831
type.BaseTypes.Add(Globals.
TypeOfObject
);
1194
type.BaseTypes.Add(Globals.
TypeOfObject
);
1759
left = new CodeMethodInvokeExpression(new CodeTypeReferenceExpression(Globals.
TypeOfObject
),
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\CodeGenerator.cs (3)
62
s_objectEquals = Globals.
TypeOfObject
.GetMethod("Equals", BindingFlags.Public | BindingFlags.Static);
423
ConvertValue(type, Globals.
TypeOfObject
);
425
ConvertValue(type, Globals.
TypeOfObject
);
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\CollectionDataContract.cs (7)
996
itemType = Globals.
TypeOfObject
;
1006
bool isBaseTypeCollection = (baseType != null && baseType != Globals.
TypeOfObject
1066
itemType = Globals.
TypeOfObject
;
1130
itemType = knownInterfaceType.GetTypeInfo().IsGenericType ? knownInterfaceType.GetGenericArguments()[0] : Globals.
TypeOfObject
;
1159
addMethodTypeArray = new Type[] { Globals.
TypeOfObject
, Globals.
TypeOfObject
};
1168
itemType = Globals.
TypeOfObject
;
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\DataContract.cs (1)
811
type = Globals.
TypeOfObject
;
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\DataContractSerializer.cs (1)
466
objType = obj != null ? obj.GetType() : Globals.
TypeOfObject
;
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\ExceptionDataContract.cs (3)
156
if (baseType != null && baseType != Globals.
TypeOfObject
&& type != Globals.TypeOfException)
351
field.FieldType != Globals.
TypeOfObject
; // Don't really know how to serialize plain System.Object instance
545
if (primitiveContract == null || primitiveContract.UnderlyingType == Globals.
TypeOfObject
)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\Globals.cs (2)
886
s_typeOfHashtable = TypeOfDictionaryGeneric.MakeGenericType(
TypeOfObject
,
TypeOfObject
);
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\SchemaImporter.cs (2)
208
return dataContract is PrimitiveDataContract && ((PrimitiveDataContract)dataContract).UnderlyingType == Globals.
TypeOfObject
;
1346
DataContractSerializer serializer = new DataContractSerializer(Globals.
TypeOfObject
, dictionary.Add(name), dictionary.Add(DataContract.GetNamespace(ns)), knownTypes,
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlFormatReaderGenerator.cs (7)
230
_ilg.ConvertValue(Globals.
TypeOfObject
, type);
391
if ((primitiveContract != null && primitiveContract.UnderlyingType != Globals.
TypeOfObject
) || nullables != 0 || type.GetTypeInfo().IsValueType)
430
if (primitiveContract != null && primitiveContract.UnderlyingType != Globals.
TypeOfObject
)
448
_ilg.ConvertValue(Globals.
TypeOfObject
, type);
480
_ilg.ConvertValue(Globals.
TypeOfObject
, type);
648
_ilg.ConvertValue(Globals.
TypeOfObject
, type);
757
_ilg.ConvertValue(Globals.
TypeOfObject
, itemType);
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlFormatWriterGenerator.cs (10)
371
keyValueTypes = new Type[] { Globals.
TypeOfObject
, Globals.
TypeOfObject
};
446
_ilg.ConvertValue(currentValue.LocalType, Globals.
TypeOfObject
);
463
if (primitiveContract == null || primitiveContract.UnderlyingType == Globals.
TypeOfObject
)
581
if (primitiveContract != null && primitiveContract.UnderlyingType != Globals.
TypeOfObject
&& !writeXsiType)
594
if (memberType == Globals.
TypeOfObject
||//boxed Nullable<T>
599
_ilg.ConvertValue(memberValue.LocalType, Globals.
TypeOfObject
);
600
memberValue = _ilg.DeclareLocal(Globals.
TypeOfObject
, "unwrappedMemberValue");
610
if (memberType == Globals.
TypeOfObject
) //boxed Nullable<T>
622
_ilg.ConvertValue(memberValue.LocalType, Globals.
TypeOfObject
);
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlObjectSerializer.cs (1)
345
DataContract objectContract = PrimitiveDataContract.GetPrimitiveDataContract(Globals.
TypeOfObject
);
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlObjectSerializerWriteContext.cs (1)
117
Type declaredType = Globals.
TypeOfObject
;
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlObjectSerializerWriteContextComplex.cs (1)
268
declaredType = Globals.
TypeOfObject
;
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlWriterDelegator.cs (1)
352
else if (valueType == Globals.
TypeOfObject
)