5 references to TryGetReferencedType
System.Private.DataContractSerialization (5)
System\Runtime\Serialization\DataContractSet.cs (2)
533if (TryGetReferencedType(xmlName, null, out type)) 552if (TryGetReferencedType(xmlName, dataContract, out type))
System\Runtime\Serialization\SchemaImporter.cs (3)
503if (_dataContractSet.TryGetReferencedType(typeName, dataContract, out referencedType) 504|| (string.IsNullOrEmpty(type.Name) && _dataContractSet.TryGetReferencedType(ImportActualType(type.Annotation, typeName, typeName), dataContract, out referencedType))) 740if (_dataContractSet.TryGetReferencedType(xlinqTypeName, null, out referencedType)