4 implementations of IMethodSymbol_OverriddenMethod
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationAbstractMethodSymbol.cs (1)
53public abstract IMethodSymbol OverriddenMethod { get; }
Microsoft.CodeAnalysis.CSharp (1)
Symbols\PublicModel\MethodSymbol.cs (1)
165IMethodSymbol IMethodSymbol.OverriddenMethod
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\MethodSymbol.vb (1)
935Private ReadOnly Property IMethodSymbol_OverriddenMethod As IMethodSymbol Implements IMethodSymbol.OverriddenMethod
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationAbstractMethodSymbol.cs (1)
53public abstract IMethodSymbol OverriddenMethod { get; }
38 references to IMethodSymbol_OverriddenMethod
ILLink.RoslynAnalyzer (4)
ISymbolExtensions.cs (1)
109 IMethodSymbol method => method.OverriddenMethod,
RequiresAnalyzerBase.cs (3)
164 while (member is IMethodSymbol method && method.OverriddenMethod != null && SymbolEqualityComparer.Default.Equals (method.ReturnType, method.OverriddenMethod.ReturnType)) 165 member = method.OverriddenMethod;
Microsoft.AspNetCore.App.Analyzers (5)
Mvc\DetectOverriddenAuthorizeAttribute.cs (1)
78currentMethod = currentMethod.OverriddenMethod;
src\Shared\Roslyn\CodeAnalysisExtensions.cs (1)
50current = current.IsOverride ? current.OverriddenMethod : null;
src\Shared\Roslyn\MvcFacts.cs (3)
105if (method.OverriddenMethod == null) 107throw new InvalidOperationException($"{nameof(method.OverriddenMethod)} cannot be null."); 110method = method.OverriddenMethod;
Microsoft.AspNetCore.Mvc.Analyzers (4)
src\Shared\Roslyn\CodeAnalysisExtensions.cs (1)
50current = current.IsOverride ? current.OverriddenMethod : null;
src\Shared\Roslyn\MvcFacts.cs (3)
105if (method.OverriddenMethod == null) 107throw new InvalidOperationException($"{nameof(method.OverriddenMethod)} cannot be null."); 110method = method.OverriddenMethod;
Microsoft.AspNetCore.Mvc.Api.Analyzers (4)
src\Shared\Roslyn\CodeAnalysisExtensions.cs (1)
50current = current.IsOverride ? current.OverriddenMethod : null;
src\Shared\Roslyn\MvcFacts.cs (3)
105if (method.OverriddenMethod == null) 107throw new InvalidOperationException($"{nameof(method.OverriddenMethod)} cannot be null."); 110method = method.OverriddenMethod;
Microsoft.CodeAnalysis.CodeStyle (4)
src\Analyzers\Core\Analyzers\Helpers\HashCodeAnalyzer\HashCodeAnalyzer.cs (1)
213for (var current = method; current != null; current = current.OverriddenMethod)
src\Analyzers\Core\Analyzers\SimplifyInterpolation\AbstractSimplifyInterpolationHelpers.cs (2)
124while (method.OverriddenMethod is not null) 125method = method.OverriddenMethod;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ISymbolExtensions.cs (1)
78IMethodSymbol method => method.OverriddenMethod,
Microsoft.CodeAnalysis.CSharp (1)
Symbols\Symbol.cs (1)
574/// Even for metadata symbols, <see cref="IsOverride"/> = true does not imply that <see cref="IMethodSymbol.OverriddenMethod"/> will
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Simplification\Simplifiers\CastSimplifier.cs (1)
686for (var current = methodSymbol; current != null; current = current.OverriddenMethod)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Analyzers\CSharp\CodeFixes\ConvertToRecord\ConvertToRecordHelpers.cs (1)
1116curr = curr.OverriddenMethod;
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
CodeGen\CodeGenTupleTest.cs (1)
23507var b = m.OverriddenMethod;
Microsoft.CodeAnalysis.CSharp.Features (1)
src\Analyzers\CSharp\CodeFixes\ConvertToRecord\ConvertToRecordHelpers.cs (1)
1116curr = curr.OverriddenMethod;
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Simplification\Simplifiers\CastSimplifier.cs (1)
686for (var current = methodSymbol; current != null; current = current.OverriddenMethod)
Microsoft.CodeAnalysis.Features (7)
ConvertToInterpolatedString\AbstractConvertConcatenationToInterpolatedStringRefactoringProvider.cs (2)
230while (symbol?.OverriddenMethod != null) 231symbol = symbol.OverriddenMethod;
ReplaceMethodWithProperty\AbstractReplaceMethodWithPropertyService.cs (1)
33for (var current = method; current != null; current = current.OverriddenMethod)
ReplaceMethodWithProperty\ReplaceMethodWithPropertyCodeRefactoringProvider.cs (1)
123for (var current = method; current != null; current = current.OverriddenMethod)
src\Analyzers\Core\Analyzers\Helpers\HashCodeAnalyzer\HashCodeAnalyzer.cs (1)
213for (var current = method; current != null; current = current.OverriddenMethod)
src\Analyzers\Core\Analyzers\SimplifyInterpolation\AbstractSimplifyInterpolationHelpers.cs (2)
124while (method.OverriddenMethod is not null) 125method = method.OverriddenMethod;
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\MethodSymbol.vb (1)
935Private ReadOnly Property IMethodSymbol_OverriddenMethod As IMethodSymbol Implements IMethodSymbol.OverriddenMethod
Microsoft.CodeAnalysis.VisualBasic.Features (2)
Completion\CompletionProviders\OverrideCompletionProvider.vb (2)
189Do While overriddenMember.OverriddenMethod IsNot Nothing 190overriddenMember = overriddenMember.OverriddenMethod
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ISymbolExtensions.cs (1)
78IMethodSymbol method => method.OverriddenMethod,