25 references to IsInside
Microsoft.CodeAnalysis.CSharp (25)
FlowAnalysis\AbstractFlowPass.cs (1)
290
Debug.Assert(
IsInside
);
FlowAnalysis\AlwaysAssignedWalker.cs (2)
51
Debug.Assert(!
IsInside
);
84
if (
IsInside
&& pending.Branch != null && !RegionContains(pending.Branch.Syntax.Span))
FlowAnalysis\DataFlowsInWalker.cs (1)
95
if (
IsInside
&& !RegionContains(node.RangeVariableSymbol.GetFirstLocation().SourceSpan))
FlowAnalysis\DataFlowsOutWalker.cs (3)
94
if (this.State.Reachable &&
IsInside
)
203
if (
IsInside
)
254
if (!
IsInside
)
FlowAnalysis\ExitPointsWalker.cs (5)
72
if (
IsInside
) _labelsInside.Add(node.Label);
78
if (
IsInside
)
88
if (
IsInside
)
98
if (
IsInside
)
108
if (
IsInside
)
FlowAnalysis\ReadWriteWalker.cs (5)
128
if (variable.Kind != SymbolKind.Field) (
IsInside
? _readInside : _readOutside).Add(variable);
135
(
IsInside
? _writtenInside : _writtenOutside).Add(variable);
142
if (!
IsInside
&& node.Span.Contains(RegionSpan) && (expr.Kind == BoundKind.FieldAccess))
254
if (!
IsInside
&& node.Syntax != null && node.Syntax.Span.Contains(RegionSpan))
264
if (!
IsInside
&& node.Syntax != null && node.Syntax.Span.Contains(RegionSpan))
FlowAnalysis\VariablesDeclaredWalker.cs (8)
71
if (
IsInside
)
92
if (
IsInside
)
102
if (
IsInside
&& !node.WasCompilerGenerated)
115
if (
IsInside
&& !node.WasCompilerGenerated)
128
if (
IsInside
)
146
if (
IsInside
)
161
if (
IsInside
)
179
if (
IsInside
&& node.DeclarationKind != BoundLocalDeclarationKind.None)