50 instantiations of CodeTypeOfExpression
System.Activities (1)
System\Activities\XamlIntegration\TextExpressionCompiler.cs (1)
2317new CodeTypeOfExpression(memberData.Type));
System.Data (1)
fx\src\data\System\Data\CodeGen\datacache.cs (1)
1432private static CodeExpression TypeOf(string type) { return new CodeTypeOfExpression(type); }
System.Data.Entity.Design (4)
System\Data\Entity\Design\EntityViewGeneration\EntityViewGenerator.cs (1)
372CodeTypeOfExpression viewGenTypeOfExpression = new CodeTypeOfExpression(EntityViewGenerationConstants.NamespaceName + "." + viewStorageTypeName);
System\Data\EntityModel\Emitters\AssociationTypeEmitter.cs (1)
57return new CodeTypeOfExpression(Generator.GetFullyQualifiedTypeReference(((RefType)end.TypeUsage.EdmType).ElementType));
System\Data\EntityModel\Emitters\AttributeEmitter.cs (1)
83CodeAttributeDeclaration attribute = EmitSimpleAttribute("System.Runtime.Serialization.KnownTypeAttribute", new CodeTypeOfExpression(subTypeRef));
System\Data\EntityModel\Emitters\EntityContainerEmitter.cs (1)
594new CodeTypeOfExpression(TypeReference.ForType(parameterType))));
System.Data.Services.Design (1)
System\Data\EntityModel\Emitters\EntityContainerEmitter.cs (1)
414new CodeTypeOfExpression(vbScopedcontainerName),
System.Management (5)
WmiGenerator.cs (5)
1143caa.Value = new CodeTypeOfExpression (typeof(System.ComponentModel.ExpandableObjectConverter)) ; 1350caa.Value = new CodeTypeOfExpression (PrivateNamesUsed["ConverterClass"].ToString()) ; 4129cboe1.Right = new CodeTypeOfExpression(typeof(System.Enum)); 4191cboe1.Right = new CodeTypeOfExpression (PublicNamesUsed["Boolean"].ToString()); 4199cboe2.Right = new CodeTypeOfExpression (PublicNamesUsed["ValueType"].ToString());
System.Runtime.Serialization (1)
System\Runtime\Serialization\CodeExporter.cs (1)
1016knownTypeAttribute.Arguments.Add(new CodeAttributeArgument(new CodeTypeOfExpression(GetCodeTypeReference(knownTypeContract))));
System.ServiceModel (3)
System\ServiceModel\Description\DataContractSerializerOperationGenerator.cs (1)
112knownTypeAttribute.Arguments.Add(new CodeAttributeArgument(new CodeTypeOfExpression(knownTypeReference)));
System\ServiceModel\Description\ServiceContractGenerator.cs (2)
421serviceContractAttr.Arguments.Add(new CodeAttributeArgument("CallbackContract", new CodeTypeOfExpression(context.DuplexCallbackTypeReference))); 662faultContractAttr.Arguments.Add(new CodeAttributeArgument(new CodeTypeOfExpression(exceptionTypeReference)));
System.Web (9)
Compilation\AppSettingsExpressionBuilder.cs (1)
41new CodeTypeOfExpression(entry.DeclaringType),
Compilation\BaseTemplateCodeDomTreeGenerator.cs (1)
463new CodeAttributeArgument(new CodeTypeOfExpression(containerType))});
Compilation\CodeDOMUtility.cs (1)
78rightExpr = new CodeTypeOfExpression((Type) value);
Compilation\ObjectFactoryCodeDomTreeGenerator.cs (1)
120var getServiceExpr = new CodeMethodInvokeExpression(activatorRefExpr, "GetService", new CodeTypeOfExpression(typeToCreate));
Compilation\PageThemeCodeDomTreeGenerator.cs (2)
72cmie.Parameters.Add(new CodeTypeOfExpression(controlType)); 96valueExpr.Parameters.Add(new CodeTypeOfExpression(controlType));
Compilation\ResourceExpressionBuilder.cs (2)
130expr.Parameters.Add(new CodeTypeOfExpression(entry.DeclaringType)); 148expr.Parameters.Add(new CodeTypeOfExpression(entry.DeclaringType));
Compilation\RouteValueExpressionBuilder.cs (1)
35new CodeTypeOfExpression(new CodeTypeReference(entry.ControlType)),
System.Web.Services (4)
System\Web\Services\Description\HttpProtocolImporter.cs (4)
144formatterTypes[0] = new CodeTypeOfExpression(typeof(NopReturnReader).FullName); 147formatterTypes[0] = new CodeTypeOfExpression(method.MimeReturn.ReaderType.FullName); 151formatterTypes[1] = new CodeTypeOfExpression(method.MimeParameters.WriterType.FullName); 153formatterTypes[1] = new CodeTypeOfExpression(typeof(UrlParameterWriter).FullName);
System.Workflow.Activities (2)
WebServiceReceive.cs (2)
766constructor.BaseConstructorArgs.Add(new CodeTypeOfExpression(workflowTypeName)); 833baseInvokeExpression.Parameters.Add(new CodeTypeOfExpression(methodInfo.DeclaringType));
System.Workflow.ComponentModel (5)
AuthoringOM\Design\CustomActivityDesigner.cs (2)
657attributeList.Add(new AttributeInfo(typeof(EditorAttribute), new string[] { }, new object[] { new CodeTypeOfExpression(property.UITypeEditor), new CodeTypeOfExpression(typeof(UITypeEditor)) }));
AuthoringOM\Serializer\DependencyObjectCodeDomSerializer.cs (3)
107param1 = new CodeMethodInvokeExpression(new CodeTypeReferenceExpression(typeof(DependencyProperty)), "FromName", new CodePrimitiveExpression(dependencyProperty.Name), new CodeTypeOfExpression(dependencyProperty.OwnerType)); 202retVal.Add(new CodeAssignStatement(propertyRef, new CodeTypeOfExpression(typeName))); 208CodeExpression param2 = new CodeTypeOfExpression(typeName);
System.Xml (10)
System\Xml\Serialization\CodeExporter.cs (3)
173include.Arguments.Add(new CodeAttributeArgument(new CodeTypeOfExpression(derived.TypeDesc.FullName))); 183include.Arguments.Add(new CodeAttributeArgument(new CodeTypeOfExpression(arrayMapping.TypeDesc.FullName))); 261attribute.Arguments.Add(new CodeAttributeArgument(new CodeTypeOfExpression(derived.TypeDesc.FullName)));
System\Xml\Serialization\XmlCodeExporter.cs (7)
236typeofValue = new CodeTypeOfExpression(type.FullName); 249typeofValue = new CodeTypeOfExpression(type.FullName); 270typeofValue = new CodeTypeOfExpression(type.FullName); 276typeofValue = new CodeTypeOfExpression(type.FullName); 751attribute.Arguments.Add(new CodeAttributeArgument(new CodeTypeOfExpression(typeDesc.FullName))); 782attribute.Arguments.Add(new CodeAttributeArgument(new CodeTypeOfExpression("System.Nullable`1[" + typeDesc.FullName + "]"))); 786attribute.Arguments.Add(new CodeAttributeArgument(new CodeTypeOfExpression(typeDesc.FullName)));
XamlBuildTask (4)
Microsoft\Build\Tasks\Xaml\ClassGenerator.cs (4)
279codeExp = new CodeTypeOfExpression(paramInfo.TextValue); 487new CodeTypeOfExpression() 589new CodeTypeOfExpression(classData.Name) 722new CodeTypeOfExpression()
17 references to CodeTypeOfExpression
System (12)
compmod\microsoft\csharp\csharpcodeprovider.cs (3)
1729else if (e is CodeTypeOfExpression) { 1730GenerateTypeOfExpression((CodeTypeOfExpression)e); 2311private void GenerateTypeOfExpression(CodeTypeOfExpression e) {
compmod\microsoft\visualbasic\VBCodeProvider.cs (1)
2159protected override void GenerateTypeOfExpression(CodeTypeOfExpression e) {
compmod\system\codedom\CodeTypeOfExpression.cs (2)
32/// Initializes a new instance of <see cref='System.CodeDom.CodeTypeOfExpression'/>. 40/// Initializes a new instance of <see cref='System.CodeDom.CodeTypeOfExpression'/>.
compmod\system\codedom\compiler\CodeGenerator.cs (3)
671else if (e is CodeTypeOfExpression) { 672GenerateTypeOfExpression((CodeTypeOfExpression)e); 1604protected virtual void GenerateTypeOfExpression(CodeTypeOfExpression e) {
compmod\system\codedom\compiler\CodeValidator.cs (3)
657else if (e is CodeTypeOfExpression) { 658ValidateTypeOfExpression((CodeTypeOfExpression)e); 799private static void ValidateTypeOfExpression(CodeTypeOfExpression e) {
System.Data.Entity.Design (2)
System\Data\Entity\Design\EntityViewGeneration\EntityViewGenerator.cs (1)
372CodeTypeOfExpression viewGenTypeOfExpression = new CodeTypeOfExpression(EntityViewGenerationConstants.NamespaceName + "." + viewStorageTypeName);
System\Data\EntityModel\Emitters\AssociationTypeEmitter.cs (1)
55private CodeTypeOfExpression GetEndTypeCodeExpression(AssociationEndMember end)
System.Workflow.ComponentModel (3)
AuthoringOM\Compiler\TypeSystem\AttributeInfo.cs (2)
203if (this.ArgumentValues[argumentIndex] is CodeTypeOfExpression) 204typeName = DesignTimeType.GetTypeNameFromCodeTypeReference((this.ArgumentValues[argumentIndex] as CodeTypeOfExpression).Type, null);
AuthoringOM\Compiler\TypeSystem\Helper.cs (1)
166else if (codeArgument.Value is CodeTypeOfExpression)