5 references to IsThisParameter
Microsoft.CodeAnalysis.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ISymbolExtensions.cs (1)
410
if (symbol.
IsThisParameter
())
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Simplification\SimplificationHelpers.cs (1)
107
if (expressionInfo.Symbol.
IsThisParameter
())
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (3)
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(