42 references to GetCodeLines
Microsoft.AspNetCore.Diagnostics.Tests (42)
ExceptionDetailsProviderTest.cs (42)
72Assert.Equal(GetCodeLines(4, 9), stackFrame.PreContextCode); 73Assert.Equal(GetCodeLines(10, 10), stackFrame.ContextCode); 74Assert.Equal(GetCodeLines(11, 16), stackFrame.PostContextCode); 96Assert.Equal(GetCodeLines(4, 9), stackFrame.PreContextCode); 97Assert.Equal(GetCodeLines(10, 10), stackFrame.ContextCode); 98Assert.Equal(GetCodeLines(11, 16), stackFrame.PostContextCode); 122Assert.Equal(GetCodeLines(4, 9), stackFrame.PreContextCode); 123Assert.Equal(GetCodeLines(10, 10), stackFrame.ContextCode); 124Assert.Equal(GetCodeLines(11, 16), stackFrame.PostContextCode); 135AllLines = GetCodeLines(1, 30), 139ExpectedPreErrorCode = GetCodeLines(4, 9), 140ExpectedErrorCode = GetCodeLines(10, 10), 141ExpectedPostErrorCode = GetCodeLines(11, 16) 145AllLines = GetCodeLines(1, 30), 149ExpectedPreErrorCode = GetCodeLines(4, 9), 150ExpectedErrorCode = GetCodeLines(10, 13), 151ExpectedPostErrorCode = GetCodeLines(14, 19) 157AllLines = GetCodeLines(1, 10), 162ExpectedErrorCode = GetCodeLines(1, 1), 163ExpectedPostErrorCode = GetCodeLines(2, 7) 167AllLines = GetCodeLines(1, 10), 171ExpectedPreErrorCode = GetCodeLines(1, 2), 172ExpectedErrorCode = GetCodeLines(3, 5), 173ExpectedPostErrorCode = GetCodeLines(6, 10) 179AllLines = GetCodeLines(1, 10), 183ExpectedPreErrorCode = GetCodeLines(4, 9), 184ExpectedErrorCode = GetCodeLines(10, 10), 189AllLines = GetCodeLines(1, 10), 193ExpectedPreErrorCode = GetCodeLines(1, 6), 194ExpectedErrorCode = GetCodeLines(7, 10), 199AllLines = GetCodeLines(1, 10), 203ExpectedPreErrorCode = GetCodeLines(1, 4), 204ExpectedErrorCode = GetCodeLines(5, 8), 205ExpectedPostErrorCode = GetCodeLines(9, 10) 211AllLines = GetCodeLines(1, 4), 215ExpectedPreErrorCode = GetCodeLines(1, 1), 216ExpectedErrorCode = GetCodeLines(2, 3), 217ExpectedPostErrorCode = GetCodeLines(4, 4) 221AllLines = GetCodeLines(1, 4), 226ExpectedErrorCode = GetCodeLines(1, 4), 234AllLines = GetCodeLines(1, 1), 239ExpectedErrorCode = GetCodeLines(1, 1),