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