23 references to MethodReference
Microsoft.AspNetCore.App.Analyzers (2)
Http\RequestDelegateReturnTypeAnalyzer.cs (1)
43}, OperationKind.MethodReference);
RouteHandlers\RouteHandlerAnalyzer.cs (1)
115else if (delegateCreation.Target.Kind == OperationKind.MethodReference)
Microsoft.AspNetCore.Components.Analyzers (1)
InternalUsageAnalyzer.cs (1)
45OperationKind.MethodReference,
Microsoft.AspNetCore.Components.SdkAnalyzers (1)
InternalUsageAnalyzer.cs (1)
45OperationKind.MethodReference,
Microsoft.CodeAnalysis (2)
Generated\Operations.Generated.cs (2)
959/// <item><description><see cref="OperationKind.MethodReference"/></description></item> 5450public override OperationKind Kind => OperationKind.MethodReference;
Microsoft.CodeAnalysis.CodeStyle (5)
src\Analyzers\Core\Analyzers\QualifyMemberAccess\AbstractQualifyMemberAccessDiagnosticAnalyzer.cs (1)
50=> context.RegisterOperationAction(AnalyzeOperation, OperationKind.FieldReference, OperationKind.PropertyReference, OperationKind.MethodReference, OperationKind.Invocation);
src\Analyzers\Core\Analyzers\RemoveUnusedMembers\AbstractRemoveUnusedMembersDiagnosticAnalyzer.cs (1)
216symbolStartContext.RegisterOperationAction(AnalyzeMemberReferenceOperation, OperationKind.FieldReference, OperationKind.MethodReference, OperationKind.PropertyReference, OperationKind.EventReference);
src\Analyzers\Core\Analyzers\RemoveUnusedParametersAndValues\AbstractRemoveUnusedParametersAndValuesDiagnosticAnalyzer.SymbolStartAnalyzer.cs (1)
99context.RegisterOperationAction(OnMethodReference, OperationKind.MethodReference);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.Walker.cs (2)
461case OperationKind.MethodReference: 558case OperationKind.MethodReference:
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Simplification\Simplifiers\CastSimplifier.cs (1)
90Kind: OperationKind.MethodReference,
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Simplification\Simplifiers\CastSimplifier.cs (1)
90Kind: OperationKind.MethodReference,
Microsoft.CodeAnalysis.Features (3)
src\Analyzers\Core\Analyzers\QualifyMemberAccess\AbstractQualifyMemberAccessDiagnosticAnalyzer.cs (1)
50=> context.RegisterOperationAction(AnalyzeOperation, OperationKind.FieldReference, OperationKind.PropertyReference, OperationKind.MethodReference, OperationKind.Invocation);
src\Analyzers\Core\Analyzers\RemoveUnusedMembers\AbstractRemoveUnusedMembersDiagnosticAnalyzer.cs (1)
216symbolStartContext.RegisterOperationAction(AnalyzeMemberReferenceOperation, OperationKind.FieldReference, OperationKind.MethodReference, OperationKind.PropertyReference, OperationKind.EventReference);
src\Analyzers\Core\Analyzers\RemoveUnusedParametersAndValues\AbstractRemoveUnusedParametersAndValuesDiagnosticAnalyzer.SymbolStartAnalyzer.cs (1)
99context.RegisterOperationAction(OnMethodReference, OperationKind.MethodReference);
Microsoft.CodeAnalysis.Test.Utilities (5)
Compilation\ControlFlowGraphVerifier.cs (1)
1916case OperationKind.MethodReference:
Compilation\TestOperationVisitor.cs (1)
691Assert.Equal(OperationKind.MethodReference, operation.Kind);
Diagnostics\OperationTestAnalyzer.cs (3)
1070OperationKind.MethodReference); 1395case OperationKind.MethodReference: 1419OperationKind.MethodReference,
Microsoft.CodeAnalysis.Workspaces (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.Walker.cs (2)
461case OperationKind.MethodReference: 558case OperationKind.MethodReference: