1 override of IsThis
Microsoft.CodeAnalysis.CSharp (1)
Symbols\Source\ThisParameterSymbol.cs (1)
93
public sealed override bool
IsThis
13 references to IsThis
Microsoft.CodeAnalysis.CSharp (13)
Binder\Binder.ValueChecks.cs (2)
1271
{ HasUnscopedRefAttribute: true,
IsThis
: false } => CallingMethodScope,
3014
Debug.Assert(underlyingParameter.
IsThis
);
Emitter\Model\PEModuleBuilder.cs (1)
1687
Debug.Assert(!symbol.
IsThis
);
FlowAnalysis\DefiniteAssignment.cs (4)
467
if (parameter.
IsThis
)
532
Debug.Assert(!parameter.
IsThis
);
1236
if (((ParameterSymbol)symbol).
IsThis
)
1945
if (!parameter.
IsThis
&& parameter.RefKind != RefKind.Out && parameter.ContainingSymbol is SynthesizedPrimaryConstructor primaryCtor)
Lowering\ClosureConversion\ClosureConversion.Analysis.cs (1)
568
if (variable is ParameterSymbol p && p.
IsThis
)
Lowering\ClosureConversion\LambdaCapturedVariable.cs (1)
54
return (object)parameter != null && parameter.
IsThis
;
Lowering\StateMachineRewriter\IteratorAndAsyncCaptureWalker.cs (1)
251
Debug.Assert(parameter.
IsThis
|| parameter.RefKind == RefKind.None);
Lowering\StateMachineRewriter\StateMachineRewriter.cs (1)
234
if (parameter.
IsThis
)
Symbols\PublicModel\ParameterSymbol.cs (1)
73
bool IParameterSymbol.IsThis => _underlying.
IsThis
;
Symbols\Source\ParameterHelpers.cs (1)
320
Debug.Assert(!parameter.
IsThis
);