1 implementation of ILocalReferenceOperation
Microsoft.CodeAnalysis (1)
88 references to ILocalReferenceOperation
ConfigurationSchemaGenerator (1)
ILLink.RoslynAnalyzer (6)
DataFlow\LocalDataFlowVisitor.cs (5)
169 public override TValue VisitLocalReference (ILocalReferenceOperation operation, LocalDataFlowState<TValue, TContext, TValueLattice, TContextLattice> state)
198 bool IsReferenceToCapturedVariable (ILocalReferenceOperation localReference)
209 TValue GetLocal (ILocalReferenceOperation operation, LocalDataFlowState<TValue, TContext, TValueLattice, TContextLattice> state)
222 void SetLocal (ILocalReferenceOperation operation, TValue value, LocalDataFlowState<TValue, TContext, TValueLattice, TContextLattice> state, bool merge = false)
318 case ILocalReferenceOperation localRef: {
Microsoft.Analyzers.Extra (3)
Microsoft.AspNetCore.App.Analyzers (5)
Microsoft.CodeAnalysis (7)
Microsoft.CodeAnalysis.CodeStyle (9)
Microsoft.CodeAnalysis.CodeStyle.Fixes (4)
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (2)
Microsoft.CodeAnalysis.CSharp.Features (3)
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (2)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (1)
Microsoft.CodeAnalysis.Features (12)
Microsoft.CodeAnalysis.Test.Utilities (14)
Microsoft.CodeAnalysis.VisualBasic.Features (1)
Microsoft.CodeAnalysis.Workspaces (5)
Roslyn.Compilers.VisualBasic.IOperation.UnitTests (12)
IOperation\IOperationTests.vb (12)
71Assert.Equal(DirectCast(left1, ILocalReferenceOperation).Local.Name, "x")
105Assert.Equal(DirectCast(left2, ILocalReferenceOperation).Local.Name, "x")
108Assert.Equal(DirectCast(right2, ILocalReferenceOperation).Local.Name, "y")
137Assert.Equal(DirectCast(operand3, ILocalReferenceOperation).Local.Name, "x")
190Dim target1 As ILocalReferenceOperation = TryCast(assignment1.Target, ILocalReferenceOperation)
193Dim value1 As ILocalReferenceOperation = TryCast(assignment1.Value, ILocalReferenceOperation)
218Dim target2 As ILocalReferenceOperation = TryCast(assignment2.Target, ILocalReferenceOperation)
221Dim value2 As ILocalReferenceOperation = TryCast(assignment2.Value, ILocalReferenceOperation)