233 instantiations of CodePropertyReferenceExpression
PresentationBuildTasks (4)
BuildTasks\Ms\Internal\MarkupCompiler\MarkupCompiler.cs (4)
996CodePropertyReferenceExpression cpreEvent = new CodePropertyReferenceExpression(cvreES, EVENT); 1004CodePropertyReferenceExpression cpreHandler = new CodePropertyReferenceExpression(cvreES, HANDLER); 1016CodePropertyReferenceExpression cpreSetters = new CodePropertyReferenceExpression(cceTarget, SETTERS); 3064CodePropertyReferenceExpression cprePropSet = new CodePropertyReferenceExpression(ctreTag, memberInfo.Name);
System.Activities (5)
System\Activities\XamlIntegration\TextExpressionCompiler.cs (5)
1997new CodePropertyReferenceExpression(new CodeVariableReferenceExpression("locations"), "Count"), 2219new CodePropertyReferenceExpression( 2245new CodePropertyReferenceExpression(new CodeVariableReferenceExpression("locationReferences"), "Count"), 2310new CodePropertyReferenceExpression(indexer, "Name"), 2315new CodePropertyReferenceExpression(indexer, "Type"),
System.Data (1)
fx\src\data\System\Data\CodeGen\datacache.cs (1)
1436private static CodeExpression Property(CodeExpression exp, string property) { return new CodePropertyReferenceExpression(exp, property);}
System.Data.Entity.Design (7)
System\Data\EntityModel\Emitters\AttributeEmitter.cs (1)
243new object[] { new CodePropertyReferenceExpression(
System\Data\EntityModel\Emitters\EntityContainerEmitter.cs (1)
607notNullCondition = new CodePropertyReferenceExpression(
System\Data\EntityModel\Emitters\NavigationPropertyEmitter.cs (4)
187initReferenceMethod.TargetObject = new CodePropertyReferenceExpression( 205CodePropertyReferenceExpression valueProperty = new CodePropertyReferenceExpression(getMethod, ValuePropertyName); 234initCollectionMethod.TargetObject = new CodePropertyReferenceExpression( 353getMethod.TargetObject = new CodePropertyReferenceExpression(
System\Data\EntityModel\Emitters\StructuredTypeEmitter.cs (1)
232method.Statements.Add(new CodeAssignStatement(new CodePropertyReferenceExpression(instanceRef, propertyEmitter.PropertyName), newPropertyValue));
System.Data.Services.Design (8)
System\Data\EntityModel\Emitters\EntityContainerEmitter.cs (7)
250CodeExpression comparisonExpression = new CodePropertyReferenceExpression( 286new CodePropertyReferenceExpression( 338new CodePropertyReferenceExpression( 351new CodePropertyReferenceExpression( 363CodeExpression clientTypeFullName = new CodePropertyReferenceExpression( 375new CodePropertyReferenceExpression( 413CodeExpression namespaceAccess = new CodePropertyReferenceExpression(
System\Data\EntityModel\Emitters\StructuredTypeEmitter.cs (1)
233method.Statements.Add(new CodeAssignStatement(new CodePropertyReferenceExpression(instanceRef, propertyEmitter.PropertyName), newPropertyValue));
System.Management (105)
WmiGenerator.cs (105)
1066cpre = new CodePropertyReferenceExpression(new CodeVariableReferenceExpression( 1430cis2.Condition = new CodeBinaryOperatorExpression(new CodePropertyReferenceExpression(new CodeThisReferenceExpression(),IsValidPropName), 2580cpre = new CodePropertyReferenceExpression(new CodeVariableReferenceExpression(strLateBoundObject),LateBoundSystemProperties); 2582cpre = new CodePropertyReferenceExpression(cie,"Value"); 2782cpre = new CodePropertyReferenceExpression(new CodePropertyReferenceExpression( 2783new CodePropertyReferenceExpression( 2934cprePriveleges = new CodePropertyReferenceExpression(new CodePropertyReferenceExpression( 2935new CodePropertyReferenceExpression( 3117cpre = new CodePropertyReferenceExpression(new CodeVariableReferenceExpression(strOutParams),"Properties"); 3146new CodePropertyReferenceExpression(cie,"Value")))); 3151cmie2.Parameters.Add(new CodePropertyReferenceExpression(cie,"Value")); 3225cpre = new CodePropertyReferenceExpression(new CodeVariableReferenceExpression(strOutParams),"Properties"); 3229new CodePropertyReferenceExpression(cie,"Value")))); 3243cpre = new CodePropertyReferenceExpression(new CodeVariableReferenceExpression(strOutParams),"Properties"); 3293cmie.Parameters.Add(new CodePropertyReferenceExpression(cie,"Value")); 3310new CodeCastExpression(retRefType,new CodePropertyReferenceExpression(cie,"Value")))); 3504cis1.TrueStatements.Add(new CodeAssignStatement(new CodePropertyReferenceExpression( 3505new CodePropertyReferenceExpression(new CodeVariableReferenceExpression(PrivateNamesUsed["ScopeParam"].ToString()), 3522cmm.Statements.Add(new CodeAssignStatement(new CodePropertyReferenceExpression( 3526cmm.Statements.Add(new CodeAssignStatement(new CodePropertyReferenceExpression( 3551cis.TrueStatements.Add(new CodeAssignStatement(new CodePropertyReferenceExpression( 3685cis1.TrueStatements.Add(new CodeAssignStatement(new CodePropertyReferenceExpression( 3686new CodePropertyReferenceExpression(new CodeVariableReferenceExpression(PrivateNamesUsed["ScopeParam"].ToString()), 3717cmm.Statements.Add(new CodeAssignStatement(new CodePropertyReferenceExpression( 3724cmm.Statements.Add(new CodeAssignStatement(new CodePropertyReferenceExpression( 4125cboe1.Left = new CodePropertyReferenceExpression( 4168cmie = new CodeMethodInvokeExpression(new CodePropertyReferenceExpression(new CodeVariableReferenceExpression(contextObject),"PropertyDescriptor"),"ShouldSerializeValue"); 4169cmie.Parameters.Add(new CodePropertyReferenceExpression(new CodeVariableReferenceExpression(contextObject),"Instance")); 4195cboe2.Left = new CodePropertyReferenceExpression( 4233cmie = new CodeMethodInvokeExpression(new CodePropertyReferenceExpression(new CodeVariableReferenceExpression(contextObject),"PropertyDescriptor"),"ShouldSerializeValue"); 4234cmie.Parameters.Add(new CodePropertyReferenceExpression(new CodeVariableReferenceExpression(contextObject),"Instance")); 4265cmie = new CodeMethodInvokeExpression(new CodePropertyReferenceExpression(new CodeVariableReferenceExpression(contextObject),"PropertyDescriptor"),"ShouldSerializeValue"); 4266cmie.Parameters.Add(new CodePropertyReferenceExpression(new CodeVariableReferenceExpression(contextObject),"Instance")); 4345cmp.GetStatements.Add(new CodeMethodReturnStatement(new CodePropertyReferenceExpression( 4363cmp.GetStatements.Add(new CodeMethodReturnStatement(new CodePropertyReferenceExpression( 4428cboe.Right = new CodePropertyReferenceExpression(new CodeVariableReferenceExpression(strArray),"Length"); 4565new CodePropertyReferenceExpression( 5453cboe1.Left = new CodePropertyReferenceExpression(new CodeVariableReferenceExpression(PrivateNamesUsed["CurrentObject"].ToString()), 5517new CodePropertyReferenceExpression(new CodeVariableReferenceExpression(strPathParam),"ClassName"), 5519new CodePropertyReferenceExpression(new CodeThisReferenceExpression(),PublicNamesUsed["ClassNameProperty"].ToString()), 5521new CodePropertyReferenceExpression(new CodeTypeReferenceExpression("System.Globalization.CultureInfo"),"InvariantCulture") 5592new CodePropertyReferenceExpression(new CodeThisReferenceExpression(), PublicNamesUsed["ClassNameProperty"].ToString()), 5594new CodePropertyReferenceExpression(new CodeTypeReferenceExpression("System.Globalization.CultureInfo"),"InvariantCulture") 5644cboe.Right = new CodePropertyReferenceExpression(new CodeVariableReferenceExpression(strDerivation),"Length"); 5660new CodePropertyReferenceExpression(new CodeThisReferenceExpression(), PublicNamesUsed["ClassNameProperty"].ToString()), 5662new CodePropertyReferenceExpression(new CodeTypeReferenceExpression("System.Globalization.CultureInfo"),"InvariantCulture") 5738ce = new CodeCastExpression(new CodeTypeReference("System.String"),new CodePropertyReferenceExpression(prop,"Value")); 5775LenProp = new CodePropertyReferenceExpression( 5778new CodePropertyReferenceExpression(prop,"Value") 5785LenProp = new CodePropertyReferenceExpression( 5844cmie1.Method.TargetObject = new CodeCastExpression(new CodeTypeReference("System.Array"),new CodePropertyReferenceExpression(prop,"Value")); 5907new CodePropertyReferenceExpression( 6058return new CodePropertyReferenceExpression(new CodeCastExpression( 6102CodeExpression Value = new CodePropertyReferenceExpression( 6138new CodePropertyReferenceExpression( 6148cboe1.Right = new CodePropertyReferenceExpression(new CodeVariableReferenceExpression(strArray),"Length"); 6327cis1.TrueStatements.Add(new CodeAssignStatement(new CodePropertyReferenceExpression( 6328new CodePropertyReferenceExpression(new CodeVariableReferenceExpression(strScope), 6450cmmdt.Statements.Add(new CodeVariableDeclarationStatement(new CodeTypeReference("System.Int32"),year,new CodePropertyReferenceExpression(cvreInitializer,"Year"))); 6453cmmdt.Statements.Add(new CodeVariableDeclarationStatement(new CodeTypeReference("System.Int32"),month, new CodePropertyReferenceExpression(cvreInitializer,"Month"))); 6456cmmdt.Statements.Add(new CodeVariableDeclarationStatement(new CodeTypeReference("System.Int32"),day,new CodePropertyReferenceExpression(cvreInitializer,"Day"))); 6459cmmdt.Statements.Add(new CodeVariableDeclarationStatement(new CodeTypeReference("System.Int32"),hour,new CodePropertyReferenceExpression(cvreInitializer,"Hour"))); 6462cmmdt.Statements.Add(new CodeVariableDeclarationStatement(new CodeTypeReference("System.Int32"),minute,new CodePropertyReferenceExpression(cvreInitializer,"Minute"))); 6465cmmdt.Statements.Add(new CodeVariableDeclarationStatement(new CodeTypeReference("System.Int32"),second,new CodePropertyReferenceExpression(cvreInitializer,"Second"))); 6510cboe.Left = new CodePropertyReferenceExpression(new CodeVariableReferenceExpression(dmtf),"Length"); 6528cboe.Left = new CodePropertyReferenceExpression(new CodeVariableReferenceExpression(dmtf),"Length"); 6688new CodePropertyReferenceExpression 6733cmre1 = new CodeMethodReferenceExpression(new CodePropertyReferenceExpression(new CodeTypeReferenceExpression("System.TimeZone"),"CurrentTimeZone"), 6755cboe.Left = new CodePropertyReferenceExpression(new CodeVariableReferenceExpression(tickoffset),"Ticks"); 6901new CodePropertyReferenceExpression( 6943cboe.Left = new CodePropertyReferenceExpression( 6950cboe.Right = new CodePropertyReferenceExpression( 6973cboe3.Left = new CodePropertyReferenceExpression( 6980cboe3.Right = new CodePropertyReferenceExpression( 6995cpre1 = new CodePropertyReferenceExpression(new CodeVariableReferenceExpression(timespan),"Hours"); 7012cpre1 = new CodePropertyReferenceExpression(new CodeVariableReferenceExpression(timespan),"Minutes"); 7029cpre1 = new CodePropertyReferenceExpression(new CodeVariableReferenceExpression(timespan),"Seconds"); 7054coce.Parameters.Add(new CodePropertyReferenceExpression(new CodeVariableReferenceExpression(timespan),"Days")); 7055coce.Parameters.Add(new CodePropertyReferenceExpression(new CodeVariableReferenceExpression(timespan),"Hours")); 7056coce.Parameters.Add(new CodePropertyReferenceExpression(new CodeVariableReferenceExpression(timespan),"Minutes")); 7057coce.Parameters.Add(new CodePropertyReferenceExpression(new CodeVariableReferenceExpression(timespan),"Seconds")); 7066cboe.Left = new CodePropertyReferenceExpression(new CodeVariableReferenceExpression(timespan),"Ticks"); 7067cboe.Right = new CodePropertyReferenceExpression(new CodeVariableReferenceExpression(tsTemp),"Ticks"); 7104cboe.Left = new CodePropertyReferenceExpression(new CodeVariableReferenceExpression(strmicrosec),"Length"); 7170new CodePropertyReferenceExpression( 7191cboe.Left = new CodePropertyReferenceExpression(new CodeVariableReferenceExpression(tickoffset),"Ticks"); 7237cboe1.Left = new CodePropertyReferenceExpression(new CodeVariableReferenceExpression(tickoffset),"Ticks"); 7245cboe2.Left = new CodePropertyReferenceExpression(new CodeVariableReferenceExpression(tickoffset),"Ticks"); 7274cmie2.Parameters.Add(new CodeBinaryOperatorExpression(new CodePropertyReferenceExpression(new CodeVariableReferenceExpression("strTemp"),"Length"), 7296new CodePropertyReferenceExpression(new CodeVariableReferenceExpression(dateParam), 7348coce.Parameters.Add(new CodePropertyReferenceExpression(new CodeVariableReferenceExpression(dateParam),"Year")); 7349coce.Parameters.Add(new CodePropertyReferenceExpression(new CodeVariableReferenceExpression(dateParam),"Month")); 7350coce.Parameters.Add(new CodePropertyReferenceExpression(new CodeVariableReferenceExpression(dateParam),"Day")); 7351coce.Parameters.Add(new CodePropertyReferenceExpression(new CodeVariableReferenceExpression(dateParam),"Hour")); 7352coce.Parameters.Add(new CodePropertyReferenceExpression(new CodeVariableReferenceExpression(dateParam),"Minute")); 7353coce.Parameters.Add(new CodePropertyReferenceExpression(new CodeVariableReferenceExpression(dateParam),"Second")); 7363cboe.Left = new CodePropertyReferenceExpression(new CodeVariableReferenceExpression(dateParam),"Ticks"); 7364cboe.Right = new CodePropertyReferenceExpression(new CodeVariableReferenceExpression(dtTemp),"Ticks"); 7400cboe.Left = new CodePropertyReferenceExpression(new CodeVariableReferenceExpression(strmicrosec),"Length"); 7450new CodePropertyReferenceExpression(new CodeVariableReferenceExpression(dateParam), 7526cboe.Left = new CodePropertyReferenceExpression(new CodeVariableReferenceExpression(tsParam),"Length"); 7545cboe.Left = new CodePropertyReferenceExpression(new CodeVariableReferenceExpression(tsParam),"Length"); 7719new CodePropertyReferenceExpression
System.Runtime.Serialization (8)
System\Runtime\Serialization\CodeExporter.cs (8)
1698new CodePropertyReferenceExpression(ThisReference, Globals.NodeArrayPropertyName) 1755setObjectData.Left = new CodePropertyReferenceExpression(ThisReference, Globals.SerializationInfoFieldName); 1761baseConstructor.Statements.Add(new CodeAssignStatement(new CodePropertyReferenceExpression(ThisReference, PropertyChangedEvent.Name), NullReference)); 1815new CodePropertyReferenceExpression(ThisReference, Globals.SerializationInfoPropertyName), 1825new CodePropertyReferenceExpression(ThisReference, Globals.SerializationInfoPropertyName), 1832getCurrent.InitExpression = new CodePropertyReferenceExpression( 1838CodePropertyReferenceExpression getCurrentName = new CodePropertyReferenceExpression( 1841CodePropertyReferenceExpression getCurrentValue = new CodePropertyReferenceExpression(
System.ServiceModel (8)
System\ServiceModel\Description\ClientClassGenerator.cs (8)
804new CodePropertyReferenceExpression(eventArgsRef, EventArgsPropertyNames[0]), 805new CodePropertyReferenceExpression(eventArgsRef, EventArgsPropertyNames[1]), 806new CodePropertyReferenceExpression(eventArgsRef, EventArgsPropertyNames[2]), 807new CodePropertyReferenceExpression(eventArgsRef, EventArgsPropertyNames[3])); 812new CodePropertyReferenceExpression(eventArgsRef, EventArgsPropertyNames[1]), 813new CodePropertyReferenceExpression(eventArgsRef, EventArgsPropertyNames[2]), 814new CodePropertyReferenceExpression(eventArgsRef, EventArgsPropertyNames[3])); 1001return new CodePropertyReferenceExpression(new CodeBaseReferenceExpression(), Strings.ClientBaseChannelProperty);
System.Web (62)
Compilation\BaseCodeDomTreeGenerator.cs (6)
528CodePropertyReferenceExpression propRef = new CodePropertyReferenceExpression( 530propRef = new CodePropertyReferenceExpression(propRef, "Profile"); 640CodePropertyReferenceExpression stateObj = new CodePropertyReferenceExpression(new CodePropertyReferenceExpression(new CodeThisReferenceExpression(), 704createObjectCall.Method.TargetObject = new CodePropertyReferenceExpression( 714createObjectCall.Method.TargetObject = new CodePropertyReferenceExpression(
Compilation\BaseTemplateCodeDomTreeGenerator.cs (12)
148return new CodePropertyReferenceExpression(new CodeThisReferenceExpression(), pagePropertyName); 316set.Left = new CodePropertyReferenceExpression(ctrlRefExpr, skinIDPropertyName); 353set.Left = new CodePropertyReferenceExpression(ctrlRefExpr, pseSub.Name); 397methCallExpression.Parameters.Add(new CodePropertyReferenceExpression(new CodeThisReferenceExpression(), pagePropertyName)); 489new CodePropertyReferenceExpression(new CodeThisReferenceExpression(), "ContentTemplates"); 756leftExpr = new CodePropertyReferenceExpression(ctrlRefExpr, pseSub.Name); 782refExpr.TargetObject = new CodePropertyReferenceExpression(ctrlRefExpr, pseSub.Name); 794methCallExpression.Parameters.Add(new CodePropertyReferenceExpression(ctrlRefExpr, pseSub.Name)); 830set.Left = new CodePropertyReferenceExpression(ctrlRefExpr, pseSub.Name); 1263new CodePropertyReferenceExpression(new CodeVariableReferenceExpression("target"), 1551methodInvoke.Method.TargetObject = new CodeIndexerExpression(new CodePropertyReferenceExpression(new CodeArgumentReferenceExpression("parameterContainer"), 1699assign.Left = new CodePropertyReferenceExpression(ctrlRefExpr, "TemplateControl");
Compilation\CodeDOMUtility.cs (4)
112CodePropertyReferenceExpression propRef = new CodePropertyReferenceExpression(BuildGlobalCodeTypeReferenceExpression(desc.MemberInfo.DeclaringType.FullName), desc.MemberInfo.Name); 198methCall.Parameters.Add(new CodePropertyReferenceExpression(BuildGlobalCodeTypeReferenceExpression(typeof(CultureInfo)), "InvariantCulture")); 308invokeExpr.Parameters.Add(new CodePropertyReferenceExpression( 342ret = new CodePropertyReferenceExpression(ret, part);
Compilation\DataBindingExpressionBuilder.cs (3)
53getDataItemExpr.Method.TargetObject = new CodePropertyReferenceExpression(new CodeThisReferenceExpression(), "Page"); 102new CodePropertyReferenceExpression(targetExp, 126new CodePropertyReferenceExpression(new CodeVariableReferenceExpression("Container"),
Compilation\MasterPageCodeDomTreeGenerator.cs (1)
33CodePropertyReferenceExpression propertyExpr = new CodePropertyReferenceExpression(new CodeThisReferenceExpression(), "ContentPlaceHolders");
Compilation\ObjectFactoryCodeDomTreeGenerator.cs (1)
116var webObjectActivatorExpr = new CodePropertyReferenceExpression(new CodeTypeReferenceExpression("System.Web.HttpRuntime"), "WebObjectActivator");
Compilation\PageCodeDomTreeGenerator.cs (21)
135setScriptTimeout.Left = new CodePropertyReferenceExpression( 136new CodePropertyReferenceExpression( 146new CodePropertyReferenceExpression(new CodeThisReferenceExpression(), "TransactionMode"), 152new CodePropertyReferenceExpression(new CodeThisReferenceExpression(), "AspCompatMode"), 158new CodePropertyReferenceExpression(new CodeThisReferenceExpression(), "AsyncMode"), 216new CodePropertyReferenceExpression(outputCacheSettings, "CacheProfile"), 224new CodePropertyReferenceExpression(outputCacheSettings, "Duration"), 232new CodePropertyReferenceExpression(outputCacheSettings, "Enabled"), 240new CodePropertyReferenceExpression(outputCacheSettings, "Location"), 250new CodePropertyReferenceExpression(outputCacheSettings, "NoStore"), 258new CodePropertyReferenceExpression(outputCacheSettings, "SqlDependency"), 266new CodePropertyReferenceExpression(outputCacheSettings, "VaryByControl"), 274new CodePropertyReferenceExpression(outputCacheSettings, "VaryByCustom"), 282new CodePropertyReferenceExpression(outputCacheSettings, "VaryByContentEncoding"), 289new CodePropertyReferenceExpression(outputCacheSettings, "VaryByHeader"), 297new CodePropertyReferenceExpression(outputCacheSettings, "VaryByParam"), 378CodeExpression leftExpr = new CodePropertyReferenceExpression(new CodeThisReferenceExpression(), _styleSheetThemePropertyName); 410new CodePropertyReferenceExpression(new CodeThisReferenceExpression(), "TraceEnabled"), 416new CodePropertyReferenceExpression(new CodeThisReferenceExpression(), "TraceModeValue"), 423invokeExpr.Method.TargetObject = new CodePropertyReferenceExpression( 431CodePropertyReferenceExpression left = new CodePropertyReferenceExpression(
Compilation\PageThemeCodeDomTreeGenerator.cs (2)
304assign.Left = new CodePropertyReferenceExpression(ctrlRefExpr, templateSourceDirectoryName); 305assign.Right = new CodePropertyReferenceExpression(new CodeThisReferenceExpression(), templateSourceDirectoryName);
Compilation\RouteValueExpressionBuilder.cs (1)
33new CodePropertyReferenceExpression(new CodeThisReferenceExpression(), "Page"),
Compilation\TemplateControlCodeDomTreeGenerator.cs (4)
74new CodePropertyReferenceExpression(new CodeCastExpression(classTypeRef, new CodeThisReferenceExpression()), "AppRelativeVirtualPath"), 128CodePropertyReferenceExpression propRef = new CodePropertyReferenceExpression( 264CodePropertyReferenceExpression propRef = new CodePropertyReferenceExpression( 266propRef = new CodePropertyReferenceExpression(propRef, "ApplicationInstance");
Configuration\BrowserCapabilitiesCodeGenerator.cs (7)
921new CodePropertyReferenceExpression(new CodeTypeReferenceExpression(typeof(String)), "Empty"), 941new CodePropertyReferenceExpression(new CodeTypeReferenceExpression(typeof(String)), "Empty"), 1156new CodePropertyReferenceExpression(_browserCapsRefExpr, "Capabilities") 1190new CodePropertyReferenceExpression( 1344new CodePropertyReferenceExpression(new CodeTypeReferenceExpression(typeof(String)), "Empty") }))); 1431CodePropertyReferenceExpression cpre = new CodePropertyReferenceExpression(_browserCapsRefExpr, "Adapters"); 1445assignHtmlTextWriter.Left = new CodePropertyReferenceExpression(_browserCapsRefExpr, "HtmlTextWriter");
System.Web.Services (8)
System\Web\Services\Description\HttpProtocolImporter.cs (1)
284CodeExpression left = new CodePropertyReferenceExpression(new CodeThisReferenceExpression(), "Url");
System\Web\Services\Description\ProtocolImporter.cs (2)
655CodePropertyReferenceExpression urlPropertyReference = new CodePropertyReferenceExpression(new CodeThisReferenceExpression(), "Url"); 671CodePropertyReferenceExpression propertyReference = new CodePropertyReferenceExpression(codeTypeReference, "AppSettings");
System\Web\Services\Description\SoapHttpTransportImporter.cs (1)
29CodePropertyReferenceExpression versionPropertyReference = new CodePropertyReferenceExpression(new CodeThisReferenceExpression(), "SoapVersion");
System\Web\Services\Description\WebCodeGenerator.cs (4)
301create.Parameters.Add(new CodePropertyReferenceExpression(invokeArgs, "Results")); 306create.Parameters.Add(new CodePropertyReferenceExpression(invokeArgs, "Error")); 307create.Parameters.Add(new CodePropertyReferenceExpression(invokeArgs, "Cancelled")); 308create.Parameters.Add(new CodePropertyReferenceExpression(invokeArgs, "UserState"));
System.Workflow.Activities (3)
Rules\Expressions.cs (1)
1240CodePropertyReferenceExpression newProperty = new CodePropertyReferenceExpression();
Rules\Parser\Parser.cs (2)
1596fieldOrPropExpr = new CodePropertyReferenceExpression(postfixExpr, name); 1656fieldOrPropExpr = new CodePropertyReferenceExpression(primaryExpr, name);
System.Workflow.ComponentModel (3)
AuthoringOM\Serializer\ActivityTypeCodeDomSerializer.cs (2)
97beginInit.Left = new CodePropertyReferenceExpression(new CodeThisReferenceExpression(), "CanModifyActivities"); 105endInit.Left = new CodePropertyReferenceExpression(new CodeThisReferenceExpression(), "CanModifyActivities");
AuthoringOM\Serializer\DependencyObjectCodeDomSerializer.cs (1)
201CodePropertyReferenceExpression propertyRef = new CodePropertyReferenceExpression(objectExpression, propName);
XamlBuildTask (11)
Microsoft\Build\Tasks\Xaml\ClassGenerator.cs (10)
483new CodePropertyReferenceExpression() 552new CodePropertyReferenceExpression(readerSettingsVar, "LocalAssembly"), 562new CodePropertyReferenceExpression(readerSettingsVar, "AllowProtectedMembersOnRoot"), 622new CodePropertyReferenceExpression(objWriterVar, "RootNameScope"), 718new CodePropertyReferenceExpression() 750Right = new CodePropertyReferenceExpression() 1164new CodeCastExpression(typeof(XamlSchemaContext), new CodePropertyReferenceExpression(schemaContext, "Target"))); 1175new CodePropertyReferenceExpression(AssemblyList, "Count"), 1248new CodePropertyReferenceExpression(assemblyName, "FullName") 1254typeof(AssemblyName).New(new CodePropertyReferenceExpression(assemblyName, "Name")));
Microsoft\Build\Tasks\Xaml\CodeDomExtensionMethods.cs (1)
42return new CodePropertyReferenceExpression(targetObject, propertyName);
62 references to CodePropertyReferenceExpression
PresentationBuildTasks (4)
BuildTasks\Ms\Internal\MarkupCompiler\MarkupCompiler.cs (4)
996CodePropertyReferenceExpression cpreEvent = new CodePropertyReferenceExpression(cvreES, EVENT); 1004CodePropertyReferenceExpression cpreHandler = new CodePropertyReferenceExpression(cvreES, HANDLER); 1016CodePropertyReferenceExpression cpreSetters = new CodePropertyReferenceExpression(cceTarget, SETTERS); 3064CodePropertyReferenceExpression cprePropSet = new CodePropertyReferenceExpression(ctreTag, memberInfo.Name);
System (13)
compmod\microsoft\csharp\csharpcodeprovider.cs (3)
1717else if (e is CodePropertyReferenceExpression) { 1718GeneratePropertyReferenceExpression((CodePropertyReferenceExpression)e); 2190private void GeneratePropertyReferenceExpression(CodePropertyReferenceExpression e) {
compmod\microsoft\visualbasic\VBCodeProvider.cs (1)
2084protected override void GeneratePropertyReferenceExpression(CodePropertyReferenceExpression e) {
compmod\system\codedom\CodePropertyReferenceExpression.cs (3)
34/// Initializes a new instance of <see cref='System.CodeDom.CodePropertyReferenceExpression'/>. 42/// Initializes a new instance of <see cref='System.CodeDom.CodePropertyReferenceExpression'/> using the specified target object and property 53/// The target object containing the property this <see cref='System.CodeDom.CodePropertyReferenceExpression'/> references.
compmod\system\codedom\compiler\CodeGenerator.cs (3)
659else if (e is CodePropertyReferenceExpression) { 660GeneratePropertyReferenceExpression((CodePropertyReferenceExpression)e); 1573protected abstract void GeneratePropertyReferenceExpression(CodePropertyReferenceExpression e);
compmod\system\codedom\compiler\CodeValidator.cs (3)
645else if (e is CodePropertyReferenceExpression) { 646ValidatePropertyReferenceExpression((CodePropertyReferenceExpression)e); 786private void ValidatePropertyReferenceExpression(CodePropertyReferenceExpression e) {
System.Data.Entity.Design (1)
System\Data\EntityModel\Emitters\NavigationPropertyEmitter.cs (1)
205CodePropertyReferenceExpression valueProperty = new CodePropertyReferenceExpression(getMethod, ValuePropertyName);
System.Management (5)
WmiGenerator.cs (5)
85private CodePropertyReferenceExpression cpre; 2835CodePropertyReferenceExpression cprePriveleges = null; 5771CodePropertyReferenceExpression LenProp = null; 5906CodePropertyReferenceExpression LenProp = 6900CodePropertyReferenceExpression cpre1 =
System.Runtime.Serialization (2)
System\Runtime\Serialization\CodeExporter.cs (2)
1838CodePropertyReferenceExpression getCurrentName = new CodePropertyReferenceExpression( 1841CodePropertyReferenceExpression getCurrentValue = new CodePropertyReferenceExpression(
System.Web (10)
Compilation\BaseCodeDomTreeGenerator.cs (2)
528CodePropertyReferenceExpression propRef = new CodePropertyReferenceExpression( 640CodePropertyReferenceExpression stateObj = new CodePropertyReferenceExpression(new CodePropertyReferenceExpression(new CodeThisReferenceExpression(),
Compilation\BaseTemplateCodeDomTreeGenerator.cs (1)
488CodePropertyReferenceExpression contentTemplatesFieldRef =
Compilation\CodeDOMUtility.cs (1)
112CodePropertyReferenceExpression propRef = new CodePropertyReferenceExpression(BuildGlobalCodeTypeReferenceExpression(desc.MemberInfo.DeclaringType.FullName), desc.MemberInfo.Name);
Compilation\MasterPageCodeDomTreeGenerator.cs (1)
33CodePropertyReferenceExpression propertyExpr = new CodePropertyReferenceExpression(new CodeThisReferenceExpression(), "ContentPlaceHolders");
Compilation\ObjectFactoryCodeDomTreeGenerator.cs (1)
116var webObjectActivatorExpr = new CodePropertyReferenceExpression(new CodeTypeReferenceExpression("System.Web.HttpRuntime"), "WebObjectActivator");
Compilation\PageCodeDomTreeGenerator.cs (1)
431CodePropertyReferenceExpression left = new CodePropertyReferenceExpression(
Compilation\TemplateControlCodeDomTreeGenerator.cs (2)
128CodePropertyReferenceExpression propRef = new CodePropertyReferenceExpression( 264CodePropertyReferenceExpression propRef = new CodePropertyReferenceExpression(
Configuration\BrowserCapabilitiesCodeGenerator.cs (1)
1431CodePropertyReferenceExpression cpre = new CodePropertyReferenceExpression(_browserCapsRefExpr, "Adapters");
System.Web.Services (3)
System\Web\Services\Description\ProtocolImporter.cs (2)
655CodePropertyReferenceExpression urlPropertyReference = new CodePropertyReferenceExpression(new CodeThisReferenceExpression(), "Url"); 671CodePropertyReferenceExpression propertyReference = new CodePropertyReferenceExpression(codeTypeReference, "AppSettings");
System\Web\Services\Description\SoapHttpTransportImporter.cs (1)
29CodePropertyReferenceExpression versionPropertyReference = new CodePropertyReferenceExpression(new CodeThisReferenceExpression(), "SoapVersion");
System.Workflow.Activities (17)
Rules\CodeDomDecompiler.cs (1)
416map.Add(typeof(CodePropertyReferenceExpression), GetPostfixPrecedence);
Rules\Expressions.cs (15)
1056CodePropertyReferenceExpression propGetExpr = (CodePropertyReferenceExpression)expression; 1161CodePropertyReferenceExpression propGetExpr = (CodePropertyReferenceExpression)expression; 1201CodePropertyReferenceExpression propGetExpr = (CodePropertyReferenceExpression)expression; 1220CodePropertyReferenceExpression propGetExpr = (CodePropertyReferenceExpression)expression; 1238CodePropertyReferenceExpression propGetExpr = (CodePropertyReferenceExpression)expression; 1240CodePropertyReferenceExpression newProperty = new CodePropertyReferenceExpression(); 1248CodePropertyReferenceExpression propGetExpr = (CodePropertyReferenceExpression)expression; 1250CodePropertyReferenceExpression newProperty = (CodePropertyReferenceExpression)comperand;
Rules\Walker.cs (1)
78new TypeWrapperTuple(typeof(CodePropertyReferenceExpression), new PropertyReferenceExpression()),
System.Workflow.ComponentModel (6)
AuthoringOM\Serializer\ActivityCodeDomSerializationManager.cs (2)
178if (context != null && context.Expression is CodePropertyReferenceExpression && 179string.Equals(((CodePropertyReferenceExpression)context.Expression).PropertyName, "SynchronizationHandles", StringComparison.Ordinal))
AuthoringOM\Serializer\DependencyObjectCodeDomSerializer.cs (4)
127if (statement is CodeAssignStatement && ((CodeAssignStatement)statement).Left is CodePropertyReferenceExpression) 129CodePropertyReferenceExpression prop = ((CodeAssignStatement)statement).Left as CodePropertyReferenceExpression; 201CodePropertyReferenceExpression propertyRef = new CodePropertyReferenceExpression(objectExpression, propName);
XamlBuildTask (1)
Microsoft\Build\Tasks\Xaml\CodeDomExtensionMethods.cs (1)
40internal static CodePropertyReferenceExpression Property(this CodeExpression targetObject, string propertyName)