156 instantiations of CodeTypeReferenceExpression
PresentationBuildTasks (15)
BuildTasks\Ms\Internal\MarkupCompiler\MarkupCompiler.cs (15)
1467CodeFieldReferenceExpression cfre = new CodeFieldReferenceExpression(new CodeTypeReferenceExpression(typeof(EditorBrowsableState)), "Never"); 1781CodeFieldReferenceExpression cfre = new CodeFieldReferenceExpression(new CodeTypeReferenceExpression(desc.MemberInfo.DeclaringType.FullName), desc.MemberInfo.Name); 1800CodeMethodInvokeExpression cmie = new CodeMethodInvokeExpression(new CodeTypeReferenceExpression(desc.MemberInfo.DeclaringType.FullName), desc.MemberInfo.Name); 1866CodeTypeReferenceExpression ctreEvent = new CodeTypeReferenceExpression(miEvent.DeclaringType.FullName); 2522CodeMethodReferenceExpression cmreCD = new CodeMethodReferenceExpression(new CodeTypeReferenceExpression(typeof(Delegate)), "CreateDelegate"); 2600CodeFieldReferenceExpression cfreRelUri = new CodeFieldReferenceExpression(new CodeTypeReferenceExpression(typeof(System.UriKind)), "Relative"); 2611CodeMethodReferenceExpression cmreLoadContent = new CodeMethodReferenceExpression(new CodeTypeReferenceExpression(KnownTypes.Types[(int)KnownElements.Application]), LOADCOMPONENT); 2692CodeMethodReferenceExpression cmreCI = new CodeMethodReferenceExpression(new CodeTypeReferenceExpression(typeof(Activator)), "CreateInstance"); 2696CodeFieldReferenceExpression cfre1 = new CodeFieldReferenceExpression(new CodeTypeReferenceExpression(typeof(BindingFlags)), "Public"); 2697CodeFieldReferenceExpression cfre2 = new CodeFieldReferenceExpression(new CodeTypeReferenceExpression(typeof(BindingFlags)), "NonPublic"); 2698CodeFieldReferenceExpression cfre3 = new CodeFieldReferenceExpression(new CodeTypeReferenceExpression(typeof(BindingFlags)), "Instance"); 2699CodeFieldReferenceExpression cfre4 = new CodeFieldReferenceExpression(new CodeTypeReferenceExpression(typeof(BindingFlags)), "CreateInstance"); 2732cmieGPV.Parameters.Add(new CodeFieldReferenceExpression(new CodeTypeReferenceExpression(typeof(BindingFlags)), DEFAULT)); 2761cmieSPV.Parameters.Add(new CodeFieldReferenceExpression(new CodeTypeReferenceExpression(typeof(BindingFlags)), DEFAULT)); 2802CodeFieldReferenceExpression cfre5 = new CodeFieldReferenceExpression(new CodeTypeReferenceExpression(typeof(BindingFlags)), "InvokeMethod");
System.Activities (7)
System\Activities\XamlIntegration\TextExpressionCompiler.cs (7)
186new CodeTypeReferenceExpression( 1020new CodeTypeReferenceExpression(new CodeTypeReference(descriptor.TypeName)), 1080new CodeTypeReferenceExpression(descriptor.TypeName), 1307new CodeTypeReferenceExpression(descriptor.TypeName), 1840new CodeTypeReferenceExpression(typeof(CompiledDataContext)), 1898new CodeTypeReferenceExpression(typeof(CompiledDataContext)), 2275new CodeTypeReferenceExpression(baseType.Name),
System.Data (2)
fx\src\data\System\Data\CodeGen\datacache.cs (2)
1426private static CodeTypeReferenceExpression TypeExpr(Type type) { return new CodeTypeReferenceExpression(type); } 1427private static CodeTypeReferenceExpression TypeExpr(string type) { return new CodeTypeReferenceExpression(type); }
System.Data.Entity.Design (4)
System\Data\EntityModel\Emitters\AttributeEmitter.cs (1)
244new CodeTypeReferenceExpression(TypeReference.ForType(
System\Data\EntityModel\Emitters\Emitter.cs (1)
66CodeTypeReferenceExpression typeref = new CodeTypeReferenceExpression(type);
System\Data\EntityModel\Emitters\PropertyEmitter.cs (2)
140return new CodeTypeReferenceExpression(typeReference.ForType(typeof(System.Data.Objects.DataClasses.StructuralObject))); 506return new CodeFieldReferenceExpression(new CodeTypeReferenceExpression(TypeReference.ForType(type)), Enum.GetName(type, value));
System.Data.Services.Design (8)
System\Data\EntityModel\Emitters\AttributeEmitter.cs (2)
490new CodeTypeReferenceExpression(typeof(SyndicationItemProperty)), 493new CodeTypeReferenceExpression(typeof(SyndicationTextContentKind)),
System\Data\EntityModel\Emitters\EntityContainerEmitter.cs (4)
251new CodeTypeReferenceExpression(TypeReference.ForType(typeof(StringComparison))), 295new CodeTypeReferenceExpression(TypeReference.ForType(typeof(string))), 348new CodeTypeReferenceExpression(TypeReference.ForType(typeof(string))), 437new CodeTypeReferenceExpression(TypeReference.ForType(typeof(string))),
System\Data\EntityModel\Emitters\NavigationPropertyEmitter.cs (1)
77new CodeTypeReferenceExpression(typeof(System.Data.Services.Client.TrackingMode)),
System\Data\EntityModel\Emitters\PropertyEmitter.cs (1)
466return new CodeFieldReferenceExpression(new CodeTypeReferenceExpression(TypeReference.ForType(type)), Enum.GetName(type, value));
System.Data.SqlXml (2)
System\Xml\Xsl\Xslt\Scripts.cs (1)
266new CodeTypeReferenceExpression(typeof(System.Security.SecurityRuleSet)), "Level1"))));
System\Xml\Xsl\XsltOld\Compiler.cs (1)
786new CodeTypeReferenceExpression(typeof(System.Security.SecurityRuleSet)), "Level1"))));
System.Management (56)
WmiGenerator.cs (56)
986caa.Value = new CodeFieldReferenceExpression(new CodeTypeReferenceExpression("DesignerSerializationVisibility"),"Hidden"); 1032caa.Value = new CodeFieldReferenceExpression(new CodeTypeReferenceExpression("DesignerSerializationVisibility"),"Hidden"); 1279caa.Value = new CodeFieldReferenceExpression(new CodeTypeReferenceExpression("DesignerSerializationVisibility"),"Hidden"); 1379cmie.Method.TargetObject = new CodeTypeReferenceExpression("System.Convert"); 1395cmie.Method.TargetObject = new CodeTypeReferenceExpression("System.Convert"); 1474cmie.Method.TargetObject = new CodeTypeReferenceExpression("System.Convert"); 1543new CodeFieldReferenceExpression(new CodeTypeReferenceExpression(new CodeTypeReference(PublicProperties[prop.Name].ToString() + "Values")), "NULL_ENUM_VALUE"), 1551new CodeFieldReferenceExpression(new CodeTypeReferenceExpression(new CodeTypeReference(PublicProperties[prop.Name].ToString() + "Values")), "NULL_ENUM_VALUE"), 2165cmie.Method.TargetObject = new CodeTypeReferenceExpression(PrivateNamesUsed["GeneratedClassName"].ToString()); 2223cmie.Method.TargetObject = new CodeTypeReferenceExpression(PrivateNamesUsed["GeneratedClassName"].ToString()); 2284cmie.Method.TargetObject = new CodeTypeReferenceExpression(PrivateNamesUsed["GeneratedClassName"].ToString()); 2411cmie.Method.TargetObject =new CodeTypeReferenceExpression(PrivateNamesUsed["GeneratedClassName"].ToString()); 2448cmie.Method.TargetObject = new CodeTypeReferenceExpression(PrivateNamesUsed["GeneratedClassName"].ToString()); 2488cmie.Method.TargetObject = new CodeTypeReferenceExpression(PrivateNamesUsed["GeneratedClassName"].ToString()); 3153cmie2.Method.TargetObject = new CodeTypeReferenceExpression("System.Convert"); 3179new CodeFieldReferenceExpression(new CodeTypeReferenceExpression("System.DateTime"), 3190cmie2.Method.TargetObject = new CodeTypeReferenceExpression("System.Convert"); 3262new CodeFieldReferenceExpression(new CodeTypeReferenceExpression("System.DateTime"),"MinValue"))); 3295cmie.Method.TargetObject = new CodeTypeReferenceExpression("System.Convert"); 3302cmie.Method.TargetObject = new CodeTypeReferenceExpression("System.Convert"); 3836cmie = new CodeMethodInvokeExpression(new CodeTypeReferenceExpression(TypeDescriptorClass),"GetConverter"); 5433caa.Value = new CodeFieldReferenceExpression(new CodeTypeReferenceExpression("DesignerSerializationVisibility"),"Hidden"); 5475cboe4.Right = new CodeFieldReferenceExpression(new CodeTypeReferenceExpression("System.String"),"Empty"); 5521new CodePropertyReferenceExpression(new CodeTypeReferenceExpression("System.Globalization.CultureInfo"),"InvariantCulture") 5525new CodeTypeReferenceExpression("System.String"), 5594new CodePropertyReferenceExpression(new CodeTypeReferenceExpression("System.Globalization.CultureInfo"),"InvariantCulture") 5598new CodeTypeReferenceExpression("System.String"), 5662new CodePropertyReferenceExpression(new CodeTypeReferenceExpression("System.Globalization.CultureInfo"),"InvariantCulture") 5665CodeMethodInvokeExpression cmie2 = new CodeMethodInvokeExpression(new CodeTypeReferenceExpression("System.String"), 5989return new CodeFieldReferenceExpression(new CodeTypeReferenceExpression("System.DateTime"),"MinValue"); 6088caa.Value = new CodeFieldReferenceExpression(new CodeTypeReferenceExpression("DesignerSerializationVisibility"),"Hidden"); 6163cmie2.Method.TargetObject = new CodeTypeReferenceExpression("System.Convert"); 6447cmmdt.Statements.Add(new CodeVariableDeclarationStatement(new CodeTypeReference("System.DateTime"),"initializer",new CodeFieldReferenceExpression(new CodeTypeReferenceExpression("System.DateTime"),"MinValue"))); 6474CodeFieldReferenceExpression cpreMinVal = new CodeFieldReferenceExpression(new CodeTypeReferenceExpression("System.DateTime"),"MinValue"); 6479new CodeTypeReferenceExpression("System.String"),"Empty"))); 6569CodeMethodReferenceExpression cmre1 = new CodeMethodReferenceExpression(new CodeTypeReferenceExpression("System.Int64"),"Parse"); 6575cboe.Left = new CodeFieldReferenceExpression(new CodeTypeReferenceExpression("System.TimeSpan"),"TicksPerMillisecond"); 6733cmre1 = new CodeMethodReferenceExpression(new CodePropertyReferenceExpression(new CodeTypeReferenceExpression("System.TimeZone"),"CurrentTimeZone"), 6756cboe.Right = new CodeFieldReferenceExpression(new CodeTypeReferenceExpression("System.TimeSpan"),"TicksPerMinute"); 6811cmre = new CodeMethodReferenceExpression(new CodeTypeReferenceExpression("System.Int32"),"Parse"); 6871cmre = new CodeMethodReferenceExpression(new CodeTypeReferenceExpression("System.Int32"),"Parse"); 6938CodeFieldReferenceExpression cpreMaxVal = new CodeFieldReferenceExpression(new CodeTypeReferenceExpression("System.TimeSpan"),"MaxValue"); 6968CodeFieldReferenceExpression cpreMinVal = new CodeFieldReferenceExpression(new CodeTypeReferenceExpression("System.TimeSpan"),"MinValue"); 7078new CodeTypeReferenceExpression("System.TimeSpan"), 7162new CodeFieldReferenceExpression(new CodeTypeReferenceExpression("System.String"),"Empty"))); 7171new CodeTypeReferenceExpression("System.TimeZone"), 7192cboe.Right = new CodeFieldReferenceExpression(new CodeTypeReferenceExpression("System.TimeSpan"),"TicksPerMinute"); 7210cmre = new CodeMethodReferenceExpression(new CodeTypeReferenceExpression("System.Math"),"Abs"); 7246cboe2.Right = new CodeFieldReferenceExpression(new CodeTypeReferenceExpression("System.TimeSpan"),"TicksPerMinute"); 7374cboe2.Right = new CodeFieldReferenceExpression(new CodeTypeReferenceExpression("System.TimeSpan"),"TicksPerMillisecond"); 7586new CodeFieldReferenceExpression(new CodeTypeReferenceExpression("System.String"),"Empty"))); 7618cmie.Method = new CodeMethodReferenceExpression(new CodeTypeReferenceExpression("System.Int64"),"Parse"); 7635new CodeTypeReferenceExpression("System.TimeSpan"), 7756cmie.Method = new CodeMethodReferenceExpression(new CodeTypeReferenceExpression("System.TimeSpan"),"FromTicks"); 7790cmie.Method = new CodeMethodReferenceExpression(new CodeTypeReferenceExpression("System.Int32"),"Parse"); 7827CodeMethodInvokeExpression cmie = new CodeMethodInvokeExpression(new CodeTypeReferenceExpression("System.String"),
System.Runtime.Serialization (4)
System\Runtime\Serialization\CodeExporter.cs (4)
1675new CodeTypeReferenceExpression(GetCodeTypeReference(Globals.TypeOfXmlSerializableServices)), 1695new CodeTypeReferenceExpression(GetCodeTypeReference(Globals.TypeOfXmlSerializableServices)), 1731new CodeTypeReferenceExpression(GetCodeTypeReference(typeof(XmlSerializableServices))), 1962left = new CodeMethodInvokeExpression(new CodeTypeReferenceExpression(Globals.TypeOfObject),
System.ServiceModel (9)
System\ServiceModel\Channels\SecurityAttributeGenerationHelper.cs (1)
44new CodeTypeReferenceExpression(typeof(V)),
System\ServiceModel\Description\ClientClassGenerator.cs (1)
255CodeTypeReferenceExpression browsableAttributeState = new CodeTypeReferenceExpression(typeof(EditorBrowsableState));
System\ServiceModel\Description\OperationGenerator.cs (2)
777new CodeTypeReferenceExpression(typeof(ProtectionLevel)), message.ProtectionLevel.ToString()))); 1035return new CodeFieldReferenceExpression(new CodeTypeReferenceExpression(type), Enum.Format(type, val, "G"));
System\ServiceModel\Description\ServiceContractGenerator.cs (5)
235return new CodeFieldReferenceExpression(new CodeTypeReferenceExpression(typeof(EnumType)), Enum.Format(typeof(EnumType), value, "G")); 416new CodeTypeReferenceExpression(typeof(ProtectionLevel)), context.Contract.ProtectionLevel.ToString()))); 428new CodeTypeReferenceExpression(typeof(SessionMode)), context.Contract.SessionMode.ToString()))); 473new CodeTypeReferenceExpression(typeof(ProtectionLevel)), operationDescription.ProtectionLevel.ToString()))); 669new CodeTypeReferenceExpression(typeof(ProtectionLevel)), fault.ProtectionLevel.ToString())));
System.Web (28)
Compilation\AppSettingsExpressionBuilder.cs (2)
32new CodeTypeReferenceExpression(this.GetType()), 38new CodeTypeReferenceExpression(this.GetType()),
Compilation\AssemblyBuilder.cs (2)
592CodeFieldReferenceExpression field = new CodeFieldReferenceExpression(new CodeTypeReferenceExpression(enumType), fieldName); 599CodeFieldReferenceExpression field = new CodeFieldReferenceExpression(new CodeTypeReferenceExpression(enumType), fieldName);
Compilation\BaseCodeDomTreeGenerator.cs (2)
174editorBrowsableAttribute.Arguments.Add(new CodeAttributeArgument(new CodeFieldReferenceExpression(new CodeTypeReferenceExpression(typeof(EditorBrowsableState)), "Never"))); 335_classTypeExpr = new CodeTypeReferenceExpression(classTypeRef);
Compilation\BaseTemplateCodeDomTreeGenerator.cs (4)
67new CodeTypeReferenceExpression(typeof(HttpUtility)), 474new CodeFieldReferenceExpression(new CodeTypeReferenceExpression(typeof(TemplateInstance)), 668call.Method.TargetObject = new CodeTypeReferenceExpression(typeof(System.Web.UI.StaticPartialCachingControl)); 1307new CodeTypeReferenceExpression(typeof(HttpUtility)),
Compilation\CodeDOMUtility.cs (2)
370CodeTypeReferenceExpression codeTypeReferenceExpression = new CodeTypeReferenceExpression(codeTypeReference); 378CodeTypeReferenceExpression codeTypeReferenceExpression = new CodeTypeReferenceExpression(codeTypeReference);
Compilation\ConnectionStringsExpressionBuilder.cs (2)
58return new CodeMethodInvokeExpression(new CodeTypeReferenceExpression(this.GetType()), "GetConnectionString", new CodePrimitiveExpression(name)); 61return new CodeMethodInvokeExpression(new CodeTypeReferenceExpression(this.GetType()), "GetConnectionStringProviderName", new CodePrimitiveExpression(name));
Compilation\DataBindingExpressionBuilder.cs (1)
70new CodeTypeReferenceExpression(typeof(HttpUtility)),
Compilation\ObjectFactoryCodeDomTreeGenerator.cs (1)
116var webObjectActivatorExpr = new CodePropertyReferenceExpression(new CodeTypeReferenceExpression("System.Web.HttpRuntime"), "WebObjectActivator");
Compilation\PageCodeDomTreeGenerator.cs (3)
242new CodeTypeReferenceExpression(typeof(OutputCacheLocation)), 417new CodeFieldReferenceExpression(new CodeTypeReferenceExpression(typeof(TraceMode)), Parser.TraceMode.ToString()))); 434new CodeTypeReferenceExpression(typeof(ValidateRequestMode)), "Disabled");
Compilation\PageThemeCodeDomTreeGenerator.cs (1)
71cmie.Method = new CodeMethodReferenceExpression(new CodeTypeReferenceExpression(typeof(PageTheme)), "CreateSkinKey");
Compilation\ProfileBuildProvider.cs (1)
282cmie.Method.TargetObject = new CodeTypeReferenceExpression("ProfileBase");
Compilation\RouteUrlExpressionBuilder.cs (1)
31new CodeTypeReferenceExpression(this.GetType()),
Compilation\RouteValueExpressionBuilder.cs (1)
31new CodeTypeReferenceExpression(this.GetType()),
Configuration\BrowserCapabilitiesCodeGenerator.cs (5)
921new CodePropertyReferenceExpression(new CodeTypeReferenceExpression(typeof(String)), "Empty"), 941new CodePropertyReferenceExpression(new CodeTypeReferenceExpression(typeof(String)), "Empty"), 1138CodeMethodReferenceExpression emptyCheckMethod = new CodeMethodReferenceExpression(new CodeTypeReferenceExpression(typeof(String)), "IsNullOrEmpty"); 1191new CodeTypeReferenceExpression(typeof(String)), "Empty") })); 1344new CodePropertyReferenceExpression(new CodeTypeReferenceExpression(typeof(String)), "Empty") })));
System.Web.Services (8)
System\Web\Services\Description\ProtocolImporter.cs (2)
670CodeTypeReferenceExpression codeTypeReference = new CodeTypeReferenceExpression(typeof(ConfigurationManager)); 685value = new CodeMethodInvokeExpression(new CodeTypeReferenceExpression(typeof(System.String)), "Concat", parameters);
System\Web\Services\Description\SoapHttpTransportImporter.cs (1)
27CodeTypeReferenceExpression versionEnumTypeReference = new CodeTypeReferenceExpression(typeof(SoapProtocolVersion));
System\Web\Services\Description\SoapProtocolImporter.cs (5)
616AddMetadataProperty("Direction", new CodeFieldReferenceExpression(new CodeTypeReferenceExpression(typeof(SoapHeaderDirection).FullName), SoapHeaderDirection.Out.ToString())); 619AddMetadataProperty("Direction", new CodeFieldReferenceExpression(new CodeTypeReferenceExpression(typeof(SoapHeaderDirection).FullName), SoapHeaderDirection.InOut.ToString())); 767AddMetadataProperty("Use", new CodeFieldReferenceExpression(new CodeTypeReferenceExpression(typeof(SoapBindingUse).FullName), Enum.Format(typeof(SoapBindingUse), soapRequestBinding.Use, "G"))); 772AddMetadataProperty("Use", new CodeFieldReferenceExpression(new CodeTypeReferenceExpression(typeof(SoapBindingUse).FullName), Enum.Format(typeof(SoapBindingUse), soapRequestBinding.Use, "G"))); 773AddMetadataProperty("ParameterStyle", new CodeFieldReferenceExpression(new CodeTypeReferenceExpression(typeof(SoapParameterStyle).FullName), Enum.Format(typeof(SoapParameterStyle), hasWrapper ? SoapParameterStyle.Wrapped : SoapParameterStyle.Bare, "G")));
System.Workflow.Activities (7)
Rules\Expressions.cs (2)
434CodeExpression targetObject = new CodeTypeReferenceExpression(method.DeclaringType); 1931CodeTypeReferenceExpression newType = new CodeTypeReferenceExpression(CloneType(typeRefExpr.Type));
Rules\Parser\Parser.cs (4)
1647primaryExpr = new CodeTypeReferenceExpression(thisType); 1695primaryExpr = new CodeTypeReferenceExpression(thisType); 1807primaryExpr = new CodeTypeReferenceExpression(typeRef); 2219result = new CodeTypeReferenceExpression(typeRef);
WebServiceReceive.cs (1)
760CodeAttributeDeclaration attributeDeclaration = new CodeAttributeDeclaration("WebServiceBinding", new CodeAttributeArgument("ConformsTo", new CodeFieldReferenceExpression(new CodeTypeReferenceExpression("WsiProfiles"), "BasicProfile1_1")), new CodeAttributeArgument("EmitConformanceClaims", new CodePrimitiveExpression(true)));
System.Workflow.ComponentModel (3)
AuthoringOM\Serializer\DependencyObjectCodeDomSerializer.cs (3)
107param1 = new CodeMethodInvokeExpression(new CodeTypeReferenceExpression(typeof(DependencyProperty)), "FromName", new CodePrimitiveExpression(dependencyProperty.Name), new CodeTypeOfExpression(dependencyProperty.OwnerType)); 109param1 = new CodeFieldReferenceExpression(new CodeTypeReferenceExpression(dependencyProperty.OwnerType), dependencyPropertyName); 207CodeExpression param1 = new CodeFieldReferenceExpression(new CodeTypeReferenceExpression(ownerTypeName), propName + "Property");
System.Xml (3)
System\Xml\Serialization\XmlCodeExporter.cs (3)
209CodeExpression enumRef = new CodeFieldReferenceExpression(new CodeTypeReferenceExpression(mapping.TypeDesc.FullName), values[i]); 217valueExpression = new CodeFieldReferenceExpression(new CodeTypeReferenceExpression(mapping.TypeDesc.FullName), (string)value); 790attribute.Arguments.Add(new CodeAttributeArgument("Form", new CodeFieldReferenceExpression(new CodeTypeReferenceExpression(typeof(XmlSchemaForm).FullName), Enum.Format(typeof(XmlSchemaForm), form, "G"))));
51 references to CodeTypeReferenceExpression
PresentationBuildTasks (1)
BuildTasks\Ms\Internal\MarkupCompiler\MarkupCompiler.cs (1)
1866CodeTypeReferenceExpression ctreEvent = new CodeTypeReferenceExpression(miEvent.DeclaringType.FullName);
System (10)
compmod\microsoft\csharp\csharpcodeprovider.cs (3)
1726else if (e is CodeTypeReferenceExpression) { 1727GenerateTypeReferenceExpression((CodeTypeReferenceExpression)e); 2301private void GenerateTypeReferenceExpression(CodeTypeReferenceExpression e) {
compmod\system\codedom\CodeTypeReferenceExpression.cs (2)
32/// Initializes a new instance of <see cref='System.CodeDom.CodeTypeReferenceExpression'/>. 40/// Initializes a new instance of <see cref='System.CodeDom.CodeTypeReferenceExpression'/> using the specified type.
compmod\system\codedom\compiler\CodeGenerator.cs (3)
668else if (e is CodeTypeReferenceExpression) { 669GenerateTypeReferenceExpression((CodeTypeReferenceExpression)e); 1594protected virtual void GenerateTypeReferenceExpression(CodeTypeReferenceExpression e) {
compmod\system\codedom\compiler\CodeValidator.cs (2)
654else if (e is CodeTypeReferenceExpression) { 655ValidateTypeReference(((CodeTypeReferenceExpression)e).Type);
System.Data (2)
fx\src\data\System\Data\CodeGen\datacache.cs (2)
1426private static CodeTypeReferenceExpression TypeExpr(Type type) { return new CodeTypeReferenceExpression(type); } 1427private static CodeTypeReferenceExpression TypeExpr(string type) { return new CodeTypeReferenceExpression(type); }
System.Data.Entity.Design (2)
System\Data\EntityModel\Emitters\Emitter.cs (1)
66CodeTypeReferenceExpression typeref = new CodeTypeReferenceExpression(type);
System\Data\EntityModel\Emitters\PropertyEmitter.cs (1)
138public static CodeTypeReferenceExpression CreateEdmStructuralObjectRef(TypeReference typeReference)
System.ServiceModel (1)
System\ServiceModel\Description\ClientClassGenerator.cs (1)
255CodeTypeReferenceExpression browsableAttributeState = new CodeTypeReferenceExpression(typeof(EditorBrowsableState));
System.Web (5)
Compilation\BaseCodeDomTreeGenerator.cs (1)
66protected CodeTypeReferenceExpression _classTypeExpr;
Compilation\CodeDOMUtility.cs (4)
366private static CodeTypeReferenceExpression BuildGlobalCodeTypeReferenceExpression(string typeName) { 370CodeTypeReferenceExpression codeTypeReferenceExpression = new CodeTypeReferenceExpression(codeTypeReference); 374private static CodeTypeReferenceExpression BuildGlobalCodeTypeReferenceExpression(Type type) { 378CodeTypeReferenceExpression codeTypeReferenceExpression = new CodeTypeReferenceExpression(codeTypeReference);
System.Web.Services (2)
System\Web\Services\Description\ProtocolImporter.cs (1)
670CodeTypeReferenceExpression codeTypeReference = new CodeTypeReferenceExpression(typeof(ConfigurationManager));
System\Web\Services\Description\SoapHttpTransportImporter.cs (1)
27CodeTypeReferenceExpression versionEnumTypeReference = new CodeTypeReferenceExpression(typeof(SoapProtocolVersion));
System.Workflow.Activities (28)
Rules\Expressions.cs (23)
210if (binaryExpr.Left is CodeTypeReferenceExpression) 231if (binaryExpr.Right is CodeTypeReferenceExpression) 937if (fieldRefExpr.TargetObject is CodeTypeReferenceExpression) 1342if (argExpr is CodeTypeReferenceExpression) 1369if (invokeExpr.Method.TargetObject is CodeTypeReferenceExpression) 1748if (directionExpr.Expression is CodeTypeReferenceExpression) 1887CodeTypeReferenceExpression typeRefExpr = (CodeTypeReferenceExpression)expression; 1899string message = string.Format(CultureInfo.CurrentCulture, Messages.CannotWriteToExpression, typeof(CodeTypeReferenceExpression).ToString()); 1924CodeTypeReferenceExpression typeRefExpr = (CodeTypeReferenceExpression)expression; 1930CodeTypeReferenceExpression typeRefExpr = (CodeTypeReferenceExpression)expression; 1931CodeTypeReferenceExpression newType = new CodeTypeReferenceExpression(CloneType(typeRefExpr.Type)); 1954CodeTypeReferenceExpression typeRefExpr = (CodeTypeReferenceExpression)expression; 1955CodeTypeReferenceExpression newType = (CodeTypeReferenceExpression)comperand; 2010if (castExpr.Expression is CodeTypeReferenceExpression) 2274if (targetObject is CodeTypeReferenceExpression) 2339if (argExpr is CodeTypeReferenceExpression) 2651if (targetObject is CodeTypeReferenceExpression) 2733if (argExpr is CodeTypeReferenceExpression)
Rules\Parser\Parser.cs (3)
1501parserContext.SetTypeMemberCompletions(validation.ExpressionInfo(primaryExpr).ExpressionType, validation.ThisType, primaryExpr is CodeTypeReferenceExpression, validation); 1538bool isStatic = postfixExpr is CodeTypeReferenceExpression; 2386if (identExpr is CodeTypeReferenceExpression)
Rules\RuleValidation.cs (1)
2306if (isStatic != (targetExpression is CodeTypeReferenceExpression))
Rules\Walker.cs (1)
84new TypeWrapperTuple(typeof(CodeTypeReferenceExpression), new TypeReferenceExpression()),