2 implementations of GetParameterCount
System.Runtime.Serialization (2)
System\Runtime\Serialization\DataContract.cs (2)
2478
public int
GetParameterCount
()
2595
public int
GetParameterCount
()
2 references to GetParameterCount
System.Runtime.Serialization (2)
System\Runtime\Serialization\DataContract.cs (2)
2006
if (!Int32.TryParse(format.Substring(start, i - start), out paramIndex) || paramIndex < 0 || paramIndex >= genericNameProvider.
GetParameterCount
())
2007
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(SR.GetString(SR.GenericParameterNotValid, format.Substring(start, i - start), genericNameProvider.GetGenericTypeName(), genericNameProvider.
GetParameterCount
() - 1)));