15 references to ContainingTypeInstance
ILLink.RoslynAnalyzer (1)
TrimAnalysis\TrimAnalysisVisitor.cs (1)
141 if (instanceRef.ReferenceKind != InstanceReferenceKind.ContainingTypeInstance)
Microsoft.CodeAnalysis (2)
Operations\ControlFlowGraphBuilder.cs (2)
7222new InstanceReferenceOperation(InstanceReferenceKind.ContainingTypeInstance, semanticModel: null, 7240new InstanceReferenceOperation(InstanceReferenceKind.ContainingTypeInstance, semanticModel: null,
Microsoft.CodeAnalysis.CodeStyle (2)
src\Analyzers\Core\Analyzers\Helpers\HashCodeAnalyzer\HashCodeAnalyzer.OperationDeconstructor.cs (1)
122instanceReference.ReferenceKind == InstanceReferenceKind.ContainingTypeInstance &&
src\Analyzers\Core\Analyzers\UseAutoProperty\AbstractUseAutoPropertyAnalyzer.cs (1)
526ReferenceKind: InstanceReferenceKind.ContainingTypeInstance,
Microsoft.CodeAnalysis.CSharp (2)
Operations\CSharpOperationFactory.cs (2)
1303InstanceReferenceKind referenceKind = InstanceReferenceKind.ContainingTypeInstance; 1312InstanceReferenceKind referenceKind = InstanceReferenceKind.ContainingTypeInstance;
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\Analyzers\CSharp\Analyzers\MakeStructFieldsWritable\CSharpMakeStructFieldsWritableDiagnosticAnalyzer.cs (1)
103if (operationAssigmnent.Target is IInstanceReferenceOperation { ReferenceKind: InstanceReferenceKind.ContainingTypeInstance })
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Analyzers\CSharp\CodeFixes\MakeLocalFunctionStatic\MakeLocalFunctionStaticCodeFixHelper.cs (1)
154if (descendent is IInstanceReferenceOperation { ReferenceKind: InstanceReferenceKind.ContainingTypeInstance } instanceReference)
Microsoft.CodeAnalysis.CSharp.Features (3)
ImplementInterface\CSharpImplementExplicitlyCodeRefactoringProvider.cs (1)
119instanceReference.ReferenceKind != InstanceReferenceKind.ContainingTypeInstance)
src\Analyzers\CSharp\Analyzers\MakeStructFieldsWritable\CSharpMakeStructFieldsWritableDiagnosticAnalyzer.cs (1)
103if (operationAssigmnent.Target is IInstanceReferenceOperation { ReferenceKind: InstanceReferenceKind.ContainingTypeInstance })
src\Analyzers\CSharp\CodeFixes\MakeLocalFunctionStatic\MakeLocalFunctionStaticCodeFixHelper.cs (1)
154if (descendent is IInstanceReferenceOperation { ReferenceKind: InstanceReferenceKind.ContainingTypeInstance } instanceReference)
Microsoft.CodeAnalysis.Features (2)
src\Analyzers\Core\Analyzers\Helpers\HashCodeAnalyzer\HashCodeAnalyzer.OperationDeconstructor.cs (1)
122instanceReference.ReferenceKind == InstanceReferenceKind.ContainingTypeInstance &&
src\Analyzers\Core\Analyzers\UseAutoProperty\AbstractUseAutoPropertyAnalyzer.cs (1)
526ReferenceKind: InstanceReferenceKind.ContainingTypeInstance,
Microsoft.CodeAnalysis.Test.Utilities (1)
Compilation\ControlFlowGraphVerifier.cs (1)
1886return instanceReference.ReferenceKind == InstanceReferenceKind.ContainingTypeInstance ||