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