49 writes to Type
System.Activities (3)
System\Activities\XamlIntegration\TextExpressionCompiler.cs (3)
540
accessorProperty.
Type
= new CodeTypeReference(memberData.Type);
555
accessorProperty.
Type
= new CodeTypeReference(typeof(object));
571
accessorPropertyForReadOnly.
Type
= new CodeTypeReference(typeof(object));
System.Data (2)
fx\src\data\System\Data\CodeGen\datacache.cs (2)
1516
property.
Type
= Type(type);
1525
property.
Type
= Type(type);
System.Data.Entity.Design (4)
System\Data\EntityModel\Emitters\EntityContainerEmitter.cs (1)
339
codeProperty.
Type
= TypeReference.AdoFrameworkGenericClass(typeName, genericParameter);
System\Data\EntityModel\Emitters\NavigationPropertyEmitter.cs (2)
123
property.
Type
= eventArgs.ReturnType;
127
property.
Type
= typeRef;
System\Data\EntityModel\Emitters\PropertyEmitter.cs (1)
930
memberProperty.
Type
= propertyType;
System.Data.Services.Design (4)
System\Data\EntityModel\Emitters\EntityContainerEmitter.cs (1)
500
codeProperty.
Type
= TypeReference.AdoFrameworkGenericClass("DataServiceQuery", genericParameter);
System\Data\EntityModel\Emitters\NavigationPropertyEmitter.cs (2)
126
property.
Type
= eventArgs.ReturnType;
130
property.
Type
= typeRef;
System\Data\EntityModel\Emitters\PropertyEmitter.cs (1)
855
memberProperty.
Type
= propertyType;
System.Management (17)
WmiGenerator.cs (17)
975
cmp.
Type
= new CodeTypeReference(propType);
1012
cmp.
Type
= new CodeTypeReference(propType);
1056
cmp.
Type
= new CodeTypeReference(PublicNamesUsed["PathClass"].ToString());
1186
cmp.
Type
= ConvertCIMType(prop.Type,prop.IsArray);
1233
cmp.
Type
= ConvertCIMType(prop.Type,prop.IsArray);
1240
cmp.
Type
= dateType;
1258
cmp2.
Type
= new CodeTypeReference("System.Boolean");
1870
cmp.
Type
= new CodeTypeReference(strEnum, 1);
1874
cmp.
Type
= new CodeTypeReference(strEnum);
1974
cmp.
Type
= new CodeTypeReference(strEnum, 1);
1978
cmp.
Type
= new CodeTypeReference(strEnum);
4340
cmp.
Type
= new CodeTypeReference("System.Int32");
4358
cmp.
Type
= new CodeTypeReference("System.Boolean");
4375
cmp.
Type
= new CodeTypeReference("System.Object");
4557
cmp.
Type
= new CodeTypeReference("System.Object");
5422
cmp.
Type
= new CodeTypeReference("System.String");
6073
cmp.
Type
= new CodeTypeReference(PublicNamesUsed["ScopeClass"].ToString());
System.Runtime.Serialization (2)
System\Runtime\Serialization\CodeExporter.cs (2)
1883
extensionDataObjectProperty.
Type
= GetCodeTypeReference(Globals.TypeOfExtensionDataObject);
1940
property.
Type
= type;
System.ServiceModel (1)
System\ServiceModel\Description\ClientClassGenerator.cs (1)
601
property.
Type
= propertyType;
System.Web (10)
Compilation\BaseCodeDomTreeGenerator.cs (4)
526
prop.
Type
= new CodeTypeReference(typeName);
553
prop.
Type
= new CodeTypeReference(propType);
613
prop.
Type
= new CodeTypeReference(propType);
661
prop.
Type
= new CodeTypeReference(declaredType);
Compilation\PageThemeCodeDomTreeGenerator.cs (1)
45
member.
Type
= new CodeTypeReference(type.FullName);
Compilation\ProfileBuildProvider.cs (2)
191
prop.
Type
= property.PropertyCodeRefType;
241
prop.
Type
= new CodeTypeReference("ProfileGroup" + groupName);
Compilation\TemplateControlCodeDomTreeGenerator.cs (3)
126
prop.
Type
= new CodeTypeReference(propertyType);
236
prop.
Type
= new CodeTypeReference(typeof(bool));
262
prop.
Type
= new CodeTypeReference(appType);
System.Web.Services (2)
System\Web\Services\Description\WebCodeGenerator.cs (2)
91
prop.
Type
= new CodeTypeReference(typeName);
404
prop.
Type
= new CodeTypeReference(typeName);
System.Xml (1)
System\Xml\Serialization\CodeExporter.cs (1)
300
prop.
Type
= new CodeTypeReference(typeName);
XamlBuildTask (3)
Microsoft\Build\Tasks\Xaml\ClassGenerator.cs (3)
930
Type
= propertyCodeType,
1102
Type
= new CodeTypeReference(typeof(IList<Assembly>)),
1152
Type
= new CodeTypeReference(typeof(XamlSchemaContext)),
25 references to Type
System (4)
compmod\microsoft\csharp\csharpcodeprovider.cs (1)
1954
OutputType(e.
Type
);
compmod\microsoft\visualbasic\VBCodeProvider.cs (2)
2019
OutputType(e.
Type
);
2020
OutputArrayPostfix(e.
Type
);
compmod\system\codedom\compiler\CodeValidator.cs (1)
247
ValidateTypeReference(e.
Type
);
System.Data.Entity.Design (2)
System\Data\EntityModel\Emitters\EntityContainerEmitter.cs (2)
343
PropertyGeneratedEventArgs eventArgs = new PropertyGeneratedEventArgs(set, fieldName, codeProperty.
Type
);
346
if (eventArgs.ReturnType == null || !eventArgs.ReturnType.Equals(codeProperty.
Type
))
System.Data.Services.Design (2)
System\Data\EntityModel\Emitters\EntityContainerEmitter.cs (2)
504
PropertyGeneratedEventArgs eventArgs = new PropertyGeneratedEventArgs(set, fieldName, codeProperty.
Type
);
507
if (eventArgs.ReturnType == null || !eventArgs.ReturnType.Equals(codeProperty.
Type
))
System.Management (12)
WmiGenerator.cs (12)
1192
cmp.GetStatements.Add (new CodeMethodReturnStatement (new CodeCastExpression(cmp.
Type
,cie)));
1237
CodeTypeReference dateType = cmp.
Type
;
1246
if((cmp.
Type
.ArrayRank == 0 && cmp.
Type
.BaseType == new CodeTypeReference(PublicNamesUsed["BaseObjClass"].ToString()).BaseType) ||
1247
cmp.
Type
.ArrayRank > 0 && cmp.
Type
.ArrayElementType .BaseType == new CodeTypeReference(PublicNamesUsed["BaseObjClass"].ToString()).BaseType)
1382
cis.TrueStatements.Add(new CodeMethodReturnStatement (new CodeCastExpression(cmp.
Type
,cmie )));
1400
new CodeArrayCreateExpression(cmp.
Type
,cInit)));
1477
cmp.GetStatements.Add (new CodeMethodReturnStatement (new CodeCastExpression(cmp.
Type
,cmie )));
1482
cmp.GetStatements.Add (new CodeMethodReturnStatement (new CodeCastExpression(cmp.
Type
,cie)));
1648
arrKeyType.Add(cmp.
Type
);
6130
string strEnumName = cmProp.
Type
.BaseType;
System.Web (2)
Compilation\ProfileBuildProvider.cs (2)
203
getLine = new CodeMethodReturnStatement(new CodeCastExpression(prop.
Type
, cmie));
253
getLine = new CodeMethodReturnStatement(new CodeCastExpression(prop.
Type
, cmie));
System.Workflow.ComponentModel (3)
AuthoringOM\Compiler\TypeSystem\PropertyInfo.cs (3)
47
return declaringType.ResolveType(DesignTimeType.GetTypeNameFromCodeTypeReference(this.property.
Type
, declaringType));
291
return ((DesignTimeType)this.DeclaringType).ResolveType(DesignTimeType.GetTypeNameFromCodeTypeReference(this.property.CodeMemberProperty.
Type
, ((DesignTimeType)this.DeclaringType)));
324
CodeParameterDeclarationExpression valueParameter = new CodeParameterDeclarationExpression(this.property.CodeMemberProperty.
Type
.BaseType, "value");