Skip to content

CI failure: System.Globalization.Tests.InvariantModeTests.TestLastIndexOf, object reference not set to an instance of an object #74179

@carlossanlop

Description

@carlossanlop

Affected tests:

  • System.Globalization.Tests.CompareInfoIndexOfTests.IndexOf_String (180x entries with 174x failures per run)
  • System.Globalization.Tests.InvariantModeTests.TestIndexOf (96x entries with 93x failures per run)
  • System.Globalization.Tests.InvariantModeTests.TestLastIndexOf (15x entire with 12x failures per run)

Total hits per run: 291x entries with 279x failures per run

Didn't find any open issues reporting this.
Please help determine if this needs a fix for RC1.

Found in this RC1 PR: #74045
Occurred in the runtime-extra-platforms run.
Leg: Build windows x64 Release AllSubsets_Mono
Job: https://dev.azure.com/dnceng/public/_build/results?buildId=1951942&view=logs&j=585f1246-0618-5d47-ff3e-08c83309e2d2&t=5e10daf8-cc46-5bd4-2ab7-d28eafd857b5&l=89

Callstacks:

Invariant.Tests.dll -xml testResults.xml -nologo -nocolor -notrait category=IgnoreForCI -notrait category=OuterLoop -notrait category=failing  
  Discovering: Invariant.Tests (method display = ClassAndMethod, method display options = None)
  Discovered:  Invariant.Tests (found 24 test cases)
  Starting:    Invariant.Tests (parallel test collections = on, max threads = 2)
    System.Globalization.Tests.InvariantModeTests.TestLastIndexOf(source: "Hi", value: "I", startIndex: 1, count: 2, options: None, result: -1) [FAIL]
      System.NullReferenceException : Object reference not set to an instance of an object
      Stack Trace:
        /_/src/libraries/System.Private.CoreLib/src/System/SpanHelpers.T.cs(2148,0): at System.SpanHelpers.LastIndexOfValueType[Int16,DontNegate`1](Int16& searchSpace, Int16 value, Int32 length)
        /_/src/libraries/System.Private.CoreLib/src/System/SpanHelpers.Char.cs(217,0): at System.SpanHelpers.LastIndexOf(Char& searchSpace, Int32 searchSpaceLength, Char& value, Int32 valueLength)
        /_/src/libraries/System.Private.CoreLib/src/System/Globalization/CompareInfo.cs(1328,0): at System.Globalization.CompareInfo.LastIndexOf(ReadOnlySpan`1 source, ReadOnlySpan`1 value, CompareOptions options)
        /_/src/libraries/System.Private.CoreLib/src/System/MemoryExtensions.Globalization.cs(175,0): at System.MemoryExtensions.LastIndexOf(ReadOnlySpan`1 span, ReadOnlySpan`1 value, StringComparison comparisonType)
        /_/src/libraries/System.Globalization/tests/Invariant/InvariantMode.cs(958,0): at System.Globalization.Tests.InvariantModeTests.<TestLastIndexOf>g__TestCore|27_0(CompareInfo compareInfo, String source, String value, Int32 startIndex, Int32 count, CompareOptions options, Int32 result)
        /_/src/libraries/System.Globalization/tests/Invariant/InvariantMode.cs(919,0): at System.Globalization.Tests.InvariantModeTests.TestLastIndexOf(String source, String value, Int32 startIndex, Int32 count, CompareOptions options, Int32 result)
        /_/src/mono/System.Private.CoreLib/src/System/Reflection/MethodInvoker.Mono.cs(33,0): at System.Reflection.MethodInvoker.InterpretedInvoke(Object obj, Span`1 args, BindingFlags invokeAttr)
    System.Globalization.Tests.InvariantModeTests.TestLastIndexOf(source: "Hi", value: "I", startIndex: 1, count: 2, options: None, result: -1) [FAIL]
      System.NullReferenceException : Object reference not set to an instance of an object
      Stack Trace:
        /_/src/libraries/System.Private.CoreLib/src/System/SpanHelpers.T.cs(2148,0): at System.SpanHelpers.LastIndexOfValueType[Int16,DontNegate`1](Int16& searchSpace, Int16 value, Int32 length)
        /_/src/libraries/System.Private.CoreLib/src/System/SpanHelpers.Char.cs(217,0): at System.SpanHelpers.LastIndexOf(Char& searchSpace, Int32 searchSpaceLength, Char& value, Int32 valueLength)
        /_/src/libraries/System.Private.CoreLib/src/System/Globalization/CompareInfo.cs(1328,0): at System.Globalization.CompareInfo.LastIndexOf(ReadOnlySpan`1 source, ReadOnlySpan`1 value, CompareOptions options)
        /_/src/libraries/System.Private.CoreLib/src/System/MemoryExtensions.Globalization.cs(175,0): at System.MemoryExtensions.LastIndexOf(ReadOnlySpan`1 span, ReadOnlySpan`1 value, StringComparison comparisonType)
        /_/src/libraries/System.Globalization/tests/Invariant/InvariantMode.cs(958,0): at System.Globalization.Tests.InvariantModeTests.<TestLastIndexOf>g__TestCore|27_0(CompareInfo compareInfo, String source, String value, Int32 startIndex, Int32 count, CompareOptions options, Int32 result)
        /_/src/libraries/System.Globalization/tests/Invariant/InvariantMode.cs(919,0): at System.Globalization.Tests.InvariantModeTests.TestLastIndexOf(String source, String value, Int32 startIndex, Int32 count, CompareOptions options, Int32 result)
        /_/src/mono/System.Private.CoreLib/src/System/Reflection/MethodInvoker.Mono.cs(33,0): at System.Reflection.MethodInvoker.InterpretedInvoke(Object obj, Span`1 args, BindingFlags invokeAttr)
    System.Globalization.Tests.InvariantModeTests.TestLastIndexOf(source: "Hi", value: "I", startIndex: 1, count: 2, options: None, result: -1) [FAIL]
      System.NullReferenceException : Object reference not set to an instance of an object
      Stack Trace:
        /_/src/libraries/System.Private.CoreLib/src/System/SpanHelpers.T.cs(2148,0): at System.SpanHelpers.LastIndexOfValueType[Int16,DontNegate`1](Int16& searchSpace, Int16 value, Int32 length)
        /_/src/libraries/System.Private.CoreLib/src/System/SpanHelpers.Char.cs(217,0): at System.SpanHelpers.LastIndexOf(Char& searchSpace, Int32 searchSpaceLength, Char& value, Int32 valueLength)
        /_/src/libraries/System.Private.CoreLib/src/System/Globalization/CompareInfo.cs(1328,0): at System.Globalization.CompareInfo.LastIndexOf(ReadOnlySpan`1 source, ReadOnlySpan`1 value, CompareOptions options)
        /_/src/libraries/System.Private.CoreLib/src/System/MemoryExtensions.Globalization.cs(175,0): at System.MemoryExtensions.LastIndexOf(ReadOnlySpan`1 span, ReadOnlySpan`1 value, StringComparison comparisonType)
        /_/src/libraries/System.Globalization/tests/Invariant/InvariantMode.cs(958,0): at System.Globalization.Tests.InvariantModeTests.<TestLastIndexOf>g__TestCore|27_0(CompareInfo compareInfo, String source, String value, Int32 startIndex, Int32 count, CompareOptions options, Int32 result)
        /_/src/libraries/System.Globalization/tests/Invariant/InvariantMode.cs(919,0): at System.Globalization.Tests.InvariantModeTests.TestLastIndexOf(String source, String value, Int32 startIndex, Int32 count, CompareOptions options, Int32 result)
        /_/src/mono/System.Private.CoreLib/src/System/Reflection/MethodInvoker.Mono.cs(33,0): at System.Reflection.MethodInvoker.InterpretedInvoke(Object obj, Span`1 args, BindingFlags invokeAttr)
    System.Globalization.Tests.InvariantModeTests.TestLastIndexOf(source: "Hi", value: "I", startIndex: 1, count: 2, options: None, result: -1) [FAIL]
      System.NullReferenceException : Object reference not set to an instance of an object
      Stack Trace:
        /_/src/libraries/System.Private.CoreLib/src/System/SpanHelpers.T.cs(2148,0): at System.SpanHelpers.LastIndexOfValueType[Int16,DontNegate`1](Int16& searchSpace, Int16 value, Int32 length)
        /_/src/libraries/System.Private.CoreLib/src/System/SpanHelpers.Char.cs(217,0): at System.SpanHelpers.LastIndexOf(Char& searchSpace, Int32 searchSpaceLength, Char& value, Int32 valueLength)
        /_/src/libraries/System.Private.CoreLib/src/System/Globalization/CompareInfo.cs(1328,0): at System.Globalization.CompareInfo.LastIndexOf(ReadOnlySpan`1 source, ReadOnlySpan`1 value, CompareOptions options)
        /_/src/libraries/System.Private.CoreLib/src/System/MemoryExtensions.Globalization.cs(175,0): at System.MemoryExtensions.LastIndexOf(ReadOnlySpan`1 span, ReadOnlySpan`1 value, StringComparison comparisonType)
        /_/src/libraries/System.Globalization/tests/Invariant/InvariantMode.cs(958,0): at System.Globalization.Tests.InvariantModeTests.<TestLastIndexOf>g__TestCore|27_0(CompareInfo compareInfo, String source, String value, Int32 startIndex, Int32 count, CompareOptions options, Int32 result)
        /_/src/libraries/System.Globalization/tests/Invariant/InvariantMode.cs(919,0): at System.Globalization.Tests.InvariantModeTests.TestLastIndexOf(String source, String value, Int32 startIndex, Int32 count, CompareOptions options, Int32 result)
        /_/src/mono/System.Private.CoreLib/src/System/Reflection/MethodInvoker.Mono.cs(33,0): at System.Reflection.MethodInvoker.InterpretedInvoke(Object obj, Span`1 args, BindingFlags invokeAttr)
    System.Globalization.Tests.InvariantModeTests.TestIndexOf(source: "Hi", value: "I", startIndex: 0, count: 2, options: None, result: -1) [FAIL]
      System.NullReferenceException : Object reference not set to an instance of an object
      Stack Trace:
        /_/src/libraries/System.Private.CoreLib/src/System/SpanHelpers.T.cs(1501,0): at System.SpanHelpers.IndexOfValueType[Int16,DontNegate`1](Int16& searchSpace, Int16 value, Int32 length)
        /_/src/libraries/System.Private.CoreLib/src/System/SpanHelpers.Char.cs(26,0): at System.SpanHelpers.IndexOf(Char& searchSpace, Int32 searchSpaceLength, Char& value, Int32 valueLength)
        /_/src/libraries/System.Private.CoreLib/src/System/Globalization/CompareInfo.cs(954,0): at System.Globalization.CompareInfo.IndexOf(ReadOnlySpan`1 source, ReadOnlySpan`1 value, CompareOptions options)
        /_/src/libraries/System.Private.CoreLib/src/System/MemoryExtensions.Globalization.cs(140,0): at System.MemoryExtensions.IndexOf(ReadOnlySpan`1 span, ReadOnlySpan`1 value, StringComparison comparisonType)
        /_/src/libraries/System.Globalization/tests/Invariant/InvariantMode.cs(898,0): at System.Globalization.Tests.InvariantModeTests.<TestIndexOf>g__TestCore|26_0(CompareInfo compareInfo, String source, String value, Int32 startIndex, Int32 count, CompareOptions options, Int32 result)
        /_/src/libraries/System.Globalization/tests/Invariant/InvariantMode.cs(872,0): at System.Globalization.Tests.InvariantModeTests.TestIndexOf(String source, String value, Int32 startIndex, Int32 count, CompareOptions options, Int32 result)
        /_/src/mono/System.Private.CoreLib/src/System/Reflection/MethodInvoker.Mono.cs(33,0): at System.Reflection.MethodInvoker.InterpretedInvoke(Object obj, Span`1 args, BindingFlags invokeAttr)
    System.Globalization.Tests.InvariantModeTests.TestIndexOf(source: "Hi", value: "I", startIndex: 0, count: 2, options: None, result: -1) [FAIL]
      System.NullReferenceException : Object reference not set to an instance of an object
      Stack Trace:
        /_/src/libraries/System.Private.CoreLib/src/System/SpanHelpers.T.cs(1501,0): at System.SpanHelpers.IndexOfValueType[Int16,DontNegate`1](Int16& searchSpace, Int16 value, Int32 length)
        /_/src/libraries/System.Private.CoreLib/src/System/SpanHelpers.Char.cs(26,0): at System.SpanHelpers.IndexOf(Char& searchSpace, Int32 searchSpaceLength, Char& value, Int32 valueLength)
        /_/src/libraries/System.Private.CoreLib/src/System/Globalization/CompareInfo.cs(954,0): at System.Globalization.CompareInfo.IndexOf(ReadOnlySpan`1 source, ReadOnlySpan`1 value, CompareOptions options)
        /_/src/libraries/System.Private.CoreLib/src/System/MemoryExtensions.Globalization.cs(140,0): at System.MemoryExtensions.IndexOf(ReadOnlySpan`1 span, ReadOnlySpan`1 value, StringComparison comparisonType)
        /_/src/libraries/System.Globalization/tests/Invariant/InvariantMode.cs(898,0): at System.Globalization.Tests.InvariantModeTests.<TestIndexOf>g__TestCore|26_0(CompareInfo compareInfo, String source, String value, Int32 startIndex, Int32 count, CompareOptions options, Int32 result)
        /_/src/libraries/System.Globalization/tests/Invariant/InvariantMode.cs(872,0): at System.Globalization.Tests.InvariantModeTests.TestIndexOf(String source, String value, Int32 startIndex, Int32 count, CompareOptions options, Int32 result)
        /_/src/mono/System.Private.CoreLib/src/System/Reflection/MethodInvoker.Mono.cs(33,0): at System.Reflection.MethodInvoker.InterpretedInvoke(Object obj, Span`1 args, BindingFlags invokeAttr)
    System.Globalization.Tests.InvariantModeTests.TestIndexOf(source: "Hi", value: "I", startIndex: 0, count: 2, options: None, result: -1) [FAIL]
      System.NullReferenceException : Object reference not set to an instance of an object
      Stack Trace:
        /_/src/libraries/System.Private.CoreLib/src/System/SpanHelpers.T.cs(1501,0): at System.SpanHelpers.IndexOfValueType[Int16,DontNegate`1](Int16& searchSpace, Int16 value, Int32 length)
        /_/src/libraries/System.Private.CoreLib/src/System/SpanHelpers.Char.cs(26,0): at System.SpanHelpers.IndexOf(Char& searchSpace, Int32 searchSpaceLength, Char& value, Int32 valueLength)
        /_/src/libraries/System.Private.CoreLib/src/System/Globalization/CompareInfo.cs(954,0): at System.Globalization.CompareInfo.IndexOf(ReadOnlySpan`1 source, ReadOnlySpan`1 value, CompareOptions options)
        /_/src/libraries/System.Private.CoreLib/src/System/MemoryExtensions.Globalization.cs(140,0): at System.MemoryExtensions.IndexOf(ReadOnlySpan`1 span, ReadOnlySpan`1 value, StringComparison comparisonType)
        /_/src/libraries/System.Globalization/tests/Invariant/InvariantMode.cs(898,0): at System.Globalization.Tests.InvariantModeTests.<TestIndexOf>g__TestCore|26_0(CompareInfo compareInfo, String source, String value, Int32 startIndex, Int32 count, CompareOptions options, Int32 result)
        /_/src/libraries/System.Globalization/tests/Invariant/InvariantMode.cs(872,0): at System.Globalization.Tests.InvariantModeTests.TestIndexOf(String source, String value, Int32 startIndex, Int32 count, CompareOptions options, Int32 result)
        /_/src/mono/System.Private.CoreLib/src/System/Reflection/MethodInvoker.Mono.cs(33,0): at System.Reflection.MethodInvoker.InterpretedInvoke(Object obj, Span`1 args, BindingFlags invokeAttr)
    System.Globalization.Tests.InvariantModeTests.TestIndexOf(source: "Hi", value: "I", startIndex: 0, count: 2, options: None, result: -1) [FAIL]
      System.NullReferenceException : Object reference not set to an instance of an object
      Stack Trace:
        /_/src/libraries/System.Private.CoreLib/src/System/SpanHelpers.T.cs(1501,0): at System.SpanHelpers.IndexOfValueType[Int16,DontNegate`1](Int16& searchSpace, Int16 value, Int32 length)
        /_/src/libraries/System.Private.CoreLib/src/System/SpanHelpers.Char.cs(26,0): at System.SpanHelpers.IndexOf(Char& searchSpace, Int32 searchSpaceLength, Char& value, Int32 valueLength)
        /_/src/libraries/System.Private.CoreLib/src/System/Globalization/CompareInfo.cs(954,0): at System.Globalization.CompareInfo.IndexOf(ReadOnlySpan`1 source, ReadOnlySpan`1 value, CompareOptions options)
        /_/src/libraries/System.Private.CoreLib/src/System/MemoryExtensions.Globalization.cs(140,0): at System.MemoryExtensions.IndexOf(ReadOnlySpan`1 span, ReadOnlySpan`1 value, StringComparison comparisonType)
        /_/src/libraries/System.Globalization/tests/Invariant/InvariantMode.cs(898,0): at System.Globalization.Tests.InvariantModeTests.<TestIndexOf>g__TestCore|26_0(CompareInfo compareInfo, String source, String value, Int32 startIndex, Int32 count, CompareOptions options, Int32 result)
        /_/src/libraries/System.Globalization/tests/Invariant/InvariantMode.cs(872,0): at System.Globalization.Tests.InvariantModeTests.TestIndexOf(String source, String value, Int32 startIndex, Int32 count, CompareOptions options, Int32 result)
        /_/src/mono/System.Private.CoreLib/src/System/Reflection/MethodInvoker.Mono.cs(33,0): at System.Reflection.MethodInvoker.InterpretedInvoke(Object obj, Span`1 args, BindingFlags invokeAttr)
    System.Globalization.Tests.InvariantModeTests.TestIndexOf(source: "a", value: "a", startIndex: 0, count: 1, options: Ordinal, result: 0) [FAIL]
      System.NullReferenceException : Object reference not set to an instance of an object
      Stack Trace:
        /_/src/libraries/System.Private.CoreLib/src/System/SpanHelpers.T.cs(1501,0): at System.SpanHelpers.IndexOfValueType[Int16,DontNegate`1](Int16& searchSpace, Int16 value, Int32 length)
        /_/src/libraries/System.Private.CoreLib/src/System/SpanHelpers.Char.cs(26,0): at System.SpanHelpers.IndexOf(Char& searchSpace, Int32 searchSpaceLength, Char& value, Int32 valueLength)
        /_/src/libraries/System.Private.CoreLib/src/System/MemoryExtensions.Globalization.cs(133,0): at System.MemoryExtensions.IndexOf(ReadOnlySpan`1 span, ReadOnlySpan`1 value, StringComparison comparisonType)
        /_/src/libraries/System.Globalization/tests/Invariant/InvariantMode.cs(898,0): at System.Globalization.Tests.InvariantModeTests.<TestIndexOf>g__TestCore|26_0(CompareInfo compareInfo, String source, String value, Int32 startIndex, Int32 count, CompareOptions options, Int32 result)
        /_/src/libraries/System.Globalization/tests/Invariant/InvariantMode.cs(872,0): at System.Globalization.Tests.InvariantModeTests.TestIndexOf(String source, String value, Int32 startIndex, Int32 count, CompareOptions options, Int32 result)
        /_/src/mono/System.Private.CoreLib/src/System/Reflection/MethodInvoker.Mono.cs(33,0): at System.Reflection.MethodInvoker.InterpretedInvoke(Object obj, Span`1 args, BindingFlags invokeAttr)
    System.Globalization.Tests.InvariantModeTests.TestIndexOf(source: "a", value: "A", startIndex: 0, count: 1, options: Ordinal, result: -1) [FAIL]
      System.NullReferenceException : Object reference not set to an instance of an object
      Stack Trace:
        /_/src/libraries/System.Private.CoreLib/src/System/SpanHelpers.T.cs(1501,0): at System.SpanHelpers.IndexOfValueType[Int16,DontNegate`1](Int16& searchSpace, Int16 value, Int32 length)
        /_/src/libraries/System.Private.CoreLib/src/System/SpanHelpers.Char.cs(26,0): at System.SpanHelpers.IndexOf(Char& searchSpace, Int32 searchSpaceLength, Char& value, Int32 valueLength)
        /_/src/libraries/System.Private.CoreLib/src/System/MemoryExtensions.Globalization.cs(133,0): at System.MemoryExtensions.IndexOf(ReadOnlySpan`1 span, ReadOnlySpan`1 value, StringComparison comparisonType)
        /_/src/libraries/System.Globalization/tests/Invariant/InvariantMode.cs(898,0): at System.Globalization.Tests.InvariantModeTests.<TestIndexOf>g__TestCore|26_0(CompareInfo compareInfo, String source, String value, Int32 startIndex, Int32 count, CompareOptions options, Int32 result)
        /_/src/libraries/System.Globalization/tests/Invariant/InvariantMode.cs(872,0): at System.Globalization.Tests.InvariantModeTests.TestIndexOf(String source, String value, Int32 startIndex, Int32 count, CompareOptions options, Int32 result)
        /_/src/mono/System.Private.CoreLib/src/System/Reflection/MethodInvoker.Mono.cs(33,0): at System.Reflection.MethodInvoker.InterpretedInvoke(Object obj, Span`1 args, BindingFlags invokeAttr)
    System.Globalization.Tests.InvariantModeTests.TestIndexOf(source: "a", value: "1", startIndex: 0, count: 1, options: Ordinal, result: -1) [FAIL]
      System.NullReferenceException : Object reference not set to an instance of an object
      Stack Trace:
        /_/src/libraries/System.Private.CoreLib/src/System/SpanHelpers.T.cs(1501,0): at System.SpanHelpers.IndexOfValueType[Int16,DontNegate`1](Int16& searchSpace, Int16 value, Int32 length)
        /_/src/libraries/System.Private.CoreLib/src/System/SpanHelpers.Char.cs(26,0): at System.SpanHelpers.IndexOf(Char& searchSpace, Int32 searchSpaceLength, Char& value, Int32 valueLength)
        /_/src/libraries/System.Private.CoreLib/src/System/MemoryExtensions.Globalization.cs(133,0): at System.MemoryExtensions.IndexOf(ReadOnlySpan`1 span, ReadOnlySpan`1 value, StringComparison comparisonType)
        /_/src/libraries/System.Globalization/tests/Invariant/InvariantMode.cs(898,0): at System.Globalization.Tests.InvariantModeTests.<TestIndexOf>g__TestCore|26_0(CompareInfo compareInfo, String source, String value, Int32 startIndex, Int32 count, CompareOptions options, Int32 result)
        /_/src/libraries/System.Globalization/tests/Invariant/InvariantMode.cs(872,0): at System.Globalization.Tests.InvariantModeTests.TestIndexOf(String source, String value, Int32 startIndex, Int32 count, CompareOptions options, Int32 result)
        /_/src/mono/System.Private.CoreLib/src/System/Reflection/MethodInvoker.Mono.cs(33,0): at System.Reflection.MethodInvoker.InterpretedInvoke(Object obj, Span`1 args, BindingFlags invokeAttr)
    System.Globalization.Tests.InvariantModeTests.TestIndexOf(source: "1", value: "1", startIndex: 0, count: 1, options: Ordinal, result: 0) [FAIL]
      System.NullReferenceException : Object reference not set to an instance of an object
      Stack Trace:
        /_/src/libraries/System.Private.CoreLib/src/System/SpanHelpers.T.cs(1501,0): at System.SpanHelpers.IndexOfValueType[Int16,DontNegate`1](Int16& searchSpace, Int16 value, Int32 length)
        /_/src/libraries/System.Private.CoreLib/src/System/SpanHelpers.Char.cs(26,0): at System.SpanHelpers.IndexOf(Char& searchSpace, Int32 searchSpaceLength, Char& value, Int32 valueLength)
        /_/src/libraries/System.Private.CoreLib/src/System/MemoryExtensions.Globalization.cs(133,0): at System.MemoryExtensions.IndexOf(ReadOnlySpan`1 span, ReadOnlySpan`1 value, StringComparison comparisonType)
        /_/src/libraries/System.Globalization/tests/Invariant/InvariantMode.cs(898,0): at System.Globalization.Tests.InvariantModeTests.<TestIndexOf>g__TestCore|26_0(CompareInfo compareInfo, String source, String value, Int32 startIndex, Int32 count, CompareOptions options, Int32 result)
        /_/src/libraries/System.Globalization/tests/Invariant/InvariantMode.cs(872,0): at System.Globalization.Tests.InvariantModeTests.TestIndexOf(String source, String value, Int32 startIndex, Int32 count, CompareOptions options, Int32 result)
        /_/src/mono/System.Private.CoreLib/src/System/Reflection/MethodInvoker.Mono.cs(33,0): at System.Reflection.MethodInvoker.InterpretedInvoke(Object obj, Span`1 args, BindingFlags invokeAttr)
    System.Globalization.Tests.InvariantModeTests.TestIndexOf(source: "1", value: "!", startIndex: 0, count: 1, options: Ordinal, result: -1) [FAIL]
      System.NullReferenceException : Object reference not set to an instance of an object
      Stack Trace:
        /_/src/libraries/System.Private.CoreLib/src/System/SpanHelpers.T.cs(1501,0): at System.SpanHelpers.IndexOfValueType[Int16,DontNegate`1](Int16& searchSpace, Int16 value, Int32 length)
        /_/src/libraries/System.Private.CoreLib/src/System/SpanHelpers.Char.cs(26,0): at System.SpanHelpers.IndexOf(Char& searchSpace, Int32 searchSpaceLength, Char& value, Int32 valueLength)
        /_/src/libraries/System.Private.CoreLib/src/System/MemoryExtensions.Globalization.cs(133,0): at System.MemoryExtensions.IndexOf(ReadOnlySpan`1 span, ReadOnlySpan`1 value, StringComparison comparisonType)
        /_/src/libraries/System.Globalization/tests/Invariant/InvariantMode.cs(898,0): at System.Globalization.Tests.InvariantModeTests.<TestIndexOf>g__TestCore|26_0(CompareInfo compareInfo, String source, String value, Int32 startIndex, Int32 count, CompareOptions options, Int32 result)
        /_/src/libraries/System.Globalization/tests/Invariant/InvariantMode.cs(872,0): at System.Globalization.Tests.InvariantModeTests.TestIndexOf(String source, String value, Int32 startIndex, Int32 count, CompareOptions options, Int32 result)
        /_/src/mono/System.Private.CoreLib/src/System/Reflection/MethodInvoker.Mono.cs(33,0): at System.Reflection.MethodInvoker.InterpretedInvoke(Object obj, Span`1 args, BindingFlags invokeAttr)
    System.Globalization.Tests.InvariantModeTests.TestIndexOf(source: "a", value: "-", startIndex: 0, count: 1, options: Ordinal, result: -1) [FAIL]
      System.NullReferenceException : Object reference not set to an instance of an object
      Stack Trace:
        /_/src/libraries/System.Private.CoreLib/src/System/SpanHelpers.T.cs(1501,0): at System.SpanHelpers.IndexOfValueType[Int16,DontNegate`1](Int16& searchSpace, Int16 value, Int32 length)
        /_/src/libraries/System.Private.CoreLib/src/System/SpanHelpers.Char.cs(26,0): at System.SpanHelpers.IndexOf(Char& searchSpace, Int32 searchSpaceLength, Char& value, Int32 valueLength)
        /_/src/libraries/System.Private.CoreLib/src/System/MemoryExtensions.Globalization.cs(133,0): at System.MemoryExtensions.IndexOf(ReadOnlySpan`1 span, ReadOnlySpan`1 value, StringComparison comparisonType)
        /_/src/libraries/System.Globalization/tests/Invariant/InvariantMode.cs(898,0): at System.Globalization.Tests.InvariantModeTests.<TestIndexOf>g__TestCore|26_0(CompareInfo compareInfo, String source, String value, Int32 startIndex, Int32 count, CompareOptions options, Int32 result)
        /_/src/libraries/System.Globalization/tests/Invariant/InvariantMode.cs(872,0): at System.Globalization.Tests.InvariantModeTests.TestIndexOf(String source, String value, Int32 startIndex, Int32 count, CompareOptions options, Int32 result)
        /_/src/mono/System.Private.CoreLib/src/System/Reflection/MethodInvoker.Mono.cs(33,0): at System.Reflection.MethodInvoker.InterpretedInvoke(Object obj, Span`1 args, BindingFlags invokeAttr)
    System.Globalization.Tests.InvariantModeTests.TestIndexOf(source: "-", value: "-", startIndex: 0, count: 1, options: Ordinal, result: 0) [FAIL]
      System.NullReferenceException : Object reference not set to an instance of an object
      Stack Trace:
        /_/src/libraries/System.Private.CoreLib/src/System/SpanHelpers.T.cs(1501,0): at System.SpanHelpers.IndexOfValueType[Int16,DontNegate`1](Int16& searchSpace, Int16 value, Int32 length)
        /_/src/libraries/System.Private.CoreLib/src/System/SpanHelpers.Char.cs(26,0): at System.SpanHelpers.IndexOf(Char& searchSpace, Int32 searchSpaceLength, Char& value, Int32 valueLength)
        /_/src/libraries/System.Private.CoreLib/src/System/MemoryExtensions.Globalization.cs(133,0): at System.MemoryExtensions.IndexOf(ReadOnlySpan`1 span, ReadOnlySpan`1 value, StringComparison comparisonType)
        /_/src/libraries/System.Globalization/tests/Invariant/InvariantMode.cs(898,0): at System.Globalization.Tests.InvariantModeTests.<TestIndexOf>g__TestCore|26_0(CompareInfo compareInfo, String source, String value, Int32 startIndex, Int32 count, CompareOptions options, Int32 result)
        /_/src/libraries/System.Globalization/tests/Invariant/InvariantMode.cs(872,0): at System.Globalization.Tests.InvariantModeTests.TestIndexOf(String source, String value, Int32 startIndex, Int32 count, CompareOptions options, Int32 result)
        /_/src/mono/System.Private.CoreLib/src/System/Reflection/MethodInvoker.Mono.cs(33,0): at System.Reflection.MethodInvoker.InterpretedInvoke(Object obj, Span`1 args, BindingFlags invokeAttr)
    System.Globalization.Tests.InvariantModeTests.TestIndexOf(source: "-", value: "!", startIndex: 0, count: 1, options: Ordinal, result: -1) [FAIL]
      System.NullReferenceException : Object reference not set to an instance of an object
      Stack Trace:
        /_/src/libraries/System.Private.CoreLib/src/System/SpanHelpers.T.cs(1501,0): at System.SpanHelpers.IndexOfValueType[Int16,DontNegate`1](Int16& searchSpace, Int16 value, Int32 length)
        /_/src/libraries/System.Private.CoreLib/src/System/SpanHelpers.Char.cs(26,0): at System.SpanHelpers.IndexOf(Char& searchSpace, Int32 searchSpaceLength, Char& value, Int32 valueLength)
        /_/src/libraries/System.Private.CoreLib/src/System/MemoryExtensions.Globalization.cs(133,0): at System.MemoryExtensions.IndexOf(ReadOnlySpan`1 span, ReadOnlySpan`1 value, StringComparison comparisonType)
        /_/src/libraries/System.Globalization/tests/Invariant/InvariantMode.cs(898,0): at System.Globalization.Tests.InvariantModeTests.<TestIndexOf>g__TestCore|26_0(CompareInfo compareInfo, String source, String value, Int32 startIndex, Int32 count, CompareOptions options, Int32 result)
        /_/src/libraries/System.Globalization/tests/Invariant/InvariantMode.cs(872,0): at System.Globalization.Tests.InvariantModeTests.TestIndexOf(String source, String value, Int32 startIndex, Int32 count, CompareOptions options, Int32 result)
        /_/src/mono/System.Private.CoreLib/src/System/Reflection/MethodInvoker.Mono.cs(33,0): at System.Reflection.MethodInvoker.InterpretedInvoke(Object obj, Span`1 args, BindingFlags invokeAttr)
    System.Globalization.Tests.InvariantModeTests.TestIndexOf(source: "!", value: "!", startIndex: 0, count: 1, options: Ordinal, result: 0) [FAIL]
      System.NullReferenceException : Object reference not set to an instance of an object
      Stack Trace:
        /_/src/libraries/System.Private.CoreLib/src/System/SpanHelpers.T.cs(1501,0): at System.SpanHelpers.IndexOfValueType[Int16,DontNegate`1](Int16& searchSpace, Int16 value, Int32 length)
        /_/src/libraries/System.Private.CoreLib/src/System/SpanHelpers.Char.cs(26,0): at System.SpanHelpers.IndexOf(Char& searchSpace, Int32 searchSpaceLength, Char& value, Int32 valueLength)
        /_/src/libraries/System.Private.CoreLib/src/System/MemoryExtensions.Globalization.cs(133,0): at System.MemoryExtensions.IndexOf(ReadOnlySpan`1 span, ReadOnlySpan`1 value, StringComparison comparisonType)
        /_/src/libraries/System.Globalization/tests/Invariant/InvariantMode.cs(898,0): at System.Globalization.Tests.InvariantModeTests.<TestIndexOf>g__TestCore|26_0(CompareInfo compareInfo, String source, String value, Int32 startIndex, Int32 count, CompareOptions options, Int32 result)
        /_/src/libraries/System.Globalization/tests/Invariant/InvariantMode.cs(872,0): at System.Globalization.Tests.InvariantModeTests.TestIndexOf(String source, String value, Int32 startIndex, Int32 count, CompareOptions options, Int32 result)
        /_/src/mono/System.Private.CoreLib/src/System/Reflection/MethodInvoker.Mono.cs(33,0): at System.Reflection.MethodInvoker.InterpretedInvoke(Object obj, Span`1 args, BindingFlags invokeAttr)
    System.Globalization.Tests.InvariantModeTests.TestIndexOf(source: "A", value: "?", startIndex: 0, count: 1, options: Ordinal, result: -1) [FAIL]
      System.NullReferenceException : Object reference not set to an instance of an object
      Stack Trace:
        /_/src/libraries/System.Private.CoreLib/src/System/SpanHelpers.T.cs(1501,0): at System.SpanHelpers.IndexOfValueType[Int16,DontNegate`1](Int16& searchSpace, Int16 value, Int32 length)
        /_/src/libraries/System.Private.CoreLib/src/System/SpanHelpers.Char.cs(26,0): at System.SpanHelpers.IndexOf(Char& searchSpace, Int32 searchSpaceLength, Char& value, Int32 valueLength)
        /_/src/libraries/System.Private.CoreLib/src/System/MemoryExtensions.Globalization.cs(133,0): at System.MemoryExtensions.IndexOf(ReadOnlySpan`1 span, ReadOnlySpan`1 value, StringComparison comparisonType)
        /_/src/libraries/System.Globalization/tests/Invariant/InvariantMode.cs(898,0): at System.Globalization.Tests.InvariantModeTests.<TestIndexOf>g__TestCore|26_0(CompareInfo compareInfo, String source, String value, Int32 startIndex, Int32 count, CompareOptions options, Int32 result)
        /_/src/libraries/System.Globalization/tests/Invariant/InvariantMode.cs(872,0): at System.Globalization.Tests.InvariantModeTests.TestIndexOf(String source, String value, Int32 startIndex, Int32 count, CompareOptions options, Int32 result)
        /_/src/mono/System.Private.CoreLib/src/System/Reflection/MethodInvoker.Mono.cs(33,0): at System.Reflection.MethodInvoker.InterpretedInvoke(Object obj, Span`1 args, BindingFlags invokeAttr)
    System.Globalization.Tests.InvariantModeTests.TestIndexOf(source: "?", value: "A", startIndex: 0, count: 1, options: Ordinal, result: -1) [FAIL]
      System.NullReferenceException : Object reference not set to an instance of an object
      Stack Trace:
        /_/src/libraries/System.Private.CoreLib/src/System/SpanHelpers.T.cs(1501,0): at System.SpanHelpers.IndexOfValueType[Int16,DontNegate`1](Int16& searchSpace, Int16 value, Int32 length)
        /_/src/libraries/System.Private.CoreLib/src/System/SpanHelpers.Char.cs(26,0): at System.SpanHelpers.IndexOf(Char& searchSpace, Int32 searchSpaceLength, Char& value, Int32 valueLength)
        /_/src/libraries/System.Private.CoreLib/src/System/MemoryExtensions.Globalization.cs(133,0): at System.MemoryExtensions.IndexOf(ReadOnlySpan`1 span, ReadOnlySpan`1 value, StringComparison comparisonType)
        /_/src/libraries/System.Globalization/tests/Invariant/InvariantMode.cs(898,0): at System.Globalization.Tests.InvariantModeTests.<TestIndexOf>g__TestCore|26_0(CompareInfo compareInfo, String source, String value, Int32 startIndex, Int32 count, CompareOptions options, Int32 result)
        /_/src/libraries/System.Globalization/tests/Invariant/InvariantMode.cs(872,0): at System.Globalization.Tests.InvariantModeTests.TestIndexOf(String source, String value, Int32 startIndex, Int32 count, CompareOptions options, Int32 result)
        /_/src/mono/System.Private.CoreLib/src/System/Reflection/MethodInvoker.Mono.cs(33,0): at System.Reflection.MethodInvoker.InterpretedInvoke(Object obj, Span`1 args, BindingFlags invokeAttr)
    System.Globalization.Tests.InvariantModeTests.TestIndexOf(source: "I", value: "i", startIndex: 0, count: 1, options: Ordinal, result: -1) [FAIL]
      System.NullReferenceException : Object reference not set to an instance of an object
      Stack Trace:
        /_/src/libraries/System.Private.CoreLib/src/System/SpanHelpers.T.cs(1501,0): at System.SpanHelpers.IndexOfValueType[Int16,DontNegate`1](Int16& searchSpace, Int16 value, Int32 length)
        /_/src/libraries/System.Private.CoreLib/src/System/SpanHelpers.Char.cs(26,0): at System.SpanHelpers.IndexOf(Char& searchSpace, Int32 searchSpaceLength, Char& value, Int32 valueLength)
        /_/src/libraries/System.Private.CoreLib/src/System/MemoryExtensions.Globalization.cs(133,0): at System.MemoryExtensions.IndexOf(ReadOnlySpan`1 span, ReadOnlySpan`1 value, StringComparison comparisonType)
        /_/src/libraries/System.Globalization/tests/Invariant/InvariantMode.cs(898,0): at System.Globalization.Tests.InvariantModeTests.<TestIndexOf>g__TestCore|26_0(CompareInfo compareInfo, String source, String value, Int32 startIndex, Int32 count, CompareOptions options, Int32 result)
        /_/src/libraries/System.Globalization/tests/Invariant/InvariantMode.cs(872,0): at System.Globalization.Tests.InvariantModeTests.TestIndexOf(String source, String value, Int32 startIndex, Int32 count, CompareOptions options, Int32 result)
        /_/src/mono/System.Private.CoreLib/src/System/Reflection/MethodInvoker.Mono.cs(33,0): at System.Reflection.MethodInvoker.InterpretedInvoke(Object obj, Span`1 args, BindingFlags invokeAttr)
    System.Globalization.Tests.InvariantModeTests.TestIndexOf(source: "I", value: "I", startIndex: 0, count: 1, options: Ordinal, result: 0) [FAIL]
      System.NullReferenceException : Object reference not set to an instance of an object
      Stack Trace:
        /_/src/libraries/System.Private.CoreLib/src/System/SpanHelpers.T.cs(1501,0): at System.SpanHelpers.IndexOfValueType[Int16,DontNegate`1](Int16& searchSpace, Int16 value, Int32 length)
        /_/src/libraries/System.Private.CoreLib/src/System/SpanHelpers.Char.cs(26,0): at System.SpanHelpers.IndexOf(Char& searchSpace, Int32 searchSpaceLength, Char& value, Int32 valueLength)
        /_/src/libraries/System.Private.CoreLib/src/System/MemoryExtensions.Globalization.cs(133,0): at System.MemoryExtensions.IndexOf(ReadOnlySpan`1 span, ReadOnlySpan`1 value, StringComparison comparisonType)
        /_/src/libraries/System.Globalization/tests/Invariant/InvariantMode.cs(898,0): at System.Globalization.Tests.InvariantModeTests.<TestIndexOf>g__TestCore|26_0(CompareInfo compareInfo, String source, String value, Int32 startIndex, Int32 count, CompareOptions options, Int32 result)
        /_/src/libraries/System.Globalization/tests/Invariant/InvariantMode.cs(872,0): at System.Globalization.Tests.InvariantModeTests.TestIndexOf(String source, String value, Int32 startIndex, Int32 count, CompareOptions options, Int32 result)
        /_/src/mono/System.Private.CoreLib/src/System/Reflection/MethodInvoker.Mono.cs(33,0): at System.Reflection.MethodInvoker.InterpretedInvoke(Object obj, Span`1 args, BindingFlags invokeAttr)
    System.Globalization.Tests.InvariantModeTests.TestIndexOf(source: "i", value: "I", startIndex: 0, count: 1, options: Ordinal, result: -1) [FAIL]
      System.NullReferenceException : Object reference not set to an instance of an object
      Stack Trace:
        /_/src/libraries/System.Private.CoreLib/src/System/SpanHelpers.T.cs(1501,0): at System.SpanHelpers.IndexOfValueType[Int16,DontNegate`1](Int16& searchSpace, Int16 value, Int32 length)
        /_/src/libraries/System.Private.CoreLib/src/System/SpanHelpers.Char.cs(26,0): at System.SpanHelpers.IndexOf(Char& searchSpace, Int32 searchSpaceLength, Char& value, Int32 valueLength)
        /_/src/libraries/System.Private.CoreLib/src/System/MemoryExtensions.Globalization.cs(133,0): at System.MemoryExtensions.IndexOf(ReadOnlySpan`1 span, ReadOnlySpan`1 value, StringComparison comparisonType)
        /_/src/libraries/System.Globalization/tests/Invariant/InvariantMode.cs(898,0): at System.Globalization.Tests.InvariantModeTests.<TestIndexOf>g__TestCore|26_0(CompareInfo compareInfo, String source, String value, Int32 startIndex, Int32 count, CompareOptions options, Int32 result)
        /_/src/libraries/System.Globalization/tests/Invariant/InvariantMode.cs(872,0): at System.Globalization.Tests.InvariantModeTests.TestIndexOf(String source, String value, Int32 startIndex, Int32 count, CompareOptions options, Int32 result)
        /_/src/mono/System.Private.CoreLib/src/System/Reflection/MethodInvoker.Mono.cs(33,0): at System.Reflection.MethodInvoker.InterpretedInvoke(Object obj, Span`1 args, BindingFlags invokeAttr)
    System.Globalization.Tests.InvariantModeTests.TestIndexOf(source: "i", value: "i", startIndex: 0, count: 1, options: Ordinal, result: 0) [FAIL]
      System.NullReferenceException : Object reference not set to an instance of an object
      Stack Trace:
        /_/src/libraries/System.Private.CoreLib/src/System/SpanHelpers.T.cs(1501,0): at System.SpanHelpers.IndexOfValueType[Int16,DontNegate`1](Int16& searchSpace, Int16 value, Int32 length)
        /_/src/libraries/System.Private.CoreLib/src/System/SpanHelpers.Char.cs(26,0): at System.SpanHelpers.IndexOf(Char& searchSpace, Int32 searchSpaceLength, Char& value, Int32 valueLength)
        /_/src/libraries/System.Private.CoreLib/src/System/MemoryExtensions.Globalization.cs(133,0): at System.MemoryExtensions.IndexOf(ReadOnlySpan`1 span, ReadOnlySpan`1 value, StringComparison comparisonType)
        /_/src/libraries/System.Globalization/tests/Invariant/InvariantMode.cs(898,0): at System.Globalization.Tests.InvariantModeTests.<TestIndexOf>g__TestCore|26_0(CompareInfo compareInfo, String source, String value, Int32 startIndex, Int32 count, CompareOptions options, Int32 result)
        /_/src/libraries/System.Globalization/tests/Invariant/InvariantMode.cs(872,0): at System.Globalization.Tests.InvariantModeTests.TestIndexOf(String source, String value, Int32 startIndex, Int32 count, CompareOptions options, Int32 result)
        /_/src/mono/System.Private.CoreLib/src/System/Reflection/MethodInvoker.Mono.cs(33,0): at System.Reflection.MethodInvoker.InterpretedInvoke(Object obj, Span`1 args, BindingFlags invokeAttr)
    System.Globalization.Tests.InvariantModeTests.TestIndexOf(source: "I", value: "I", startIndex: 0, count: 1, options: Ordinal, result: -1) [FAIL]
      System.NullReferenceException : Object reference not set to an instance of an object
      Stack Trace:
        /_/src/libraries/System.Private.CoreLib/src/System/SpanHelpers.T.cs(1501,0): at System.SpanHelpers.IndexOfValueType[Int16,DontNegate`1](Int16& searchSpace, Int16 value, Int32 length)
        /_/src/libraries/System.Private.CoreLib/src/System/SpanHelpers.Char.cs(26,0): at System.SpanHelpers.IndexOf(Char& searchSpace, Int32 searchSpaceLength, Char& value, Int32 valueLength)
        /_/src/libraries/System.Private.CoreLib/src/System/MemoryExtensions.Globalization.cs(133,0): at System.MemoryExtensions.IndexOf(ReadOnlySpan`1 span, ReadOnlySpan`1 value, StringComparison comparisonType)
        /_/src/libraries/System.Globalization/tests/Invariant/InvariantMode.cs(898,0): at System.Globalization.Tests.InvariantModeTests.<TestIndexOf>g__TestCore|26_0(CompareInfo compareInfo, String source, String value, Int32 startIndex, Int32 count, CompareOptions options, Int32 result)
        /_/src/libraries/System.Globalization/tests/Invariant/InvariantMode.cs(872,0): at System.Globalization.Tests.InvariantModeTests.TestIndexOf(String source, String value, Int32 startIndex, Int32 count, CompareOptions options, Int32 result)
        /_/src/mono/System.Private.CoreLib/src/System/Reflection/MethodInvoker.Mono.cs(33,0): at System.Reflection.MethodInvoker.InterpretedInvoke(Object obj, Span`1 args, BindingFlags invokeAttr)
    System.Globalization.Tests.InvariantModeTests.TestIndexOf(source: "I", value: "I", startIndex: 0, count: 1, options: Ordinal, result: -1) [FAIL]
      System.NullReferenceException : Object reference not set to an instance of an object
      Stack Trace:
        /_/src/libraries/System.Private.CoreLib/src/System/SpanHelpers.T.cs(1501,0): at System.SpanHelpers.IndexOfValueType[Int16,DontNegate`1](Int16& searchSpace, Int16 value, Int32 length)
        /_/src/libraries/System.Private.CoreLib/src/System/SpanHelpers.Char.cs(26,0): at System.SpanHelpers.IndexOf(Char& searchSpace, Int32 searchSpaceLength, Char& value, Int32 valueLength)
        /_/src/libraries/System.Private.CoreLib/src/System/MemoryExtensions.Globalization.cs(133,0): at System.MemoryExtensions.IndexOf(ReadOnlySpan`1 span, ReadOnlySpan`1 value, StringComparison comparisonType)
        /_/src/libraries/System.Globalization/tests/Invariant/InvariantMode.cs(898,0): at System.Globalization.Tests.InvariantModeTests.<TestIndexOf>g__TestCore|26_0(CompareInfo compareInfo, String source, String value, Int32 startIndex, Int32 count, CompareOptions options, Int32 result)
        /_/src/libraries/System.Globalization/tests/Invariant/InvariantMode.cs(872,0): at System.Globalization.Tests.InvariantModeTests.TestIndexOf(String source, String value, Int32 startIndex, Int32 count, CompareOptions options, Int32 result)
        /_/src/mono/System.Private.CoreLib/src/System/Reflection/MethodInvoker.Mono.cs(33,0): at System.Reflection.MethodInvoker.InterpretedInvoke(Object obj, Span`1 args, BindingFlags invokeAttr)
    System.Globalization.Tests.InvariantModeTests.TestIndexOf(source: "i", value: "I", startIndex: 0, count: 1, options: Ordinal, result: -1) [FAIL]
      System.NullReferenceException : Object reference not set to an instance of an object
      Stack Trace:
        /_/src/libraries/System.Private.CoreLib/src/System/SpanHelpers.T.cs(1501,0): at System.SpanHelpers.IndexOfValueType[Int16,DontNegate`1](Int16& searchSpace, Int16 value, Int32 length)
        /_/src/libraries/System.Private.CoreLib/src/System/SpanHelpers.Char.cs(26,0): at System.SpanHelpers.IndexOf(Char& searchSpace, Int32 searchSpaceLength, Char& value, Int32 valueLength)
        /_/src/libraries/System.Private.CoreLib/src/System/MemoryExtensions.Globalization.cs(133,0): at System.MemoryExtensions.IndexOf(ReadOnlySpan`1 span, ReadOnlySpan`1 value, StringComparison comparisonType)
        /_/src/libraries/System.Globalization/tests/Invariant/InvariantMode.cs(898,0): at System.Globalization.Tests.InvariantModeTests.<TestIndexOf>g__TestCore|26_0(CompareInfo compareInfo, String source, String value, Int32 startIndex, Int32 count, CompareOptions options, Int32 result)
        /_/src/libraries/System.Globalization/tests/Invariant/InvariantMode.cs(872,0): at System.Globalization.Tests.InvariantModeTests.TestIndexOf(String source, String value, Int32 startIndex, Int32 count, CompareOptions options, Int32 result)
        /_/src/mono/System.Private.CoreLib/src/System/Reflection/MethodInvoker.Mono.cs(33,0): at System.Reflection.MethodInvoker.InterpretedInvoke(Object obj, Span`1 args, BindingFlags invokeAttr)
    System.Globalization.Tests.InvariantModeTests.TestIndexOf(source: "I", value: "i", startIndex: 0, count: 1, options: Ordinal, result: -1) [FAIL]
      System.NullReferenceException : Object reference not set to an instance of an object
      Stack Trace:
        /_/src/libraries/System.Private.CoreLib/src/System/SpanHelpers.T.cs(1501,0): at System.SpanHelpers.IndexOfValueType[Int16,DontNegate`1](Int16& searchSpace, Int16 value, Int32 length)
        /_/src/libraries/System.Private.CoreLib/src/System/SpanHelpers.Char.cs(26,0): at System.SpanHelpers.IndexOf(Char& searchSpace, Int32 searchSpaceLength, Char& value, Int32 valueLength)
        /_/src/libraries/System.Private.CoreLib/src/System/MemoryExtensions.Globalization.cs(133,0): at System.MemoryExtensions.IndexOf(ReadOnlySpan`1 span, ReadOnlySpan`1 value, StringComparison comparisonType)
        /_/src/libraries/System.Globalization/tests/Invariant/InvariantMode.cs(898,0): at System.Globalization.Tests.InvariantModeTests.<TestIndexOf>g__TestCore|26_0(CompareInfo compareInfo, String source, String value, Int32 startIndex, Int32 count, CompareOptions options, Int32 result)
        /_/src/libraries/System.Globalization/tests/Invariant/InvariantMode.cs(872,0): at System.Globalization.Tests.InvariantModeTests.TestIndexOf(String source, String value, Int32 startIndex, Int32 count, CompareOptions options, Int32 result)
        /_/src/mono/System.Private.CoreLib/src/System/Reflection/MethodInvoker.Mono.cs(33,0): at System.Reflection.MethodInvoker.InterpretedInvoke(Object obj, Span`1 args, BindingFlags invokeAttr)
    System.Globalization.Tests.InvariantModeTests.TestIndexOf(source: "I", value: "i", startIndex: 0, count: 1, options: Ordinal, result: -1) [FAIL]
      System.NullReferenceException : Object reference not set to an instance of an object
      Stack Trace:
        /_/src/libraries/System.Private.CoreLib/src/System/SpanHelpers.T.cs(1501,0): at System.SpanHelpers.IndexOfValueType[Int16,DontNegate`1](Int16& searchSpace, Int16 value, Int32 length)
        /_/src/libraries/System.Private.CoreLib/src/System/SpanHelpers.Char.cs(26,0): at System.SpanHelpers.IndexOf(Char& searchSpace, Int32 searchSpaceLength, Char& value, Int32 valueLength)
        /_/src/libraries/System.Private.CoreLib/src/System/MemoryExtensions.Globalization.cs(133,0): at System.MemoryExtensions.IndexOf(ReadOnlySpan`1 span, ReadOnlySpan`1 value, StringComparison comparisonType)
        /_/src/libraries/System.Globalization/tests/Invariant/InvariantMode.cs(898,0): at System.Globalization.Tests.InvariantModeTests.<TestIndexOf>g__TestCore|26_0(CompareInfo compareInfo, String source, String value, Int32 startIndex, Int32 count, CompareOptions options, Int32 result)
        /_/src/libraries/System.Globalization/tests/Invariant/InvariantMode.cs(872,0): at System.Globalization.Tests.InvariantModeTests.TestIndexOf(String source, String value, Int32 startIndex, Int32 count, CompareOptions options, Int32 result)
        /_/src/mono/System.Private.CoreLib/src/System/Reflection/MethodInvoker.Mono.cs(33,0): at System.Reflection.MethodInvoker.InterpretedInvoke(Object obj, Span`1 args, BindingFlags invokeAttr)
    System.Globalization.Tests.InvariantModeTests.TestIndexOf(source: "\0131", value: "I", startIndex: 0, count: 1, options: Ordinal, result: -1) [FAIL]
      System.NullReferenceException : Object reference not set to an instance of an object
      Stack Trace:
        /_/src/libraries/System.Private.CoreLib/src/System/SpanHelpers.T.cs(1501,0): at System.SpanHelpers.IndexOfValueType[Int16,DontNegate`1](Int16& searchSpace, Int16 value, Int32 length)
        /_/src/libraries/System.Private.CoreLib/src/System/SpanHelpers.Char.cs(26,0): at System.SpanHelpers.IndexOf(Char& searchSpace, Int32 searchSpaceLength, Char& value, Int32 valueLength)
        /_/src/libraries/System.Private.CoreLib/src/System/MemoryExtensions.Globalization.cs(133,0): at System.MemoryExtensions.IndexOf(ReadOnlySpan`1 span, ReadOnlySpan`1 value, StringComparison comparisonType)
        /_/src/libraries/System.Globalization/tests/Invariant/InvariantMode.cs(898,0): at System.Globalization.Tests.InvariantModeTests.<TestIndexOf>g__TestCore|26_0(CompareInfo compareInfo, String source, String value, Int32 startIndex, Int32 count, CompareOptions options, Int32 result)
        /_/src/libraries/System.Globalization/tests/Invariant/InvariantMode.cs(872,0): at System.Globalization.Tests.InvariantModeTests.TestIndexOf(String source, String value, Int32 startIndex, Int32 count, CompareOptions options, Int32 result)
        /_/src/mono/System.Private.CoreLib/src/System/Reflection/MethodInvoker.Mono.cs(33,0): at System.Reflection.MethodInvoker.InterpretedInvoke(Object obj, Span`1 args, BindingFlags invokeAttr)
    System.Globalization.Tests.InvariantModeTests.TestIndexOf(source: "i", value: "i", startIndex: 0, count: 1, options: Ordinal, result: -1) [FAIL]
      System.NullReferenceException : Object reference not set to an instance of an object
      Stack Trace:
        /_/src/libraries/System.Private.CoreLib/src/System/SpanHelpers.T.cs(1501,0): at System.SpanHelpers.IndexOfValueType[Int16,DontNegate`1](Int16& searchSpace, Int16 value, Int32 length)
        /_/src/libraries/System.Private.CoreLib/src/System/SpanHelpers.Char.cs(26,0): at System.SpanHelpers.IndexOf(Char& searchSpace, Int32 searchSpaceLength, Char& value, Int32 valueLength)
        /_/src/libraries/System.Private.CoreLib/src/System/MemoryExtensions.Globalization.cs(133,0): at System.MemoryExtensions.IndexOf(ReadOnlySpan`1 span, ReadOnlySpan`1 value, StringComparison comparisonType)
        /_/src/libraries/System.Globalization/tests/Invariant/InvariantMode.cs(898,0): at System.Globalization.Tests.InvariantModeTests.<TestIndexOf>g__TestCore|26_0(CompareInfo compareInfo, String source, String value, Int32 startIndex, Int32 count, CompareOptions options, Int32 result)
        /_/src/libraries/System.Globalization/tests/Invariant/InvariantMode.cs(872,0): at System.Globalization.Tests.InvariantModeTests.TestIndexOf(String source, String value, Int32 startIndex, Int32 count, CompareOptions options, Int32 result)
        /_/src/mono/System.Private.CoreLib/src/System/Reflection/MethodInvoker.Mono.cs(33,0): at System.Reflection.MethodInvoker.InterpretedInvoke(Object obj, Span`1 args, BindingFlags invokeAttr)
    System.Globalization.Tests.InvariantModeTests.TestIndexOf(source: "i", value: "i", startIndex: 0, count: 1, options: Ordinal, result: -1) [FAIL]
      System.NullReferenceException : Object reference not set to an instance of an object
      Stack Trace:
        /_/src/libraries/System.Private.CoreLib/src/System/SpanHelpers.T.cs(1501,0): at System.SpanHelpers.IndexOfValueType[Int16,DontNegate`1](Int16& searchSpace, Int16 value, Int32 length)
        /_/src/libraries/System.Private.CoreLib/src/System/SpanHelpers.Char.cs(26,0): at System.SpanHelpers.IndexOf(Char& searchSpace, Int32 searchSpaceLength, Char& value, Int32 valueLength)
        /_/src/libraries/System.Private.CoreLib/src/System/MemoryExtensions.Globalization.cs(133,0): at System.MemoryExtensions.IndexOf(ReadOnlySpan`1 span, ReadOnlySpan`1 value, StringComparison comparisonType)
        /_/src/libraries/System.Globalization/tests/Invariant/InvariantMode.cs(898,0): at System.Globalization.Tests.InvariantModeTests.<TestIndexOf>g__TestCore|26_0(CompareInfo compareInfo, String source, String value, Int32 startIndex, Int32 count, CompareOptions options, Int32 result)
        /_/src/libraries/System.Globalization/tests/Invariant/InvariantMode.cs(872,0): at System.Globalization.Tests.InvariantModeTests.TestIndexOf(String source, String value, Int32 startIndex, Int32 count, CompareOptions options, Int32 result)
        /_/src/mono/System.Private.CoreLib/src/System/Reflection/MethodInvoker.Mono.cs(33,0): at System.Reflection.MethodInvoker.InterpretedInvoke(Object obj, Span`1 args, BindingFlags invokeAttr)
    System.Globalization.Tests.InvariantModeTests.TestIndexOf(source: "I", value: "I", startIndex: 0, count: 1, options: Ordinal, result: 0) [FAIL]
      System.NullReferenceException : Object reference not set to an instance of an object
      Stack Trace:
        /_/src/libraries/System.Private.CoreLib/src/System/SpanHelpers.T.cs(1501,0): at System.SpanHelpers.IndexOfValueType[Int16,DontNegate`1](Int16& searchSpace, Int16 value, Int32 length)
        /_/src/libraries/System.Private.CoreLib/src/System/SpanHelpers.Char.cs(26,0): at System.SpanHelpers.IndexOf(Char& searchSpace, Int32 searchSpaceLength, Char& value, Int32 valueLength)
        /_/src/libraries/System.Private.CoreLib/src/System/MemoryExtensions.Globalization.cs(133,0): at System.MemoryExtensions.IndexOf(ReadOnlySpan`1 span, ReadOnlySpan`1 value, StringComparison comparisonType)
        /_/src/libraries/System.Globalization/tests/Invariant/InvariantMode.cs(898,0): at System.Globalization.Tests.InvariantModeTests.<TestIndexOf>g__TestCore|26_0(CompareInfo compareInfo, String source, String value, Int32 startIndex, Int32 count, CompareOptions options, Int32 result)
        /_/src/libraries/System.Globalization/tests/Invariant/InvariantMode.cs(872,0): at System.Globalization.Tests.InvariantModeTests.TestIndexOf(String source, String value, Int32 startIndex, Int32 count, CompareOptions options, Int32 result)
        /_/src/mono/System.Private.CoreLib/src/System/Reflection/MethodInvoker.Mono.cs(33,0): at System.Reflection.MethodInvoker.InterpretedInvoke(Object obj, Span`1 args, BindingFlags invokeAttr)
    System.Globalization.Tests.InvariantModeTests.TestIndexOf(source: "i", value: "i", startIndex: 0, count: 1, options: Ordinal, result: 0) [FAIL]
      System.NullReferenceException : Object reference not set to an instance of an object
      Stack Trace:
        /_/src/libraries/System.Private.CoreLib/src/System/SpanHelpers.T.cs(1501,0): at System.SpanHelpers.IndexOfValueType[Int16,DontNegate`1](Int16& searchSpace, Int16 value, Int32 length)
        /_/src/libraries/System.Private.CoreLib/src/System/SpanHelpers.Char.cs(26,0): at System.SpanHelpers.IndexOf(Char& searchSpace, Int32 searchSpaceLength, Char& value, Int32 valueLength)
        /_/src/libraries/System.Private.CoreLib/src/System/MemoryExtensions.Globalization.cs(133,0): at System.MemoryExtensions.IndexOf(ReadOnlySpan`1 span, ReadOnlySpan`1 value, StringComparison comparisonType)
        /_/src/libraries/System.Globalization/tests/Invariant/InvariantMode.cs(898,0): at System.Globalization.Tests.InvariantModeTests.<TestIndexOf>g__TestCore|26_0(CompareInfo compareInfo, String source, String value, Int32 startIndex, Int32 count, CompareOptions options, Int32 result)
        /_/src/libraries/System.Globalization/tests/Invariant/InvariantMode.cs(872,0): at System.Globalization.Tests.InvariantModeTests.TestIndexOf(String source, String value, Int32 startIndex, Int32 count, CompareOptions options, Int32 result)
        /_/src/mono/System.Private.CoreLib/src/System/Reflection/MethodInvoker.Mono.cs(33,0): at System.Reflection.MethodInvoker.InterpretedInvoke(Object obj, Span`1 args, BindingFlags invokeAttr)
    System.Globalization.Tests.InvariantModeTests.TestIndexOf(source: "I", value: "i", startIndex: 0, count: 1, options: Ordinal, result: -1) [FAIL]
      System.NullReferenceException : Object reference not set to an instance of an object
      Stack Trace:
        /_/src/libraries/System.Private.CoreLib/src/System/SpanHelpers.T.cs(1501,0): at System.SpanHelpers.IndexOfValueType[Int16,DontNegate`1](Int16& searchSpace, Int16 value, Int32 length)
        /_/src/libraries/System.Private.CoreLib/src/System/SpanHelpers.Char.cs(26,0): at System.SpanHelpers.IndexOf(Char& searchSpace, Int32 searchSpaceLength, Char& value, Int32 valueLength)
        /_/src/libraries/System.Private.CoreLib/src/System/MemoryExtensions.Globalization.cs(133,0): at System.MemoryExtensions.IndexOf(ReadOnlySpan`1 span, ReadOnlySpan`1 value, StringComparison comparisonType)
        /_/src/libraries/System.Globalization/tests/Invariant/InvariantMode.cs(898,0): at System.Globalization.Tests.InvariantModeTests.<TestIndexOf>g__TestCore|26_0(CompareInfo compareInfo, String source, String value, Int32 startIndex, Int32 count, CompareOptions options, Int32 result)
        /_/src/libraries/System.Globalization/tests/Invariant/InvariantMode.cs(872,0): at System.Globalization.Tests.InvariantModeTests.TestIndexOf(String source, String value, Int32 startIndex, Int32 count, CompareOptions options, Int32 result)
        /_/src/mono/System.Private.CoreLib/src/System/Reflection/MethodInvoker.Mono.cs(33,0): at System.Reflection.MethodInvoker.InterpretedInvoke(Object obj, Span`1 args, BindingFlags invokeAttr)
    System.Globalization.Tests.InvariantModeTests.TestIndexOf(source: "i", value: "I", startIndex: 0, count: 1, options: Ordinal, result: -1) [FAIL]
      System.NullReferenceException : Object reference not set to an instance of an object
      Stack Trace:
        /_/src/libraries/System.Private.CoreLib/src/System/SpanHelpers.T.cs(1501,0): at System.SpanHelpers.IndexOfValueType[Int16,DontNegate`1](Int16& searchSpace, Int16 value, Int32 length)
        /_/src/libraries/System.Private.CoreLib/src/System/SpanHelpers.Char.cs(26,0): at System.SpanHelpers.IndexOf(Char& searchSpace, Int32 searchSpaceLength, Char& value, Int32 valueLength)
        /_/src/libraries/System.Private.CoreLib/src/System/MemoryExtensions.Globalization.cs(133,0): at System.MemoryExtensions.IndexOf(ReadOnlySpan`1 span, ReadOnlySpan`1 value, StringComparison comparisonType)
        /_/src/libraries/System.Globalization/tests/Invariant/InvariantMode.cs(898,0): at System.Globalization.Tests.InvariantModeTests.<TestIndexOf>g__TestCore|26_0(CompareInfo compareInfo, String source, String value, Int32 startIndex, Int32 count, CompareOptions options, Int32 result)
        /_/src/libraries/System.Globalization/tests/Invariant/InvariantMode.cs(872,0): at System.Globalization.Tests.InvariantModeTests.TestIndexOf(String source, String value, Int32 startIndex, Int32 count, CompareOptions options, Int32 result)
        /_/src/mono/System.Private.CoreLib/src/System/Reflection/MethodInvoker.Mono.cs(33,0): at System.Reflection.MethodInvoker.InterpretedInvoke(Object obj, Span`1 args, BindingFlags invokeAttr)
  Finished:    Invariant.Tests
=== TEST EXECUTION SUMMARY ===
   Invariant.Tests  Total: 369, Errors: 0, Failed: 35, Skipped: 0, Time: 0.744s

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions