8 overrides of TryGetThisParameter
Microsoft.CodeAnalysis.CSharp (8)
Symbols\Metadata\PE\PEMethodSymbol.cs (1)
437
internal override bool
TryGetThisParameter
(out ParameterSymbol thisParameter)
Symbols\Retargeting\RetargetingMethodSymbol.cs (1)
259
internal override bool
TryGetThisParameter
(out ParameterSymbol? thisParameter)
Symbols\Source\LambdaSymbol.cs (1)
207
internal override bool
TryGetThisParameter
(out ParameterSymbol? thisParameter)
Symbols\Source\LocalFunctionSymbol.cs (1)
389
internal override bool
TryGetThisParameter
(out ParameterSymbol? thisParameter)
Symbols\Source\SourceMemberMethodSymbol.cs (1)
814
internal sealed override bool
TryGetThisParameter
(out ParameterSymbol thisParameter)
Symbols\SubstitutedMethodSymbol.cs (1)
312
internal sealed override bool
TryGetThisParameter
(out ParameterSymbol thisParameter)
Symbols\Synthesized\SynthesizedInstanceMethodSymbol.cs (1)
45
internal override bool
TryGetThisParameter
(out ParameterSymbol thisParameter)
Symbols\Synthesized\SynthesizedStaticConstructor.cs (1)
88
internal override bool
TryGetThisParameter
(out ParameterSymbol? thisParameter)
17 references to TryGetThisParameter
Microsoft.CodeAnalysis.CSharp (17)
Binder\Binder.ValueChecks.cs (1)
2413
method.
TryGetThisParameter
(out thisParameter) &&
Binder\RefSafetyAnalysis.cs (1)
612
return method.
TryGetThisParameter
(out var thisParameter) ? thisParameter : null;
FlowAnalysis\AbstractFlowPass.cs (2)
484
(_symbol as MethodSymbol)?.
TryGetThisParameter
(out thisParameter);
1438
else if (method.
TryGetThisParameter
(out var thisParameter)
FlowAnalysis\DefiniteAssignment.cs (1)
1824
if (method.
TryGetThisParameter
(out ParameterSymbol thisParameter) && thisParameter is not null)
FlowAnalysis\NullableWalker.cs (3)
639
method.
TryGetThisParameter
(out var thisParameter);
2198
if (enclosingMemberMethod?.
TryGetThisParameter
(out ParameterSymbol methodThisParameter) == true &&
7191
if (current.
TryGetThisParameter
(out var thisParameter) && thisParameter is not null)
Lowering\ClosureConversion\ClosureConversion.Analysis.cs (2)
211
if (!_topLevelMethod.
TryGetThisParameter
(out var thisParam) ||
345
_topLevelMethod.
TryGetThisParameter
(out var thisParam);
Lowering\ClosureConversion\ClosureConversion.Analysis.Tree.cs (1)
392
if (_topLevelMethod.
TryGetThisParameter
(out var thisParam) && (object)thisParam != null)
Lowering\LocalRewriter\LocalRewriter_Call.cs (2)
231
method.
TryGetThisParameter
(out var methodThisParameter);
233
interceptor.
TryGetThisParameter
(out var interceptorThisParameter) ? interceptorThisParameter : null;
Symbols\MethodSymbol.cs (2)
277
/// Call <see cref="
TryGetThisParameter
"/> and throw if it returns false.
284
if (!
TryGetThisParameter
(out thisParameter))
Symbols\Retargeting\RetargetingMethodSymbol.cs (1)
261
if (!_underlyingMethod.
TryGetThisParameter
(out var underlyingParameter))
Symbols\SubstitutedMethodSymbol.cs (1)
320
if (!OriginalDefinition.
TryGetThisParameter
(out originalThisParameter))