6 writes to Type
dotnet-svcutil-lib (6)
CodeDomFixup\CodeDomVisitors\CreateCallbackImpl.cs (1)
429Type = new CodeTypeReference(parent.Name)
FrameworkFork\Microsoft.CodeDom\System\CodeParameterDeclarationExpression.cs (3)
47Type = type; 56Type = new CodeTypeReference(type); 65Type = new CodeTypeReference(type);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ClientClassGenerator.cs (1)
661inValuesParam.Type = new CodeTypeReference(s_objectArrayType);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\OperationGenerator.cs (1)
439paramDecl.Type = type;
42 references to Type
dotnet-svcutil-lib (42)
CodeDomFixup\CodeDomHelpers.cs (6)
70CodeParameterDeclarationExpression newParam = new CodeParameterDeclarationExpression(parameter.Type, parameter.Name); 105MatchType<AsyncCallback>(method.Parameters[paramCount - 2].Type) && 106MatchType<object>(method.Parameters[paramCount - 1].Type) && 115(MatchType<IAsyncResult>(method.Parameters[paramCount - 1].Type) || 116MatchType<IAsyncResult>(method.Parameters[0].Type)); 204if (!MatchType(args1[i].Type, args2[i]))
CodeDomFixup\CodeDomVisitors\CodeDomVisitor.cs (1)
369Enumerate(expr.Type);
CodeDomFixup\CodeDomVisitors\CreateCallbackImpl.cs (2)
373property.Type = param.Type; 382CodeCastExpression castExpr = new CodeCastExpression(param.Type, new CodeArrayIndexerExpression(resultsFieldReference, new CodePrimitiveExpression(paramIndex)));
CodeDomFixup\ConfigToCode.cs (14)
129else if (ctor.Parameters.Count == 1 && !string.Equals(ctor.Parameters[0].Type.BaseType, typeof(string).FullName, StringComparison.Ordinal)) 137else if (ctor.Parameters.Count == 1 && string.Equals(ctor.Parameters[0].Type.BaseType, typeof(string).FullName, StringComparison.Ordinal)) 153else if (ctor.Parameters.Count == 2 && string.Equals(ctor.Parameters[1].Type.BaseType, typeof(string).FullName, StringComparison.Ordinal)) 207else if (ctor.Parameters.Count == 1 && string.Equals(ctor.Parameters[0].Type.BaseType, typeof(string).FullName, StringComparison.Ordinal)) 236else if (ctor.Parameters.Count == 2 && string.Equals(ctor.Parameters[0].Type.BaseType, typeof(string).FullName, StringComparison.Ordinal) 237&& string.Equals(ctor.Parameters[1].Type.BaseType, typeof(string).FullName, StringComparison.Ordinal)) 265else if (ctor.Parameters.Count == 2 && string.Equals(ctor.Parameters[0].Type.BaseType, typeof(string).FullName, StringComparison.Ordinal) && 266string.Equals(ctor.Parameters[1].Type.BaseType, typeof(EndpointAddress).FullName, StringComparison.Ordinal)) 314if (ctor.Parameters.Count > 0 && string.Equals(ctor.Parameters[0].Type.BaseType, typeof(InstanceContext).FullName)) 337else if (ctor.Parameters.Count == 2 && string.Equals(ctor.Parameters[1].Type.BaseType, typeof(string).FullName, StringComparison.Ordinal)) 366else if (ctor.Parameters.Count == 3 && string.Equals(ctor.Parameters[1].Type.BaseType, typeof(string).FullName, StringComparison.Ordinal) 367&& string.Equals(ctor.Parameters[2].Type.BaseType, typeof(string).FullName, StringComparison.Ordinal)) 394else if (ctor.Parameters.Count == 3 && string.Equals(ctor.Parameters[1].Type.BaseType, typeof(string).FullName, StringComparison.Ordinal) 395&& string.Equals(ctor.Parameters[2].Type.BaseType, typeof(EndpointAddress).FullName, StringComparison.Ordinal))
FrameworkFork\Microsoft.CodeDom\Compiler\CodeGenerator.cs (1)
1729OutputTypeNamePair(e.Type, e.Name);
FrameworkFork\Microsoft.CodeDom\Compiler\CodeValidator.cs (1)
971ValidateTypeReference(e.Type);
FrameworkFork\Microsoft.CodeDom\Microsoft\CSharpCodeProvider.cs (1)
2037OutputTypeNamePair(e.Type, e.Name);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ClientClassGenerator.cs (15)
271CodeTypeDeclaration paramTypeDecl = ServiceContractGenerator.NamespaceHelper.GetCodeType(param.Type); 276helperMethod.Statements.Add(new CodeVariableDeclarationStatement(param.Type, inValue.VariableName, new CodeObjectCreateExpression(param.Type))); 282helperMethod.Parameters.Add(new CodeParameterDeclarationExpression(param.Type, param.Name)); 358if (p.Direction != dir && p.Type.BaseType == field.Type.BaseType) 477CodeParameterDeclarationExpression newParam = new CodeParameterDeclarationExpression(parameter.Type, parameter.Name); 551endMethod.Parameters[i].Type, 586if (endMethod.Parameters[index].Type.BaseType != s_asyncResultTypeRef.BaseType) 671variableDecl.Type = beginMethod.Parameters[i].Type; 684beginMethod.Parameters[i].Type, beginMethod.Parameters[i].Name)); 722endMethod.Parameters[i].Type, endMethod.Parameters[i].Name)); 728endMethod.Parameters[i].Type, endMethod.Parameters[i].Name); 729CodeMethodReferenceExpression getDefaultValueMethodRef = new CodeMethodReferenceExpression(new CodeThisReferenceExpression(), s_getDefaultValueForInitializationMethodName, endMethod.Parameters[i].Type); 854beginMethodParameter.Type, beginMethodParameter.Name); 901eventAsyncMethod.Parameters[i].Type,
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\OperationGenerator.cs (1)
425bool isRef = existing != null && existing.Type.BaseType == type.BaseType;