54 references to ThisReference
Microsoft.CodeAnalysis.CSharp (54)
Binder\Binder.ValueChecks.cs (5)
817
case BoundKind.
ThisReference
:
3378
case BoundKind.
ThisReference
:
3704
case BoundKind.
ThisReference
:
4048
case BoundKind.
ThisReference
:
4739
case BoundKind.
ThisReference
:
Binder\Binder_Expressions.cs (1)
9855
if (!gotError && receiver != null && receiver.Kind == BoundKind.
ThisReference
&& receiver.WasCompilerGenerated)
Binder\Binder_Invocation.cs (2)
417
case BoundKind.
ThisReference
:
1265
if (!gotError && method.RequiresInstanceReceiver && receiver != null && receiver.Kind == BoundKind.
ThisReference
&& receiver.WasCompilerGenerated)
Binder\Binder_Operators.cs (1)
2661
case BoundKind.
ThisReference
:
Binder\Binder_Statements.cs (1)
1775
(propertyIsStatic || receiver?.Kind == BoundKind.
ThisReference
);
BoundTree\BoundNodeExtensions.cs (1)
64
(receiverOpt.Kind == BoundKind.
ThisReference
|| receiverOpt.Kind == BoundKind.BaseReference);
BoundTree\BoundTreeVisitors.cs (1)
99
case BoundKind.
ThisReference
:
CodeGen\CodeGenerator_HasHome.cs (2)
67
case BoundKind.
ThisReference
:
257
fieldAccess.ReceiverOpt.Kind == BoundKind.
ThisReference
;
CodeGen\EmitAddress.cs (1)
64
case BoundKind.
ThisReference
:
CodeGen\EmitExpression.cs (7)
165
case BoundKind.
ThisReference
:
1555
case BoundKind.
ThisReference
:
1600
case BoundKind.
ThisReference
:
1646
Debug.Assert(receiver.Kind == BoundKind.
ThisReference
);
2135
case BoundKind.
ThisReference
:
2870
case BoundKind.
ThisReference
:
3101
case BoundKind.
ThisReference
:
CodeGen\Optimizer.cs (1)
1036
case BoundKind.
ThisReference
:
Compilation\CSharpSemanticModel.cs (1)
3678
case BoundKind.
ThisReference
:
FlowAnalysis\AbstractFlowPass.cs (1)
564
case BoundKind.
ThisReference
:
FlowAnalysis\DataFlowsOutWalker.cs (2)
144
case BoundKind.
ThisReference
:
242
case BoundKind.
ThisReference
: return this.MethodThisParameter;
FlowAnalysis\DefiniteAssignment.cs (6)
824
case BoundKind.
ThisReference
:
1011
case BoundKind.
ThisReference
:
1384
case BoundKind.
ThisReference
:
1504
case BoundKind.
ThisReference
:
1645
case BoundKind.
ThisReference
:
2618
case BoundKind.
ThisReference
:
FlowAnalysis\LocalDataFlowPass.cs (1)
215
case BoundKind.
ThisReference
:
FlowAnalysis\NullableWalker.cs (1)
2021
case BoundKind.
ThisReference
:
FlowAnalysis\ReadWriteWalker.cs (1)
191
case BoundKind.
ThisReference
:
Generated\BoundNodes.xml.Generated.cs (3)
4373
: base(BoundKind.
ThisReference
, syntax, type, hasErrors)
4381
: base(BoundKind.
ThisReference
, syntax, type)
9059
case BoundKind.
ThisReference
:
Lowering\ClosureConversion\ExpressionLambdaRewriter.cs (1)
245
case BoundKind.
ThisReference
:
Lowering\DiagnosticsPass_Warnings.cs (2)
148
return receiver.Kind != BoundKind.
ThisReference
&& receiver.Kind != BoundKind.BaseReference;
225
case BoundKind.
ThisReference
:
Lowering\LocalRewriter\LocalRewriter.cs (1)
1023
case BoundKind.
ThisReference
:
Lowering\LocalRewriter\LocalRewriter_CompoundAssignmentOperator.cs (3)
689
case BoundKind.
ThisReference
: // a special kind of parameter
842
case BoundKind.
ThisReference
:
889
case BoundKind.
ThisReference
:
Lowering\LocalRewriter\LocalRewriter_IsOperator.cs (1)
37
if (receiver != null && receiver.Kind != BoundKind.
ThisReference
)
Lowering\SpillSequenceSpiller.cs (1)
378
case BoundKind.
ThisReference
:
Lowering\StateMachineRewriter\IteratorAndAsyncCaptureWalker.cs (1)
295
if (node.ReceiverOpt != null && node.ReceiverOpt.Kind == BoundKind.
ThisReference
)
Lowering\StateMachineRewriter\MethodToStateMachineRewriter.cs (2)
618
if (receiver.Kind != BoundKind.
ThisReference
&& !isFieldOfStruct)
626
case BoundKind.
ThisReference
:
Operations\CSharpOperationFactory.cs (1)
111
case BoundKind.
ThisReference
:
Operations\CSharpOperationFactory_Methods.cs (2)
106
if (symbol != null && symbol.IsStatic && instance.WasCompilerGenerated && instance.Kind == BoundKind.
ThisReference
)
393
|| (receiverOpt.Kind != BoundKind.
ThisReference