37 instantiations of CodeThisReferenceExpression
dotnet-svcutil-lib (37)
CodeDomFixup\ArrayOfXElementTypeHelper.cs (1)
184
new
CodeThisReferenceExpression
(), "nodesList")));
CodeDomFixup\CodeDomVisitors\AddAsyncOpenClose.cs (2)
46
Expression = new
CodeThisReferenceExpression
(),
82
Expression = new
CodeThisReferenceExpression
(),
CodeDomFixup\CodeDomVisitors\CreateCallbackImpl.cs (8)
136
Parameters = { new
CodeThisReferenceExpression
() }
175
Parameters = { new
CodeThisReferenceExpression
() }
206
Parameters = { new
CodeThisReferenceExpression
() }
284
CodeEventReferenceExpression completedEvent = new CodeEventReferenceExpression(new
CodeThisReferenceExpression
(), operationCompletedEvent.Name);
288
new
CodeThisReferenceExpression
(),
362
resultsFieldReference.TargetObject = new
CodeThisReferenceExpression
();
439
TargetObject = new
CodeThisReferenceExpression
(),
471
TargetObject = new
CodeThisReferenceExpression
(),
CodeDomFixup\ConfigToCode.cs (4)
75
new CodePropertyReferenceExpression(new
CodeThisReferenceExpression
(), ConfigToCodeConstants.EndpointPropertyName),
85
new CodePropertyReferenceExpression(new
CodeThisReferenceExpression
(), ConfigToCodeConstants.EndpointPropertyName),
95
new CodePropertyReferenceExpression(new
CodeThisReferenceExpression
(), ConfigToCodeConstants.EndpointPropertyName),
96
new CodePropertyReferenceExpression(new
CodeThisReferenceExpression
(), ConfigToCodeConstants.ClientCredentialsPropertyName)));
FrameworkFork\Microsoft.Xml\Xml\Serialization\CodeExporter.cs (5)
358
ret.Expression = new CodeFieldReferenceExpression(new
CodeThisReferenceExpression
(), field.Name);
362
CodeExpression left = new CodeFieldReferenceExpression(new
CodeThisReferenceExpression
(), field.Name);
370
prop.SetStatements.Add(new CodeMethodInvokeExpression(new
CodeThisReferenceExpression
(), RaisePropertyChangedEventMethod.Name, new CodePrimitiveExpression(name)));
412
raisePropertyChangedEventMethod.Statements.Add(new CodeVariableDeclarationStatement(typeof(PropertyChangedEventHandler), propertyChanged.VariableName, new CodeEventReferenceExpression(new
CodeThisReferenceExpression
(), PropertyChangedEvent.Name)));
415
ifStatement.TrueStatements.Add(new CodeDelegateInvokeExpression(propertyChanged, new
CodeThisReferenceExpression
(), new CodeObjectCreateExpression(typeof(PropertyChangedEventArgs), propertyName)));
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlCodeExporter.cs (1)
547
assign.Left = new CodeFieldReferenceExpression(new
CodeThisReferenceExpression
(), field.Name);
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\CodeExporter.cs (1)
1552
get { return new
CodeThisReferenceExpression
(); }
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ClientClassGenerator.cs (14)
267
CodeMethodInvokeExpression invokeMethod = new CodeMethodInvokeExpression(new CodeMethodReferenceExpression(new CodeCastExpression(ifaceType, new
CodeThisReferenceExpression
()), method.Name));
527
resultsFieldReference.TargetObject = new
CodeThisReferenceExpression
();
665
CodeMethodInvokeExpression invokeBegin = new CodeMethodInvokeExpression(new
CodeThisReferenceExpression
(), beginMethod.Name);
714
CodeMethodInvokeExpression invokeEnd = new CodeMethodInvokeExpression(new
CodeThisReferenceExpression
(), endMethod.Name);
729
CodeMethodReferenceExpression getDefaultValueMethodRef = new CodeMethodReferenceExpression(new
CodeThisReferenceExpression
(), s_getDefaultValueForInitializationMethodName, endMethod.Parameters[i].Type);
816
CodeEventReferenceExpression completedEvent = new CodeEventReferenceExpression(new
CodeThisReferenceExpression
(), operationCompletedEvent.Name);
820
new
CodeThisReferenceExpression
(),
869
invokeAsync.Parameters.Add(new CodeFieldReferenceExpression(new
CodeThisReferenceExpression
(), beginOperationDelegate.Name));
878
invokeAsync.Parameters.Add(new CodeFieldReferenceExpression(new
CodeThisReferenceExpression
(), endOperationDelegate.Name));
879
invokeAsync.Parameters.Add(new CodeFieldReferenceExpression(new
CodeThisReferenceExpression
(), operationCompletedDelegate.Name));
896
new
CodeThisReferenceExpression
(), eventAsyncMethod.Name);
923
new CodeFieldReferenceExpression(new
CodeThisReferenceExpression
(), delegateField.Name),
927
new CodeFieldReferenceExpression(new
CodeThisReferenceExpression
(), delegateField.Name),
929
new
CodeThisReferenceExpression
(), delegateMethod.Name)));
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\OperationGenerator.cs (1)
831
otherCtor.Statements.Add(new CodeAssignStatement(new CodeFieldReferenceExpression(new
CodeThisReferenceExpression
(), field.Name), new CodeArgumentReferenceExpression(param.Name)));
15 references to CodeThisReferenceExpression
dotnet-svcutil-lib (15)
CodeDomFixup\CodeDomVisitors\CodeDomVisitor.cs (4)
431
protected override void Visit(
CodeThisReferenceExpression
expr)
635
else if (expr is
CodeThisReferenceExpression
)
636
Visit((
CodeThisReferenceExpression
)expr);
670
protected virtual void Visit(
CodeThisReferenceExpression
expr) { }
CodeDomFixup\CodeDomVisitors\MakeOldAsyncMethodsPrivate.cs (1)
82
if (methodInvoke.Method.TargetObject is
CodeThisReferenceExpression
&&
FrameworkFork\Microsoft.CodeDom\Compiler\CodeGenerator.cs (3)
800
else if (e is
CodeThisReferenceExpression
)
802
GenerateThisReferenceExpression((
CodeThisReferenceExpression
)e);
1855
protected abstract void GenerateThisReferenceExpression(
CodeThisReferenceExpression
e);
FrameworkFork\Microsoft.CodeDom\Compiler\CodeValidator.cs (3)
813
else if (e is
CodeThisReferenceExpression
)
815
ValidateThisReferenceExpression((
CodeThisReferenceExpression
)e);
997
private void ValidateThisReferenceExpression(
CodeThisReferenceExpression
e)
FrameworkFork\Microsoft.CodeDom\Microsoft\CSharpCodeProvider.cs (3)
1481
private void GenerateThisReferenceExpression(
CodeThisReferenceExpression
e)
1945
else if (e is
CodeThisReferenceExpression
)
1947
GenerateThisReferenceExpression((
CodeThisReferenceExpression
)e);
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\CodeExporter.cs (1)
1550
private
CodeThisReferenceExpression
ThisReference