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