9 references to IsThisParameter
Microsoft.CodeAnalysis.CSharp.Features (5)
CodeRefactorings\ConvertLocalFunctionToMethod\CSharpConvertLocalFunctionToMethodCodeRefactoringProvider.cs (2)
89
.Where(capture => !capture.
IsThisParameter
())
108
var isStatic = containerSymbol.IsStatic || captures.All(capture => !capture.
IsThisParameter
());
src\Analyzers\CSharp\CodeFixes\MakeLocalFunctionStatic\MakeLocalFunctionStaticCodeFixHelper.cs (3)
85
var thisParameter = (IParameterSymbol?)captures.FirstOrDefault(c => c.
IsThisParameter
());
87
var parameterAndCapturedSymbols = CreateParameterSymbols(captures.WhereAsArray(c => !c.
IsThisParameter
()));
101
var newArguments = parameterAndCapturedSymbols.Where(p => !p.symbol.
IsThisParameter
()).Select(
Microsoft.CodeAnalysis.Features (1)
ExtractMethod\MethodExtractor.Analyzer.cs (1)
440
if (symbol.
IsThisParameter
())
Microsoft.CodeAnalysis.Workspaces (3)
Shared\Extensions\SemanticModelExtensions.cs (1)
29
if (symbol.
IsThisParameter
())
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ISymbolExtensions.cs (1)
410
if (symbol.
IsThisParameter
())
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Simplification\SimplificationHelpers.cs (1)
107
if (expressionInfo.Symbol.
IsThisParameter
())