1 write to UnderlyingType
dotnet-svcutil-lib (1)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\DataContract.cs (1)
268set { _helper.UnderlyingType = value; }
29 references to UnderlyingType
dotnet-svcutil-lib (29)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\ClassDataContract.cs (7)
851Globals.TypeOfScriptObject_IsAssignableFrom(this.UnderlyingType); 927Type type = this.UnderlyingType; 1194if (!_isMethodChecked && UnderlyingType != null) 1200Type type = this.UnderlyingType; 1308if (!_isKnownTypeAttributeChecked && UnderlyingType != null) 1314_knownDataContracts = DataContract.ImportKnownTypeAttributes(this.UnderlyingType); 1394Type type = UnderlyingType;
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\CollectionDataContract.cs (10)
631throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(string.Format(SRSerialization.InvalidCollectionContractItemName, DataContract.GetClrTypeFullName(UnderlyingType)))); 638throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(string.Format(SRSerialization.InvalidCollectionContractKeyName, DataContract.GetClrTypeFullName(UnderlyingType)))); 640throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(string.Format(SRSerialization.InvalidCollectionContractKeyNoDictionary, DataContract.GetClrTypeFullName(UnderlyingType), collectionContractAttribute.KeyName))); 646throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(string.Format(SRSerialization.InvalidCollectionContractValueName, DataContract.GetClrTypeFullName(UnderlyingType)))); 648throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(string.Format(SRSerialization.InvalidCollectionContractValueNoDictionary, DataContract.GetClrTypeFullName(UnderlyingType), collectionContractAttribute.ValueName))); 734if (_itemContract == null && UnderlyingType != null) 741string.Format(SRSerialization.DupKeyValueName, DataContract.GetClrTypeFullName(UnderlyingType), KeyName), 742UnderlyingType); 837if (!_isKnownTypeAttributeChecked && UnderlyingType != null) 843_knownDataContracts = DataContract.ImportKnownTypeAttributes(this.UnderlyingType);
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\DataContract.cs (4)
267{ return _helper.UnderlyingType; } 1238MethodInfo method = UnderlyingType.GetMethod(Globals.ParseMethodName, BindingFlags.Public | BindingFlags.Static, new Type[] { typeof(string) }); 1240if (method != null && method.ReturnType == UnderlyingType) 1277ThrowInvalidDataContractException(message, UnderlyingType);
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\EnumDataContract.cs (1)
273Type type = this.UnderlyingType;
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\ExceptionDataContract.cs (2)
253Type type = this.UnderlyingType; 305Type type = this.UnderlyingType;
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlDataContract.cs (5)
248object[] xmlRootAttributes = (UnderlyingType == null) ? null : UnderlyingType.GetTypeInfo().GetCustomAttributes(Globals.TypeOfXmlRootAttribute, false).ToArray(); 270throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(string.Format(SRSerialization.IsAnyCannotHaveXmlRoot, DataContract.GetClrTypeFullName(UnderlyingType)))); 280if (!_isKnownTypeAttributeChecked && UnderlyingType != null) 286_knownDataContracts = DataContract.ImportKnownTypeAttributes(this.UnderlyingType);