18 references to ExceptionRegions
Microsoft.CodeAnalysis.Features (2)
EditAndContinue\DocumentActiveStatementChanges.cs (1)
28
Debug.Assert(oldSpans[i].
ExceptionRegions
.Spans.Length == newExceptionRegions[i].Length);
EditAndContinue\UnmappedActiveStatement.cs (1)
31
exceptionRegions =
ExceptionRegions
;
Microsoft.CodeAnalysis.Features.Test.Utilities (1)
EditAndContinue\EditAndContinueTestVerifier.cs (1)
104
AssertSpansEqual(oldStatement.
ExceptionRegions
.Spans, oldRegions.Spans, oldTree);
Microsoft.CodeAnalysis.Features.UnitTests (15)
EditAndContinue\ActiveStatementsMapTests.cs (1)
303
var exceptionRegions = unmappedActiveStatements[0].
ExceptionRegions
;
EditAndContinue\EditSessionActiveStatementsTests.cs (14)
240
], oldActiveStatements1.Select(s => "[" + string.Join(", ", s.
ExceptionRegions
.Spans) + "]"));
248
], oldActiveStatements2.Select(s => "[" + string.Join(", ", s.
ExceptionRegions
.Spans) + "]"));
267
oldActiveStatements2[0].
ExceptionRegions
.Spans.SelectAsArray(es => es.AddLineDelta(+1)),
268
oldActiveStatements2[1].
ExceptionRegions
.Spans,
269
oldActiveStatements2[2].
ExceptionRegions
.Spans,
374
], oldActiveStatements.Select(s => "[" + string.Join(", ", s.
ExceptionRegions
.Spans.Select(span => $"{span} '{GetFirstLineText(span.Span, baseText)}'")) + "]"));
382
newExceptionRegions: [oldActiveStatements[0].
ExceptionRegions
.Spans, oldActiveStatements[1].
ExceptionRegions
.Spans])
559
], oldActiveStatements.Select(s => "[" + string.Join(", ", s.
ExceptionRegions
.Spans.Select(span => $"{span} '{GetFirstLineText(span.Span, sourceTextV2)}'")) + "]"));
578
oldActiveStatements[0].
ExceptionRegions
.Spans,
579
oldActiveStatements[1].
ExceptionRegions
.Spans.SelectAsArray(es => es.AddLineDelta(-1)),
580
oldActiveStatements[2].
ExceptionRegions
.Spans,
581
oldActiveStatements[3].
ExceptionRegions
.Spans.SelectAsArray(es => es.AddLineDelta(+2)),
708
], oldActiveStatements.Select(s => "[" + string.Join(",", s.
ExceptionRegions
.Spans) + "]"));