4 overrides of ParameterType
mscorlib (1)
system\reflection\parameterinfo.cs (1)
507public override Type ParameterType
System.Workflow.Activities (1)
Rules\RuleValidation.cs (1)
305public override Type ParameterType
System.Workflow.ComponentModel (2)
AuthoringOM\Compiler\TypeSystem\ParameterInfo.cs (1)
44public override Type ParameterType
AuthoringOM\Compiler\TypeSystem\RTTypeWrapper.cs (1)
1282public override Type ParameterType
490 references to ParameterType
ComSvcConfig (2)
ComplusTypeValidator.cs (2)
134Type typeOfParam = parameter.ParameterType; 260Type typeOfParam = parameter.ParameterType;
mscorlib (73)
system\attribute.cs (1)
390indexParamTypes[i] = indexParams[i].ParameterType;
system\defaultbinder.cs (16)
152if (!par[j].ParameterType.IsArray) 158paramArrayType = par[j].ParameterType.GetElementType(); 168if (!par[lastArgPos].ParameterType.IsArray) 177paramArrayType = par[lastArgPos].ParameterType.GetElementType(); 185if (par[lastArgPos].ParameterType.IsArray 189if (!par[lastArgPos].ParameterType.IsAssignableFrom(argTypes[lastArgPos])) 190paramArrayType = par[lastArgPos].ParameterType.GetElementType(); 204pCls = par[j].ParameterType; 546Type pCls = par[j].ParameterType; 629Type pCls = par[j]. ParameterType; 755Type pCls = par[j]. ParameterType; 792Type pCls = par[j].ParameterType; 844c1 = p1[paramOrder1[i]].ParameterType; 849c2 = p2[paramOrder2[i]].ParameterType; 1043if (params1[i].ParameterType != params2[i].ParameterType)
system\delegate.cs (1)
278declaringType = (RuntimeType)invoke.GetParameters()[0].ParameterType;
system\diagnostics\eventing\eventsource.cs (5)
1770Type dataType = m_eventData[eventId].Parameters[parameterId].ParameterType; 2096Type pType = infos[i].ParameterType; 2123if(info.ParameterType == typeof(byte[])) 3489manifest.AddEventParameter(args[fieldIdx].ParameterType, args[fieldIdx].Name); 3583if (args.Length > 0 && args[0].ParameterType == typeof(Guid) &&
System\Diagnostics\Eventing\TraceLogging\TraceLoggingEventTypes.cs (1)
220result[i] = Statics.GetTypeInfoInstance(paramInfos[i].ParameterType, recursionCheck);
system\diagnostics\stacktrace.cs (2)
707if (pi[j].ParameterType != null) 708typeName = pi[j].ParameterType.Name;
system\reflection\customattribute.cs (1)
378m_ctorParams[i] = new CustomAttributeCtorParameter(InitCustomAttributeType((RuntimeType)parameters[i].ParameterType));
system\reflection\emit\dynamicilgenerator.cs (1)
506parameterTypes[i] = paramInfo[i].ParameterType;
system\reflection\emit\modulebuilder.cs (3)
571parameterTypes[i] = parameters[i].ParameterType; 1879tt[i] = paramInfo[i].ParameterType; 1900parameterTypes[i] = parameters[i].ParameterType;
system\reflection\eventinfo.cs (4)
149if (parameters[0].ParameterType == typeof(System.Runtime.InteropServices.WindowsRuntime.EventRegistrationToken)) 153Contract.Assert(parameters[0].ParameterType.BaseType == typeof(MulticastDelegate)); 171Type c = p[i].ParameterType; 299return m_addMethod.GetParametersNoCopy()[0].ParameterType.FormatTypeName() + " " + Name;
system\reflection\methodbase.cs (1)
332parameterTypes[i] = paramInfo[i].ParameterType;
system\reflection\parameterinfo.cs (1)
144return ParameterType.FormatTypeName() + " " + Name;
system\rttype.cs (4)
2606if (!lastParameter.ParameterType.IsArray) 2631if ((object)argumentTypes[i] != null && !Object.ReferenceEquals(parameterInfos[i].ParameterType, argumentTypes[i])) 5632if (aParams[i].ParameterType.IsByRef) 5666Type paramType = aParams[i].ParameterType.GetElementType();
system\runtime\compilerservices\decimalconstantattribute.cs (1)
72if (parameters[2].ParameterType == typeof(uint))
system\Runtime\InteropServices\ComEventsMethod.cs (4)
85if (pi.ParameterType.IsByRef && 86pi.ParameterType.HasElementType && 87pi.ParameterType.GetElementType().IsEnum) { 90enumTypes[i] = pi.ParameterType.GetElementType();
system\runtime\interopservices\registrationservices.cs (3)
1034(aParams[0].ParameterType != typeof(String) && aParams[0].ParameterType != typeof(Type))) 1053if(aParams[0].ParameterType == typeof(String))
system\runtime\interopservices\tceadaptergen\eventsinkhelperwriter.cs (3)
70Type DelegateCls = aParams[0].ParameterType; 103parameters[i] = PIs[i].ParameterType; 136parameterTypes[i] = paramInfos[i].ParameterType;
system\runtime\remoting\channelsinkstacks.cs (1)
467if (syncParams[co].IsOut || syncParams[co].ParameterType.IsByRef)
system\runtime\remoting\message.cs (14)
479methodSig[i] = paramArray[i].ParameterType; 531Type pt = currentPi.ParameterType; 3358Type parameterType = parameters[j].ParameterType; 3504args[position] = Message.SoapCoerceArg(info.GetValue(memberName, typeof(Object)), pinfos[position].ParameterType, keyToNamespaceTable); 3513Message.SoapCoerceArg(info.GetValue(memberName, typeof(Object)), pinfos[marshalRequestArgMap[i]].ParameterType, keyToNamespaceTable); 3529Type type = parameterInfos[outArg].ParameterType.GetElementType(); 4280if (pinfos[i].ParameterType.IsByRef) 4281paramTypes[paramTypesIndex++] = pinfos[i].ParameterType.GetElementType(); 4283paramTypes[paramTypesIndex++] = pinfos[i].ParameterType; 4490outArgs[position]= Message.SoapCoerceArg(info.GetValue(memberName, typeof(Object)), pinfos[position].ParameterType, keyToNamespaceTable); 4506outArgs[position] = Message.SoapCoerceArg(info.GetValue(memberName, typeof(Object)), pinfos[position].ParameterType, keyToNamespaceTable); 5340ret[i] = pi[_map[i]].ParameterType; 5397bool bIsByRef = param.ParameterType.IsByRef; // (ref or normal) 5471bool bIsByRef = param.ParameterType.IsByRef; // (ref or normal)
system\runtime\remoting\realproxy.cs (2)
489if (param.IsIn && param.ParameterType.IsByRef) 515ValidateReturnArg(outArgs[index], parameters[index].ParameterType);
system\runtime\remoting\remotingservices.cs (4)
2069if (param.ParameterType.IsByRef) 2135if ((pi.ParameterType != param.ParameterType) || 2143if (((Type)obj != param.ParameterType) && param.IsIn)
PresentationBuildTasks (8)
BuildTasks\Ms\Internal\MarkupCompiler\MarkupCompiler.cs (5)
1797expressions[i] = GetPropertyValueExpression(ctx, parameters[i].ParameterType, args[i], null); 1815expressions[i] = GetPropertyValueExpression(ctx, parameters[i].ParameterType, args[i], null); 1851Debug.Assert(pis != null && pis.Length == 2 && KnownTypes.Types[(int)KnownElements.DependencyObject].IsAssignableFrom(pis[0].ParameterType)); 1852eventHandlerType = pis[1].ParameterType; 2002CodeParameterDeclarationExpression param = new CodeParameterDeclarationExpression(pars[i].ParameterType, pars[i].Name);
Framework\System\Windows\Markup\XamlTypeMapper.cs (3)
1381if (pis == null || pis.Length != 2 || !dependencyObjectType.IsAssignableFrom(pis[0].ParameterType)) 1544if (pis == null || pis.Length != 2 || !dependencyObjectType.IsAssignableFrom(pis[0].ParameterType)) 2154propertyType = parameters.Length == 1 ? methodInfo.ReturnType : parameters[1].ParameterType;
PresentationFramework (21)
src\Framework\MS\Internal\Data\IndexedEnumerable.cs (1)
518if (indexerParameters[0].ParameterType.IsAssignableFrom(typeof(int)))
src\Framework\MS\Internal\Data\PropertyPathWorker.cs (2)
1365Type paramType = (aryPI != null) ? aryPI[i].ParameterType : typeof(Object); 1449if (isIList && aryPI.Length == 1 && aryPI[0].ParameterType == typeof(int))
src\Framework\MS\Internal\Helper.cs (1)
679memberType = parameterInfos[1].ParameterType;
src\Framework\System\Windows\Markup\BamlRecordReader.cs (10)
1634paramInfo.ParameterType != typeof(Object) && 1635paramInfo.ParameterType != param.GetType()) 1639TypeConverter converter = XamlTypeMapper.GetTypeConverter(paramInfo.ParameterType); 1646paramInfo.ParameterType, 1670if (!paramInfo.ParameterType.IsAssignableFrom(param.GetType())) 1675paramInfo.ParameterType); 1692paramInfo.ParameterType.FullName), 1701paramInfo.ParameterType, 3736propertyType = attachedPropertySetter.GetParameters()[1].ParameterType; 3872value = OptionallyMakeNullable(methodInfo.GetParameters()[1].ParameterType, value, methodInfo.Name.Substring("Set".Length));
src\Framework\System\Windows\Markup\BamlRecords.cs (1)
4925validType = paramInfo[1].ParameterType;
src\Framework\System\Windows\Markup\Primitives\ElementMarkupObject.cs (3)
108yield return new ElementConstructorArgument(value, parameters[i++].ParameterType, this); 279if (parameters[0].ParameterType == typeof(DependencyObject)) 283else if (parameters[0].ParameterType == typeof(XamlWriterMode))
src\Framework\System\Windows\Markup\XamlTypeMapper.cs (3)
1381if (pis == null || pis.Length != 2 || !dependencyObjectType.IsAssignableFrom(pis[0].ParameterType)) 1544if (pis == null || pis.Length != 2 || !dependencyObjectType.IsAssignableFrom(pis[0].ParameterType)) 2154propertyType = parameters.Length == 1 ? methodInfo.ReturnType : parameters[1].ParameterType;
System (1)
compmod\system\diagnostics\traceutils.cs (1)
79Type paramtype = ctorparams[0].ParameterType;
System.Activities (19)
Microsoft\VisualBasic\Activities\VisualBasicDesignerHelper.cs (1)
550EnsureTypeReferenced(parameter.ParameterType, false, typeReferences);
System\Activities\Expressions\ExpressionServices.cs (12)
85if (TypeHelper.AreTypesCompatible(declaringType, typeof(Variable)) && calledMethod.Name == "Get" && parameters.Length == 1 && TypeHelper.AreTypesCompatible(parameters[0].ParameterType, typeof(ActivityContext))) 90&& calledMethod.Name == "Get" && parameters.Length == 1 && TypeHelper.AreTypesCompatible(parameters[0].ParameterType, typeof(ActivityContext))) 95&& calledMethod.Name == "Get" && parameters.Length == 1 && TypeHelper.AreTypesCompatible(parameters[0].ParameterType, typeof(ActivityContext))) 100(TypeHelper.AreTypesCompatible(parameters[0].ParameterType, typeof(Argument)) || TypeHelper.AreTypesCompatible(parameters[0].ParameterType, typeof(RuntimeArgument)))) 106(TypeHelper.AreTypesCompatible(parameters[0].ParameterType, typeof(LocationReference)))) 208if (TypeHelper.AreTypesCompatible(declaringType, typeof(Variable)) && calledMethod.Name == "Get" && parameters.Length == 1 && TypeHelper.AreTypesCompatible(parameters[0].ParameterType, typeof(ActivityContext))) 213&& calledMethod.Name == "Get" && parameters.Length == 1 && TypeHelper.AreTypesCompatible(parameters[0].ParameterType, typeof(ActivityContext))) 218&& calledMethod.Name == "Get" && parameters.Length == 1 && TypeHelper.AreTypesCompatible(parameters[0].ParameterType, typeof(ActivityContext))) 223(TypeHelper.AreTypesCompatible(parameters[0].ParameterType, typeof(LocationReference)))) 1458if (parameterInfo == null || parameterInfo.ParameterType == null) 1469isByRef = parameterInfo.ParameterType.IsByRef;
System\Activities\Expressions\MethodCallExpressionHelper.cs (1)
29Type parameterType = parameterInfos[i].ParameterType;
System\Activities\ExpressionUtilities.cs (1)
510setItemParameterTypes[i] = getItemParameters[i].ParameterType;
System\Activities\Runtime\CallbackWrapper.cs (1)
180if (parameter.IsOut || parameter.IsOptional || parameter.ParameterType != parameterTypes[parameterIndex])
System\Activities\Statements\MethodExecutor.cs (2)
81formalParameters[i].ParameterType)) 89Activator.CreateInstance(formalParameters[i].ParameterType, paramArrayCount);
System\Activities\Statements\MethodResolver.cs (1)
508Type elementType = formalParams[formalParams.Length - 1].ParameterType.GetElementType();
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\Metadata\AttributeDataCache.cs (1)
263parameterTypes[i] = parameterInfo[i].ParameterType;
System.AddIn (2)
System\Addin\Hosting\Store\AddInAdapter.cs (1)
88_constructors.Add(new TypeInfo(pars[0].ParameterType));
System\Addin\MiniReflection\TypeInfo.cs (1)
1012if (parameterInfo.ParameterType == typeof(String))
System.ComponentModel.DataAnnotations (3)
DataAnnotations\CustomValidationAttribute.cs (3)
237if (parameterInfos.Length == 0 || parameterInfos[0].ParameterType.IsByRef) { 247if ((parameterInfos.Length != 2) || (parameterInfos[1].ParameterType != typeof(ValidationContext))) { 253this._valuesType = parameterInfos[0].ParameterType;
System.Configuration (1)
System\Configuration\CallbackValidatorAttribute.cs (1)
39if ((parameters.Length == 1) && (parameters[0].ParameterType == typeof(Object))) {
System.Core (45)
Microsoft\Scripting\Actions\CallSite.cs (4)
316ContractUtils.Requires(pis.Length > 0 && pis[0].ParameterType == typeof(CallSite), "T"); 326args[i - 1] = pi.ParameterType; 338var @params = invoke.GetParametersCached().Map(p => Expression.Parameter(p.ParameterType, p.Name)); 361var @params = invoke.GetParametersCached().Map(p => Expression.Parameter(p.ParameterType, p.Name));
Microsoft\Scripting\Actions\CallSiteBinder.cs (2)
75if (pis[0].ParameterType != typeof(CallSite)) { 81@params[i] = Expression.Parameter(pis[i + 1].ParameterType, "$arg" + i);
Microsoft\Scripting\Ast\BinaryExpression.cs (11)
319!TypeUtils.AreEquivalent(method.GetParametersCached()[0].ParameterType.GetNonRefType(), _left.Type); 621ValidateParamswithOperandsOrThrow(pms[0].ParameterType, left.Type, binaryType, method.Name); 622ValidateParamswithOperandsOrThrow(pms[1].ParameterType, right.Type, binaryType, method.Name); 660ValidateParamswithOperandsOrThrow(pis[0].ParameterType, left.Type, binaryType, name); 661ValidateParamswithOperandsOrThrow(pis[1].ParameterType, right.Type, binaryType, name); 711Type pType = pi.ParameterType; 782if (pms[0].ParameterType != pms[1].ParameterType) { 785if (method.ReturnType != pms[0].ParameterType) { 816TypeUtils.AreEquivalent(pms[1].ParameterType, TypeUtils.GetNonNullableType(right)); 1488if (!TypeUtils.AreEquivalent(pms[0].ParameterType, method.ReturnType)) {
Microsoft\Scripting\Ast\DynamicExpression.cs (1)
849if (pi.Length == 0 || pi[0].ParameterType != typeof(CallSite)) throw Error.FirstArgumentMustBeCallSite();
Microsoft\Scripting\Ast\ElementInit.cs (1)
133if (pi.ParameterType.IsByRef) {
Microsoft\Scripting\Ast\IndexExpression.cs (5)
317if (!TypeUtils.AreReferenceAssignable(parms[i].ParameterType, args[i].Type)) { 378Type valueType = setParameters[setParameters.Length - 1].ParameterType; 388if (getParameters[i].ParameterType != setParameters[i].ParameterType) throw Error.IndexesOfSetGetMustMatch(); 427Type pType = pi.ParameterType;
Microsoft\Scripting\Ast\LambdaExpression.cs (1)
548Type pType = pi.ParameterType;
Microsoft\Scripting\Ast\MethodCallExpression.cs (2)
890Type pType = pi.ParameterType; 981Type pType = parms[i].ParameterType;
Microsoft\Scripting\Ast\NewExpression.cs (1)
255Type pType = pi.ParameterType;
Microsoft\Scripting\Ast\SwitchExpression.cs (4)
109!TypeUtils.AreEquivalent(_switchValue.Type, _comparison.GetParametersCached()[0].ParameterType.GetNonRefType()); 224throw Error.SwitchValueTypeDoesNotMatchComparisonMethodParameter(switchValue.Type, leftParam.ParameterType); 238throw Error.TestValueTypeDoesNotMatchComparisonMethodParameter(rightOperandType, rightParam.ParameterType); 243throw Error.TestValueTypeDoesNotMatchComparisonMethodParameter(rightOperandType, rightParam.ParameterType);
Microsoft\Scripting\Ast\TypeUtils.cs (1)
478if (!TypeUtils.AreEquivalent(pis[0].ParameterType, typeFrom)) {
Microsoft\Scripting\Ast\UnaryExpression.cs (3)
95return (operandIsNullable && !TypeUtils.AreEquivalent(_method.GetParametersCached()[0].ParameterType, _operand.Type)) || 367ValidateParamswithOperandsOrThrow(u.Method.GetParametersCached()[0].ParameterType, operand.Type, unaryType, name); 400ValidateParamswithOperandsOrThrow(pms[0].ParameterType, operand.Type, unaryType, method.Name);
Microsoft\Scripting\Compiler\LambdaCompiler.Expressions.cs (1)
440Type type = parameter.ParameterType;
Microsoft\Scripting\Compiler\LambdaCompiler.Statements.cs (1)
219Type result = node.Comparison.GetParametersCached()[1].ParameterType.GetNonRefType();
Microsoft\Scripting\Compiler\LambdaCompiler.Unary.cs (2)
304Type paramType = pis[0].ParameterType; 312Expression.Convert(node.Operand, pis[0].ParameterType)
Microsoft\Scripting\Compiler\StackSpiller.cs (1)
956if (method != null && method.GetParametersCached().Any(p => p.ParameterType.IsByRef)) {
Microsoft\Scripting\Utils\TypeExtensions.cs (2)
65if (pi.ParameterType.IsByRef) return true; 106if (!TypeUtils.AreReferenceAssignable(ps[i].ParameterType, argTypes[i])) {
System\Linq\SequenceQuery.cs (2)
229arg = FixupQuotedExpression(pi.ParameterType, arg); 356Type parameterType = mParams[i].ParameterType;
System.Data (1)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\Metadata\AttributeDataCache.cs (1)
263parameterTypes[i] = parameterInfo[i].ParameterType;
System.Data.Entity (7)
System\Data\Common\CommandTrees\ExpressionBuilder\DbExpressionBuilder.cs (1)
1754if (method.IsStatic && typeof(System.Runtime.CompilerServices.Closure) == methodParams[0].ParameterType)
System\Data\Common\Internal\Materialization\CoordinatorScratchpad.cs (1)
350_userArgumentType = constructorParameters[i].ParameterType;
System\Data\Metadata\Edm\LightweightCodeGenerator.cs (1)
424realType = parameters[0].ParameterType;
System\Data\Objects\ELinq\LinqExpressionNormalizer.cs (1)
261Type parameterType = m.Method.GetParameters()[0].ParameterType;
System\Data\Objects\ELinq\ReflectionUtil.cs (1)
450AppendCanonicalTypeDescription(parameter.ParameterType, genericArgumentOrdinals, description);
System\Data\SqlClient\SqlTypesAssembly.cs (2)
524Debug.Assert(staticCtorMethod.GetParameters().Length == 2 && staticCtorMethod.GetParameters()[1].ParameterType == typeof(int), "Static constructor method on '" + spatialType.FullName + "' does not match static constructor pattern?"); 526Expression sqlData = BuildConvertToSqlType(dataParam, staticCtorMethod.GetParameters()[0].ParameterType);
System.Data.Linq (9)
DataContext.cs (1)
813Type pType = pis[i].ParameterType;
Mapping\AttributedMetaModel.cs (1)
996get { return this.parameterInfo.ParameterType; }
Mapping\MappedMetaModel.cs (2)
1451get { return this.parameterInfo.ParameterType; } 1476get { return this.parameterInfo.ParameterType; }
SqlClient\Common\TypeSystem.cs (1)
176Type parameterType = mParams[i].ParameterType;
SqlClient\Query\SqlFormatter.cs (1)
568if (mp.Parameter.IsOut || mp.Parameter.ParameterType.IsByRef)
SqlClient\Query\SqlParameterizer.cs (1)
248else if (p.Parameter.ParameterType.IsByRef) {
SqlClient\Reader\ObjectReaderCompiler.cs (2)
904Type pType = pi.ParameterType; 942this.GenerateExpressionForType(sn.Args[i], pis[i].ParameterType);
System.Data.Services (18)
System\Data\Services\DataServiceConfiguration.cs (2)
1054Type elementParameterType = parameters[0].ParameterType; 1066Type actionParameterType = parameters[1].ParameterType;
System\Data\Services\Parsing\RequestQueryParser.cs (11)
151.Single(m => m.Name == "Compare" && m.GetParameters()[0].ParameterType == typeof(string)); 156.Single(m => m.Name == "Compare" && m.GetParameters()[0].ParameterType == typeof(bool)); 161.Single(m => m.Name == "Compare" && m.GetParameters()[0].ParameterType == typeof(bool?)); 166.Single(m => m.Name == "Compare" && m.GetParameters()[0].ParameterType == typeof(Guid)); 171.Single(m => m.Name == "Compare" && m.GetParameters()[0].ParameterType == typeof(Guid?)); 2403promotedArgsOpen = promotedArgsOpen && md.Parameters[i].ParameterType == typeof(object); 2416GetNonNullableType(applicable[0].Parameters[0].ParameterType) == 2417GetNonNullableType(applicable[1].Parameters[0].ParameterType)) 2420WebUtil.TypeAllowsNull(applicable[0].Parameters[0].ParameterType) ? 2448Expression promoted = this.PromoteExpression(args[i], pi.ParameterType, false); 2655yield return parameter.ParameterType;
System\Data\Services\Providers\BaseServiceProvider.cs (2)
810ResourceType parameterType = ResourceType.GetPrimitiveResourceType(parameterInfo.ParameterType); 814Strings.BaseServiceProvider_ParameterTypeNotSupported(method, parameterInfo, parameterInfo.ParameterType));
System\Data\Services\Providers\BasicExpandProvider.cs (3)
1226p[0].ParameterType.IsGenericType && 1227p[1].ParameterType.IsGenericType) 1229Type functionParameter = p[1].ParameterType;
System.Data.Services.Client (2)
System\Data\Services\Client\ALinq\ReflectionUtil.cs (1)
462AppendCanonicalTypeDescription(parameter.ParameterType, genericArgumentOrdinals, description);
System\Data\Services\Client\ProjectionPlanCompiler.cs (1)
846c => c.GetParameters().Length == 7 && c.GetParameters()[0].ParameterType == typeof(object));
System.Data.SqlXml (5)
System\Xml\Xsl\QIL\QilXmlReader.cs (1)
48if (parms[i].ParameterType != typeof(QilNode))
System\Xml\Xsl\Runtime\XmlExtensionFunction.cs (1)
215this.argClrTypes[i] = GetClrType(paramInfo[i].ParameterType);
System\Xml\Xsl\XsltOld\XsltCompileContext.cs (3)
142XPathResultType actual = GetXPathType(parameters[par].ParameterType); 805typeCodes[i] = Type.GetTypeCode(parameters[i].ParameterType); 806argTypes[i] = GetXPathType(parameters[i].ParameterType);
System.Drawing (1)
misc\DbgUtil.cs (1)
349args += pi.ParameterType.Name + ", ";
System.Runtime.Remoting (9)
metadata\wsdlparser.cs (5)
3703if (param.GetTypeString(null, true) != paramInfos[i].ParameterType.FullName) 4533Type parameterType = param.ParameterType; 4559Type parameterType = param.ParameterType; 4565sb.Append(URTMethod.ValueString(CSharpTypeString(param.ParameterType.FullName))); 4600Type parameterType = param.ParameterType;
metadata\wsdlwriter.cs (4)
375AddType(parameters[j].ParameterType, methodXNS); 1571Type type = param.ParameterType; 1658bool bIsByRef = param.ParameterType.IsByRef; // (ref or normal) 2407types[itype] = paramInfos[itype].ParameterType;
System.Runtime.Serialization (7)
System\Runtime\Serialization\ClassDataContract.cs (2)
1147if (parameters == null || parameters.Length != 1 || parameters[0].ParameterType != Globals.TypeOfExtensionDataObject) 1168if (parameters == null || parameters.Length != 1 || parameters[0].ParameterType != Globals.TypeOfStreamingContext)
System\Runtime\Serialization\CodeGenerator.cs (2)
206paramTypes[i] = parameters[i].ParameterType; 1596ConvertValue(GetVariableType(arg), methodInfo.GetParameters()[oneBasedArgIndex - 1].ParameterType);
System\Runtime\Serialization\CollectionDataContract.cs (1)
1179if (addMethod == null || addMethod.GetParameters()[0].ParameterType != addMethodTypeArray[0])
System\Runtime\Serialization\Json\JsonFormatReaderGenerator.cs (1)
230paramTypes[i] = parameters[i].ParameterType;
System\Runtime\Serialization\Json\JsonFormatWriterGenerator.cs (1)
158paramTypes[i] = parameters[i].ParameterType;
System.ServiceModel (24)
System\ServiceModel\Administration\ContractInstanceProvider.cs (1)
97parameterTypes[i] = parameterInfo[i].ParameterType.ToString();
System\ServiceModel\ComIntegration\EmitterCache.cs (1)
60typeArray[index] = parameters[index].ParameterType;
System\ServiceModel\Configuration\ServiceModelEnumValidator.cs (1)
36throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidEnumArgumentException("value", (int)value, isDefinedParameters[0].ParameterType));
System\ServiceModel\Description\ServiceReflector.cs (7)
712if (!parameter.ParameterType.IsByRef) 739return paramInfo.ParameterType.IsByRef; 877parameters[parameters.Length - 2].ParameterType != asyncCallbackType || 878parameters[parameters.Length - 1].ParameterType != objectType || 937parameters[parameters.Length - 1].ParameterType != asyncResultType) 994if (IsParameterDisposable(inputInfo.ParameterType)) 1002return (!IsParameterDisposable(methodInfo.ReturnParameter.ParameterType));
System\ServiceModel\Description\TaskOperationDescriptionValidator.cs (1)
56Type parameterType = parameter.ParameterType;
System\ServiceModel\Description\TypeLoader.cs (11)
1083if (parameters.Length == 1 && parameters[0].ParameterType.IsDefined(typeof(MessageContractAttribute), false)) 1085messageDescription = CreateTypedMessageDescription(parameters[0].ParameterType, 1485Type parameterType = parameterInfo.ParameterType; 1570if (this.syncInputs[i].ParameterType != this.asyncInputs[i].ParameterType) 1587if (this.syncOutputs[i].ParameterType != this.asyncOutputs[i].ParameterType) 1711if (this.syncInputs[i].ParameterType != this.taskInputs[i].ParameterType) 1830if (this.taskInputs[i].ParameterType != this.asyncInputs[i].ParameterType)
System\ServiceModel\Dispatcher\CodeGenerator.cs (1)
125paramTypes[i] = parameters[i].ParameterType;
System\ServiceModel\Dispatcher\InvokerUtil.cs (1)
321if (parameters[i].ParameterType.IsByRef)
System.ServiceModel.Activities (1)
System\ServiceModel\Activities\Configuration\ServiceModelActivitiesEnumValidator.cs (1)
37throw FxTrace.Exception.AsError(new InvalidEnumArgumentException("value", (int)value, isDefinedParameters[0].ParameterType));
System.ServiceModel.Web (1)
System\ServiceModel\Configuration\InternalEnumValidator.cs (1)
36throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidEnumArgumentException("value", (int) value, isDefinedParameters[0].ParameterType));
System.Web (32)
Compilation\BaseTemplateCodeDomTreeGenerator.cs (1)
1387method.Parameters.Add(new CodeParameterDeclarationExpression(pi.ParameterType, pi.Name));
Compilation\CodeDOMUtility.cs (2)
129expressions[i] = GenerateExpressionForValue(null, args[i], parameters[i].ParameterType); 145expressions[i] = GenerateExpressionForValue(null, args[i], parameters[i].ParameterType);
Compilation\TemplateControlCodeDomTreeGenerator.cs (1)
297var parameterExpr = new CodeParameterDeclarationExpression(p.ParameterType, p.Name);
ErrorFormatter.cs (1)
1092sb.Append((k != 0 ? ", " : String.Empty) + arrParams[k].ParameterType.Name + " " +
HttpApplication.cs (2)
1934if (addMethodParams[0].ParameterType != typeof(System.EventHandler)) 1944handlerDelegate = Delegate.CreateDelegate(addMethodParams[0].ParameterType, this, appMethodName);
HttpApplicationFactory.cs (3)
258if (parameters[0].ParameterType != typeof(System.Object)) 261if (parameters[1].ParameterType != typeof(System.EventArgs) && 262!parameters[1].ParameterType.IsSubclassOf(typeof(System.EventArgs)))
UI\WebControls\ModelDataSourceView.cs (15)
253if (parameter.ParameterType.IsAssignableFrom(typeof(int))) { 259if (parameter.ParameterType.IsAssignableFrom(typeof(int))) { 265if (parameter.IsOut && typeof(int).IsAssignableFrom(parameter.ParameterType.GetElementType())) { 300if (parameter.ParameterType.IsAssignableFrom(typeof(string))) { 564if (lastParameter != null && lastParameter.ParameterType == typeof(CancellationToken)) { 1002if (parameterInfo.ParameterType == typeof(ModelMethodContext)) { 1018ModelMetadata = ModelMetadataProviders.Current.GetMetadataForType(null, parameterInfo.ParameterType), 1027if (dataSourceOperation == DataSourceOperation.Select && customValueProvider != null && parameterInfo.ParameterType.IsSerializable) { 1056if (parameterInfo == lastParameter && typeof(CancellationToken) == parameterInfo.ParameterType && value == null) { 1167if (parameterInfo.ParameterType.IsByRef && !parameterInfo.Name.Equals(TotalRowCountParameterName, StringComparison.OrdinalIgnoreCase)) { 1181if (parameter.ParameterType.IsByRef) { 1249if (value == null && !TypeHelpers.TypeAllowsNullValue(parameterInfo.ParameterType)) { 1252parameterInfo.Name, parameterInfo.ParameterType, methodInfo, methodInfo.DeclaringType); 1256if (value != null && !parameterInfo.ParameterType.IsInstanceOfType(value)) { 1259parameterInfo.Name, methodInfo, methodInfo.DeclaringType, value.GetType(), parameterInfo.ParameterType);
UI\WebControls\ObjectDataSourceView.cs (5)
1334if (parameter.ParameterType.IsByRef) { 1383methodParameters[0].ParameterType == dataObjectType) { 1391methodParameters[0].ParameterType == dataObjectType && 1392methodParameters[1].ParameterType == dataObjectType) { 1589parameterValue = BuildObjectValue(parameterValue, methodParameter.ParameterType, paramName, ParsingCulture);
UI\WebParts\WebPartManager.cs (1)
1784parameterType = parameters[0].ParameterType;
UI\WebParts\WebPartUtil.cs (1)
32types[i] = parameters[i].ParameterType;
System.Web.Extensions (10)
ClientServices\Providers\ClientSettingsProvider.cs (1)
908Delegate handlerDelegate = Delegate.CreateDelegate(addMethodParams[0].ParameterType, this, "OnUserValidated");
Script\Services\WebServiceData.cs (1)
314ProcessClientType(paramData.ParameterInfo.ParameterType);
Script\Services\WebServiceMethodData.cs (1)
192Type paramType = paramDataDictionary[memberName].ParameterInfo.ParameterType;
Script\Services\WebServiceParameterData.cs (1)
51return _param.ParameterType;
UI\AsyncPostBackTrigger.cs (1)
111(typeof(EventArgs).IsAssignableFrom(parameters[1].ParameterType) == false)) {
UI\WebControls\Dynamic.cs (3)
1484Expression promoted = PromoteExpression(args[i], pi.ParameterType, false); 1708m1.Parameters[i].ParameterType, 1709m2.Parameters[i].ParameterType);
UI\WebControls\Expressions\MethodExpression.cs (2)
131if (parameterArray.Length == 0 || !parameterArray[0].ParameterType.IsAssignableFrom(source.GetType())) { 147arguments[i] = DataSourceHelper.BuildObjectValue(value, param.ParameterType, param.Name);
System.Web.Services (16)
System\Web\Services\Description\HttpProtocolReflector.cs (1)
69if (parameterInfo.ParameterType.IsArray) {
System\Web\Services\Protocols\HttpServerProtocol.cs (1)
241Type parameterType = parameter.ParameterType;
System\Web\Services\Protocols\LogicalMethodInfo.cs (4)
96beginParamInfos[beginParamInfos.Length - 1].ParameterType != typeof(object) || 97beginParamInfos[beginParamInfos.Length - 2].ParameterType != typeof(AsyncCallback)) { 459return paramInfo.IsOut || paramInfo.ParameterType.IsByRef; 478typeof(IAsyncResult).IsAssignableFrom(paramInfos[0].ParameterType) &&
System\Web\Services\Protocols\RemoteDebugger.cs (1)
262methodBuilder.Append(parameterInfos[i].ParameterType.FullName);
System\Web\Services\Protocols\SoapReflector.cs (4)
365member.MemberType = soapParamInfo.parameterInfo.ParameterType; 410member.MemberType = soapParamInfo.parameterInfo.ParameterType; 557if (paramInfo.ParameterType.IsArray && paramInfo.ParameterType.GetArrayRank() > 1)
System\Web\Services\Protocols\UrlEncodedParameterWriter.cs (1)
56if (paramInfo.ParameterType.IsArray) {
System\Web\Services\Protocols\ValueCollectionParameterReader.cs (4)
51if (paramInfo.ParameterType.IsArray) { 53Type arrayType = paramInfo.ParameterType.GetElementType(); 64parameters[i] = ScalarFormatter.FromString(value, paramInfo.ParameterType); 89Type type = paramInfo.ParameterType;
System.Windows.Forms (2)
misc\DbgUtil.cs (1)
349args += pi.ParameterType.Name + ", ";
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2IManagedPerPropertyBrowsingHandler.cs (1)
164if (pis.Length == 1 && pis[0].ParameterType.IsAssignableFrom(varParams[i].GetType())) {
System.Workflow.Activities (103)
Common\BasePropertyDescriptor.cs (5)
320if (paramInfo.ParameterType == null) 326this.parameterType = paramInfo.ParameterType; 330if ((paramInfo.ParameterType != null) && (paramInfo.ParameterType.IsByRef || (paramInfo.IsIn && paramInfo.IsOut))) 336this.desc = SR.GetString(SR.ParameterDescription, paramInfo.ParameterType.FullName);
Common\CompModHelpers.cs (2)
756mismatch = (parameters[index].ParameterType == null) || (!parameters[index].ParameterType.IsAssignableFrom(types[index]));
Common\DelegateTypeInfo.cs (1)
83Type paramType = argTypes[index].ParameterType;
CorrelationValidator.cs (8)
724evntHandlerType = parameterInfo.ParameterType; 747correlationParameterType = parameterInfo.ParameterType; 870if (TypeProvider.IsAssignable(typeof(ExternalDataEventArgs), parameter.ParameterType)) 874ValidateParameterSerializabiltiy(validationErrors, parameter.ParameterType); 912else if (paramInfo.ParameterType.IsByRef) 917new BindValidationContext(paramInfo.ParameterType.IsByRef ? paramInfo.ParameterType.GetElementType() : paramInfo.ParameterType, access));
Executors\InboundActivityHelper.cs (1)
89if ((typeof(ExternalDataEventArgs).IsAssignableFrom(formalParameter.ParameterType)))
Executors\InvokeBase.cs (2)
64if (formalParameter.ParameterType.IsByRef) 118if (formalParameter.ParameterType.IsByRef || (formalParameter.IsIn && formalParameter.IsOut))
Executors\WorkflowWebService.cs (1)
53if (parameter.ParameterType.IsByRef || parameter.IsOut)
InvokeMethodActivity.cs (1)
274if (param.ParameterType != null)
InvokeWebService.cs (5)
401if (paramInfo.ParameterType != null) 492else if (paramInfo.ParameterType.IsByRef) 496new PropertyValidationContext(invokeWebService.ParameterBindings[paramName], null, paramName), new BindValidationContext(paramInfo.ParameterType.IsByRef ? paramInfo.ParameterType.GetElementType() : paramInfo.ParameterType, access));
LocalService\CorrelationResolver.cs (1)
371if (typeof(ExternalDataEventArgs).IsAssignableFrom(parameters[1].ParameterType))
LocalService\DataExchangeServiceBinder.cs (2)
59if (!methodParams[j].ParameterType.IsInstanceOfType(argsCopy[j])) 61if (!(methodParams[j].ParameterType.IsArray && argsCopy[j] == null))
LocalService\ExternalDataExchangeService.cs (4)
166if (typeof(IServiceProvider).IsAssignableFrom(pi[0].ParameterType)) 170else if (typeof(NameValueCollection).IsAssignableFrom(pi[0].ParameterType)) 177if (typeof(IServiceProvider).IsAssignableFrom(pi[0].ParameterType) 178&& typeof(NameValueCollection).IsAssignableFrom(pi[1].ParameterType))
LocalService\WorkflowMessageEventHandler.cs (2)
88if (parameters[1].ParameterType.IsSubclassOf(typeof(ExternalDataEventArgs)) 89|| parameters[1].ParameterType == (typeof(ExternalDataEventArgs)))
Rules\CodeDomDecompiler.cs (1)
338DecompileType_Helper(sb, parms[i].ParameterType);
Rules\Design\Dialogs\IntellisenseTextBox.cs (1)
566Type paramType = parameterInfo.ParameterType;
Rules\Executor.cs (2)
720Type sx = conversion.GetParameters()[0].ParameterType; 767Type sx = conversion.GetParameters()[0].ParameterType;
Rules\Expressions.cs (9)
499parameters[0] = Executor.AdjustType(expressionInfo.LeftType, lhsValue, existingParameters[0].ParameterType); 500parameters[1] = Executor.AdjustType(expressionInfo.RightType, rhsValue, existingParameters[1].ParameterType); 1567arguments[i] = Executor.AdjustType(argType, argResult.Value, parmInfos[i].ParameterType); 1572arguments[i] = Executor.AdjustType(argType, argResult.Value, parmInfos[i].ParameterType); 1588Type arrayType = lastParamInfo.ParameterType; 2524indexArgs[i] = Executor.AdjustType(argType, argResult.Value, parmInfos[i].ParameterType); 2539Type arrayType = lastParamInfo.ParameterType; 3079arguments[i] = Executor.AdjustType(argType, argResult.Value, parmInfos[i].ParameterType); 3094Type arrayType = lastParamInfo.ParameterType;
Rules\Literal.cs (6)
720Type parm1 = parameters[0].ParameterType; 721Type parm2 = parameters[1].ParameterType; 900Type parm1 = parameters[0].ParameterType; 901Type parm2 = parameters[1].ParameterType; 908Type parm1 = parameters[0].ParameterType; 909Type parm2 = parameters[1].ParameterType;
Rules\Parser\Parser.cs (3)
2590if (lastParm.ParameterType.IsArray) 2614object matchedArg = MatchArgument(parms[p].ParameterType, arguments[p]); 2654Type paramType = parms[p].ParameterType;
Rules\RuleAttributes.cs (1)
90contextType = param.ParameterType;
Rules\RuleValidation.cs (22)
193if (pi.ParameterType.IsByRef) 198assumedDeclaringType = actualParameters[0].ParameterType; 296parameterType = typeof(Nullable<>).MakeGenericType(parameter.ParameterType); 408if (expectedParameters[i].ParameterType != other.expectedParameters[i].ParameterType) 1257if (ConditionHelper.IsNonNullableValueType(mi.ReturnType) && ConditionHelper.IsNonNullableValueType(parameters[0].ParameterType)) 1275Type sx = candidates[0].GetParameters()[0].ParameterType; 1280Type testType = candidates[i].GetParameters()[0].ParameterType; 1316(candidates[i].GetParameters()[0].ParameterType == sx) && 1338(candidates[i].GetParameters()[0].ParameterType == sx) && 1469Type testType = candidates[i].GetParameters()[0].ParameterType; 1482Type testType = candidates[i].GetParameters()[0].ParameterType; 1497Type testType = candidates[i].GetParameters()[0].ParameterType; 1558(candidates[i].GetParameters()[0].ParameterType == sx) && 1580(candidates[i].GetParameters()[0].ParameterType == sx) && 2224Type sourceType = mi.GetParameters()[0].ParameterType; 2247Type sourceType = mi.GetParameters()[0].ParameterType; 2502else if (paramInfo.ParameterType.IsByRef) 2505this.type = paramInfo.ParameterType; 2975if (lastParam.ParameterType.IsArray) 3046CandidateParameter candidateParam = new CandidateParameter(lastParam.ParameterType.GetElementType()); 3402if (parms.Length > 0 && parms[0].ParameterType != null)
WebServiceReceive.cs (12)
305if (!(formalParameter.ParameterType.IsByRef || (formalParameter.IsIn && formalParameter.IsOut))) 575Type paramType = paramInfo.ParameterType.IsByRef ? paramInfo.ParameterType.GetElementType() : paramInfo.ParameterType; 600if (paramInfo.ParameterType.IsByRef) 604new PropertyValidationContext(webServiceReceive.ParameterBindings[paramName], null, paramName), new BindValidationContext(paramInfo.ParameterType.IsByRef ? paramInfo.ParameterType.GetElementType() : paramInfo.ParameterType, access)); 807if (paramInfo.IsOut || paramInfo.ParameterType.IsByRef) 809paramDecl.Type = new CodeTypeReference(paramInfo.ParameterType.GetElementType().FullName); 820paramDecl.Type = new CodeTypeReference(paramInfo.ParameterType.FullName); 851CodeExpression rightExpression = new CodeCastExpression(new CodeTypeReference(pinfo.ParameterType.GetElementType().FullName), new CodeIndexerExpression(new CodeVariableReferenceExpression("results"), new CodePrimitiveExpression(i + iStartIndex)));
WebServiceResponse.cs (11)
166if (formalParameter.ParameterType.IsByRef || (formalParameter.IsIn && formalParameter.IsOut)) 204if (formalParameter.ParameterType.IsByRef || (formalParameter.IsIn && formalParameter.IsOut)) 406Type paramType = paramInfo.ParameterType.IsByRef ? paramInfo.ParameterType.GetElementType() : paramInfo.ParameterType; 439new PropertyValidationContext(webServiceResponse.ParameterBindings[paramName], null, paramName), new BindValidationContext(paramInfo.ParameterType.IsByRef ? paramInfo.ParameterType.GetElementType() : paramInfo.ParameterType, access)); 671if (paramInfo.IsOut || paramInfo.IsRetval || paramInfo.ParameterType.IsByRef) 691if (paramInfo.ParameterType == null) 697if (methodInfo.ReturnType != typeof(void) && methodInfo.ReturnParameter.ParameterType == null)
System.Workflow.ComponentModel (33)
AuthoringOM\Bind.cs (2)
784paramTypes.Add(paramInfo.ParameterType); 1212Type paramType = aryPI[index].ParameterType;
AuthoringOM\Compiler\TypeSystem\DesignTimeType.cs (2)
1218typeCollection.Add(parameterInfo.ParameterType); 1232typeCollection.Add(parameterInfo.ParameterType);
AuthoringOM\Compiler\TypeSystem\ParameterInfo.cs (1)
52return base.ParameterType;
AuthoringOM\Compiler\TypeSystem\RTTypeWrapper.cs (4)
681mismatch = !IsAssignable(parameters[index].ParameterType, types[index]); 707mismatch = !IsAssignable(parameters[index].ParameterType, types[index]); 734mismatch = !IsAssignable(parameters[index].ParameterType, types[index]); 1284get { return this.rtTypeWrapper.ResolveTypeFromTypeSystem(this.paramInfo.ParameterType); }
AuthoringOM\Compiler\TypeSystem\TypeProvider.cs (1)
646Type c = p[i].ParameterType;
AuthoringOM\Compiler\Validation\BindValidator.cs (1)
532paramTypes.Add(paramInfo.ParameterType);
AuthoringOM\Compiler\Validation\DependencyObjectValidator.cs (1)
206paramTypes.Add(paramInfo.ParameterType);
AuthoringOM\Design\DesignerHelpers.cs (1)
1640!Helpers.TypesEqual(left.Type, right.ParameterType))
AuthoringOM\Design\Dialogs\ActivityBindForm.cs (3)
534string subIndex = GetIndexerString(parameter.ParameterType); 1250if (parameters1[i].ParameterType != parameters2[i].ParameterType)
AuthoringOM\Serializer\WorkflowMarkupSerializer.cs (9)
1545if (parameters != null && parameters.Length == 2 && parameters[0].ParameterType == typeof(object) && parameters[1].ParameterType == typeof(object)) 1556if (parameters != null && parameters.Length == 2 && parameters[0].ParameterType == typeof(object) && parameters[1].ParameterType == typeof(object)) 1583if (parameters == null || parameters.Length != 2 || parameters[0].ParameterType != typeof(object) || parameters[1].ParameterType != typeof(object)) 1606if (parameters == null || parameters.Length != 2 || parameters[0].ParameterType != typeof(object) || parameters[1].ParameterType != typeof(object)) 2586positionalArgs[i] = InternalDeserializeFromString(serializationManager, matchParameters[i].ParameterType, argVal);
Shared\BasePropertyDescriptor.cs (5)
319if (paramInfo.ParameterType == null) 325this.parameterType = paramInfo.ParameterType; 329if ((paramInfo.ParameterType != null) && (paramInfo.ParameterType.IsByRef || (paramInfo.IsIn && paramInfo.IsOut))) 335this.desc = SR.GetString(SR.ParameterDescription, paramInfo.ParameterType.FullName);
Shared\CompModHelpers.cs (2)
754mismatch = (parameters[index].ParameterType == null) || (!parameters[index].ParameterType.IsAssignableFrom(types[index]));
Shared\DelegateTypeInfo.cs (1)
82Type paramType = argTypes[index].ParameterType;
System.Workflow.Runtime (4)
WorkflowRuntime.cs (4)
1499if (typeof(IServiceProvider).IsAssignableFrom(pi[0].ParameterType)) 1503else if (typeof(NameValueCollection).IsAssignableFrom(pi[0].ParameterType)) 1510if (typeof(IServiceProvider).IsAssignableFrom(pi[0].ParameterType) 1511&& typeof(NameValueCollection).IsAssignableFrom(pi[1].ParameterType))
System.WorkflowServices (22)
System\Workflow\Activities\ContractMethodInfo.cs (1)
148return this.returnParam.ParameterType;
System\Workflow\Activities\ContractMethodParameterInfo.cs (4)
76if (this.ParameterType == null) 81return this.ParameterType.GetCustomAttributes(attributeType, inherit); 91if (this.ParameterType == null) 96return this.ParameterType.IsDefined(attributeType, inherit);
System\Workflow\Activities\ContractType.cs (2)
723typeCollection.Add(parameterInfo.ParameterType); 741typeCollection.Add(parameterInfo.ParameterType);
System\Workflow\Activities\OperationParameterInfo.cs (1)
67SetValue(OperationParameterInfo.ParameterTypeProperty, parameter.ParameterType);
System\Workflow\Activities\ReceiveActivity.cs (6)
798if (param.ParameterType != null) 1404if (parameter.ParameterType.IsByRef || 1409if (parameter.ParameterType.IsByRef && 1410parameter.ParameterType.GetElementType().IsValueType && 1411!ServiceOperationHelpers.IsNullableType(parameter.ParameterType)) 1413notNullableParameters.Add(parameter.Position, parameter.ParameterType);
System\Workflow\Activities\SendActivity.cs (2)
477if (param.ParameterType != null) 619if (parameter.ParameterType.IsByRef ||
System\Workflow\Activities\TypedOperationInfo.cs (1)
223if (methodInfo.ReturnParameter != null && methodInfo.ReturnParameter.ParameterType != typeof(void))
System\Workflow\Activities\ValidationHelper.cs (5)
838if (isOneWay && ((parameter.Attributes & ParameterAttributes.Out) > 0 || parameter.ParameterType.IsByRef)) 921parameter.ParameterType.IsByRef || 932parameter.ParameterType.IsByRef ? parameter.ParameterType.GetElementType() : parameter.ParameterType,
System.Xml (4)
System\Xml\Serialization\Compiler.cs (1)
69AddImport(parms[j].ParameterType, types);
System\Xml\Serialization\TypeExtensions.cs (1)
42parameters[0].ParameterType.IsAssignableFrom(sourceType)) {
System\Xml\Serialization\Types.cs (1)
1181if (parameters.Length == 1 && parameters[0].ParameterType == typeof(int)) {
System\Xml\Serialization\XmlSerializationReaderILGen.cs (1)
2843Type addParameterType = Add.GetParameters()[0].ParameterType;
WindowsBase (3)
Base\MS\Internal\ComponentModel\AttachedPropertyMethodSelector.cs (2)
80if (p.ParameterType != t) 99if (!t.IsAssignableFrom(p.ParameterType))
Base\MS\Internal\ComponentModel\AttachInfo.cs (1)
146_paramTypeAttribute = new AttachedPropertyBrowsableForTypeAttribute(typeProvider.GetRuntimeType(parameters[0].ParameterType));