27 writes to Type
System (3)
compmod\system\codedom\CodeParameterDeclarationExpression.cs (3)
48Type = type; 56Type = new CodeTypeReference(type); 64Type = new CodeTypeReference(type);
System.Data.Entity.Design (1)
System\Data\EntityModel\Emitters\EntityContainerEmitter.cs (1)
440parameter.Type = Generator.GetLeastPossibleQualifiedTypeReference(set.ElementType);
System.Data.Services.Design (1)
System\Data\EntityModel\Emitters\EntityContainerEmitter.cs (1)
601parameter.Type = Generator.GetLeastPossibleQualifiedTypeReference(set.ElementType);
System.Management (18)
WmiGenerator.cs (18)
1136cpde.Type = new CodeTypeReference(PublicNamesUsed["BaseObjClass"].ToString()); 2204cpde.Type = new CodeTypeReference(((CodeTypeReference)arrKeyType[i]).BaseType); 2214cpde.Type = new CodeTypeReference("System.Object"); 2263cpde.Type = new CodeTypeReference(((CodeTypeReference)arrKeyType[i]).BaseType); 2273cpde.Type = new CodeTypeReference("System.Object"); 2318cpde.Type = new CodeTypeReference(PublicNamesUsed["PathClass"].ToString()); 2572cpde.Type = new CodeTypeReference(PublicNamesUsed["LateBoundClass"].ToString()); 2643cpde.Type = new CodeTypeReference(PublicNamesUsed["BaseObjClass"].ToString()); 2971cpde.Type = ConvertCIMType(prop.Type,prop.IsArray); 2980cpde.Type = dateType; 3103cpde.Type = ConvertCIMType(prop.Type,prop.IsArray); 3112cpde.Type = dateType; 3833cpde.Type = new CodeTypeReference("System.Type"); 4325cpde.Type = new CodeTypeReference(strManagementObjectCollectionType); 4403cpde.Type = new CodeTypeReference("System.Array"); 4408cpde.Type = new CodeTypeReference("System.Int32"); 4541cpde.Type = new CodeTypeReference(strManagementObjectCollectionType + "." + 5083cpde.Type = new CodeTypeReference(PublicNamesUsed["PutOptions"].ToString());
System.ServiceModel (2)
System\ServiceModel\Description\ClientClassGenerator.cs (1)
662inValuesParam.Type = new CodeTypeReference(objectArrayType);
System\ServiceModel\Description\OperationGenerator.cs (1)
441paramDecl.Type = type;
System.Workflow.Activities (2)
WebServiceReceive.cs (2)
809paramDecl.Type = new CodeTypeReference(paramInfo.ParameterType.GetElementType().FullName); 820paramDecl.Type = new CodeTypeReference(paramInfo.ParameterType.FullName);
35 references to Type
System (4)
compmod\microsoft\csharp\csharpcodeprovider.cs (1)
1798OutputTypeNamePair(e.Type, e.Name);
compmod\microsoft\visualbasic\VBCodeProvider.cs (1)
1428OutputTypeNamePair(e.Type, e.Name);
compmod\system\codedom\compiler\CodeGenerator.cs (1)
1480OutputTypeNamePair(e.Type, e.Name);
compmod\system\codedom\compiler\CodeValidator.cs (1)
775ValidateTypeReference(e.Type);
System.Activities (1)
System\Activities\XamlIntegration\TextExpressionCompiler.cs (1)
1602CodeParameterDeclarationExpression exprValueParam = new CodeParameterDeclarationExpression(expressionMethod.Parameters[0].Type, expressionMethod.Parameters[0].Name);
System.Management (8)
WmiGenerator.cs (8)
2211if(cctor.Parameters.Count == 1 && cctor.Parameters[0].Type.BaseType == new CodeTypeReference(PublicNamesUsed["PathClass"].ToString()).BaseType) 2270if(cctor.Parameters.Count == 2 && cctor.Parameters[1].Type.BaseType == new CodeTypeReference(PublicNamesUsed["PathClass"].ToString()).BaseType) 2977CodeTypeReference dateType = cpde.Type; 2991inoutParamsType.Add(cpde.Type); 3026if(cpde.Type.ArrayRank == 0) 3029cis.TrueStatements.Add(new CodeAssignStatement(cie,new CodeCastExpression(new CodeTypeReference(cpde.Type.BaseType + " "), 3034cis.TrueStatements.Add(new CodeAssignStatement(cie,new CodeCastExpression(cpde.Type,new CodeVariableReferenceExpression(cpde.Name)))); 3109CodeTypeReference dateType = cpde.Type;
System.ServiceModel (16)
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, 587if (endMethod.Parameters[index].Type.BaseType != asyncResultTypeRef.BaseType) 672variableDecl.Type = beginMethod.Parameters[i].Type; 685beginMethod.Parameters[i].Type, beginMethod.Parameters[i].Name)); 723endMethod.Parameters[i].Type, endMethod.Parameters[i].Name)); 729endMethod.Parameters[i].Type, endMethod.Parameters[i].Name); 730CodeMethodReferenceExpression getDefaultValueMethodRef = new CodeMethodReferenceExpression(new CodeThisReferenceExpression(), getDefaultValueForInitializationMethodName, endMethod.Parameters[i].Type); 855beginMethodParameter.Type, beginMethodParameter.Name); 902eventAsyncMethod.Parameters[i].Type,
System\ServiceModel\Description\OperationGenerator.cs (1)
427bool isRef = existing != null && existing.Type.BaseType == type.BaseType;
System.Workflow.Activities (2)
Common\DelegateTypeInfo.cs (2)
130if (otherParam.Type.BaseType != Parameters[parameter].Type.BaseType)
System.Workflow.ComponentModel (4)
AuthoringOM\Compiler\TypeSystem\ParameterInfo.cs (1)
23this.codeParameterType = codeParameter.Type;
AuthoringOM\Design\DesignerHelpers.cs (1)
1640!Helpers.TypesEqual(left.Type, right.ParameterType))
Shared\DelegateTypeInfo.cs (2)
129if (otherParam.Type.BaseType != Parameters[parameter].Type.BaseType)