194 instantiations of CodeThisReferenceExpression
PresentationBuildTasks (7)
System.Activities (27)
System\Activities\XamlIntegration\TextExpressionCompiler.cs (27)
501new CodeThisReferenceExpression(),
514new CodeThisReferenceExpression(),
780new CodeThisReferenceExpression(),
1010new CodeFieldReferenceExpression(new CodeThisReferenceExpression(), dataContextActivitiesFieldName),
1017new CodeFieldReferenceExpression(new CodeThisReferenceExpression(), dataContextActivitiesFieldName),
1023new CodeThisReferenceExpression(),
1026new CodeThisReferenceExpression(),
1042new CodeThisReferenceExpression(),
1051new CodeThisReferenceExpression(),
1053new CodeThisReferenceExpression()));
1083new CodeThisReferenceExpression(),
1087new CodeThisReferenceExpression(),
1090new CodeThisReferenceExpression(),
1184new CodeThisReferenceExpression(),
1558new CodeThisReferenceExpression(),
1564new CodeThisReferenceExpression(),
1607new CodeThisReferenceExpression(),
1612new CodeThisReferenceExpression(),
1621new CodeThisReferenceExpression(),
1651new CodeThisReferenceExpression(),
1656new CodeThisReferenceExpression(),
1663new CodeThisReferenceExpression(),
1686new CodeThisReferenceExpression(),
1693CodeFieldReferenceExpression fieldReference = new CodeFieldReferenceExpression(new CodeThisReferenceExpression(), valueField.Key);
1722new CodeThisReferenceExpression(),
1729new CodeThisReferenceExpression(), valueField.Key));
1994new CodeThisReferenceExpression(),
System.Data (1)
System.Data.Entity.Design (3)
System.Data.Services.Design (6)
System.Management (15)
System.Runtime.Serialization (1)
System.ServiceModel (15)
System\ServiceModel\Description\ClientClassGenerator.cs (14)
267CodeMethodInvokeExpression invokeMethod = new CodeMethodInvokeExpression(new CodeMethodReferenceExpression(new CodeCastExpression(ifaceType, new CodeThisReferenceExpression()), method.Name));
527resultsFieldReference.TargetObject = new CodeThisReferenceExpression();
666CodeMethodInvokeExpression invokeBegin = new CodeMethodInvokeExpression(new CodeThisReferenceExpression(), beginMethod.Name);
715CodeMethodInvokeExpression invokeEnd = new CodeMethodInvokeExpression(new CodeThisReferenceExpression(), endMethod.Name);
730CodeMethodReferenceExpression getDefaultValueMethodRef = new CodeMethodReferenceExpression(new CodeThisReferenceExpression(), getDefaultValueForInitializationMethodName, endMethod.Parameters[i].Type);
817CodeEventReferenceExpression completedEvent = new CodeEventReferenceExpression(new CodeThisReferenceExpression(), operationCompletedEvent.Name);
821new CodeThisReferenceExpression(),
870invokeAsync.Parameters.Add(new CodeFieldReferenceExpression(new CodeThisReferenceExpression(), beginOperationDelegate.Name));
879invokeAsync.Parameters.Add(new CodeFieldReferenceExpression(new CodeThisReferenceExpression(), endOperationDelegate.Name));
880invokeAsync.Parameters.Add(new CodeFieldReferenceExpression(new CodeThisReferenceExpression(), operationCompletedDelegate.Name));
897new CodeThisReferenceExpression(), eventAsyncMethod.Name);
924new CodeFieldReferenceExpression(new CodeThisReferenceExpression(), delegateField.Name),
928new CodeFieldReferenceExpression(new CodeThisReferenceExpression(), delegateField.Name),
930new CodeThisReferenceExpression(), delegateMethod.Name)));
System.Web (73)
Compilation\BaseTemplateCodeDomTreeGenerator.cs (24)
113methodInvoke.Method.TargetObject = new CodeThisReferenceExpression();
148return new CodePropertyReferenceExpression(new CodeThisReferenceExpression(), pagePropertyName);
298CodeFieldReferenceExpression ctrlNameExpr = new CodeFieldReferenceExpression(new CodeThisReferenceExpression(), builder.ID);
348newDelegate.TargetObject = new CodeThisReferenceExpression();
367((CodeDelegateCreateExpression)newExtractValuesDelegate).TargetObject = new CodeThisReferenceExpression();
397methCallExpression.Parameters.Add(new CodePropertyReferenceExpression(new CodeThisReferenceExpression(), pagePropertyName));
424methCallExpression = new CodeMethodInvokeExpression(new CodeThisReferenceExpression(), "InitializeCulture");
481new CodeThisReferenceExpression(), fieldName);
489new CodePropertyReferenceExpression(new CodeThisReferenceExpression(), "ContentTemplates");
520instantiateTemplateExpr = new CodeMethodInvokeExpression(new CodeThisReferenceExpression(), "InstantiateInContentPlaceHolder");
558newDelegate.TargetObject = new CodeThisReferenceExpression();
566CodeMethodInvokeExpression cmiExpression = new CodeMethodInvokeExpression(new CodeThisReferenceExpression(), "AddContentTemplate");
624methCallExpression = new CodeMethodInvokeExpression(new CodeThisReferenceExpression(),
688newDelegate.TargetObject = new CodeThisReferenceExpression();
719methCallExpression.Method.TargetObject = new CodeThisReferenceExpression();
792methCallExpression = new CodeMethodInvokeExpression(new CodeThisReferenceExpression(),
810methCallExpression = new CodeMethodInvokeExpression(new CodeThisReferenceExpression(),
882newDelegate.TargetObject = new CodeThisReferenceExpression();
895newDelegate.TargetObject = new CodeThisReferenceExpression();
905newDelegate.TargetObject = new CodeThisReferenceExpression();
922CodeExpression templateFieldRef = new CodeFieldReferenceExpression(new CodeThisReferenceExpression(), fieldName);
947newDelegate.TargetObject = new CodeThisReferenceExpression();
1700assign.Right = new CodeThisReferenceExpression();
1759new CodeThisReferenceExpression(), "TestDeviceFilter");
Compilation\PageCodeDomTreeGenerator.cs (17)
113createWrap.Method.TargetObject = new CodeThisReferenceExpression();
137new CodeThisReferenceExpression(), "Server"),
146new CodePropertyReferenceExpression(new CodeThisReferenceExpression(), "TransactionMode"),
152new CodePropertyReferenceExpression(new CodeThisReferenceExpression(), "AspCompatMode"),
158new CodePropertyReferenceExpression(new CodeThisReferenceExpression(), "AsyncMode"),
367return new CodeThisReferenceExpression();
378CodeExpression leftExpr = new CodePropertyReferenceExpression(new CodeThisReferenceExpression(), _styleSheetThemePropertyName);
386addDeps.Method.TargetObject = new CodeThisReferenceExpression();
398call.Method.TargetObject = new CodeThisReferenceExpression();
410new CodePropertyReferenceExpression(new CodeThisReferenceExpression(), "TraceEnabled"),
416new CodePropertyReferenceExpression(new CodeThisReferenceExpression(), "TraceModeValue"),
424new CodeThisReferenceExpression(), "Request");
432new CodeThisReferenceExpression(), "ValidateRequestMode");
466invokeExpr.Method.TargetObject = new CodeThisReferenceExpression();
490call.Method.TargetObject = new CodeThisReferenceExpression();
524invokeExpr.Method.TargetObject = new CodeThisReferenceExpression();
548call.Method.TargetObject = new CodeThisReferenceExpression();
System.Web.Services (24)
System\Web\Services\Description\HttpProtocolImporter.cs (6)
178CodeMethodInvokeExpression invoke = new CodeMethodInvokeExpression(new CodeThisReferenceExpression(), "Invoke", invokeParams);
210invoke = new CodeMethodInvokeExpression(new CodeThisReferenceExpression(), "BeginInvoke", invokeParams);
220invoke = new CodeMethodInvokeExpression(new CodeThisReferenceExpression(), "EndInvoke", new CodeExpression[] { expr });
257invokeParams[3] = new CodeFieldReferenceExpression(new CodeThisReferenceExpression(), callbackMember);
260invoke = new CodeMethodInvokeExpression(new CodeThisReferenceExpression(), "InvokeAsync", invokeParams);
284CodeExpression left = new CodePropertyReferenceExpression(new CodeThisReferenceExpression(), "Url");
System\Web\Services\Description\WebCodeGenerator.cs (11)
95ret.Expression = new CodeFieldReferenceExpression(new CodeThisReferenceExpression(), field.Name);
98CodeExpression left = new CodeFieldReferenceExpression(new CodeThisReferenceExpression(), field.Name);
291CodeEventReferenceExpression member = new CodeEventReferenceExpression(new CodeThisReferenceExpression(), handlerName);
309trueStatements[1] = new CodeExpressionStatement(new CodeDelegateInvokeExpression(new CodeEventReferenceExpression(new CodeThisReferenceExpression(), handlerName), new CodeExpression[] { new CodeThisReferenceExpression(), create }));
321CodeMethodInvokeExpression invoke = new CodeMethodInvokeExpression(new CodeThisReferenceExpression(), methodName);
336CodeFieldReferenceExpression member = new CodeFieldReferenceExpression(new CodeThisReferenceExpression(), callbackMember);
340createDelegate.TargetObject = new CodeThisReferenceExpression();
388ctor.Statements.Add(new CodeAssignStatement(new CodeFieldReferenceExpression(new CodeThisReferenceExpression(), data.Name), new CodeArgumentReferenceExpression(results)));
408prop.GetStatements.Add(new CodeMethodInvokeExpression(new CodeThisReferenceExpression(), "RaiseExceptionIfNecessary", new CodeExpression[0]));
410valueRef.TargetObject = new CodeFieldReferenceExpression(new CodeThisReferenceExpression(), field.Name);
System.Workflow.Activities (5)
System.Workflow.ComponentModel (4)
System.Xml (6)
System\Xml\Serialization\CodeExporter.cs (5)
306ret.Expression = new CodeFieldReferenceExpression(new CodeThisReferenceExpression(), field.Name);
310CodeExpression left = new CodeFieldReferenceExpression(new CodeThisReferenceExpression(), field.Name);
318prop.SetStatements.Add(new CodeMethodInvokeExpression(new CodeThisReferenceExpression(), RaisePropertyChangedEventMethod.Name, new CodePrimitiveExpression(name)));
358raisePropertyChangedEventMethod.Statements.Add(new CodeVariableDeclarationStatement(typeof(PropertyChangedEventHandler), propertyChanged.VariableName, new CodeEventReferenceExpression(new CodeThisReferenceExpression(), PropertyChangedEvent.Name)));
361ifStatement.TrueStatements.Add(new CodeDelegateInvokeExpression(propertyChanged, new CodeThisReferenceExpression(), new CodeObjectCreateExpression(typeof(PropertyChangedEventArgs), propertyName)));
XamlBuildTask (7)
Microsoft\Build\Tasks\Xaml\ClassGenerator.cs (7)
30static CodeThisReferenceExpression CodeThis = new CodeThisReferenceExpression();
404Left = new CodeFieldReferenceExpression() { FieldName = "_contentLoaded", TargetObject = new CodeThisReferenceExpression() },
418Left = new CodeFieldReferenceExpression() { FieldName = "_contentLoaded", TargetObject = new CodeThisReferenceExpression() },
434new CodeThisReferenceExpression(), "BeforeInitializeComponent",
447new CodeMethodInvokeExpression(new CodeThisReferenceExpression(), "AfterInitializeComponent"),
465TargetObject = new CodeThisReferenceExpression(),
521initializeMethod.Statements.Add(new CodeMethodInvokeExpression(new CodeThisReferenceExpression(), "AfterInitializeComponent"));
19 references to CodeThisReferenceExpression
PresentationBuildTasks (2)
System (12)
System.Data.Entity.Design (1)
System.Runtime.Serialization (1)
System.Workflow.Activities (2)
XamlBuildTask (1)