4 interfaces inheriting from IMemberReferenceOperation
Microsoft.CodeAnalysis (4)
Generated\Operations.Generated.cs (4)
931public interface IFieldReferenceOperation : IMemberReferenceOperation 964public interface IMethodReferenceOperation : IMemberReferenceOperation 993public interface IPropertyReferenceOperation : IMemberReferenceOperation 1026public interface IEventReferenceOperation : IMemberReferenceOperation
2 implementations of IMemberReferenceOperation
Microsoft.CodeAnalysis (2)
Generated\Operations.Generated.cs (1)
5333internal abstract partial class BaseMemberReferenceOperation : Operation, IMemberReferenceOperation
Operations\OperationNodes.cs (1)
182internal abstract partial class BaseMemberReferenceOperation : IMemberReferenceOperation
53 references to IMemberReferenceOperation
ILLink.RoslynAnalyzer (1)
DataFlow\LocalDataFlowVisitor.cs (1)
580 case IMemberReferenceOperation:
Microsoft.CodeAnalysis (4)
Generated\Operations.Generated.cs (2)
1753/// Initialized member reference <see cref="IMemberReferenceOperation" /> or an invalid operation for error cases. 3338/// The member being matched in a property subpattern. This can be a <see cref="IMemberReferenceOperation" />
Operations\ControlFlowGraphBuilder.cs (2)
6165var memberReference = (IMemberReferenceOperation)instance;
Microsoft.CodeAnalysis.CodeStyle (7)
src\Analyzers\Core\Analyzers\QualifyMemberAccess\AbstractQualifyMemberAccessDiagnosticAnalyzer.cs (3)
66case IMemberReferenceOperation memberReferenceOperation: 111IMemberReferenceOperation memberReferenceOperation => memberReferenceOperation.Member.Kind, 142IMemberReferenceOperation memberReferenceOperation => IsStaticMemberOrIsLocalFunctionHelper(memberReferenceOperation.Member),
src\Analyzers\Core\Analyzers\RemoveUnusedMembers\AbstractRemoveUnusedMembersDiagnosticAnalyzer.cs (3)
355var memberReference = (IMemberReferenceOperation)operationContext.Operation; 445if (nameofArgument is IMemberReferenceOperation memberReference)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SemanticEquivalence.cs (1)
127=> operation is IMemberReferenceOperation { Instance.Kind: OperationKind.InstanceReference };
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\InitializeParameter\InitializeParameterHelpersCore.cs (1)
149if (operation is IMemberReferenceOperation memberReference &&
Microsoft.CodeAnalysis.CSharp.CodeStyle (2)
src\Analyzers\CSharp\Analyzers\UsePrimaryConstructor\CSharpUsePrimaryConstructorDiagnosticAnalyzer.cs (2)
545var operation = (IMemberReferenceOperation)context.Operation;
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (8)
src\Analyzers\CSharp\CodeFixes\ConvertToRecord\ConvertToRecordHelpers.cs (8)
753LeftOperand: IMemberReferenceOperation leftMemberReference, 754RightOperand: IMemberReferenceOperation rightMemberReference, 761LeftOperand: IMemberReferenceOperation leftMemberReference, 762RightOperand: IMemberReferenceOperation rightMemberReference, 768Instance: IMemberReferenceOperation invokedOn, 769Arguments: [IMemberReferenceOperation arg] 916IMemberReferenceOperation memberReference1, 917IMemberReferenceOperation memberReference2,
Microsoft.CodeAnalysis.CSharp.Features (11)
ImplementInterface\CSharpImplementExplicitlyCodeRefactoringProvider.cs (1)
107IMemberReferenceOperation memberReference => memberReference.Instance,
src\Analyzers\CSharp\Analyzers\UsePrimaryConstructor\CSharpUsePrimaryConstructorDiagnosticAnalyzer.cs (2)
545var operation = (IMemberReferenceOperation)context.Operation;
src\Analyzers\CSharp\CodeFixes\ConvertToRecord\ConvertToRecordHelpers.cs (8)
753LeftOperand: IMemberReferenceOperation leftMemberReference, 754RightOperand: IMemberReferenceOperation rightMemberReference, 761LeftOperand: IMemberReferenceOperation leftMemberReference, 762RightOperand: IMemberReferenceOperation rightMemberReference, 768Instance: IMemberReferenceOperation invokedOn, 769Arguments: [IMemberReferenceOperation arg] 916IMemberReferenceOperation memberReference1, 917IMemberReferenceOperation memberReference2,
Microsoft.CodeAnalysis.Features (8)
InitializeParameter\AbstractInitializeMemberFromParameterCodeRefactoringProviderMemberCreation.cs (1)
675assignmentExpression.Target.UnwrapImplicitConversion() is IMemberReferenceOperation memberReference &&
IntroduceVariable\AbstractIntroduceVariableService.cs (1)
371=> operation is IMemberReferenceOperation { Instance.Kind: OperationKind.InstanceReference };
src\Analyzers\Core\Analyzers\QualifyMemberAccess\AbstractQualifyMemberAccessDiagnosticAnalyzer.cs (3)
66case IMemberReferenceOperation memberReferenceOperation: 111IMemberReferenceOperation memberReferenceOperation => memberReferenceOperation.Member.Kind, 142IMemberReferenceOperation memberReferenceOperation => IsStaticMemberOrIsLocalFunctionHelper(memberReferenceOperation.Member),
src\Analyzers\Core\Analyzers\RemoveUnusedMembers\AbstractRemoveUnusedMembersDiagnosticAnalyzer.cs (3)
355var memberReference = (IMemberReferenceOperation)operationContext.Operation; 445if (nameofArgument is IMemberReferenceOperation memberReference)
Microsoft.CodeAnalysis.Test.Utilities (7)
Compilation\OperationTreeVerifier.cs (2)
1040if (operation.Parent is IMemberReferenceOperation memberReference && memberReference.Instance == operation) 1051private void VisitMemberReferenceExpressionCommon(IMemberReferenceOperation operation)
Compilation\TestOperationVisitor.cs (5)
647private void VisitMemberReference(IMemberReferenceOperation operation) 652private void VisitMemberReference(IMemberReferenceOperation operation, IEnumerable<IOperation> additionalChildren) 1532Assert.True(operation.Member is IMemberReferenceOperation); 1533var member = (IMemberReferenceOperation)operation.Member;
Microsoft.CodeAnalysis.Workspaces (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SemanticEquivalence.cs (1)
127=> operation is IMemberReferenceOperation { Instance.Kind: OperationKind.InstanceReference };
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\InitializeParameter\InitializeParameterHelpersCore.cs (1)
149if (operation is IMemberReferenceOperation memberReference &&
Microsoft.VisualStudio.LanguageServices (1)
PullMemberUp\SymbolDependentsBuilder.cs (1)
72if (operation is IMemberReferenceOperation memberReferenceOp &&
System.Private.CoreLib.Generators (1)
IntrinsicsInSystemPrivateCoreLibAnalyzer.cs (1)
194IMemberReferenceOperation mOperation => mOperation.Member,