17 references to RegionContains
Microsoft.CodeAnalysis.CSharp (17)
FlowAnalysis\AlwaysAssignedWalker.cs (3)
84if (IsInside && pending.Branch != null && !RegionContains(pending.Branch.Syntax.Span)) 106if (node.Syntax != null && RegionContains(node.Syntax.Span)) _labelsInside.Add(label); 136if (branch.Branch != null && RegionContains(branch.Branch.Syntax.Span) && !_labelsInside.Contains(branch.Label))
FlowAnalysis\DataFlowsInWalker.cs (5)
85if (!gotoStmt.WasCompilerGenerated && !targetStmt.WasCompilerGenerated && !RegionContains(gotoStmt.Syntax.Span) && RegionContains(targetStmt.Syntax.Span)) 95if (IsInside && !RegionContains(node.RangeVariableSymbol.GetFirstLocation().SourceSpan)) 106if (RegionContains(node.Span)) 121if (node != null && node is ReturnStatementSyntax && RegionContains(node.Span))
FlowAnalysis\DataFlowsOutWalker.cs (1)
233((param.RefKind != RefKind.None && !param.IsImplicitlyDeclared && !RegionContains(param.GetFirstLocation().SourceSpan)) ||
FlowAnalysis\EntryPointsWalker.cs (2)
61if (!gotoStmt.WasCompilerGenerated && !targetStmt.WasCompilerGenerated && RegionContains(targetStmt.Syntax.Span) && !RegionContains(gotoStmt.Syntax.Span))
FlowAnalysis\ExitPointsWalker.cs (1)
124if (pending.Branch == null || !RegionContains(pending.Branch.Syntax.Span)) continue;
FlowAnalysis\ReadWriteWalker.cs (5)
186if (RegionContains(receiverSyntax.Span)) 192if (RegionContains(receiverSyntax.Span)) 198if (RegionContains(receiverSyntax.Span)) 204if (RegionContains(receiverSyntax.Span)) 210if (RegionContains(receiverSyntax.Span))