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