33 references to LocalReference
ILLink.RoslynAnalyzer (1)
DataFlow\CapturedReferenceValue.cs (1)
20 case OperationKind.LocalReference:
Microsoft.CodeAnalysis (4)
Generated\Operations.Generated.cs (2)
841/// <item><description><see cref="OperationKind.LocalReference"/></description></item> 5310public override OperationKind Kind => OperationKind.LocalReference;
Operations\ControlFlowGraphBuilder.cs (2)
861value.Kind != OperationKind.LocalReference || 6064OperationKind.LocalReference, OperationKind.Binary, OperationKind.FieldReference, OperationKind.Invalid,
Microsoft.CodeAnalysis.CodeStyle (6)
src\Analyzers\Core\Analyzers\RemoveUnusedParametersAndValues\AbstractRemoveUnusedParametersAndValuesDiagnosticAnalyzer.SymbolStartAnalyzer.BlockAnalyzer.cs (5)
75context.RegisterOperationAction(blockAnalyzer.AnalyzeLocalOrParameterReference, OperationKind.LocalReference, OperationKind.ParameterReference); 275(assignment.Target.Kind == OperationKind.LocalReference || 308Debug.Assert(operation.Kind is OperationKind.LocalReference or OperationKind.ParameterReference); 342(assignmentOperation.Target.Kind == OperationKind.LocalReference || 668case OperationKind.LocalReference:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.Walker.cs (1)
474case OperationKind.LocalReference:
Microsoft.CodeAnalysis.CSharp.Features (1)
ConvertLinq\CSharpConvertLinqQueryToForEachProvider.cs (1)
916return operation.Kind is OperationKind.LocalReference or OperationKind.ParameterReference;
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (1)
Diagnostics\Suppression\RemoveUnnecessaryPragmaSuppressionsTests.cs (1)
91}, OperationKind.LocalReference);
Microsoft.CodeAnalysis.Features (6)
ConvertForEachToFor\AbstractConvertForEachToForCodeRefactoringProvider.cs (1)
376case OperationKind.LocalReference:
src\Analyzers\Core\Analyzers\RemoveUnusedParametersAndValues\AbstractRemoveUnusedParametersAndValuesDiagnosticAnalyzer.SymbolStartAnalyzer.BlockAnalyzer.cs (5)
75context.RegisterOperationAction(blockAnalyzer.AnalyzeLocalOrParameterReference, OperationKind.LocalReference, OperationKind.ParameterReference); 275(assignment.Target.Kind == OperationKind.LocalReference || 308Debug.Assert(operation.Kind is OperationKind.LocalReference or OperationKind.ParameterReference); 342(assignmentOperation.Target.Kind == OperationKind.LocalReference || 668case OperationKind.LocalReference:
Microsoft.CodeAnalysis.Test.Utilities (13)
Compilation\ControlFlowGraphVerifier.cs (1)
1913case OperationKind.LocalReference:
Compilation\TestOperationVisitor.cs (1)
627Assert.Equal(OperationKind.LocalReference, operation.Kind);
Diagnostics\CouldHaveMoreSpecificTypeAnalyzer.cs (1)
240if (targetKind == OperationKind.LocalReference)
Diagnostics\LocalCouldBeConstAnalyzer.cs (1)
116if (target.Kind == OperationKind.LocalReference)
Diagnostics\OperationTestAnalyzer.cs (9)
112OperationKind.LocalReference, 160conditionLeft.Kind == OperationKind.LocalReference) 173if (setupAssignment.Target.Kind == OperationKind.LocalReference && 238if (advanceAssignment.Target.Kind == OperationKind.LocalReference && 247advanceOperation.LeftOperand.Kind == OperationKind.LocalReference && 262if (advanceAssignment.Target.Kind == OperationKind.LocalReference && 276if (advanceAssignment.Target.Kind == OperationKind.LocalReference && 1615if (left.Kind == OperationKind.LocalReference) 1642if (operand.Kind == OperationKind.LocalReference)
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.Walker.cs (1)
474case OperationKind.LocalReference: